joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4298c8
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0041db10
mov eax, dword [0x464834]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004278d0
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x4299fb
push 2
push esi
push dword [ebp + 8]
call fcn.004278d0
add esp, 0xc
cmp eax, ebx
je 0x4299fb
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42999b
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0041e7a0
push 0x8000
push dword [ebp + 8]
call fcn.0042a471
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x429951
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00427657
add esp, 0xc
cmp eax, 0xffffffff
je 0x429971
sub edi, eax
test edi, edi
jg 0x429949
jmp 0x429989
call fcn.0041f493
cmp dword [eax], 5
jne 0x429986
call fcn.0041f48a
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0042a471
pop ecx
pop ecx
jmp 0x4299e3
jge 0x4299e3
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004278d0
push dword [ebp + 8]
call fcn.0042077a
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4299e3
call fcn.0041f48a
mov dword [eax], 0xd
call fcn.0041f493
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.004278d0
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4299fd
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0041cfab
leave
ret
Function at 0x42a92b
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42a944
or eax, 0xffffffff
jmp 0x42a9a5
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x42a9a1
push 0x3d
push esi
call fcn.0041ef1c
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42a9a1
cmp esi, eax
je 0x42a9a1
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x46a3e8]
sete cl
cmp eax, dword [0x46a3ec]
mov dword [ebp - 8], ecx
jne 0x42a987
mov edi, eax
call fcn.0042a8ca
mov dword [0x46a3e8], eax
cmp eax, ebx
jne 0x42a9e0
cmp dword [ebp + 0xc], ebx
je 0x42a9a9
cmp dword [0x46a3f0], ebx
je 0x42a9a9
call fcn.00429e9d
test eax, eax
je 0x42a9e0
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x42a9b2
xor eax, eax
jmp 0x42a9a4
push 4
call fcn.0041cf68
cmp eax, ebx
pop ecx
mov dword [0x46a3e8], eax
je 0x42a9a1
mov dword [eax], ebx
cmp dword [0x46a3f0], ebx
jne 0x42a9e0
push 4
call fcn.0041cf68
cmp eax, ebx
pop ecx
mov dword [0x46a3f0], eax
je 0x42a9a1
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x46a3e8]
call fcn.0042a87d
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x42aa41
cmp dword [esi], ebx
je 0x42aa41
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0041e113
cmp dword [ebp - 8], ebx
pop ecx
jne 0x42aa24
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x42aa82
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x42aa1b
mov eax, edi
shl eax, 2
push eax
push dword [0x46a3e8]
call fcn.0041ef97
cmp eax, ebx
pop ecx
pop ecx
je 0x42aa82
jmp 0x42aa7d
cmp dword [ebp - 8], ebx
jne 0x42aaed
cmp edi, ebx
jge 0x42aa50
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x46a3e8]
call fcn.0041ef97
cmp eax, ebx
pop ecx
pop ecx
je 0x42a9a1
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x46a3e8], eax
cmp dword [ebp + 0xc], ebx
je 0x42aad7
push dword [ebp - 4]
call fcn.0041edc0
inc eax
inc eax
push eax
call fcn.0041cf68
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x42aad7
push dword [ebp - 4]
push esi
call fcn.00422ef0
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42aad0
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0041e113
pop ecx
cmp dword [ebp - 8], ebx
je 0x42aae5
push dword [ebp - 4]
call fcn.0041e113
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42a9a4
push dword [ebp - 4]
call fcn.0041e113
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x42a9ae
Function at 0x42d357
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x54], 0
mov eax, dword [edi + 0x58]
mov esi, dword [edi + 0x5c]
mov dword [ebp - 4], eax
je 0x42d38e
call fcn.00445e31
mov ebx, dword [eax + 0xc]
push 5
push dword [edi + 0x54]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42d39f
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor ebx, ebx
inc ebx
test esi, esi
je 0x42d3d8
cmp word [esi + 2], 0xffff
mov ecx, dword [esi]
jne 0x42d3bd
mov ecx, dword [esi + 0xc]
mov ax, word [esi + 0x12]
mov si, word [esi + 0x14]
jmp 0x42d3c5
mov ax, word [esi + 0xa]
mov si, word [esi + 0xc]
test cx, 0x1801
jne 0x42d3d6
test ax, ax
jne 0x42d3d6
test si, si
je 0x42d3d8
xor ebx, ebx
cmp dword [edi + 0x54], 0
je 0x42d3e7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x42d647
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x44ca01
call fcn.0041e800
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ebx, dword [esi + 0x5c]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
call fcn.00445e31
cmp dword [esi + 0x54], 0
mov edi, dword [eax + 0xc]
je 0x42d687
call fcn.00445e31
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x54]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d698
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x42d6a4
or eax, 0xffffffff
jmp 0x42d7a7
mov ecx, esi
call fcn.0042d179
mov dword [ebp - 0x14], eax
call fcn.004301e6
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x14], 0
je 0x42d6e7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42d6e7
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42d6e7
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
and dword [ebp - 4], 0
push esi
call fcn.004319d1
push dword [ebp - 0x14]
call fcn.0043013e
push edi
push eax
push ebx
mov ecx, esi
call fcn.0042d42c
xor ebx, ebx
cmp eax, ebx
je 0x42d75b
test byte [esi + 0x38], 0x10
je 0x42d729
push 4
pop edi
mov ecx, esi
call fcn.00432672
test ah, 1
je 0x42d721
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042fbe2
cmp dword [esi + 0x1c], ebx
je 0x42d75b
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
mov ecx, esi
call fcn.004328e3
jmp 0x42d75b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], ebx
je 0x42d76f
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], ebx
je 0x42d788
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42d788
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0042d1b3
cmp dword [esi + 0x54], ebx
je 0x42d7a4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x40]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x42d7e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00445e31
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42d818
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042d42c
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x430fb2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x430feb
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00412997
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040f950
pop esi
ret 4
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x43233d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x432380
call fcn.00445e31
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x432380
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43239b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004314a2
test ebx, ebx
mov esi, eax
je 0x432399
test edi, edi
je 0x432399
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x432d44
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x44cc17
call fcn.0041e800
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 0
jne 0x432d69
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x432db5
call fcn.00432ee8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401420
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8
Function at 0x43394d
Capabilities:
Get disk information

