joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e017
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40e037
movzx eax, byte [ebp - 4]
jmp 0x40e039
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40edaa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
xor ebx, ebx
push esi
inc ebx
mov esi, ecx
push edi
cmp dword [0x4999c4], ebx
jne 0x40ee69
cmp dword [esi + 4], 0xa0
je 0x40ede7
cmp dword [esi + 4], 0x112
jbe 0x40ee69
cmp dword [esi + 4], 0x200
ja 0x40ee69
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
xor eax, eax
push eax
push 0x9f
push eax
push eax
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x40ee69
push eax
push 0x109
push 0xa1
push eax
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x40ee69
push eax
push 0x400
push 0x201
push eax
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x40ee69
cmp dword [esi + 4], 0xa0
je 0x40ee3f
cmp dword [esi + 4], 0x200
jne 0x40ee64
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push ebx
call esi
mov edi, 0x8000
test di, ax
jne 0x40ee69
push 2
call esi
test di, ax
jne 0x40ee69
push 4
call esi
test di, ax
jne 0x40ee69
push 3
pop eax
jmp 0x40ee6b
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40fcce
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 1
push 0x11
and esi, 0x4000
call ebx
movzx edi, ax
and edi, 0x8000
or edi, esi
push 0x12
shr edi, 2
call ebx
and eax, 0x8000
or eax, edi
pop edi
pop esi
shr eax, 0xa
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push esi
xor esi, esi
inc esi
mov ebx, esi
test ecx, ecx
jne 0x40ff12
cmp dword [0x499a90], ecx
jg 0x40ff12
cmp dword [0x49ab6c], ecx
jg 0x40ff12
cmp byte [0x4999d4], cl
je 0x40ff70
cmp dword [0x4999c4], esi
jne 0x40ff70
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 8], eax
mov eax, dword [0x4999b4]
mov dword [esp + 0xc], eax
mov dword [0x4999b4], 0x3000
mov ecx, 0xe000
call fcn.0040ce63
test eax, eax
jne 0x40ff67
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 8]
cmp eax, 0x3e8
jb 0x40ff63
xor edx, edx
mov ecx, esi
call fcn.0040ff76
mov ebx, eax
xor esi, esi
test ebx, ebx
jne 0x40ff37
mov eax, dword [esp + 0xc]
mov dword [0x4999b4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ff76
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x54], ecx
xor ecx, ecx
push esi
mov dword [ebp - 0x4c], ecx
push edi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x50], ecx
cmp byte [0x4999e4], cl
je 0x40ffa6
xor eax, eax
jmp 0x41006f
mov eax, dword [0x4999d8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
push ecx
push eax
mov dword [0x4999d8], eax
call sub.VCRUNTIME140.dll__setjmp3
pop ecx
pop ecx
test eax, eax
jne 0x410051
cmp dword [ebp - 0x54], eax
je 0x40ffd7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x499ac4], eax
mov byte [0x4999e4], 1
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov edi, ebx
sub edi, dword [0x499ac4]
jns 0x40fffb
and dword [0x499ac4], 0
mov edi, ebx
mov ecx, 0x8000
call fcn.0040ce63
test eax, eax
jne 0x410051
cmp dword [0x4999c4], 1
jne 0x410051
mov eax, dword [esi + 0x497820]
test eax, eax
je 0x410035
cmp dword [ebp - 0x58], 0
jne 0x41002b
cmp dword [esi + 0x497824], 0
jne 0x410035
push ebx
push edi
push dword [ebp - 0x54]
call eax
or dword [ebp - 0x4c], eax
add esi, 8
cmp esi, 0x38
jb 0x40ffe0
mov eax, dword [ebp - 0x50]
mov dword [0x4999d8], eax
mov eax, dword [ebp - 0x4c]
mov byte [0x4999e4], 0
jmp 0x41006f
cmp dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x50]
mov dword [0x4999d8], ecx
mov byte [0x4999e4], 0
je 0x41006c
call fcn.0040ce2a
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret
Function at 0x410eb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call fcn.0041369f
mov ecx, ebx
mov edi, eax
call fcn.004113d5
mov esi, eax
test esi, esi
jne 0x410ed2
xor ecx, ecx
call fcn.004113d5
mov esi, eax
xor eax, eax
cmp esi, ebx
cmove esi, eax
test esi, esi
jne 0x410ee3
test edi, edi
je 0x410ef1
xor edi, edi
test edi, edi
je 0x410ef1
push 3
pop edx
mov ecx, esi
call fcn.00413284
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.0041325b
test eax, eax
jne 0x410f0a
call fcn.00411430
test edi, edi
jne 0x410f1b
push 3
pop edx
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.00413284
pop edi
pop esi
pop ebx
ret

Function at 0x4111de
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x49b048]
test eax, eax
je 0x411331
cmp dword [0x49b04c], 0
push esi
push 2
pop esi
je 0x4112fb
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_DeleteMenu]
push 0
push esi
push eax
call edi
xor ebx, ebx
push ebx
push 0x410
jmp 0x41122f
inc ebx
mov eax, ebx
push 0
or eax, 0x410
push eax
push dword [0x49b048]
call edi
test eax, eax
jne 0x411224
xor ebx, ebx
xor ecx, ecx
jmp 0x4112e4
mov ecx, edi
call fcn.0041325b
test eax, eax
jne 0x4112e2
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, edi
mov dword [ebp - 0x64], eax
call fcn.00412a13
test eax, eax
jne 0x4112d6
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4112d6
cmp ebx, 9
jg 0x4112d6
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [eax + 0x14], ebx
jne 0x41129e
push 0x5b
lea eax, [ebp - 0x60]
push eax
push 0x110003
push dword [0x49b110]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_1115]
mov eax, esi
jmp 0x4112c0
lea eax, [ebx + 0x31]
mov byte [ebp - 0x60], 0x26
mov byte [ebp - 0x5f], al
lea eax, [ebp - 0x5d]
push 0x58
push eax
push edi
mov byte [ebp - 0x5e], 0x20
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, ebx
or eax, 0x410
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0
push dword [0x49b048]
call dword [sym.imp.USER32.dll_AppendMenuA]
inc ebx
jmp 0x4112e2
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [eax + 0x14], 9
mov ecx, edi
call fcn.00413774
mov edi, eax
test edi, edi
jne 0x411244
and dword [0x49b04c], eax
pop edi
pop ebx
mov eax, dword [0x4999fc]
test eax, eax
je 0x411330
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [eax]
cmp dword [eax + 0x14], 9
je 0x41131d
mov esi, dword [eax + 0x14]
or esi, 0x410
mov eax, dword [0x49b048]
test eax, eax
je 0x411330
push 8
push esi
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048dc69
mov esp, ebp
pop ebp
ret
Function at 0x41284d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov esi, edi
cmp edi, 7
cmove esi, eax
mov ebx, dword [esi*4 + 0x49b020]
mov eax, esi
sub eax, 1
je 0x4128e2
sub eax, 1
je 0x4128cd
sub eax, 1
je 0x4128b7
sub eax, 1
je 0x4128b0
sub eax, 1
je 0x4128a9
sub eax, 1
jne 0x4128f2
mov eax, dword [0x49b164]
movzx eax, byte [eax + 0x135]
mov dword [0x49b038], eax
jmp 0x4128f2
mov eax, 0x91
jmp 0x4128ba
mov eax, 0x90
jmp 0x4128ba
push 0x14
pop eax
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
mov dword [esi*4 + 0x49b020], eax
jmp 0x4128f2
mov eax, dword [0x49b164]
mov eax, dword [eax + 0xee]
and eax, 1
mov dword [0x49b028], eax
jmp 0x4128f2
mov eax, dword [0x49b164]
mov eax, dword [eax + 0xfe]
mov dword [0x49b024], eax
cmp ebx, dword [esi*4 + 0x49b020]
je 0x412953
cmp dword [0x49ab64], 0
je 0x412953
mov ecx, dword [0x49a26c]
imul edx, esi, 0x14
mov eax, dword [ecx + 0x5c]
inc eax
push eax
lea eax, [ebp - 0x14]
push dword [edx + ecx + 0x250]
push dword [ecx + 0x60]
push dword [edx + ecx + 0x24c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 1
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x49a26c]
push dword [eax]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [ebp - 0x18], 0
je 0x412953
mov eax, dword [0x49a26c]
push dword [eax]
call dword [sym.imp.USER32.dll_UpdateWindow]
inc esi
cmp esi, edi
jl 0x41286f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret
Function at 0x41e942
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x31c], ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, ecx
lea edx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41e965
push 8
sub edi, edx
lea edx, [ebp - 0x14]
pop eax
cmp edi, eax
cmovg edi, eax
push edi
call fcn.0048810e
push 3
lea eax, [ebp - 0x14]
pop esi
add edi, eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, eax
and ebx, 0xf
cmp ebx, 0xa
lea eax, [ebx + 0x37]
movzx ecx, al
lea edx, [ebx + 0x30]
movzx eax, dl
cmovl ecx, eax
mov eax, dword [ebp + 0xc]
shr eax, 4
mov byte [esi + edi], cl
sub esi, 1
mov dword [ebp + 0xc], eax
jns 0x41e98b
mov esi, dword [ebp - 0x31c]
lea eax, [ebp + 0xef]
add edi, 4
sub eax, edi
pop ebx
mov byte [esi], 0
mov byte [edi], 0
test eax, eax
jle 0x41ea13
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp byte [esi], 0
je 0x41ea13
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e9e1
sub ecx, edx
cmp byte [ecx + esi - 1], 0x5c
je 0x41e9fe
cmp ecx, 0x103
jge 0x41e9fe
mov byte [ecx + esi], 0x5c
inc ecx
mov eax, 0x104
lea edx, [esi + ecx]
sub eax, ecx
lea ecx, [ebp - 0x14]
push eax
call fcn.00485715
jmp 0x41ea73
mov edi, 0x104
push edi
push esi
push dword [0x49b128]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [edi - 4]
push ecx
lea eax, [ebp - 0x115]
push eax
push ecx
lea eax, [ebp - 0x215]
push eax
push ecx
lea eax, [ebp - 0x315]
push eax
push 3
lea eax, [ebp - 0x318]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__splitpath_s]
push 0x49b118
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x315]
push eax
lea eax, [ebp - 0x318]
push eax
push edi
push esi
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__makepath_s]
add esp, 0x3c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 8
Function at 0x431d0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
push 0
push 0
mov edi, ecx
mov dword [ebp - 0x12c], eax
push 0x150
mov esi, edx
push edi
mov dword [ebp - 0x140], esi
call ebx
cmp eax, esi
je 0x431f0a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x431d89
inc eax
mov edx, eax
mov dword [ebp - 0x130], eax
call fcn.00483689
mov esi, eax
mov dword [ebp - 0x13c], eax
test esi, esi
je 0x431f1d
push dword [ebp - 0x130]
push dword [esi]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x431d91
xor esi, esi
mov dword [ebp - 0x13c], esi
push 0
push 0
push 0x14b
push edi
call ebx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x12c]
push 3
push 0x46c
push dword [eax + 4]
call ebx
test eax, eax
je 0x431ef5
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x12c]
push 4
push 0x46c
push dword [eax + 4]
call ebx
test eax, eax
je 0x431ef5
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp - 0x12c]
push 1
push 0x46c
push dword [eax + 4]
call ebx
test eax, eax
je 0x431ef5
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x124]
mov ecx, dword [ebp - 0x134]
push 0x7fff
push dword [eax + 0x10]
mov ecx, dword [ecx]
lea eax, [ebp - 0x94]
push dword [ebp - 0xf]
push dword [ebp - 0x13]
push eax
push dword [ebp - 0xa3]
call fcn.00430f6f
mov eax, dword [ebp - 0x134]
cmp dword [0x49b10c], 0x400
sbb edx, edx
and dword [ebp - 0x12c], 0
mov eax, dword [eax]
and edx, 0x7fff801f
add edx, 0x7fe0
mov dword [ebp - 0x144], edx
mov ecx, dword [eax + 0x16]
mov eax, dword [eax + 0x1a]
mov dword [ebp - 0x130], ecx
test eax, eax
je 0x431e8d
mov eax, dword [eax]
jmp 0x431e8f
xor eax, eax
mov dword [ebp - 0x138], eax
test ecx, ecx
jle 0x431ee5
mov esi, eax
cmp dword [ebp - 0x12c], edx
jge 0x431edf
push esi
push 0
push 0x143
push edi
call ebx
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431eb3
sub ecx, edx
mov edx, dword [ebp - 0x144]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x130]
sub ecx, eax
add esi, eax
inc dword [ebp - 0x12c]
mov dword [ebp - 0x130], ecx
test ecx, ecx
jg 0x431e9b
mov esi, dword [ebp - 0x13c]
push dword [ebp - 0x140]
push 0
push 0x151
push edi
call ebx
test esi, esi
je 0x431f0a
push dword [esi]
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
push 0
call fcn.00483654
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 4
call fcn.00411645
int3
Function at 0x4334b5
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov eax, ecx
push ebx
push 0x3e9
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov ebx, dword [ebp - 4]
push 0x3ea
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
push 0
push 0x470
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x435f2e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
push 0x1a2
push dword [esi]
call edi
cmp eax, 0xffffffff
jne 0x435f8f
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_CharLowerA]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x435f6d
test al, 0x10
je 0x435f6d
xor eax, eax
inc eax
jmp 0x435f6f
xor eax, eax
push dword [esi + 8]
not eax
push dword [ebp + 8]
or dword [esi + 4], eax
push 0
push 0x180
push dword [esi]
call edi
push eax
push 0x19a
push dword [esi]
call edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x4364b3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push dword [edi + 4]
push ebx
push 0
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__makepath_s]
add esp, 0x18
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x436531
push dword [edi + 8]
mov ecx, dword [edi]
lea edx, [ebp - 0x21c]
push ebx
call fcn.0043625d
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x436507
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 8
Function at 0x4378fa
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, edx
mov eax, 0x100
mov ebx, ecx
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 8]
cmp esi, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ebx
jne 0x437a47
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call ebx
test ax, ax
jns 0x4379b8
cmp edi, 0x21
je 0x437946
push 0x10
call ebx
test ax, ax
jns 0x4379b8
cmp edi, 9
jne 0x4379b8
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, 0xbc2
mov dword [ebp + 8], eax
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov esi, eax
push edi
push edi
push 0x130b
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jg 0x437983
push edi
push edi
push 0x1304
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
dec eax
push eax
push 0x130c
push esi
call edi
test eax, eax
js 0x4379b1
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x4e
push dword [ebp + 8]
mov dword [ebp - 0xc], 0xfffffdd9
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
call edi
xor eax, eax
jmp 0x437a93
push 0x11
call ebx
test ax, ax
jns 0x437a81
cmp edi, 0x22
je 0x4379d3
cmp edi, 9
jne 0x437a81
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetParent]
mov ebx, 0xbc2
mov dword [ebp + 0x10], eax
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
xor edi, edi
mov dword [ebp + 8], eax
push edi
push edi
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push edi
push 0x1304
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageA]
dec eax
or ecx, 0xffffffff
cmp esi, eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmovge esi, ecx
lea eax, [esi + 1]
mov esi, dword [ebp + 8]
push eax
push 0x130c
push esi
call edi
test eax, eax
js 0x4379b1
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x4e
push dword [ebp + 0x10]
jmp 0x4379a2
cmp edx, 0x87
jne 0x437a84
test esi, esi
je 0x437a84
cmp dword [esi + 4], eax
jne 0x437a84
cmp dword [esi + 8], 9
jne 0x437a84
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x437a84
push esi
push edi
push 0x87
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_CallWindowProcA]
or eax, 4
jmp 0x437a93
mov ebx, dword [ebp - 4]
push esi
push edi
push dword [ebp - 8]
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_CallWindowProcA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44411e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x49b03c]
mov edx, 0x7000
push ebx
push esi
push edi
mov ecx, dword [ecx + 0xed]
call fcn.0042da50
mov esi, dword [0x49b03c]
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esi + 0x4219]
test eax, eax
je 0x44415e
push eax
call edi
mov esi, dword [0x49b03c]
mov dword [esi + 0x4219], ebx
mov eax, dword [esi + 0x4225]
test eax, eax
je 0x444177
push eax
call edi
mov esi, dword [0x49b03c]
mov dword [esi + 0x4225], ebx
mov eax, dword [esi + 0x422d]
mov dword [esi + 0x41dd], ebx
test eax, eax
je 0x444196
push eax
call edi
mov esi, dword [0x49b03c]
mov dword [esi + 0x422d], ebx
and dword [esi + 0x4239], 0xffffffd9
test dword [esi + 0x7c], 0x3000
mov dword [esi + 0x4231], ebx
mov dword [esi + 0x423d], ebx
jne 0x4441c0
xor ecx, ecx
inc ecx
call fcn.004223f2
mov esi, dword [0x49b03c]
mov esi, dword [esi + 0x1b1]
xor ecx, ecx
call fcn.00448d8f
mov eax, dword [0x49b03c]
mov ecx, esi
mov dword [eax + 0x1b5], ebx
mov dword [eax + 0x1b1], ebx
pop edi
pop esi
pop ebx
jmp fcn.0044835a
Function at 0x448d8f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x49b03c]
push ebx
push esi
push edi
mov esi, dword [edx + 0x1b9]
mov ebx, ecx
test esi, esi
je 0x448dff
mov eax, dword [edx + 0x1b5]
add eax, dword [edx + 0x1b1]
mov esi, dword [esi]
imul edi, eax, 0x28
add edi, esi
cmp esi, edi
jae 0x448de8
push dword [esi]
push dword [0x499a30]
call fcn.00483654
add esi, 0x28
cmp esi, edi
jb 0x448dce
mov edx, dword [0x49b03c]
push dword [edx + 0x1b9]
push dword [0x499a30]
call fcn.00483654
mov edx, dword [0x49b03c]
and dword [edx + 0x1b9], 0
test ebx, ebx
jne 0x448ea4
mov esi, dword [edx + 0x185]
jmp 0x448e2d
mov ecx, dword [edx + esi*4 + 0x1d1]
dec esi
test ecx, ecx
je 0x448e2d
call fcn.004845d7
mov edx, dword [0x49b03c]
test esi, esi
jne 0x448e16
and dword [edx + 0x185], esi
mov esi, dword [edx + 0x1a5]
test esi, esi
je 0x448e9d
mov edi, dword [edx + 0x1a9]
lea eax, [ebp - 0x14]
push 0xd
push eax
push 0x1500af
push dword [0x49b110]
call dword [sym.imp.Mso30Win32Client.dll_Ordinal_1115]
mov ecx, esi
call fcn.0045d979
lea ecx, [ebp - 0x14]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x448e6b
sub ecx, edx
cmp ecx, 8
ja 0x448e97
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x118]
call fcn.0041e942
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
pop ecx
mov edx, dword [0x49b03c]
and dword [edx + 0x1a5], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048dc69
mov esp, ebp
pop ebp
ret
Function at 0x452123
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4963dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, edx
test ecx, ecx
je 0x452157
mov ecx, dword [ecx + 0x1c]
push 0x101
call fcn.00485715
xor eax, eax
inc eax
jmp 0x4522f9
push edi
lea ecx, [ebp - 0x108]
mov edi, 0x101
push ecx
push edi
push 0x464
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push edi
push esi
mov dword [ebp - 0x10c], eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__getcwd]
pop ecx
pop ecx
push esi
call dword [sym.imp.USER32.dll_CharLowerA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45218d
sub ecx, edx
cmp dword [0x49b160], 0
lea edi, [ecx + esi]
lea edx, [edi - 1]
je 0x4521b1
mov ecx, esi
call fcn.0048bd99
mov edx, edi
sub edx, eax
dec edx
call fcn.0040124c
push 0x5c
pop ecx
cmp ax, cx
je 0x4521c1
mov byte [edi], cl
inc edi
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbschr]
lea eax, [ebp - 0x108]
push 0x3f
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4522f5
lea eax, [ebp - 0x108]
push 0x2a
push eax
call ebx
pop ecx
pop ecx
test eax, eax
jne 0x4522f5
mov ebx, dword [ebp - 0x10c]
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], ebx
call fcn.004245ff
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x45222a
mov byte [eax], 0
jmp 0x452238
lea eax, [ebp - 0x108]
add eax, ebx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x110]
cmp byte [eax], 0
je 0x4522f5
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
xor ebx, ebx
inc ecx
cmp eax, 0xffffffff
je 0x45227f
test cl, al
cmovne ebx, ecx
test al, 2
je 0x45226a
or ebx, 2
test al, 4
je 0x452271
or ebx, 4
test al, 0x10
je 0x452278
or ebx, 0x10
test al, 0x20
je 0x45227f
or ebx, 0x20
mov ecx, dword [ebp - 0x110]
mov dl, 0x5c
call fcn.004520e3
mov ecx, dword [ebp - 0x110]
mov dl, 0x3a
mov dword [ebp - 0x114], eax
call fcn.004520e3
mov ecx, eax
test bl, 0x10
jne 0x4522f5
mov eax, dword [ebp - 0x114]
cmp eax, 1
je 0x4522f5
cmp ecx, 1
je 0x4522f5
test eax, eax
jne 0x4522be
test ecx, ecx
je 0x4522c0
mov edi, esi
mov eax, dword [ebp - 0x10c]
mov edx, edi
mov ecx, dword [ebp - 0x110]
sub eax, ecx
inc eax
push eax
call fcn.0048810e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4522dc
sub ecx, edx
cmp byte [esi + ecx - 1], 0x2e
jne 0x4522f0
mov byte [esi + ecx - 1], al
xor eax, eax
inc eax
jmp 0x4522f7
xor eax, eax
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0048dc69
mov esp, ebp
pop ebp
ret 8