joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428354
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x428569
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0x4283ce
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0x42840f
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0x42840f
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x4283f6
mov dword [eax], ecx
push dword [ebp - 4]
push esi
call fcn.00425ec7
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
pop ecx
cmp ebx, eax
jbe 0x42840f
mov ebx, eax
cmp ebx, 3
jb 0x4284e3
lea eax, [ebx - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.004259a8
sub dword [esi + 0x6af90], ebx
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0x4284a1
cmp eax, 3
jb 0x4284a1
dec ebx
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [esi + ecx + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
dec ebx
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x42844f
jmp 0x428506
add dword [esi + 0x6af84], ebx
mov eax, dword [esi + 0x6af84]
lea ecx, [eax + esi]
movzx eax, byte [ecx + 0x1af70]
lea edx, [esi + 0x6af7c]
mov dword [edx], eax
movzx ecx, byte [ecx + 0x1af71]
shl eax, 5
push str.Call_UPDATE_HASH___MIN_MATCH_3_more_times
xor ecx, eax
and ecx, edi
push 1
push esi
xor ebx, ebx
mov dword [edx], ecx
call fcn.004255c5
add esp, 0xc
jmp 0x42850c
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.004259a8
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [ebp + 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x428548
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x428525
lea ecx, [eax + esi + 0x1af70]
jmp 0x428527
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.004281a8
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x42855b
push esi
call fcn.00426089
pop ecx
cmp dword [esi + 0x6af90], 0
jne 0x42837e
pop edi
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x42857c
lea ecx, [eax + esi + 0x1af70]
jmp 0x42857e
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.004281a8
add esp, 0x10
pop esi
pop ebx
leave
ret
Function at 0x429064
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x7fc]
sub esp, 0x87c
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x7f8], eax
mov eax, dword [ebp + 0x808]
push ebx
mov ebx, dword [ebp + 0x80c]
push esi
push edi
mov edi, dword [ebp + 0x804]
mov dword [ebp - 0x78], eax
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x3e8], ax
lea eax, [ebp + 0x3ea]
push eax
mov dword [ebp - 0x80], edi
call fcn.00472470
add esp, 0xc
test ebx, ebx
je 0x4290cd
push 4
push 0
push 0
push ebx
push edi
call fcn.00428f24
add esp, 0x14
push dword [ebp - 0x78]
lea eax, [ebp + 0x3e8]
push eax
call fcn.004785ef
mov edi, 0x4ab9cc
lea eax, [ebp + 0x3e8]
push edi
push eax
call fcn.004785c1
lea eax, [ebp + 0x3e8]
push ebx
push eax
call fcn.004785c1
lea eax, [ebp + 0x3e8]
push 0x4b04d0
push eax
call fcn.004785c1
add esp, 0x20
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x3e8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x429142
xor eax, eax
mov ecx, dword [ebp + 0x7f8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471830
add ebp, 0x7fc
leave
ret
mov byte [ebp - 0x71], 1
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x429279
lea eax, [ebp - 0x44]
push 0x4b04cc
push eax
call fcn.0047207a
pop ecx
pop ecx
test eax, eax
je 0x429288
lea eax, [ebp - 0x44]
push 0x4b04c4
push eax
call fcn.0047207a
pop ecx
pop ecx
test eax, eax
je 0x429288
xor eax, eax
push esi
push eax
mov word [ebp + 0x5f0], ax
lea eax, [ebp + 0x5f2]
push eax
call fcn.00472470
test byte [ebp - 0x70], 0x10
push ebx
lea eax, [ebp + 0x5f0]
push eax
je 0x4291f4
call fcn.004785c1
lea eax, [ebp + 0x5f0]
push edi
push eax
call fcn.004785c1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x5f0]
push eax
call fcn.004785c1
lea eax, [ebp + 0x5f0]
push eax
push dword [ebp - 0x78]
push dword [ebp - 0x80]
call fcn.00429064
add esp, 0x30
test eax, eax
je 0x429128
jmp 0x429288
call fcn.004785ef
lea eax, [ebp + 0x5f0]
push edi
push eax
call fcn.004785c1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x5f0]
push eax
call fcn.004785c1
xor eax, eax
push esi
push eax
mov word [ebp + 0x1e0], ax
lea eax, [ebp + 0x1e2]
push eax
call fcn.00472470
push dword [ebp - 0x78]
lea eax, [ebp + 0x1e0]
push eax
call fcn.004785c1
lea eax, [ebp + 0x5f0]
push eax
lea eax, [ebp + 0x1e0]
push eax
call fcn.004785c1
add esp, 0x40
push 2
push 0
lea eax, [ebp + 0x1e0]
push eax
lea eax, [ebp + 0x5f0]
push eax
push dword [ebp - 0x80]
call fcn.00428f24
add esp, 0x14
test eax, eax
jne 0x429128
jmp 0x429288
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x429297
mov byte [ebp - 0x71], 0
cmp byte [ebp - 0x71], 0
jne 0x429146
xor esi, esi
inc esi
jmp 0x429299
xor esi, esi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
jmp 0x42912a
Function at 0x42b9d2
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
test ax, ax
jge 0x42b9e8
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x42b9f4
or edi, 1
push 1
call esi
test ax, ax
jge 0x42ba00
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x42ba0c
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x42ba18
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x42ddae
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [esi]
mov ebx, dword [ebp + 8]
cmp eax, ecx
je 0x42dddc
cmp ebx, dword [esi + 0x50]
je 0x42dddc
cmp byte [esi + 0xb4], 0
jne 0x42dddc
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x50]
cmp ebx, eax
je 0x42de9e
push edi
test eax, eax
je 0x42de2f
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042d5c8
mov dword [esi + 0x50], edi
test ebx, ebx
je 0x42de9d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x42de9d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc4]
test al, al
je 0x42de9d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd0]
test al, al
je 0x42de9d
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x50], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0042d5c8
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42e0aa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xd0]
mov ecx, edi
xor ebx, ebx
call fcn.0042a699
test eax, eax
jle 0x42e0f9
push ebx
mov ecx, edi
mov byte [ebp - 1], 0
call fcn.0042a6b9
mov edx, dword [eax]
lea ecx, [ebp - 1]
push ecx
push dword [ebp + 0x10]
mov ecx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [edx]
cmp byte [ebp - 1], 0
jne 0x42e15a
mov ecx, edi
inc ebx
call fcn.0042a699
cmp ebx, eax
jl 0x42e0c8
mov eax, dword [ebp + 8]
sub eax, 0x100
je 0x42e1b3
sub eax, 4
je 0x42e15e
dec eax
dec eax
jne 0x42e1aa
push dword [ebp + 0xc]
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
call fcn.0047911e
pop ecx
mov ecx, dword [esi + 0x4c]
push 0x8000000a
lea edx, [ebp + 8]
push edx
mov word [ebp + 8], ax
mov eax, dword [ecx]
push 0x42cec2
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x42e1aa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov al, 1
jmp 0x42e1ac
cmp dword [esi + 0x50], 0
je 0x42e1aa
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x10], ax
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x64]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x14], eax
call fcn.0042b9d2
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x50]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0xfc]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x42e1aa
cmp dword [esi + 0x50], 0
je 0x42e202
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xc4]
test al, al
je 0x42e202
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xd0]
test al, al
je 0x42e202
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
push str.RichEditUI
call dword [eax + 0xc]
push eax
call fcn.00477cc7
pop ecx
pop ecx
test eax, eax
je 0x42e202
mov ecx, dword [esi + 0x50]
call fcn.0044a922
test al, al
jne 0x42e1aa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setge al
movzx eax, al
push eax
mov ecx, esi
call fcn.0042df5e
jmp 0x42e15a
Function at 0x42f990
Capabilities:
Check if file exists
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov edi, ecx
call fcn.00472470
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Shcore.dll
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
call fcn.0042f920
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fa3f
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42fa3f
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cd3a
mov ebx, eax
test ebx, ebx
je 0x42fa3f
push str.SetProcessDpiAwareness
push ebx
call esi
push str.GetProcessDpiAwareness
push ebx
mov dword [edi + 0x18], eax
call esi
push str.GetDpiForMonitor
push ebx
mov dword [edi + 0x1c], eax
call esi
mov dword [edi + 0x20], eax
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x42fa7c
push str.SetProcessDPIAware
push ebx
call esi
push str.IsProcessDPIAware
push ebx
mov dword [edi + 0x24], eax
call esi
push str.LogicalToPhysicalPoint
push ebx
mov dword [edi + 0x28], eax
call esi
push str.PhysicalToLogicalPoint
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471830
leave
ret
Function at 0x4308b7
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x338
lea ebp, [esp - 4]
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x338], eax
push 0x10
mov eax, 0x4a8c79
call fcn.00471d54
mov esi, dword [ebp + 0x344]
mov edi, ecx
call fcn.0042fd1e
push 0xffffffffffffffff
call fcn.0042ba7a
push eax
lea ecx, [ebp + 0x2b4]
call fcn.0042b150
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 4], ebx
call fcn.0042ba84
push eax
lea ecx, [ebp + 0x230]
call fcn.0042b150
lea ecx, [ebp + 0x230]
mov byte [ebp - 4], 1
call fcn.0042a92c
test al, al
je 0x430a45
push esi
lea ecx, [ebp + 0x2b4]
call fcn.0042a9db
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea ecx, [ebp + 0x2b4]
call fcn.0042a81b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
push ebx
cmp eax, 0xffffffff
jne 0x4309b5
push str.Error_opening_file
mov ecx, edi
call fcn.0042ff4f
lea ecx, [ebp + 0x230]
mov byte [ebp - 0xd], al
mov byte [ebp - 4], bl
call fcn.0042a801
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2b4]
call fcn.0042a801
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x338]
xor ecx, ebp
call fcn.00471830
add ebp, 0x33c
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x4309ca
push ebx
push str.File_is_empty
jmp 0x430966
cmp esi, 0x400000
jbe 0x4309da
push ebx
push 0x4b2aec
jmp 0x430966
push esi
mov dword [ebp - 0x18], ebx
call fcn.00471662
pop ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], esi
je 0x430a20
push dword [ebp - 0x14]
call fcn.00472f37
pop ecx
mov ecx, edi
call fcn.0042fd1e
push ebx
push str.Could_not_read_file
jmp 0x430966
push dword [ebp + 0x348]
mov ecx, edi
push esi
push dword [ebp - 0x14]
call fcn.0043074b
push dword [ebp - 0x14]
mov byte [ebp - 0xd], al
call fcn.00472f37
mov al, byte [ebp - 0xd]
pop ecx
jmp 0x43096d
call fcn.0042ba84
push eax
lea ecx, [ebp + 0x2b4]
call fcn.0042a9db
push 2
push ebx
lea ecx, [ebp + 0x2b4]
call fcn.0042a957
push eax
call fcn.00424fee
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 1
push esi
push eax
mov dword [ebp - 0x14], eax
call fcn.00425195
add esp, 0x20
test eax, eax
je 0x430a90
push ebx
push str.Could_not_find_ziped_file
jmp 0x430966
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0x4309c2
cmp eax, 0x400000
ja 0x4309d2
push eax
call fcn.00471662
push 3
push dword [ebp - 0x18]
mov esi, eax
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call fcn.0042527c
add esp, 0x18
cmp eax, ebx
je 0x430aee
cmp eax, 0x600
je 0x430aee
push esi
call fcn.00472f37
push dword [ebp - 0x14]
call fcn.00424689
pop ecx
pop ecx
push ebx
push str.Could_not_unzip_file
jmp 0x430966
push dword [ebp - 0x14]
call fcn.00424689
pop ecx
push dword [ebp + 0x348]
mov ecx, edi
push dword [ebp - 0x18]
push esi
call fcn.0043074b
push esi
jmp 0x430a34
Function at 0x4321e8
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x5f8]
sub esp, 0x674
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x5f4], eax
fldz
and dword [ebp - 0x54], 0
push esi
fstp qword [ebp - 0x64]
fld1
mov esi, ecx
mov al, byte [esi]
fstp qword [ebp - 0x74]
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 0
cmp al, 0x2b
je 0x43222f
cmp al, 0x2d
jne 0x432230
fld qword [0x4b2cc8]
fstp qword [ebp - 0x74]
inc esi
mov al, byte [esi]
push ebx
push edi
call fcn.00430c64
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, 0x190
test eax, eax
je 0x4322a2
push 0xa
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.0047a251
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
cmp esi, dword [ebp - 0x54]
je 0x43226f
fild qword [ebp - 0x5c]
mov esi, dword [ebp - 0x54]
mov byte [ebp - 0x4e], 1
fstp qword [ebp - 0x64]
xor eax, eax
push 0x31e
push eax
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x4a]
push eax
call fcn.00472470
push dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x5c]
push str.V______intPart___I64d_n
push ebx
push eax
call fcn.00473001
add esp, 0x20
lea eax, [ebp - 0x4c]
push eax
call edi
cmp byte [esi], 0x2e
jne 0x43234c
inc esi
mov al, byte [esi]
call fcn.00430c64
test eax, eax
je 0x43234c
push 0xa
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.0047a251
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x68], edx
cmp esi, eax
je 0x43230d
fild qword [ebp - 0x6c]
sub eax, esi
mov dword [ebp - 0x58], eax
sub esp, 0x10
fstp qword [ebp - 0x7c]
fild dword [ebp - 0x58]
fstp qword [esp + 8]
fld qword [0x4b2c90]
fstp qword [esp]
call fcn.00479d30
fdivr qword [ebp - 0x7c]
mov esi, dword [ebp - 0x54]
add esp, 0x10
mov byte [ebp - 0x4d], 1
fadd qword [ebp - 0x64]
fstp qword [ebp - 0x64]
xor eax, eax
push 0x31e
push eax
mov word [ebp + 0x2d4], ax
lea eax, [ebp + 0x2d6]
push eax
call fcn.00472470
push dword [ebp - 0x68]
lea eax, [ebp + 0x2d4]
push dword [ebp - 0x6c]
push str.V______fracPart___I64d_n
push ebx
push eax
call fcn.00473001
add esp, 0x20
lea eax, [ebp + 0x2d4]
push eax
call edi
cmp byte [ebp - 0x4e], 0
pop edi
pop ebx
jne 0x43235e
cmp byte [ebp - 0x4d], 0
jne 0x43235e
fldz
jmp 0x4323a7
mov al, byte [esi]
cmp al, 0x65
je 0x432368
cmp al, 0x45
jne 0x4323a1
push 0xa
lea eax, [ebp - 0x54]
push eax
inc esi
push esi
call fcn.004766d3
add esp, 0xc
mov dword [ebp - 0x58], eax
cmp esi, dword [ebp - 0x54]
je 0x4323a1
fild dword [ebp - 0x58]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [0x4b2c90]
fstp qword [esp]
call fcn.00479d30
fmul qword [ebp - 0x64]
add esp, 0x10
fstp qword [ebp - 0x64]
fld qword [ebp - 0x74]
fmul qword [ebp - 0x64]
mov ecx, dword [ebp + 0x5f4]
xor ecx, ebp
pop esi
call fcn.00471830
add ebp, 0x5f8
leave
ret
Function at 0x43fef8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
push edi
je 0x43ff5f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
inc edi
lea eax, [edi + edi]
call fcn.00473260
mov ebx, esp
test ebx, ebx
je 0x43ff5f
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x134
call fcn.0042a990
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0042d5c8
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00471830
leave
ret 0x10

