joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418990
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466658
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x2f4], 0
je 0x4189cf
cmp byte [ebp + 8], 0
je 0x418a5e
lea eax, [ebp - 0x2c]
push eax
mov dword [edi + 0x2f4], 1
call fcn.004183a0
push 0x20
mov dword [ebp - 4], 0
call fcn.004503dc
add esp, 4
test eax, eax
je 0x418a0d
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], 0
mov byte [eax + 4], 0
mov esi, eax
jmp 0x418a0f
xor esi, esi
mov ecx, dword [edi + 4]
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x2c]
mov dword [esi], ecx
push edx
lea ecx, [esi + 4]
call fcn.004090c0
lea eax, [ebp - 0x30]
push eax
push 4
push esi
push 0x4179f0
push 0
push 0
call fcn.004522f1
add esp, 0x18
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], 0x10
jb 0x418a5e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0044faa7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
Function at 0x41a7c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00419ea0
mov ebx, eax
cmp ebx, esi
je 0x41a83a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x41a825
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41a8bc
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.0041a7c0
mov ebx, eax
cmp ebx, esi
jne 0x41a814
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a870
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41a8d5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.00419d50
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x41a8f8
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
Function at 0x41d950
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466a56
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x41d9cd
call fcn.00419ae0
mov edi, eax
jmp 0x41dab2
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x41d9e6
call fcn.00419ae0
jmp 0x41daa9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x41da04
call fcn.00419ae0
jmp 0x41daa9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x41da25
mov edi, 0x8007000e
jmp 0x41daab
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0041b5e0
mov dword [ebp - 4], 1
jmp 0x41da5d
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x41da6e
mov edi, 0x8007000e
jmp 0x41daab
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x41da87
call fcn.00419ae0
jmp 0x41daa9
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0041d260
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x41dad0
lea ecx, [ebp - 0x418]
call fcn.0041a5a0
jmp 0x41dad0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x420100
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x48b2f1], 0
jne 0x420165
lea eax, [ebp - 0x118]
push eax
mov byte [0x48b2f1], 1
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x420165
cmp dword [ebp - 0x108], 2
jne 0x420165
cmp dword [ebp - 0x114], 6
jb 0x420165
mov al, 1
mov byte [0x48b2f0], al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x48b2f0]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret

Function at 0x4203a0
Capabilities:
Enumerate threads
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
je 0x42046c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
jne 0x42040b
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x420457
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x420457
push ecx
push 0
push 0x1fffff
call edi
mov esi, eax
test esi, esi
je 0x42047d
cmp dword [ebp + 8], 0
push esi
je 0x42044a
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x420450
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
push ecx
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x420413
pop esi
mov eax, 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
Function at 0x4209a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x420a4a
mov eax, dword [esi + 8]
test eax, eax
je 0x4209ca
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4209df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
lea ecx, [ebp - 0x14]
mov dword [esi + 0xc], 0
call fcn.00420050
push ebx
push 0x5834
push 0
push 4
add eax, 4
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x420a20
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esi + 4]
test eax, eax
je 0x420a4a
push 0x5834
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
jne 0x420a54
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 1
mov dword [esi + 0xc], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x420e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x420e41
pop esi
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x420b60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x420e68
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x421780
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 4
push 0x48b8c4
mov edi, ecx
call fcn.004207e0
mov esi, eax
test esi, esi
jne 0x4217c2
cmp byte [edi + 0x3c], al
je 0x4217c6
mov ecx, edi
call fcn.00420e20
test eax, eax
jne 0x4217c6
mov esi, 0x80004005
jmp 0x4217c6
mov byte [edi + 0x3c], 0
test esi, esi
jne 0x4217eb
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00426511
call fcn.00424c73
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x4217ed
js 0x421809
push 0x48b8c4
call fcn.00420830
cmp byte [edi + 0x3c], 0
mov esi, eax
je 0x421809
mov ecx, dword [edi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004501e2
mov esp, ebp
pop ebp
ret 4
Function at 0x421bb0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466d98
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x254], eax
mov edi, 7
xor ecx, ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
mov dword [ebp - 0x258], esi
mov word [esi], cx
mov ebx, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x254], ebx
cmp dword [esi + 0x10], eax
jne 0x421d8e
push 0x206
push eax
lea eax, [ebp - 0x216]
xor edx, edx
push eax
mov word [ebp - 0x218], dx
call fcn.00450d40
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 4], ebx
call fcn.00420100
push ebx
lea edx, [ebp - 0x218]
test al, al
je 0x421ce7
push 0x1c
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421c74
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401920
lea edi, [ebp - 0x234]
lea ebx, [ebp - 0x250]
call fcn.004218e0
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00410d30
mov edi, 8
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], edi
jb 0x421cd3
mov ecx, dword [ebp - 0x250]
push ecx
call fcn.0044faa7
add esp, 4
push 9
push str.LocalLow
lea ecx, [ebp - 0x234]
call fcn.00410a80
jmp 0x421d27
push 0x1a
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
jmp 0x421d00
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421d00
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00401920
mov edi, 8
push 0x13
push str.BaiduBaiduPlayer_
lea ecx, [ebp - 0x234]
call fcn.00410a80
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x234]
push ecx
mov ecx, esi
call fcn.00401820
cmp dword [esi + 0x14], edi
jb 0x421d54
mov eax, dword [esi]
jmp 0x421d56
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x421d77
cmp dword [esi + 0x14], edi
jb 0x421d6a
mov eax, dword [esi]
jmp 0x421d6c
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x220], edi
jb 0x421d8e
mov edx, dword [ebp - 0x234]
push edx
call fcn.0044faa7
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret
Function at 0x4222b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466e56
mov eax, dword fs:[0]
push eax
sub esp, 0xa4c
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov esi, ecx
cmp byte [esi + 0x5874], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xa58], eax
mov dword [ebp - 0xa54], ecx
je 0x422307
mov eax, 0x810a0001
jmp 0x4224f0
mov edi, dword [ebp + 0x10]
mov dword [esi + 4], edi
mov byte [esi + 0x5874], 1
mov edi, 0x469a24
test eax, eax
jne 0x422323
mov dword [ebp - 0xa58], edi
test ecx, ecx
jne 0x42232d
mov dword [ebp - 0xa54], edi
test edx, edx
je 0x422357
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422336
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esi + 0x583c]
call fcn.00401920
jmp 0x422441
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x218]
push 0x5c
push ecx
call fcn.00451e60
add esp, 8
test eax, eax
jne 0x42238a
mov eax, 0x810a0002
jmp 0x4224f0
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xa50]
call fcn.00401a10
push str._bugreport.exe
push eax
lea ecx, [ebp - 0xa34]
push ecx
mov dword [ebp - 4], 0
call fcn.00410de0
add esp, 0xc
push eax
lea ecx, [esi + 0x583c]
mov byte [ebp - 4], 1
call fcn.00410d30
mov edi, 8
cmp dword [ebp - 0xa20], edi
jb 0x4223e9
mov edx, dword [ebp - 0xa34]
push edx
call fcn.0044faa7
add esp, 4
xor eax, eax
mov dword [ebp - 0xa20], 7
mov dword [ebp - 0xa24], 0
mov word [ebp - 0xa34], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa3c], edi
jb 0x422424
mov ecx, dword [ebp - 0xa50]
push ecx
call fcn.0044faa7
add esp, 4
xor edx, edx
mov dword [ebp - 0xa3c], 7
mov dword [ebp - 0xa40], 0
mov word [ebp - 0xa50], dx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x2ec]
push 0x1000
push eax
call fcn.0045250e
mov ecx, dword [ebp - 0xa58]
push 0xffffffffffffffff
push ecx
lea edx, [esi + 0x573c]
push 0x40
push edx
call fcn.0045250e
mov eax, dword [ebp - 0xa54]
push 0xffffffffffffffff
push eax
lea ecx, [esi + 0x57bc]
push 0x40
push ecx
call fcn.0045250e
add esp, 0x30
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.bdbugreport__u
lea edx, [ebp - 0xa18]
push 0xffffffffffffffff
push edx
call fcn.00420530
lea eax, [ebp - 0xa18]
add esp, 0x10
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4224b2
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0xa18]
push eax
lea ecx, [esi + 0x5858]
call fcn.00401920
push 0x422270
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [esi], eax
cmp eax, 0x422270
jne 0x4224ee
mov dword [esi], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501e2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424674
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
jns 0x42468a
push 8
pop edi
push 2
call esi
test ax, ax
jns 0x424696
or edi, 1
push 1
call esi
test ax, ax
jns 0x4246a2
or edi, 2
push 0x10
call esi
test ax, ax
jns 0x4246ae
or edi, 4
push 0x12
call esi
test ax, ax
jns 0x4246ba
or edi, 0x20
mov eax, edi
pop edi
pop esi
ret

