joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0a68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4d4524]
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
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 0
push str.WanNengWBStatus
call fcn.00484393
mov esi, dword [ebp - 0x1c]
add esp, 0x10
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [ebp - 0x18]
je 0x406e0a
nop dword [eax]
mov edi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x406e02
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x64
push 3
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x406e02
push 0
push edi
call ebx
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x406dd0
push 1
lea eax, [ebp - 0x1c]
push eax
push 0
push str.WanNengWBWhole
call fcn.00484393
mov esi, dword [ebp - 0x1c]
add esp, 0x10
cmp esi, dword [ebp - 0x18]
je 0x406e44
mov edi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x406e39
push 0
push edi
call ebx
add esi, 4
cmp esi, dword [ebp - 0x18]
jne 0x406e27
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x406e57
mov eax, dword [ebp - 0x14]
sub eax, esi
sar eax, 2
push eax
push esi
call fcn.004079b0
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.0044cfd8
mov esp, ebp
pop ebp
ret

Function at 0x407020
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4d4524]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [edi + 0xd4]
call fcn.00408db0
lea eax, [esp + 0x14]
push eax
lea ecx, [edi + 0xd4]
call fcn.00408730
lea eax, [esp + 0x14]
push eax
lea ecx, [edi - 0xa8]
call fcn.00407150
mov esi, dword [sym.imp.USER32.dll_EmptyClipboard]
mov dword [esp + 0x10], eax
call esi
push dword [edi - 0x88]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x407094
call esi
push dword [esp + 0x10]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
push 5
push dword [edi - 0x88]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
lea ecx, [edi - 0xa8]
call fcn.00431112
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret
Function at 0x407820
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 1
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test eax, 0x8000
jne 0x4078f4
mov eax, dword [ebp + 8]
xor esi, esi
add eax, 0xffffffdb
xor edx, edx
cmp eax, 3
ja case.default.0x407854
jmp dword [eax*4 + 0x407900]
or edx, 0xffffffff
jmp case.default.0x407854
mov edx, 1
jmp case.default.0x407854
or esi, 0xffffffff
jmp case.default.0x407854
mov esi, 1
mov ebx, dword [edi + 0x208]
lea eax, [edi + 0x17c]
mov edi, dword [eax + 0x84]
cmp edi, ebx
mov ecx, dword [eax + 0x90]
mov eax, dword [eax + 0x88]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jle 0x4078ab
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x4078b5
mov dword [esp + 0x14], ecx
mov ecx, eax
mov eax, dword [esp + 0x10]
add eax, esi
cmp eax, dword [edi + 0x970]
jl 0x4078f4
lea eax, [ebx + esi]
cmp eax, dword [edi + 0x978]
jg 0x4078f4
mov eax, dword [esp + 0x14]
add eax, edx
cmp eax, dword [edi + 0x974]
jl 0x4078f4
lea eax, [ecx + edx]
cmp eax, dword [edi + 0x97c]
jg 0x4078f4
push edx
push esi
lea ecx, [edi + 0x17c]
call fcn.00409960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407a10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.00430bf0

Function at 0x407d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407d65
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407da6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x407da2
nop word [eax + eax]
cmp esi, edx
jae 0x407da6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x407d90
cmp esi, edx
jb 0x407dab
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x4155a0
Capabilities:
Terminate process

Disassembly:
test edx, edx
mov eax, str.undefined
push esi
cmovne eax, edx
mov esi, ecx
push eax
push str.libpng_error:__s
push 2
call fcn.0049141e
add esp, 4
push eax
call fcn.0040faf0
add esp, 0xc
push 0x4c3ea4
push 2
call fcn.0049141e
add esp, 4
push eax
call fcn.0040faf0
add esp, 8
test esi, esi
je 0x4155f8
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4155f8
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4155f8
push 1
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4235e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4235eb
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00423600
Function at 0x4296b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x4296f6
call fcn.004271b6
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4296f6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x429712
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00425990
mov ebx, eax
test edi, edi
je 0x429710
test esi, esi
je 0x429710
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x429dcb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x429e89
cmp dword [esi + 0x20], 0
je 0x429e89
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429e89
cmp dword [ebp + 8], 0
je 0x429e89
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004271b6
push 0x4a6a28
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x429e5a
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x429e89
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00439616
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x429e7a
test edi, edi
je 0x429e7a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x429e85
mov ecx, esi
call fcn.00429baa
mov eax, ebx
jmp 0x429e8b
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4302cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x430316
call fcn.004271b6
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x430313
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x430364
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x430342
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.0044d7a4
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x430342
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x430362
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.0044d7a4
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x432799
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x4a1887
call fcn.0044d7e1
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x432843
push dword [ebp + 8]
mov ecx, eax
call fcn.00432ad1
mov esi, eax
test esi, esi
je 0x4328d6
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x43282c
push edx
call fcn.00425f0a
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43282c
xor edi, edi
inc edi
jmp 0x432836
push dword [ebx]
call fcn.00425f05
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.004326bc
jmp 0x4328d4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.0044d7a4
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x4328cc
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.00425f0a
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x4328c6
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.00432698
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.00432698
add al, bl
mov edx, edi
test edx, edx
jns 0x4328b7
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x43288e
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.00403350
mov eax, edi
call fcn.0044d7aa
ret 0x10

