joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d450
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
add ecx, 0x11
sub esp, 0x4d8
cmp ecx, 0x12c
jl 0x42d471
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14
push ebx
push esi
push edi
xor ebx, ebx
push 0x2b0
lea edx, [ebp - 0x4d4]
push ebx
push edx
mov dword [ebp - 0x4d8], ebx
call fcn.004b03e0
mov esi, dword [ebp + 0xc]
push 0x5c
push esi
call fcn.004b135e
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x42d4a6
mov edi, esi
jmp 0x42d4a9
add edi, 2
mov eax, edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d4b4
sub eax, edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
sar eax, 1
push eax
push edi
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [ebp - 8]
cmp eax, 0x12c
jle 0x42d4e5
mov eax, 0x12c
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0x10]
cmp eax, dword [ebx]
jle 0x42d4ee
mov dword [ebx], eax
mov eax, dword [0x50b3a0]
cmp byte [eax + 0x11282], 0
mov esi, dword [ebp + 0x14]
je 0x42d542
mov edx, dword [ebp + 0xc]
push 0xd01
push 0x2b4
lea ecx, [ebp - 0x4d8]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x42d542
mov eax, dword [ebp - 0x4d8]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
push 3
push 0
push 0
push 0x10
push 0x10
push eax
mov eax, dword [ebp + 8]
push edx
push esi
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [0x50b3a0]
movzx eax, byte [ecx + 0x11282]
neg eax
sbb eax, eax
and eax, 0x12
add eax, esi
mov esi, dword [ebp + 0x18]
mov ecx, dword [esi]
lea edx, [ecx + 1]
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx]
mov dword [ebp - 0x18], eax
add eax, ecx
cmp eax, 0x12c
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], 0x12c
jg 0x42d581
mov dword [ebp - 0x10], eax
push 0x104
push edi
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x224]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d5a3
push 0
push 0x18820
sub eax, edx
lea ecx, [ebp - 0x18]
push ecx
sar eax, 1
push eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x224]
push edx
push eax
call dword [sym.imp.USER32.dll_DrawTextExW]
mov eax, dword [ebp - 0xc]
inc eax
cmp dword [esi], eax
jge 0x42d5e5
cmp eax, 0x12c
jl 0x42d5e3
mov eax, 0x12c
mov dword [esi], eax
mov eax, dword [ebp - 0x4d8]
pop edi
pop esi
pop ebx
test eax, eax
je 0x42d5f9
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42d6b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x608
mov eax, dword [ebp + 8]
push esi
mov esi, eax
mov dword [ebp - 4], esi
test eax, eax
je 0x42d83a
push ebx
mov dword [ebp + 8], 1
mov ebx, 0x5c
push edi
jmp 0x42d6e0
cmp word [esi], 0
je 0x42d838
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x208]
push 0x4d07cc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
movzx ecx, word [esi]
mov edx, 0xff
cmp dx, cx
jae 0x42d721
mov ecx, edx
jmp 0x42d72c
movzx ecx, cx
test ecx, ecx
jle 0x42d7aa
add esi, 2
mov edi, ecx
mov cl, byte [esi]
movzx edx, cl
cmp edx, ebx
ja case.0x42d741.1
movzx edx, byte [edx + 0x42d858]
jmp dword [edx*4 + 0x42d840]
mov byte [ebp + eax - 0x208], 0x2e
jmp 0x42d7a0
mov byte [ebp + eax - 0x208], bl
inc eax
mov byte [ebp + eax - 0x208], 0x6e
jmp 0x42d7a0
mov byte [ebp + eax - 0x208], bl
inc eax
mov byte [ebp + eax - 0x208], 0x72
jmp 0x42d7a0
mov byte [ebp + eax - 0x208], bl
inc eax
mov byte [ebp + eax - 0x208], 0x74
jmp 0x42d7a0
mov byte [ebp + eax - 0x208], bl
inc eax
mov byte [ebp + eax - 0x208], bl
jmp 0x42d7a0
mov byte [ebp + eax - 0x208], cl
inc eax
inc esi
sub edi, 1
jne 0x42d731
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov byte [ebp + eax - 0x208], 0xa
mov byte [ebp + eax - 0x207], 0
test edi, edi
je 0x42d818
push 0x200
lea eax, [ebp - 0x608]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x208]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x608]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d7f0
sub eax, edx
push 0
sar eax, 1
lea edx, [ebp - 8]
push edx
add eax, eax
push eax
lea ecx, [ebp - 0x608]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x42d825
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, word [esi]
inc dword [ebp + 8]
add esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x42d6e0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42ddf0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
push edi
jle 0x42de30
lea esp, [esp]
mov eax, dword [esi + 0x50]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x42de2a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42de2a
mov ecx, dword [edi + 4]
push 0
push 0
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
inc ebx
cmp ebx, dword [esi + 0x44]
jl 0x42de00
mov ebx, dword [esi + 0x44]
test ebx, ebx
je 0x42decd
jmp 0x42de40
mov edx, dword [esi + 0x50]
mov edi, dword [edx + ebx*4 - 4]
mov eax, dword [edi + 0x10]
dec ebx
test eax, eax
je 0x42de72
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42de68
mov eax, dword [edi + 0x10]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00441300
mov eax, dword [esi + 0x44]
lea ecx, [ebx + 1]
add esp, 4
cmp ecx, eax
jge 0x42dec0
mov edx, dword [esi + 0x50]
sub eax, ebx
dec eax
imul eax, dword [esi + 0x40]
lea ecx, [edx + ebx*4]
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.004b0bb0
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x50]
push ecx
lea ecx, [eax + edx*4 - 4]
push 0
push ecx
call fcn.004b03e0
add esp, 0x18
add dword [esi + 0x44], 0xffffffff
mov ebx, dword [esi + 0x44]
jne 0x42de40
pop edi
pop esi
pop ebx
ret
Function at 0x432a70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 3], 0
je 0x432ab8
cmp dword [esi + 0x38], 0
jne 0x432ab2
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x432ab2
push 1
push str.StartPipeInstance:CreateEvent_failed_with_0x_08X
push esi
mov ecx, edi
call fcn.00432390
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x38]
mov dword [esi + 0x4c], eax
push ebx
lea ebx, [esi + 0xc]
mov dword [esi + 0x170], edi
mov dword [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push 0
push esi
push 0x432460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 8]
pop ebx
test eax, eax
jne 0x432b09
push 1
push str.StartPipeInstance:CreateThread_failed__code0x_08X
push esi
mov ecx, edi
call fcn.00432390
pop edi
xor al, al
pop esi
pop ebp
ret 4
mov edi, dword [edi + 8]
test edi, edi
je 0x432b18
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
mov al, 1
pop esi
pop ebp
ret 4
Function at 0x432b20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [edi + 3], 0
je 0x432b41
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
mov dword [esi + 0x54], 6
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [edi + 3], 0
je 0x432b62
lea eax, [esi + 0x3c]
jmp 0x432b64
xor eax, eax
push eax
mov eax, dword [esi + 4]
lea ecx, [ebp + 8]
push ecx
push 0x80
lea edx, [ebp - 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 3], 0
mov ecx, dword [ebp + 8]
je 0x432bcb
test ebx, ebx
je 0x432b98
test ecx, ecx
jne 0x432bcb
lea ecx, [ebp + 8]
push ecx
push esi
mov ecx, edi
call fcn.004324b0
cmp eax, 1
jne 0x432bb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
jmp 0x432bd6
cmp eax, 2
jne 0x432bc0
mov dword [esi + 0x34], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
test ebx, ebx
jne 0x432bd6
cmp eax, 0xea
jne 0x432bc0
cmp ecx, 4
jb 0x432bc0
cmp byte [edi + 1], 0
jne 0x432bc0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
cmp eax, ecx
ja 0x432c25
push ecx
mov ecx, esi
call fcn.004326e0
test eax, eax
je 0x432bc0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x8c]
push ecx
push eax
call fcn.004b0bb0
mov edx, dword [ebp + 8]
add esp, 0xc
pop edi
mov dword [esi + 0x158], edx
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x7fffffff
jae 0x432bc0
push eax
mov ecx, esi
call fcn.004326e0
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x432bc0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push ebx
call fcn.004b0bb0
mov ecx, dword [ebp + 8]
lea eax, [ebx + ecx]
mov ebx, dword [ebp - 8]
sub ebx, ecx
add esp, 0xc
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x432d03
cmp byte [edi + 3], 0
je 0x432c77
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [edi + 3], 0
je 0x432c8a
lea eax, [esi + 0x3c]
jmp 0x432c8c
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [esi + 4]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [edi + 3], 0
mov ecx, dword [ebp + 8]
je 0x432cdc
cmp dword [ebp - 8], 0
je 0x432cbc
test ecx, ecx
jne 0x432cdc
lea eax, [ebp + 8]
push eax
push esi
mov ecx, edi
call fcn.004324b0
cmp eax, 1
jne 0x432bc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
jmp 0x432ce9
cmp dword [ebp - 8], 0
jne 0x432ce9
cmp eax, 0xea
jne 0x432cf8
add dword [ebp - 4], ecx
sub ebx, ecx
test ebx, ebx
jg 0x432c67
jmp 0x432d00
test ebx, ebx
jg 0x432bc0
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x158], eax
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x34], 0
push edi
mov edi, ecx
mov dword [ebp - 4], edi
je 0x432d3e
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [edi + 3], 0
je 0x432d4e
mov eax, dword [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0x54], 7
mov dword [esi + 0x18], edx
test edx, edx
je 0x432d72
test ecx, ecx
jne 0x432d72
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
jmp 0x432da1
cmp byte [edi + 3], 0
je 0x432d7d
lea eax, [esi + 0x3c]
jmp 0x432d7f
xor eax, eax
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esi + 4]
push ebx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [esi + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x20], eax
mov ecx, dword [ebp - 4]
cmp byte [ecx + 3], 0
je 0x432e1e
test edi, edi
jne 0x432def
cmp eax, 0x3e5
jne 0x432e10
test edx, edx
je 0x432dc5
pop ebx
lea eax, [edi + 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
push ebx
push esi
call fcn.004324b0
test eax, eax
jne 0x432ddb
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14
xor ecx, ecx
cmp eax, 1
setne cl
pop ebx
pop edi
pop esi
inc ecx
mov eax, ecx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 4]
push 0
push ebx
lea edx, [esi + 0x3c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
neg eax
pop ebx
sbb eax, eax
pop edi
add eax, 2
pop esi
mov esp, ebp
pop ebp
ret 0x14
pop ebx
pop edi
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ecx + 1], 0
jne 0x432dd0
neg edi
sbb edi, edi
add edi, 2
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x439780
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
test esi, esi
je 0x4398e0
cmp word [esi], 0
je 0x4398e0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0xa005
push eax
call ebx
mov edi, eax
push str.WorkerW
mov ecx, edi
call fcn.004396e0
add esp, 4
test al, al
je 0x439801
push 0xa005
push edi
call ebx
mov edi, eax
push 0x4d2d74
mov ecx, edi
call fcn.004396e0
add esp, 4
test al, al
je 0x439801
push str.ToolbarWindow32
push edi
call fcn.00439720
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
jne 0x43980c
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
cmp word [esi], 0
mov dword [ebp - 0xc], 0
je 0x4398d4
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
movzx eax, word [esi]
xor ecx, ecx
cmp ax, 0x79
sete cl
movzx edx, ax
push 0
push edx
lea ecx, [ecx*4 + 0x100]
mov edi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
movzx ecx, word [esi]
shl eax, 0x10
or eax, 1
cmp cx, 0x79
jne 0x439881
mov esi, dword [ebp + 8]
push 0x50005
push 0
push 0x201
push esi
call ebx
push 0x50005
push 0
push 0x202
push esi
call ebx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [ebp - 8]
jmp 0x43989e
push eax
movzx eax, cx
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
call ebx
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x4398ca
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x4398ca
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
inc eax
cmp word [edx + eax*2], 0
lea esi, [edx + eax*2]
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], eax
jne 0x439823
mov al, byte [ebp - 1]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43a320
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
cmp dword [0x50b55c], ebx
je 0x43a352
cmp dword [0x50b564], ebx
je 0x43a352
mov bl, 1
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
push str.GdiPlus.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x50b55c], eax
cmp eax, ebx
je 0x43a4dc
cmp eax, 0xffffffff
je 0x43a4dc
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GdiplusStartup
push eax
call esi
mov dword [0x50b568], eax
cmp eax, ebx
je 0x43a4db
mov eax, dword [0x50b55c]
push str.GdiplusShutdown
push eax
call esi
mov dword [0x50b56c], eax
cmp eax, ebx
je 0x43a4db
mov ecx, dword [0x50b55c]
push str.GdipCreateBitmapFromFile
push ecx
call esi
mov dword [0x50b570], eax
cmp eax, ebx
je 0x43a4db
mov edx, dword [0x50b55c]
push str.GdipDisposeImage
push edx
call esi
mov dword [0x50b574], eax
cmp eax, ebx
je 0x43a4db
mov eax, dword [0x50b55c]
push str.GdipGetImageWidth
push eax
call esi
mov dword [0x50b578], eax
cmp eax, ebx
je 0x43a4db
mov ecx, dword [0x50b55c]
push str.GdipGetImageHeight
push ecx
call esi
mov dword [0x50b57c], eax
cmp eax, ebx
je 0x43a4db
mov edx, dword [0x50b55c]
push str.GdipCreateHBITMAPFromBitmap
push edx
call esi
mov dword [0x50b580], eax
cmp eax, ebx
je 0x43a4db
mov eax, dword [0x50b55c]
push str.GdipGetImagePixelFormat
push eax
call esi
mov dword [0x50b584], eax
cmp eax, ebx
je 0x43a4db
mov ecx, dword [0x50b55c]
push str.GdipLoadImageFromStream
push ecx
call esi
mov dword [0x50b588], eax
cmp eax, ebx
je 0x43a4db
mov edx, dword [0x50b55c]
push str.GdipSaveImageToFile
push edx
call esi
mov dword [0x50b58c], eax
cmp eax, ebx
je 0x43a4db
mov eax, dword [0x50b55c]
push str.GdipGetImageEncodersSize
push eax
call esi
mov dword [0x50b590], eax
cmp eax, ebx
je 0x43a4db
mov ecx, dword [0x50b55c]
push str.GdipGetImageEncoders
push ecx
call esi
mov dword [0x50b594], eax
cmp eax, ebx
je 0x43a4db
mov edx, dword [0x50b55c]
push str.GdipCreateBitmapFromHBITMAP
push edx
call esi
mov dword [0x50b598], eax
cmp eax, ebx
je 0x43a4db
push ebx
lea eax, [ebp - 0x10]
push eax
push 0x50b560
call dword [0x50b568]
test eax, eax
jne 0x43a4db
mov dword [0x50b564], 1
mov bl, 1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a9a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43aae6
mov edi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x43aac3
cmp dword [edi + 0x20], esi
jne 0x43aac3
add edi, 0x24
cmp dword [edi], 0x3a
jb 0x43aac3
push esi
lea ecx, [ebp - 0x10]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push ebx
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43aac3
cmp dword [ebp - 0x10], 2
jne 0x43aac3
mov ax, word [ebp - 4]
cmp al, 0x42
jne 0x43aac3
cmp ah, 0x4d
jne 0x43aac3
mov eax, dword [edi]
push eax
mov dword [ebp - 0xc], 1
call fcn.004412a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x43aa62
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 2
lea ecx, [ebp - 4]
push ecx
push esi
call fcn.004b0bb0
mov edx, dword [edi]
add esp, 0xc
push 0
push edi
sub edx, 2
push edx
lea eax, [esi + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43aac3
add dword [edi], 2
cmp byte [esi], 0x42
jne 0x43aab8
cmp byte [esi + 1], 0x4d
jne 0x43aab8
mov eax, dword [esi + 0xa]
cmp eax, 0x36
jb 0x43aab8
cmp eax, 0x436
ja 0x43aab8
cmp dword [esi + 0xe], 0x28
jne 0x43aab8
cmp byte [esi + 0x1d], 0
jne 0x43aab8
cmp dword [esi + 0x1e], 0
je 0x43aac3
push esi
call fcn.00441300
add esp, 4
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x43aae6
cmp dword [ebp - 8], esi
je 0x43aae6
cmp dword [ebp - 0xc], esi
jne 0x43aae6
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043a730
add esp, 4
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b990
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
sub esp, 0x10
push esi
push edi
test eax, eax
je 0x43b9a9
cmp eax, 1
jne 0x43b9ae
mov edi, dword [ecx + 4]
jmp 0x43b9b0
xor edi, edi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov dword [ebp - 8], 0xffff8300
mov dword [ebp - 4], 0xffff8300
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x43b9fd
push 4
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x43b9fd
push 2
call esi
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
jne 0x43ba07
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, edi
sub eax, 0
je 0x43ba96
sub eax, 1
jne 0x43ba83
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43ba83
mov ecx, dword [ebp - 8]
cmp ecx, 0xffff8300
jne 0x43ba51
mov ecx, esi
call fcn.00476a20
mov edx, dword [0x50b39c]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [edx + 0x4230]
call fcn.0043e100
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push 0
push edx
push ecx
mov ecx, esi
call fcn.00476a20
push eax
mov eax, dword [0x50b39c]
mov ecx, dword [eax + 0x4230]
call fcn.00440790
push 0x4cb448
call fcn.00441380
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.InvalidArg
call fcn.00441380
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [0x50b39c]
push 0
push ecx
mov ecx, dword [eax + 0x4230]
push edx
call fcn.00440e10
push 0x4cb448
call fcn.00441380
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43de50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bf018
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
test esi, esi
je 0x43e08d
push esi
lea ecx, [ebp + 8]
call fcn.004a4840
mov edi, dword [ebp + 0xc]
lea eax, [edi - 0xabbe]
mov dword [ebp - 4], 0
cmp eax, 0x21
ja case.0x43dea1.43967
movzx eax, byte [eax + 0x43e0d8]
jmp dword [eax*4 + 0x43e0a0]
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047ef60
jmp 0x43e07e
push 0
push 0
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047fe90
jmp 0x43e07e
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047ec60
jmp 0x43e07e
cmp edi, 0xabd6
je 0x43df1d
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x43df1d
push 0
push 0
push 0
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.00484270
jmp 0x43e07e
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.00486530
jmp 0x43e07e
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047a9c0
jmp 0x43e07e
push 0
push 1
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.00484600
jmp 0x43e07e
push 1
push 0
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.00484600
jmp 0x43e07e
push esi
call fcn.004a3d60
add esp, 4
jmp 0x43e07e
mov ecx, dword [0x50b39c]
push 1
push esi
call fcn.004067e0
test al, al
je 0x43e07e
cmp edi, 0xabde
je 0x43dfb8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x43dfb8
xor eax, eax
jmp 0x43dfbd
mov eax, 1
xor ecx, ecx
cmp edi, 0xabd3
sete cl
push ecx
mov ecx, dword [0x50b39c]
push eax
push 1
call fcn.0040bd90
jmp 0x43e07e
mov edx, dword [0x50b3a0]
cmp byte [edx + 0x1141c], 0
jne 0x43e006
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x43e006
xor eax, eax
jmp 0x43e00b
mov eax, 1
mov ecx, dword [0x50b3a0]
push 0
push eax
call fcn.00442960
mov ecx, dword [0x50b39c]
push eax
call fcn.0040bd90
jmp 0x43e07e
push 0
push 0xabda
jmp 0x43e071
push 0
push 0x4d3958
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047c2f0
jmp 0x43e07e
mov ecx, dword [0x50b3a0]
mov edx, dword [ecx + 0x11394]
push 0
push edx
mov ecx, esi
call fcn.004a4a70
mov ecx, eax
call fcn.0047c2f0
jmp 0x43e07e
cmp edi, 0xab00
jl 0x43e07e
push 0
push edi
mov eax, dword [0x50b384]
push eax
mov ecx, ebx
call fcn.0043e470
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4770
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f430
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x18], 3
jne 0x43f43f
pop ebp
jmp fcn.0043efc0
pop ebp
ret 8