Disassembly:
mov eax, 0x44d49c
call fcn.0041e800
sub esp, 0x150
mov eax, dword [0x464834]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x154]
push eax
push edi
mov esi, 0x104
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xor ebx, ebx
cmp eax, ebx
jne 0x433995
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x433999
cmp eax, esi
jb 0x4339a0
xor eax, eax
jmp 0x433a75
call fcn.00432ee8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.0043390b
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x433a65
push ebx
push ebx
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x4339f4
xor esi, esi
jmp 0x433a68
test byte [ebp - 0x158], 2
jne 0x433a04
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 0x158], 4
jne 0x433a65
lea eax, [ebp - 0x150]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x433a65
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x154], ebx
je 0x4339f0
cmp dword [ebp - 0x154], edi
jbe 0x4339f0
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, edi
add eax, dword [ebp - 0x154]
cmp eax, esi
jge 0x4339f0
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x154]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor esi, esi
inc esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401420
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0041cfab
leave
ret 8
Function at 0x4358c9
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x128
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call fcn.0041e7a0
add esp, 0xc
push 0x104
push dword [edi + 0xc]
lea eax, [esi + 0x22]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [edi + 4]
cmp eax, dword [0x45439c]
je 0x4359d0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x435939
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
jne 0x435940
cmp ebx, ebx
jne 0x435940
xor eax, eax
jmp 0x4359d3
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x43594d
mov byte [esi + 0x20], bl
jmp 0x435961
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
sete cl
dec cl
and ecx, eax
mov byte [esi + 0x20], cl
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a120
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a120
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x14], eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041a120
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x4359bc
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x4359d0
mov eax, dword [esi + 8]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43a65d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x464834]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov eax, pe_nt_image_headers32
cmp esi, eax
ja 0x43a6ac
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, esi
jne 0x43a6ac
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x43a6b8
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0041cfab
leave
ret 8