Function at 0x426565
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 0x42658a
cmp ebx, dword [esi + 0x54]
je 0x42658a
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
cmp ebx, eax
je 0x42664c
push edi
test eax, eax
je 0x4265dd
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 + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor edi, edi
push edi
push edi
push edi
push str.killfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00425f37
mov dword [esi + 0x54], edi
test ebx, ebx
je 0x42664b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, esi
jne 0x42664b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc8]
test al, al
je 0x42664b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xd4]
test al, al
je 0x42664b
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [esi + 0x54], ebx
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
xor eax, eax
push eax
push eax
push eax
push str.setfocus
push dword [esi + 0x54]
mov ecx, esi
call fcn.00425f37
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4370e3
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x467ce8
call fcn.00452dde
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.004366d3
call fcn.004247fa
push eax
lea ecx, [ebp - 0x94]
call fcn.0042405a
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00424800
mov ecx, eax
call fcn.00423dad
test al, al
je 0x43722b
push edi
lea ecx, [ebp - 0x94]
call fcn.00423e46
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00423c2c
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push esi
cmp eax, 0xffffffff
jne 0x437187
push str.Error_opening_file
mov ecx, ebx
call fcn.004368a9
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00423c82
mov al, bl
call fcn.00452e28
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x43719c
push esi
push str.File_is_empty
jmp 0x437165
cmp edi, 0x400000
jbe 0x4371ac
push esi
push 0x46fa6c
jmp 0x437165
push edi
mov dword [ebp - 0x2cc], esi
call fcn.0044f9de
pop ecx
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push edi
push eax
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2c8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2cc], edi
je 0x437207
push dword [ebp - 0x2c8]
call fcn.004515e9
pop ecx
mov ecx, ebx
call fcn.004366d3
push esi
push str.Could_not_read_file
jmp 0x437165
push dword [ebp + 0xc]
mov ecx, ebx
push edi
push dword [ebp - 0x2c8]
call fcn.00436f90
push dword [ebp - 0x2c8]
mov bl, al
call fcn.004515e9
pop ecx
jmp 0x43716e
call fcn.00424800
push eax
lea ecx, [ebp - 0x94]
call fcn.00423e29
call fcn.00424806
test al, al
je 0x43724c
call fcn.0042480c
jmp 0x437263
push 2
push esi
lea ecx, [ebp - 0x94]
call fcn.00423c2c
push eax
call fcn.0043c5e4
add esp, 0xc
mov dword [ebp - 0x2c8], eax
cmp eax, esi
jne 0x437278
push esi
push str.Error_opening_zip_file
jmp 0x437165
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2d0]
push eax
push 1
push edi
push dword [ebp - 0x2c8]
call fcn.0043acfc
add esp, 0x14
test eax, eax
je 0x4372a6
push esi
push str.Could_not_find_ziped_file
jmp 0x437165
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x2cc], eax
cmp eax, esi
je 0x437194
cmp eax, 0x400000
ja 0x4371a4
push eax
call fcn.0044f9de
push 3
push dword [ebp - 0x2cc]
mov edi, eax
push edi
push dword [ebp - 0x2d0]
push dword [ebp - 0x2c8]
call fcn.0043c642
add esp, 0x18
cmp eax, esi
je 0x43731c
cmp eax, 0x600
je 0x43731c
push edi
call fcn.004515e9
pop ecx
call fcn.00424806
test al, al
jne 0x437311
push dword [ebp - 0x2c8]
call fcn.0043c67a
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x437165
call fcn.00424806
test al, al
jne 0x437331
push dword [ebp - 0x2c8]
call fcn.0043c67a
pop ecx
push dword [ebp + 0xc]
mov ecx, ebx
push dword [ebp - 0x2cc]
push edi
call fcn.00436f90
push edi
jmp 0x43721e