Function at 0x44b5e5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3b4], ebx
je 0x44b64d
cmp dword [ebp + 8], 0x100
jne 0x44b63c
cmp word [ebp + 0xc], 0xd
jne 0x44b63c
cmp byte [esi + 0x3ba], bl
je 0x44b623
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x44b63c
cmp byte [esi + 0x3bb], bl
jne 0x44b63c
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x44b638
push ebx
push ebx
push ebx
push str.return
push esi
call fcn.0042d5c8
xor eax, eax
jmp 0x44b650
mov eax, dword [esi + 0x3b4]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x44c7c2
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4d4218]
xor eax, ebp
mov dword [ebp + 0x18c], eax
push ebx
mov ebx, dword [ebp + 0x19c]
push esi
push edi
mov edi, dword [ebp + 0x198]
mov esi, ecx
push 0
lea eax, [esi + 0x48]
push eax
push edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], 1
call fcn.0044c66f
add esp, 0xc
test eax, eax
jl 0x44c91c
lea eax, [esi + 0xbc]
push eax
push edi
call fcn.00449dc5
pop ecx
pop ecx
test eax, eax
jl 0x44c91c
mov ecx, edi
mov dword [esi + 0x14], 4
call fcn.0044a95e
movzx eax, al
shl eax, 3
xor eax, dword [esi + 0x18]
and eax, 8
xor dword [esi + 0x18], eax
mov edx, dword [esi + 0x18]
call fcn.0044aaf8
mov dword [esi + 0x20], eax
test ebx, ebx
je 0x44c865
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x14], eax
test eax, 0x100080
jne 0x44c865
or edx, 2
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x14]
test al, 1
je 0x44c870
push 3
jmp 0x44c876
test al, 2
je 0x44c87e
push 2
pop eax
mov word [esi + 0xd4], ax
or dword [esi + 0x18], 0x20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.00472470
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Riched20.dll
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.0040cd3a
mov dword [esi + 4], eax
test eax, eax
je 0x44c91c
push str.CreateTextServices
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44c91c
lea ecx, [ebp - 0x80]
push ecx
push esi
push 0
call eax
test eax, eax
jl 0x44c91c
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
add esi, 0x10
push esi
push 0x4b582c
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
jl 0x44c91c
test ebx, ebx
je 0x44c920
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x44c920
mov ecx, dword [esi]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x38]
test eax, eax
jge 0x44c920
xor eax, eax
jmp 0x44c923
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x18c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00471830
add ebp, 0x190
leave
ret 8
Function at 0x471830
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d4218]
jne 0x47183a
repz ret
jmp fcn.0047c544

