joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46943b
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
push 0x103
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x19c]
push eax
call fcn.004307de
add esp, 0x10
push str.config.xml
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
call fcn.0042e729
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.0042e585
lea ecx, [ebp - 0x158]
call fcn.0042e701
push eax
push 0x104
lea eax, [ebp - 0x114]
mov ecx, esi
push eax
call fcn.0042e701
push eax
mov ecx, edi
call fcn.0042e701
push eax
mov ecx, ebx
call fcn.0042e701
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x114]
push 0xffffffffffffffff
push eax
call fcn.0042e46f
lea ecx, [ebp - 0x158]
call fcn.0042e585
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 0x10

Function at 0x411f30
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469480
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xffffffffffffffff
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [ebp - 0x158]
call fcn.0042e46f
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0
call fcn.0042e701
lea ecx, [ebp - 0x15c]
push ecx
push 0xf003f
push 0
push eax
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp byte [ebp + 8], 0
je 0x411feb
test eax, eax
jne 0x41200c
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411fc3
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
push 1
push 0
push str.Client
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x412000
test eax, eax
jne 0x41200c
push str.Client
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.set_opt_boot
lea ecx, [esi + 0x14]
call fcn.0043043c
test eax, eax
je 0x41202a
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 8]
call dword [edx + 0x13c]
lea ecx, [ebp - 0x158]
call fcn.0042e585
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 4
Function at 0x416570
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469b3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x140
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
lea ecx, [ebp - 0x60]
push 0xffffffffffffffff
push dword [edi]
call fcn.0042e46f
mov dword [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [edi]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4165e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 4
push edi
call fcn.004662e6
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.0042ece7
test al, al
je 0x41661d
push 0x30
push 0x4787e4
push 0x4787ec
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
mov ecx, esi
call fcn.0042f340
jmp 0x416754
push str.label_tip
lea ecx, [esi + 0x14]
call fcn.0043043c
test eax, eax
je 0x41663a
mov edx, dword [eax]
mov ecx, eax
push 0x47880c
call dword [edx + 0x2c]
push 0x34
push 0x4787e4
push 0x478818
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x416754
xorps xmm0, xmm0
mov dword [ebp - 0x150], 0x44
lea eax, [ebp - 0xf8]
movlpd qword [ebp - 0x14c], xmm0
push eax
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
movlpd qword [ebp - 0x114], xmm0
movups xmmword [ebp - 0x108], xmm0
mov dword [ebp - 0xf8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x416700
cmp dword [ebp - 0xe8], 2
jne 0x416700
cmp dword [ebp - 0xf4], 6
jne 0x416700
cmp dword [ebp - 0xf0], 1
jb 0x416700
push 1
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.0042e701
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x41673b
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x150]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.0042e701
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41673b
push dword [ebp - 0x108]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0xbd2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [ebp - 0x60]
call fcn.0042e585
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x416ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x469c27
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x487304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x3cc
call fcn.00466317
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00421520
push 0
push 0x2e2
push 0x400
push 0
push 0
push 0x60000
push 0x10cf0000
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x478050
push 0
mov ecx, esi
call fcn.0042f366
mov ecx, esi
call fcn.0042f205
mov ecx, esi
call fcn.00424750
push 5
mov ecx, esi
call fcn.00403480
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6c
mov ecx, esi
call fcn.0042f712
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push 0
mov ebx, ecx
call fcn.0042f7a3
mov ecx, ebx
call fcn.0042f205
mov ecx, dword [0x488fa8]
test ecx, ecx
je 0x420bce
push 5
call fcn.00403480
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
call fcn.00427730
mov edi, dword [0x488fa8]
cmp dword [edi + 0x3c4], 0
je 0x420bce
push str.head_bar_nav_index
lea ecx, [edi + 0x20]
call fcn.0043043c
push str.head_bar_nav_welfare
lea ecx, [edi + 0x20]
mov dword [ebp + 8], eax
call fcn.0043043c
mov esi, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x420baf
mov ecx, eax
call fcn.00435d02
test al, al
je 0x420baf
push str.http:__gamebox.2217wy.com_index
jmp 0x420bc3
test esi, esi
je 0x420bce
mov ecx, esi
call fcn.00435d02
test al, al
je 0x420bce
push str.http:__gamebox.2217wy.com_welfare_list
mov ecx, dword [edi + 0x3c4]
call fcn.0044114a
mov ecx, dword [ebx + 0x2d4]
test ecx, ecx
je 0x420be8
pop edi
pop esi
pop ebx
mov dword [ebp + 8], str.http:__gamebox.2217wy.com_login_qqjjh
pop ebp
jmp fcn.0044114a
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x421a30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a76d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x487304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebx + 0x328]
lea eax, [ebx + 0x328]
mov dword [ebp - 0x20], eax
mov edi, dword [esi]
mov dword [ebp - 0x10], edi
cmp edi, esi
je 0x421b43
nop dword [eax]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x30], eax
mov al, byte [edi + 0x1c]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x2c], al
call fcn.00402d90
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x24]
sub ecx, 0x10
call fcn.00402d90
push esi
mov dword [ebp - 0x1c], eax
add eax, 0x10
push 0
push 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x421afb
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + 0x10]
cmp ecx, dword [eax + 0x2d0]
je 0x421afb
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x1c]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x421b13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x421b28
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.0040d400
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
mov esi, dword [eax]
cmp edi, esi
jne 0x421a80
mov ebx, dword [ebp - 0x14]
push dword [esi + 4]
mov ecx, eax
push eax
call fcn.0042c750
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebx + 0x32c], 0
cmp dword [ebx + 0x2dc], 0
je 0x421b94
push dword [ebx + 0x2d8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x421b94
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x488f5c]
test ecx, ecx
je 0x421bd6
call fcn.00403480
mov esi, eax
test esi, esi
je 0x421bbb
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421bbb
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x488f5c]
test ecx, ecx
je 0x421bd6
mov eax, dword [ecx]
push 1
call dword [eax + 0x14]
mov dword [0x488f5c], 0
mov ecx, ebx
call fcn.00421810
push 0x3cc
push ebx
call fcn.004662e6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x425020
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push esi
mov esi, ecx
je 0x425072
push 1
call fcn.004253c0
push 0
push 0xf020
push 0x112
mov ecx, esi
call fcn.0042f6f9
push 0
push 0
mov ecx, esi
call fcn.0042f7a3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 4
push 0x1fc
lea eax, [ebp - 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x208]
mov dword [ebp - 0x200], 0x6c
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004662d8
mov esp, ebp
pop ebp
ret 4
Function at 0x426f30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b365
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x487304]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x328]
call fcn.0040daf0
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
cmp byte [edi + 0xd], 0
jne 0x426f7e
cmp eax, dword [edi + 0x10]
jae 0x426f84
mov edi, dword [ebx + 0x328]
cmp edi, dword [ebx + 0x328]
je 0x4270ce
push 0
push eax
sub esp, 0x44
mov ecx, esp
push 0xffffffffffffffff
push dword [edi + 0x20]
call fcn.0042e46f
call fcn.00426b90
cmp byte [ebp + 0xc], 0
je 0x426fc6
mov ecx, dword [ebx + 0x2e0]
test ecx, ecx
je 0x426fc6
call fcn.0044715a
mov dword [ebx + 0x2d4], 0
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
mov esi, dword [edi + 0x14]
sub ecx, 0x10
mov dword [ebp - 0x1c], eax
mov al, byte [edi + 0x1c]
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x18], al
call fcn.00402d90
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x24]
sub ecx, 0x10
call fcn.00402d90
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
push 0
push 1
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
or esi, 0xffffffff
mov dword [ebp + 8], eax
test eax, eax
je 0x427095
mov ecx, dword [edi + 0x10]
cmp ecx, dword [ebx + 0x2d0]
je 0x427095
lea ecx, [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 2
mov ecx, ebx
call fcn.004270f0
push edi
lea ecx, [ebx + 0x328]
call fcn.0042ca50
mov edi, eax
mov ecx, esi
mov edx, dword [edi + 0x24]
sub edx, 0x10
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x427070
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x20]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42708a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x28
push edi
call fcn.004662e6
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4270b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4270ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42a860
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x260], 0x44
push 0x104
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x25c], xmm0
push eax
push 0
mov esi, ecx
movlpd qword [ebp - 0x254], xmm0
movlpd qword [ebp - 0x24c], xmm0
movlpd qword [ebp - 0x244], xmm0
movlpd qword [ebp - 0x23c], xmm0
movlpd qword [ebp - 0x234], xmm0
movlpd qword [ebp - 0x22c], xmm0
movlpd qword [ebp - 0x224], xmm0
movups xmmword [ebp - 0x270], xmm0
mov byte [ebp - 0x218], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [esi + 4]
lea eax, [ebp - 0x110]
mov byte [ebp - 0x110], 0
push str.__newfreetab_hwnd:_p
push eax
call fcn.0040dbe0
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x260]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004662d8
mov esp, ebp
pop ebp
ret
Function at 0x42f7a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f7d5
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x430b02
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x430b25
or esi, 1
push 1
call edi
test ax, ax
jns 0x430b31
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x430b3d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x430b49
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x431f8b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x17c]
call fcn.00403480
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test eax, eax
jle 0x431fec
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [esi + 0x17c]
mov byte [ebp + 0xf], 0
call fcn.0042e6f2
lea ecx, [ebp + 0xf]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push ebx
push edi
call dword [edx]
cmp byte [ebp + 0xf], 0
jne 0x43204b
inc dword [ebp - 4]
lea ecx, [esi + 0x17c]
call fcn.00403480
mov ecx, dword [ebp - 4]
cmp ecx, eax
jl 0x431fb2
sub edi, 0x100
je 0x4320b0
sub edi, 4
je 0x43204f
dec edi
sub edi, 1
jne 0x4320a7
xor eax, eax
push ebx
mov word [ebp + 0xc], ax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_toupper]
pop ecx
mov ecx, dword [esi + 0xfc]
lea edx, [ebp + 0xc]
push 0x8000000a
mov byte [ebp + 0xc], al
push edx
mov eax, dword [ecx]
push 0x4332d8
call dword [eax + 0xfc]
mov esi, eax
test esi, esi
je 0x4320a7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf0]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x4320a9
xor eax, eax
cmp dword [esi + 0x100], eax
je 0x4320a7
mov ecx, dword [esi + 0x114]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
mov byte [ebp - 0xf], al
mov eax, dword [esi + 0x110]
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x24], 6
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call fcn.00430b02
mov word [ebp - 0xe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x100]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp ebx, 9
jne 0x4320a7
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x432109
mov eax, dword [ecx]
call dword [eax + 0xc8]
test al, al
je 0x432109
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
call dword [eax + 0xd4]
test al, al
je 0x432109
mov ecx, dword [esi + 0x100]
mov eax, dword [ecx]
call dword [eax + 0xc]
push str.RichEditUI
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsstr]
pop ecx
pop ecx
test eax, eax
je 0x432109
mov ecx, dword [esi + 0x100]
call fcn.00450009
test al, al
jne 0x4320a7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.00432be0
jmp 0x43204b
Function at 0x432988
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [edi]
je 0x4329af
cmp esi, dword [edi + 0x100]
je 0x4329af
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0x100]
cmp esi, eax
je 0x432a93
test eax, eax
je 0x432a15
and dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x14
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x100]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0x100]
call fcn.004326d7
and dword [edi + 0x100], 0
test esi, esi
je 0x432a93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, edi
jne 0x432a93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
test al, al
je 0x432a93
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x432a93
and dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [edi + 0x100], esi
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x100]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0x100]
call fcn.004326d7
pop edi
pop esi
leave
ret 4
Function at 0x435020
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x180
mov eax, 0x46c7aa
call fcn.00466e42
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0043540e
call fcn.0043091b
push eax
lea ecx, [ebp - 0x54]
call fcn.0042e437
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00430921
mov ecx, eax
call fcn.0042ece7
test al, al
je 0x435131
push ebx
lea ecx, [ebp - 0x54]
call fcn.0042e7d9
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x54]
call fcn.0042e701
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18c], eax
cmp eax, 0xffffffff
jne 0x43509a
mov eax, str.Error_opening_file
jmp 0x435112
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4350af
mov eax, str.File_is_empty
jmp 0x435112
cmp edi, 0x400000
jbe 0x4350be
mov eax, str.File_too_large
jmp 0x435112
and dword [ebp - 0x184], 0
push edi
call fcn.004667d0
pop ecx
mov ebx, eax
lea eax, [ebp - 0x184]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x18c]
mov dword [ebp - 0x188], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x184], edi
je 0x43511a
push ebx
call fcn.004667d9
pop ecx
mov ecx, esi
call fcn.0043540e
mov eax, str.Could_not_read_file
push 0
push eax
jmp 0x435208
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00435250
push dword [ebp - 0x188]
jmp 0x435236
call fcn.00430921
push eax
lea ecx, [ebp - 0x54]
call fcn.0042e79c
call fcn.004309ed
test al, al
je 0x43514f
call fcn.00430927
jmp 0x435163
push 2
push edi
lea ecx, [ebp - 0x54]
call fcn.0042e701
push eax
call fcn.0045256b
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x435174
push eax
push str.Error_opening_zip_file
jmp 0x435208
lea eax, [ebp - 0x180]
push eax
lea eax, [ebp - 0x188]
push eax
push 1
push ebx
push edi
call fcn.004520b0
add esp, 0x14
test eax, eax
je 0x43519b
push 0
push str.Could_not_find_ziped_file
jmp 0x435208
mov ebx, dword [ebp - 0x58]
test ebx, ebx
jne 0x4351aa
push ebx
push str.File_is_empty
jmp 0x435208
cmp ebx, 0x400000
jbe 0x4351bb
push 0
push str.File_too_large
jmp 0x435208
push ebx
call fcn.004667d0
push 3
push ebx
push eax
push dword [ebp - 0x188]
mov dword [ebp - 0x184], eax
push edi
call fcn.004528ef
add esp, 0x18
test eax, eax
je 0x435213
cmp eax, 0x600
je 0x435213
push dword [ebp - 0x184]
call fcn.004667d9
pop ecx
call fcn.004309ed
test al, al
jne 0x435201
push edi
call fcn.00451f25
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00435438
mov bl, al
jmp 0x43523e
call fcn.004309ed
test al, al
jne 0x435223
push edi
call fcn.00451f25
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x184]
mov ecx, esi
push ebx
push edi
call fcn.00435250
push edi
mov bl, al
call fcn.004667d9
pop ecx
lea ecx, [ebp - 0x54]
call fcn.0042e585
mov al, bl
call fcn.00466e00
ret 8