Function at 0x43b8d9
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x464834]
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
mov dword [ebp - 4], eax
je 0x43b926
push dword [ebp + 8]
call fcn.0044568b
mov esi, eax
test esi, esi
je 0x43b94e
push edi
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
sete al
pop edi
jmp 0x43b94e
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0x44f50c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [esi + 0x64]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 4]
pop esi
call fcn.0041cfab
leave
ret 0xc
Function at 0x43c6e6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.0042e79d
test eax, eax
jne 0x43c8d6
mov edi, dword [edi + 4]
push ebx
mov ecx, esi
call fcn.00412980
test byte [esi + 0x7c], 0x20
mov dword [ebp - 0x10], eax
mov ebx, 0x201
jne 0x43c72a
cmp edi, ebx
je 0x43c72a
cmp edi, 0x202
jne 0x43c883
cmp edi, 0x200
jb 0x43c73a
cmp edi, 0x209
jbe 0x43c752
cmp edi, 0xa0
jb 0x43c883
cmp edi, 0xa9
ja 0x43c883
call fcn.00445e57
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x1c]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x30
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0041e7a0
mov eax, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0x48]
push ecx
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
mov dword [ebp - 0x48], 0x28
call dword [eax + 0x6c]
cmp dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 4], eax
je 0x43c7b0
push dword [ebp - 0x24]
call fcn.0041e113
pop ecx
cmp edi, ebx
jne 0x43c7c3
test byte [ebp - 0x41], 0x80
je 0x43c7c3
mov dword [ebp - 8], 1
jmp 0x43c7e1
and dword [ebp - 8], 0
cmp edi, ebx
je 0x43c7e1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43c7e1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x78]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x43c84d
cmp dword [ebp - 8], 0
jne 0x43c84d
cmp edi, 0x202
jne 0x43c80d
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x160]
push 0xc8
push 0xe001
jmp 0x43c835
test byte [esi + 0x78], 8
jne 0x43c83e
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x43c83e
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx + 0x78]
je 0x43c87a
push 0x12c
push 0xe000
mov ecx, esi
call fcn.0043bd97
jmp 0x43c87a
push dword [ebp - 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x160]
jmp 0x43c87a
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x43c860
cmp dword [ebp - 8], 0
je 0x43c87a
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x160]
push 0xe001
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x78], eax
mov ecx, esi
call fcn.00430b25
test eax, eax
pop ebx
je 0x43c895
cmp dword [eax + 0x64], 0
jne 0x43c8db
cmp dword [ebp - 0x10], 0
je 0x43c8bd
mov edi, dword [ebp - 0x10]
push dword [ebp + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
test eax, eax
jne 0x43c8d6
mov ecx, edi
call fcn.00430ae6
test eax, eax
mov dword [ebp - 0x10], eax
jne 0x43c89b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43c8db
push dword [ebp + 8]
mov ecx, esi
call fcn.0042f236
jmp 0x43c8dd
xor eax, eax
inc eax
jmp 0x43c8dd
xor eax, eax
pop edi
pop esi
leave
ret 4
Function at 0x443291
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4432ba
call fcn.00445e31
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4432dd
push eax
push dword [esi + 4]
call fcn.0044321e
push esi
push eax
mov ecx, 0x46a0a8
call fcn.004430aa
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x443472
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je 0x44359b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44359b
mov ecx, dword [esi + 0x3c]
test ecx, ecx
jne 0x4434b9
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4434b1
push 0
jmp 0x44359d
mov eax, dword [ebp - 4]
jmp 0x44357c
mov eax, dword [esi + 0x38]
push ebx
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [esi + 0x34]
jb 0x44350d
mov ebx, dword [esi + 0x40]
sub ebx, eax
jns 0x4434d1
xor ebx, ebx
jmp 0x4434d9
cmp ebx, edi
ja 0x443581
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041ea80
mov eax, dword [esi + 0x34]
add esp, 0xc
mov dword [esi + 0x38], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
sub edi, ebx
push edi
add eax, ebx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4434aa
mov eax, dword [ebp - 4]
jmp 0x443578
mov edx, dword [esi + 0x40]
lea ebx, [eax + edi]
cmp ebx, edx
jb 0x443585
sub edx, eax
jns 0x44351f
xor ebx, ebx
jmp 0x443525
mov ebx, edx
cmp ebx, edi
ja 0x443581
push ebx
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041ea80
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4434aa
mov eax, dword [ebp + 0xc]
sub edi, ebx
cmp edi, eax
mov dword [esi + 0x40], eax
jae 0x44355e
mov dword [ebp + 0xc], edi
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
add eax, ebx
push eax
call fcn.0041ea80
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi + 0x38], eax
add eax, ebx
pop edi
pop ebx
pop esi
leave
ret 8
xor eax, eax
jmp 0x44357a
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0041ea80
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, edi
jmp 0x44357a
push 6
push dword [esi + 0x1c]
call fcn.0044321e
int3