Function at 0x49989c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047d8bd
and dword [ebp - 4], 0
cmp dword [0x4d8538], 0
mov ebx, eax
jne 0x49994d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4999fe
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4999fe
push eax
call fcn.0047d84b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4d8538], eax
call esi
push eax
call fcn.0047d84b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d853c], eax
call esi
push eax
call fcn.0047d84b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4d8540], eax
call esi
push eax
call fcn.0047d84b
pop ecx
mov dword [0x4d8548], eax
test eax, eax
je 0x49994d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047d84b
pop ecx
mov dword [0x4d8544], eax
mov eax, dword [0x4d8544]
cmp eax, ebx
je 0x4999a5
cmp dword [0x4d8548], ebx
je 0x4999a5
push eax
call fcn.0047d8c6
push dword [0x4d8548]
mov esi, eax
call fcn.0047d8c6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4999a5
test edi, edi
je 0x4999a5
call esi
test eax, eax
je 0x49999c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x49999c
test byte [ebp - 0xc], 1
jne 0x4999a5
or dword [ebp + 0x10], 0x200000
jmp 0x4999de
mov eax, dword [0x4d853c]
cmp eax, ebx
je 0x4999de
push eax
call fcn.0047d8c6
pop ecx
test eax, eax
je 0x4999de
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4999de
mov eax, dword [0x4d8540]
cmp eax, ebx
je 0x4999de
push eax
call fcn.0047d8c6
pop ecx
test eax, eax
je 0x4999de
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d8538]
call fcn.0047d8c6
pop ecx
test eax, eax
je 0x4999fe
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x499a00
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret