joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ad0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov edi, ecx
call esi
movzx ebx, ax
shr ebx, 0xf
push 0x11
and ebx, 1
call esi
movzx ebp, ax
shr ebp, 0xf
and ebp, 1
cmp dword [esp + 0x1c], 0
je 0x407b76
mov esi, dword [esp + 0x18]
lea ecx, [esi - 0x30]
cmp ecx, 9
ja 0x407b23
test ebp, ebp
je 0x407b23
mov edx, dword [edi]
lea eax, [esi - 0x30]
mov ecx, edi
push eax
test ebx, ebx
je 0x407b20
push 0xffffffffffffffff
call dword [edx + 0x78]
jmp 0x407b23
call dword [edx + 0x7c]
cmp esi, 0x25
je 0x407b55
cmp esi, 0x27
je 0x407b55
cmp esi, 0x26
je 0x407b55
cmp esi, 0x28
je 0x407b55
cmp esi, 0x21
je 0x407b55
cmp esi, 0x22
je 0x407b55
cmp esi, 0x24
je 0x407b55
cmp esi, 0x23
je 0x407b55
cmp esi, 0x2d
je 0x407b55
cmp esi, 0x2e
jne 0x407b5f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1cc]
mov eax, dword [edi]
mov ecx, edi
push ebx
push ebp
push esi
mov dword [edi + 0x904], 0
call dword [eax + 0x1b8]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x407ba0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x14
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x1cc]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x1f8]
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x30]
mov ecx, edi
mov eax, dword [edi]
push esi
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
call dword [eax + 0x170]
test eax, eax
jne 0x407cbd
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x15
call ebx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
cmp esi, ecx
jg 0x407cbc
push 0x15
call ebx
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x30]
sub ecx, eax
cmp ebx, ecx
jg 0x407cbc
mov eax, dword [edi + 0x990]
test dword [eax + 0xd8], 0x200000
je 0x407c3d
cmp esi, 0x14
jl 0x407cbc
push ebp
mov dword [edi + 0x904], 0
call dword [sym.imp.USER32.dll_SetFocus]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
test eax, 0x8000
je 0x407c82
mov eax, dword [edi + 0x28]
mov edx, dword [edi]
add eax, esi
push eax
mov eax, dword [edi + 0x2c]
add eax, ebx
push eax
call dword [edx + 0x48]
mov edx, dword [edi]
mov esi, eax
push esi
push dword [edi + 0xc]
mov ecx, edi
call dword [edx + 0x5c]
mov dword [edi + 0xc], esi
jmp 0x407ca3
mov eax, dword [edi]
call dword [eax + 0x58]
mov eax, dword [edi + 0x28]
mov ecx, edi
mov edx, dword [edi]
add eax, esi
push eax
mov eax, dword [edi + 0x2c]
add eax, ebx
push eax
call dword [edx + 0x48]
mov dword [edi + 0xc], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x44], eax
push ebp
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
mov dword [edi + 0x4c], 1
call dword [eax + 0xc]
pop ebx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0043fe9e
add esp, 0x14
ret 0x14
Function at 0x411290
Capabilities:
Log keystrokes via input method manager

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov esi, 1
mov eax, dword [edi + 0x990]
cmp dword [eax + 0xc], 0
jne 0x411476
cmp dword [edi + 0x4c], 0
jne 0x411476
mov eax, dword [edi]
push ebx
push ebp
lea ebx, [edi + 0xc]
push ebx
call dword [eax + 0x194]
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x4112e0
mov ecx, dword [edi + 0x990]
push 0
push esi
call fcn.00405e50
mov dword [edi + 0x8fc], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
push dword [esp + 0x20]
mov dword [esp + 0x1c], eax
call sub.IMM32.dll_ImmGetContext
mov ebp, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
test al, 8
je 0x411458
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x1f4]
push 0
push 0
push 8
push ebp
call sub.IMM32.dll_ImmGetCompositionStringA
mov ebp, eax
lea ecx, [ebp + 1]
push ecx
call fcn.0044419d
add esp, 4
mov dword [esp + 0x10], eax
push ebp
push eax
push 8
push dword [esp + 0x20]
call sub.IMM32.dll_ImmGetCompositionStringA
mov eax, dword [esp + 0x10]
mov byte [eax + ebp], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x4113a6
test ebp, ebp
je 0x411390
mov eax, dword [edi + 0x990]
mov ecx, dword [ebx]
mov esi, dword [esp + 0x10]
push 0
mov edx, dword [eax + 8]
movzx eax, byte [esi]
mov byte [edx + ecx - 2], al
mov eax, dword [edi + 0x990]
mov ecx, dword [ebx]
mov edx, dword [eax + 8]
movzx eax, byte [esi + 1]
mov byte [edx + ecx - 1], al
mov eax, dword [ebx]
mov ecx, dword [edi + 0x990]
sub eax, 2
push eax
push edi
call fcn.00406760
jmp 0x411419
test eax, eax
je 0x4113a6
add dword [ebx], 0xfffffffe
mov ecx, edi
mov eax, dword [edi]
push 0
push 2
push dword [ebx]
call dword [eax + 0x14]
xor esi, esi
xor eax, eax
test ebp, ebp
setne al
cmp dword [edi + 0x8a8], 0
mov dword [edi + 8], eax
je 0x4113f9
test esi, esi
je 0x4113f9
cmp dword [esp + 0x18], 0
jne 0x4113f9
push dword [ebx]
mov ecx, dword [edi + 0x990]
call fcn.00404000
test eax, eax
je 0x4113ec
push dword [ebx]
mov ecx, dword [edi + 0x990]
call fcn.00404040
test eax, eax
jne 0x4113f9
push 1
push 2
jmp 0x4113f0
push 1
push 1
mov eax, dword [edi]
mov ecx, edi
push dword [ebx]
call dword [eax + 0x14]
mov esi, dword [edi]
push 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x18]
mov ecx, edi
push dword [ebx]
call dword [esi + 0x10]
add dword [ebx], ebp
mov esi, dword [esp + 0x10]
push dword [esp + 0x14]
push dword [esp + 0x24]
call sub.IMM32.dll_ImmReleaseContext
push esi
call fcn.00444198
mov eax, dword [ebx]
add esp, 4
mov ecx, dword [edi + 0x990]
sub eax, ebp
mov esi, dword [edi]
push 0xffffffffffffffff
push eax
call fcn.004039d0
push eax
mov ecx, edi
call dword [esi + 0x70]
mov eax, dword [edi]
mov ecx, edi
push 1
push 1
call dword [eax + 0xc]
mov eax, dword [esp + 0x28]
push eax
push dword [esp + 0x28]
push 0x10f
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xc
ret 0xc
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret 0xc
Function at 0x411480
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
mov edi, ecx
call esi
movzx ebx, ax
shr ebx, 0xf
push 0x11
and ebx, 1
call esi
movzx ebp, ax
shr ebp, 0xf
and ebp, 1
cmp dword [edi + 0x8a4], 0
je 0x411503
cmp dword [esp + 0x18], 0x11
jne 0x4115e0
mov eax, dword [edi + 0x990]
mov ecx, dword [esp + 0x1c]
test dword [eax + 0xd8], 0x400000
je 0x4114d9
xor eax, eax
test ecx, ecx
sete al
mov ecx, eax
test ecx, ecx
je 0x4114f0
push dword [0x464c20]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
push dword [0x464c24]
call dword [sym.imp.USER32.dll_SetCursor]
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
cmp dword [esp + 0x1c], 0
je 0x4115e0
mov ecx, dword [edi + 0x934]
mov esi, dword [esp + 0x18]
test ecx, ecx
je 0x41156d
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x41156d
test ebx, ebx
jne 0x411571
cmp esi, 0x25
je 0x411550
cmp esi, 0x27
je 0x411550
cmp esi, 0x26
je 0x411550
cmp esi, 0x28
je 0x411550
cmp esi, 0x21
je 0x411550
cmp esi, 0x22
je 0x411550
cmp esi, 0x24
je 0x411550
cmp esi, 0x23
jne 0x41157b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
mov dword [edi + 0x92c], 0
mov dword [edi + 0x938], 0
jmp 0x41157b
test ebx, ebx
je 0x41157b
test ecx, ecx
jne 0x41157b
inc dword [edi + 0x930]
lea eax, [esi - 0x30]
mov dword [edi + 0x904], 0
cmp eax, 9
ja 0x4115a7
test ebp, ebp
je 0x4115a7
mov edx, dword [edi]
lea eax, [esi - 0x30]
mov ecx, edi
push eax
test ebx, ebx
je 0x4115a4
push 0xffffffffffffffff
call dword [edx + 0x78]
jmp 0x4115a7
call dword [edx + 0x7c]
mov eax, dword [edi]
mov ecx, edi
push ebx
push ebp
push esi
call dword [eax + 0x1b8]
test ebx, ebx
je 0x4115e0
mov eax, dword [edi + 0x934]
test eax, eax
jne 0x4115cc
dec dword [edi + 0x930]
test eax, eax
je 0x4115e0
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x48]
je 0x4115e0
mov eax, dword [edi + 0x92c]
mov dword [edi + 0x938], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x411a70
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x89c], 0
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edi, dword [esp + 0x18]
push 1
push edi
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call sub.IMM32.dll_ImmGetContext
push 0
push 4
mov esi, eax
push 0x15
push esi
call sub.IMM32.dll_ImmNotifyIME
push esi
push edi
call sub.IMM32.dll_ImmReleaseContext
mov ebp, dword [esp + 0x20]
mov ecx, ebx
mov eax, dword [ebx]
push ebp
push dword [esp + 0x20]
push edi
call dword [eax + 0x178]
test eax, eax
jne 0x411c43
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [ebx + 0x990]
mov si, ax
shr esi, 0xf
and esi, 1
test dword [ecx + 0xd8], 0x400000
je 0x411af8
xor esi, 1
cmp dword [ebx + 0x8a4], 0
je 0x411c43
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov edx, dword [ebx]
add eax, ebp
mov edi, dword [esp + 0x1c]
push eax
mov eax, dword [ebx + 0x2c]
add eax, edi
mov dword [ebx + 0x8a4], 0
push eax
call dword [edx + 0x98]
cmp eax, 1
jne 0x411b70
mov eax, dword [ebx + 0x28]
mov ecx, ebx
mov edx, dword [ebx]
add eax, ebp
push eax
mov eax, dword [ebx + 0x2c]
add eax, edi
push eax
call dword [edx + 0x48]
mov dword [ebx + 0xc], eax
mov ecx, ebx
mov eax, dword [ebx]
push 1
push 1
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x44], 0
call dword [eax + 0x70]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
cmp edi, dword [ebx + 0x464]
jle 0x411c38
cmp edi, dword [ebx + 0x46c]
jge 0x411c38
cmp ebp, dword [ebx + 0x468]
jle 0x411c38
cmp ebp, dword [ebx + 0x470]
jge 0x411c38
mov eax, dword [ebx + 0x44]
sub eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x28]
add ecx, ebp
cdq
push ecx
mov ecx, dword [ebx + 0x2c]
xor eax, edx
sub eax, edx
add ecx, edi
mov edx, dword [ebx]
push ecx
mov ecx, ebx
mov dword [esp + 0x24], eax
call dword [edx + 0x48]
cmp dword [ebx + 0x934], 0
mov dword [esp + 0x10], eax
je 0x411be9
push dword [ebx + 0x92c]
mov edx, dword [ebx]
mov ecx, ebx
push eax
push esi
call dword [edx + 0x1b0]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov ecx, dword [ebx + 0x48]
lea edx, [esp + 0x10]
cmp dword [ebx + 0x44], ecx
mov edi, dword [esp + 0x1c]
cmovl ecx, dword [ebx + 0x44]
mov eax, dword [ebx]
push 1
push edi
push edx
push ecx
push esi
mov ecx, ebx
call dword [eax + 0x9c]
mov eax, dword [esp + 0x10]
mov ecx, ebx
mov dword [ebx + 0x44], eax
add eax, edi
mov dword [ebx + 0x48], eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx]
push 1
push 1
call dword [eax + 0xc]
mov eax, dword [ebx]
mov ecx, ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [eax + 0x70]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
mov eax, dword [ebx]
mov ecx, ebx
push 1
push 1
call dword [eax + 0xc]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
Function at 0x4196e0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push dword [esp + 0x28]
mov esi, ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x419718
pop esi
or eax, eax
pop ebp
pop ecx
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x14]
push 0
push eax
push 0x118
push esi
push ebp
call ebx
cmp dword [esi + 0x40], 0x78
je 0x41974f
push ebp
mov dword [esp + 0x10], 0xfffffffe
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebx
pop esi
pop ebp
pop ecx
ret 4
mov eax, dword [esi + 0x104]
test eax, eax
je 0x4197f3
lea eax, [eax + eax*8]
shl eax, 4
push eax
call fcn.0044419d
add esp, 4
mov ecx, eax
lea eax, [esp + 0x14]
mov dword [esi + 0x118], ecx
push 0
push eax
mov eax, dword [esi + 0x104]
lea eax, [eax + eax*8]
shl eax, 4
push eax
push ecx
push ebp
call ebx
xor ebx, ebx
cmp dword [esi + 0x104], ebx
jle 0x4197f3
push edi
xor edi, edi
nop dword [eax]
mov eax, dword [esi + 0x118]
cmp dword [eax + edi + 4], 2
jne 0x4197e3
mov eax, dword [eax + edi + 0x3c]
inc eax
push 1
push eax
call fcn.00444803
mov ecx, dword [esi + 0x118]
add esp, 8
mov dword [ecx + edi + 0x38], eax
lea ecx, [esp + 0x18]
mov eax, dword [esi + 0x118]
push 0
push ecx
push dword [eax + edi + 0x3c]
push dword [eax + edi + 0x38]
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
inc ebx
add edi, 0x90
cmp ebx, dword [esi + 0x104]
jl 0x4197a0
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
pop ebx
pop esi
pop ebp
pop ecx
ret 4
Function at 0x419a10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xa4
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
mov ebx, ecx
lea ecx, [esp + 0x14]
push esi
mov esi, dword [esp + 0xb0]
call fcn.004172e0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x419a61
xor eax, eax
jmp 0x419b56
push ebp
push edi
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x118
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 0x104]
mov dword [esp + 0x14], 0
lea ebp, [eax + eax*8]
shl ebp, 4
add ebp, 0x118
test eax, eax
jle 0x419afb
xor eax, eax
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov esi, dword [ebx + 0x118]
lea edi, [esp + 0x20]
add esi, eax
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x24], 2
jne 0x419ac2
mov dword [esp + 0x58], ebp
add ebp, dword [esp + 0x5c]
push 0
lea eax, [esp + 0x20]
push eax
push 0x90
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
inc edx
add eax, 0x90
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
cmp edx, dword [ebx + 0x104]
jl 0x419aa0
xor esi, esi
cmp dword [ebx + 0x104], esi
jle 0x419b45
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebx + 0x118]
cmp dword [eax + edi + 4], 2
jne 0x419b36
push 0
lea ecx, [esp + 0x20]
push ecx
push dword [eax + edi + 0x3c]
push dword [eax + edi + 0x38]
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc esi
add edi, 0x90
cmp esi, dword [ebx + 0x104]
jl 0x419b10
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0xa8]
pop esi
pop ebx
xor ecx, esp
call fcn.0043fe9e
add esp, 0xa4
ret 4

