joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10071090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x90
xor eax, eax
mov dl, byte [edi + eax + 0x2c0f6166]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x100710be
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0xc
jl 0x100710a1
pop edi
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100733e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100821dd
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100a700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.10073270
cmp byte [ebp - 0x84], 0
jne 0x10073531
xor edx, edx
lea ecx, [ebp - 0x3f]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x18], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x17], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x16], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x15], al
add edx, 4
cmp edx, 8
jb 0x10073475
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x100a8aa0
call fcn.10073270
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.10073270
xor edx, edx
lea ecx, [ebp - 0x37]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x28], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x27], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x26], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x25], al
add edx, 4
cmp edx, 0x10
jb 0x100734e4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.10073320
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10073573
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10073569
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10073569
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10073f6f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10073649
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x90
lea eax, [ebp - 0x94]
push 0
push eax
mov esi, ecx
call fcn.0042a2c0
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp eax, 6
jae 0x401064
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042a2b0
leave
ret

Function at 0x401327
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
sub esp, 0x8c
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push 0xc
mov eax, 0x43b256
call fcn.0042b1c9
mov esi, dword [ebp + 0x98]
mov edi, dword [ebp + 0x9c]
mov ebx, dword [ebp + 0xa0]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x43e050
push 1
push 0
push 0x43e080
mov byte [ebp - 0xd], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4013fa
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x43e070
push eax
call dword [ecx]
test eax, eax
jl 0x4013f1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x2c]
lea eax, [ebp]
push esi
push eax
call fcn.00401287
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
and dword [ebp - 4], 0
mov esi, dword [eax]
push 1
lea ecx, [ebp]
call fcn.00404667
push eax
push dword [ebp - 0x18]
call dword [esi + 0x18]
test eax, eax
jl 0x4013dc
mov byte [ebp - 0xd], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00404158
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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 + 0x8c]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0x90
leave
ret
Function at 0x401420
Capabilities:
Get common file path
Persist via run registry key

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 4
mov eax, 0x43b286
call fcn.0042b1c9
mov esi, dword [ebp + 0x110]
lea ecx, [ebp - 0x10]
call fcn.00403ed0
push 0x20019
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
xor edi, edi
push SysReAllocString
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.00403ed6
mov bl, al
test bl, bl
je 0x401484
push esi
push str.Desktop
lea ecx, [ebp - 0x10]
call fcn.00403ef3
mov bl, al
mov ecx, esi
call fcn.00403fe0
test al, al
je 0x4014c8
push 0x103
lea eax, [ebp + 1]
push edi
push eax
mov byte [ebp], 0
call fcn.0042a2c0
add esp, 0xc
push edi
push edi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ebx, eax
cmp ebx, edi
je 0x4014c5
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.00404144
cmp ebx, edi
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403f94
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0x108
leave
ret

Function at 0x4014f9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x401522
xor eax, eax
jmp 0x4015cd
push 0x124
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x12c], edi
call fcn.0042a2c0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x40151b
lea eax, [ebp - 0x12c]
push eax
push edi
mov dword [ebp - 0x12c], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4015c2
push ebx
call fcn.0042b4fb
pop ecx
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b4fb
pop ecx
push eax
call fcn.0042b2c0
pop ecx
pop ecx
test eax, eax
je 0x40159e
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401567
xor esi, esi
inc esi
jmp 0x4015c4
push dword [ebp - 0x124]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, eax
jmp 0x4015c4
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a2b0
leave
ret
Function at 0x4015dc
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x150
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0x150], eax
push 0x5c
mov eax, 0x43b2b6
call fcn.0042b1c9
xor ebx, ebx
push 0x103
lea eax, [ebp + 0x4d]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp + 0x4c], bl
call fcn.0042a2c0
add esp, 0xc
push 0x104
lea eax, [ebp + 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp]
call fcn.004042ac
push dword [ebp + 0x15c]
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp]
push str.__s___showbox_d
push eax
mov dword [ebp - 4], ebx
call fcn.00404368
lea eax, [ebp - 0x14]
push str.EXPLORER.EXE
push eax
mov dword [ebp - 0x14], ebx
call fcn.004014f9
add esp, 0x18
push 0x44
pop esi
push esi
cmp eax, ebx
push ebx
lea eax, [ebp - 0x68]
push eax
je 0x4016d8
call fcn.0042a2c0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.0042a2c0
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [ebp]
call fcn.00404667
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x4016d3
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x14]
jmp 0x401738
call fcn.0042a2c0
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x68], esi
call fcn.0042a2c0
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea ecx, [ebp]
call fcn.00404667
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
je 0x40173a
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00403f99
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x150]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0x154
leave
ret
Function at 0x4036d7
Capabilities:
Terminate process

Disassembly:
push esi
push dword [esp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4036fc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
pop esi
ret

Function at 0x403700
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push 0x20028
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x403780
cmp dword [ebp - 4], ebx
je 0x403780
lea eax, [ebp - 0xc]
push eax
push str.SeDebugPrivilege
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x403777
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp + 8]
neg eax
push ebx
sbb eax, eax
push ebx
and eax, 2
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x403777
mov bl, 1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
leave
ret

Function at 0x403785
Capabilities:
Enumerate processes

Disassembly:
push ebp
sub esp, 0x34c
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0x34c], eax
push 0xc
mov eax, 0x43b4ca
call fcn.0042b1c9
mov ebx, dword [ebp + 0x358]
mov edi, dword [ebp + 0x35c]
xor esi, esi
mov ecx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call fcn.004042ac
push 0x124
lea eax, [ebp + 0x228]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 1
call fcn.0042a2c0
add esp, 0xc
push esi
push 2
mov dword [ebp + 0x224], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x403893
lea ecx, [ebp + 0x224]
push ecx
push eax
call sub.KERNEL32.dll_Process32First
jmp 0x403834
push edi
lea eax, [ebp + 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x40383a
lea eax, [ebp + 0x224]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403813
jmp 0x40388a
push 0x220
lea eax, [ebp + 4]
push esi
push eax
call fcn.0042a2c0
add esp, 0xc
push dword [ebp + 0x22c]
mov dword [ebp], 0x224
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x40388a
lea eax, [ebp]
push eax
push esi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x403883
lea eax, [ebp + 0x120]
push eax
mov ecx, ebx
call fcn.00404144
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x34c]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0x350
leave
ret
Function at 0x403ba9
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0xac], eax
push esi
push edi
push 0x124
lea eax, [ebp - 0x78]
push 0
push eax
mov edi, ecx
call fcn.0042a2c0
add esp, 0xc
push 0
push 2
mov dword [ebp - 0x7c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x403c2c
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32First
jmp 0x403c21
lea eax, [ebp - 0x7d]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
mov byte [ebp - 0x7d], 0
call fcn.00403b25
cmp byte [ebp - 0x7d], 0
jne 0x403c25
lea eax, [ebp - 0x7c]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x403bfe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0xac]
pop edi
xor ecx, ebp
pop esi
call fcn.0042a2b0
add ebp, 0xb0
leave
ret

Function at 0x403ef3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2008
call fcn.0042bb20
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1fff
lea eax, [ebp - 0x2003]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x2004], 0
call fcn.0042a2c0
add esp, 0xc
lea eax, [ebp - 0x2008]
push eax
lea eax, [ebp - 0x2004]
push eax
push 0
push 0
push edi
push dword [esi]
mov dword [ebp - 0x2008], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
lea eax, [ebp - 0x2004]
push eax
mov ecx, ebx
call fcn.00404144
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a2b0
leave
ret 8

Function at 0x404450
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 0x404466
push 8
pop edi
push 2
call esi
test ax, ax
jge 0x404472
or edi, 1
push 1
call esi
test ax, ax
jge 0x40447e
or edi, 2
push 0x10
call esi
test ax, ax
jge 0x40448a
or edi, 4
push 0x12
call esi
test ax, ax
jge 0x404496
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret
Function at 0x405c5d
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 0x405c82
cmp ebx, dword [esi + 0x50]
je 0x405c82
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x50]
cmp ebx, eax
je 0x405d44
push edi
test eax, eax
je 0x405cd5
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 + 0x100]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0040577a
mov dword [esi + 0x50], edi
test ebx, ebx
je 0x405d43
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x405d43
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc0]
test al, al
je 0x405d43
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xcc]
test al, al
je 0x405d43
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 + 0x100]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x50]
mov ecx, esi
call fcn.0040577a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40a5eb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x40a65b
cmp dword [esi + 0x10], ebx
je 0x40a65b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
inc edi
mov eax, edi
call fcn.0042b290
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x40a65b
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0xf4
call fcn.0040790d
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0040577a
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042a2b0
leave
ret 0x10
Function at 0x40db4f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
sub esp, 0x170
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0x170], eax
push 0xc
mov eax, 0x43bc57
call fcn.0042b1c9
mov edi, dword [ebp + 0x17c]
mov ebx, ecx
call fcn.0040d1a3
call fcn.004045d5
push eax
lea ecx, [ebp + 0x12c]
call fcn.00407db1
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004045db
mov ecx, eax
call fcn.004078bd
test al, al
je 0x40dcb1
push edi
lea ecx, [ebp + 0x12c]
call fcn.0040793b
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x12c]
call fcn.0040775c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x40dc25
push str.Error_opening_file
mov ecx, ebx
call fcn.0040d35b
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x12c]
call fcn.004077a3
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x170]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0x174
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x40dc3a
push esi
push str.File_is_empty
jmp 0x40dbe6
cmp edi, 0x400000
jbe 0x40dc4a
push esi
push str.File_too_large
jmp 0x40dbe6
push edi
mov dword [ebp - 0x14], esi
call fcn.00429f74
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x40dc90
push dword [ebp - 0x10]
call fcn.0042ac42
pop ecx
mov ecx, ebx
call fcn.0040d1a3
push esi
push str.Could_not_read_file
jmp 0x40dbe6
push dword [ebp + 0x180]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0040d99f
push dword [ebp - 0x10]
mov bl, al
call fcn.0042ac42
pop ecx
jmp 0x40dbef
call fcn.004045db
push eax
lea ecx, [ebp + 0x12c]
call fcn.00407921
call fcn.004045e1
test al, al
je 0x40dcd2
call fcn.004045e7
jmp 0x40dce9
push 2
push esi
lea ecx, [ebp + 0x12c]
call fcn.0040775c
push eax
call fcn.00412639
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x40dcfb
push esi
push str.Error_opening_zip_file
jmp 0x40dbe6
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.00410e0c
add esp, 0x14
test eax, eax
je 0x40dd20
push esi
push str.Could_not_find_ziped_file
jmp 0x40dbe6
mov eax, dword [ebp + 0x128]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x40dc32
cmp eax, 0x400000
ja 0x40dc42
push eax
call fcn.00429f74
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00412696
add esp, 0x18
cmp eax, esi
je 0x40dd87
cmp eax, 0x600
je 0x40dd87
push edi
call fcn.0042ac42
pop ecx
call fcn.004045e1
test al, al
jne 0x40dd7c
push dword [ebp - 0x10]
call fcn.004126d0
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x40dbe6
call fcn.004045e1
test al, al
jne 0x40dd99
push dword [ebp - 0x10]
call fcn.004126d0
pop ecx
push dword [ebp + 0x180]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0040d99f
push edi
jmp 0x40dca4