Function at 0x4328de
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x432931
push esi
push dword [ebp + 8]
call fcn.00432ad1
mov edi, eax
test edi, edi
jne 0x432901
mov eax, dword [ebp + 0x10]
jmp 0x432943
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4328fc
mov eax, dword [ebp - 8]
jmp 0x432943
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x433b55
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4a16df
call fcn.0044d7e1
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x433b7b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x433bda
call fcn.0042e5f4
push eax
lea ecx, [ebp - 0x10]
call fcn.004031d0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.0044d7a4
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0048d7a8
push eax
call fcn.00407df0
add esp, 0x14
test esi, esi
je 0x433bcd
push esi
call fcn.0048d89b
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403350
mov eax, ebx
call fcn.0044d7aa
ret 8
Function at 0x4514f2
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 0x451515
or esi, 1
push 1
call edi
test ax, ax
jns 0x451521
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x45152d
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x451539
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x4531f1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, dword [ebp + 8]
cmp eax, dword [ebx]
je 0x453219
cmp esi, dword [ebx + 0x54]
je 0x4532db
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
cmp esi, dword [ebx + 0x54]
je 0x4532db
cmp dword [ebx + 0x54], 0
push edi
je 0x45326c
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], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor edi, edi
mov ecx, ebx
push edi
push edi
push edi
push str.killfocus
push dword [ebx + 0x54]
call fcn.00452fcb
mov dword [ebx + 0x54], edi
test esi, esi
je 0x4532da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4532da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test al, al
je 0x4532da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe0]
test al, al
je 0x4532da
push 7
pop ecx
xor eax, eax
mov dword [ebx + 0x54], esi
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x118]
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.setfocus
push dword [ebx + 0x54]
call fcn.00452fcb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4556ed
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 0x45571f
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 0x45e703
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x45e76d
cmp dword [ebp + 8], 0x100
jne 0x45e75c
cmp word [ebp + 0xc], 0xd
jne 0x45e75c
cmp byte [esi + 0x4f2], 0
je 0x45e743
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x45e75c
cmp byte [esi + 0x4f3], 0
jne 0x45e75c
mov ecx, dword [esi + 0x40]
test ecx, ecx
je 0x45e758
push edi
push edi
push edi
push str.return
push esi
call fcn.00452fcb
xor eax, eax
jmp 0x45e770
mov eax, dword [esi + 0x4ec]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x45ea47
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4d4524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45eafd
movzx eax, word [esi]
test ax, ax
je 0x45eafd
push edi
mov edi, esi
mov ecx, esi
cmp ax, 0x2f
je 0x45ea87
cmp ax, 0x5c
jne 0x45ea89
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x45ea7b
cmp edi, esi
je 0x45ead0
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.00490a2c
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x45eb0d
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0045ea47
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00490b99
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00490b68
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044cfd8
mov esp, ebp
pop ebp
ret
call fcn.0044d6ba
int3

Function at 0x45f0d2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x45f14e
cmp dword [edi + 4], 0xffffffff
jne 0x45f14e
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4a5fd0
push esi
call fcn.00490b68
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x45f120
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x45f120
mov eax, 0x2000000
jmp 0x45f153
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004615ed
add esp, 0x10
test eax, eax
jne 0x45f13e
mov eax, dword [ebp - 4]
jmp 0x45f153
push eax
call fcn.00461cf5
mov dword [edi], eax
mov eax, dword [0x4d9da8]
pop ecx
jmp 0x45f153
mov eax, 0x1000000
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4616fa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x46172e
push 0
lea eax, [ebp + 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x461729
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x461755
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x46173e
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.00485f00
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x4618c8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4618d6
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x461995
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
sub edi, 1
jne 0x4618ee
pop edi
test esi, esi
je 0x4619b1
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4ab958]
inc edx
sub esi, 1
jne 0x461999
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x4629d5
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4a33ec
call fcn.0044d815
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00462d64
call fcn.00451319
push eax
lea ecx, [ebp - 0x94]
call fcn.0045453e
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0045131f
mov ecx, eax
call fcn.00454c6f
test al, al
je 0x462aeb
push ebx
lea ecx, [ebp - 0x94]
call fcn.00454759
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00403620
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x462a5c
push str.Error_opening_file
jmp 0x462bcc
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x462b65
cmp edi, 0x400000
ja 0x462b76
and dword [ebp - 0x2c8], 0
push edi
call fcn.00425f0a
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x462ad4
push ebx
call fcn.00425f05
pop ecx
mov ecx, esi
call fcn.00462d64
push 0
push str.Could_not_read_file
jmp 0x462bcc
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00462c17
push dword [ebp - 0x2cc]
jmp 0x462bfa
call fcn.0045131f
push eax
lea ecx, [ebp - 0x94]
call fcn.0045473c
call fcn.004513e2
test al, al
je 0x462b0c
call fcn.00451325
jmp 0x462b23
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.00403620
push eax
call fcn.0045f15a
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x462b34
push eax
push str.Error_opening_zip_file
jmp 0x462bcc
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.0045eb9b
add esp, 0x14
test eax, eax
je 0x462b5b
push 0
push str.Could_not_find_ziped_file
jmp 0x462bcc
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x462b6e
push 0
push str.File_is_empty
jmp 0x462bcc
cmp ebx, 0x400000
jbe 0x462b7f
push 0
push str.File_too_large
jmp 0x462bcc
push ebx
call fcn.00425f0a
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0045f51a
add esp, 0x18
test eax, eax
je 0x462bd7
cmp eax, 0x600
je 0x462bd7
push dword [ebp - 0x2c8]
call fcn.00425f05
pop ecx
call fcn.004513e2
test al, al
jne 0x462bc5
push edi
call fcn.0045e9f5
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00462d8c
mov bl, al
jmp 0x462c02
call fcn.004513e2
test al, al
jne 0x462be7
push edi
call fcn.0045e9f5
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.00462c17
push edi
mov bl, al
call fcn.00425f05
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00454665
mov al, bl
call fcn.0044d7bf
ret 8