Function at 0x420350
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindow]
push esi
push 5
push dword [0x464d10]
call ebp
mov esi, eax
test esi, esi
je 0x4203cc
push ebx
push edi
nop word [eax + eax]
push 0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 4
push str.http
lea ebx, [edi + 0x148]
push ebx
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x4203bf
push 8
push 0x454168
push ebx
call fcn.00444120
add esp, 0xc
test eax, eax
je 0x4203bf
cmp dword [edi + 0xc], 0
jne 0x4203bf
cmp dword [edi + 0x18], 1
jne 0x4203bf
push ebx
push esi
call fcn.00429c50
add esp, 8
push 2
push esi
call ebp
mov esi, eax
test esi, esi
jne 0x420370
pop edi
pop ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
pop esi
pop ebp
cmp eax, dword [0x464d0c]
jne fcn.00429b00
ret
Function at 0x422430
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x158
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x154], eax
push ebp
mov ebp, dword [esp + 0x160]
lea eax, [esp + 0x54]
push 0x104
push 0
push eax
call fcn.004421e0
push 0x4c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004421e0
mov eax, dword [0x464d0c]
add esp, 0x18
mov dword [esp + 0xc], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x4c
push eax
mov dword [esp + 0x18], 0x45479c
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x40], 0x80000
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x422583
push edi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x422506
push 0
push 0x45353c
push 0x454ddc
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop ebp
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.0043fe9e
add esp, 0x158
ret
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0x1e00000
jbe 0x422534
push 0
push 0x45353c
push 0x454df4
push dword [0x464d0c]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x42257a
lea eax, [ebx + 2]
push esi
push eax
call fcn.0044419d
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
mov ecx, ebp
push esi
mov byte [edx + esi], 0
mov eax, dword [esp + 0x14]
mov byte [eax + esi + 1], 0
mov eax, dword [ebp]
call dword [eax + 0x144]
push esi
call fcn.00444198
add esp, 4
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov ecx, dword [esp + 0x158]
pop ebp
xor ecx, esp
call fcn.0043fe9e
add esp, 0x158
ret

Function at 0x4226d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x104
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x100], eax
push edi
mov edi, dword [esp + 0x10c]
push 0
push 0
push 0x229
push dword [0x464d10]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x422751
push esi
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
lea eax, [esp + 8]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push dword [esp + 0x11c]
call fcn.00403a10
pop esi
test eax, eax
jne 0x422751
cmp dword [0x464f08], eax
je 0x422751
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov ecx, dword [esp + 0x104]
pop edi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x104
ret
Function at 0x422770
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x114
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x110], eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x229
push dword [0x464d10]
call edi
mov esi, eax
test esi, esi
je 0x4228d5
cmp dword [esp + 0x120], 0
je 0x422864
push 0x454fb8
push 1
call fcn.0043e220
add esp, 8
lea eax, [esp + 8]
push eax
push 0
push 0x40a
push dword [0x464e48]
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub eax, ecx
push 0
push dword [0x464d08]
sub eax, 2
push 0
push dword [0x464e48]
push eax
push 0x82
lea eax, [ecx + 1]
push eax
mov eax, dword [esp + 0x24]
add eax, 0x3c
push eax
push 0x50000080
push 0
push str.Edit
push 0x20000
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x4225a0
push 0xfffffffffffffffc
push eax
mov dword [0x470270], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push dword [0x464e70]
mov dword [0x470274], eax
push 0x30
push dword [0x470270]
call edi
push 0
push 0xff
push 0xc5
push dword [0x470270]
call edi
push dword [0x470270]
jmp 0x4228cf
push 0x100
lea eax, [esp + 0x1c]
push eax
push dword [0x470270]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x422898
lea eax, [esp + 0x18]
mov ecx, 0x470198
push eax
call fcn.00433ca0
push 0
push 1
call fcn.0043e220
add esp, 8
push dword [0x470274]
push 0xfffffffffffffffc
push dword [0x470270]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push dword [0x470270]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x470270], 0
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x118]
pop edi
pop esi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x114
ret
Function at 0x422ef0
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x4642d0]
xor eax, esp
mov dword [esp + 0x610], eax
cmp dword [0x46a29c], 0
push edi
mov edi, dword [esp + 0x61c]
je 0x423080
push 3
push 0x45428c
push edi
call fcn.004446e0
add esp, 0xc
test eax, eax
je 0x423080
push ebx
push esi
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x31c]
push eax
lea eax, [esp + 0x420]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00444a33
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
push 0x46a2a0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
je 0x422fb1
push 0
push 0x46a2a0
call fcn.00444a96
add esp, 8
test eax, eax
jne 0x422fb1
push 0x46a2a0
lea eax, [esp + 0x14]
push eax
call ebx
lea eax, [esp + 0x10]
push eax
call esi
lea ecx, [esp + 0x10]
cmp byte [eax + ecx - 1], 0x5c
je 0x422fd1
push 0x454d04
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x422fd1
lea eax, [esp + 0x418]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push 0x454334
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esi, dword [0x46a29c]
test esi, esi
jle 0x42307e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
nop word [eax + eax]
lea eax, [esp + 0x118]
cmp esi, 1
jne 0x423002
push edi
push eax
call ebx
jmp 0x423024
push eax
lea eax, [esi - 1]
push eax
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x328]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004230a0
add esp, 0x14
lea eax, [esp + 0x118]
push 0
push eax
call fcn.00444a96
add esp, 8
test eax, eax
jne 0x423074
lea eax, [esp + 0x51c]
push eax
push esi
lea eax, [esp + 0x224]
push eax
lea eax, [esp + 0x328]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004230a0
add esp, 0x14
lea eax, [esp + 0x51c]
push 0
push eax
lea eax, [esp + 0x120]
push eax
call ebp
dec esi
test esi, esi
jg 0x422ff0
pop ebp
pop esi
pop ebx
mov ecx, dword [esp + 0x614]
pop edi
xor ecx, esp
call fcn.0043fe9e
add esp, 0x614
ret