joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421d10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8268
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x63606c]
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 ebx, ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
cmp dword [edi + 0x14], 8
jb 0x421d53
mov eax, dword [edi]
jmp 0x421d55
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
je 0x421efb
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d70
sub ecx, edx
je 0x421efb
push 2
sub esp, 8
mov ecx, edi
call fcn.00421f80
cmp eax, 0xffffffff
je 0x421db8
push eax
push 0
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00421f20
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00421c20
lea ecx, [ebp - 0x2c]
call fcn.00423760
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x30], 0
jb 0x421dc9
mov eax, dword [edi]
jmp 0x421dcb
mov eax, edi
push 0x61d5dc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00590140
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x421efb
call fcn.0048bc50
mov ebx, eax
test ebx, ebx
je 0x421efb
push esi
push 0x2712
push ebx
call fcn.0048eee0
push 0
push 0x40
push ebx
call fcn.0048eee0
push 0
push 0x51
push ebx
call fcn.0048eee0
push 0
push 0x2a
push ebx
call fcn.0048eee0
push 0x421b80
push 0x4e2b
push ebx
call fcn.0048eee0
push dword [ebp - 0x30]
push 0x2711
push ebx
call fcn.0048eee0
add esp, 0x48
push 1
push 0x29
push ebx
call fcn.0048eee0
push 1
push 0x34
push ebx
call fcn.0048eee0
push 0
push 0x2b
push ebx
call fcn.0048eee0
push 0x421bb0
push 0x4efb
push ebx
call fcn.0048eee0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0x2749
push ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 0x426460
call fcn.0048eee0
push 1
push 0x2d
push ebx
call fcn.0048eee0
add esp, 0x48
push 1
push 0x63
push ebx
call fcn.0048eee0
push ebx
call fcn.0048bc90
mov esi, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x200002
push ebx
call fcn.0048bc30
push ebx
call fcn.0048bc10
push dword [ebp - 0x30]
call fcn.005904a4
add esp, 0x24
test esi, esi
jne 0x421eeb
mov eax, dword [ebp - 0x14]
add eax, 0xffffff38
cmp eax, 0xc7
ja 0x421eeb
mov al, 1
jmp 0x421efd
cmp dword [edi + 0x14], 8
jb 0x421ef3
mov edi, dword [edi]
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call eax
xor al, al
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.00573b53
mov esp, ebp
pop ebp
ret 0x10
Function at 0x424fb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b856b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xa
xor eax, eax
mov dword [ebp - 0x21c], 7
push 0x61d948
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00423600
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0058c9e0
mov ecx, dword [esi]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x24c], xmm0
mov dword [ebp - 0x234], 0
movq qword [ebp - 0x23c], xmm0
call fcn.00476815
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
mov dword [ebp - 0x240], 0x40
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x425121
mov edx, dword [esi]
lea eax, [ebp - 0x218]
lea edi, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4250c0
sub eax, edi
lea ecx, [edx + 0x474]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0042e5e0
mov ecx, dword [esi]
call fcn.004287d0
lea ecx, [ebp - 0x268]
call fcn.00437210
cmp dword [eax + 0x14], 8
jb 0x4250fc
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x254]
cmp eax, 8
jb 0x425121
inc eax
lea ecx, [ebp - 0x268]
push eax
push dword [ebp - 0x268]
call fcn.004237a0
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x42513f
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004237a0
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.00573b53
mov esp, ebp
pop ebp
ret
Function at 0x425370
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b861d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 1
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push ecx
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4253f8
mov eax, dword [esi]
jmp 0x4253fa
mov eax, esi
xor edi, edi
mov word [eax], di
mov dword [ebp - 0x2c], 1
test edx, edx
jne 0x4254f5
cmp ecx, 0x40000000
ja 0x4254f5
test edx, edx
jne 0x4254b8
cmp ecx, 0x100000
ja 0x4254b8
test edx, edx
jne 0x425475
cmp ecx, 0x400
ja 0x425475
call fcn.00574a70
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
push str._.2f_B
push eax
call fcn.00435b60
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042db90
lea ecx, [ebp - 0x44]
call fcn.00423760
jmp 0x425587
call fcn.00574a70
cvtsd2ss xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x44]
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x620350]
movsd qword [esp], xmm0
push str._.2f_KB
push eax
call fcn.00435b60
add esp, 0x10
mov ecx, esi
push eax
call fcn.0042db90
lea ecx, [ebp - 0x44]
call fcn.00423760
jmp 0x425587
call fcn.00574a70
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x620350]
mulsd xmm1, qword [0x620350]
movsd qword [esp], xmm1
push str._.2f_MB
push eax
call fcn.00435b60
add esp, 0x10
mov edi, eax
jmp 0x425534
call fcn.00574a70
cvtsd2ss xmm0, xmm0
lea eax, [ebp - 0x44]
sub esp, 8
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x620350]
mulsd xmm1, xmm0
mulsd xmm1, xmm0
mulsd xmm1, xmm0
movsd qword [esp], xmm1
push str._.2f_GB
push eax
call fcn.00435b60
add esp, 0x10
mov edi, eax
cmp esi, edi
je 0x425572
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x42554b
inc ecx
push ecx
push dword [esi]
mov ecx, esi
call fcn.004237a0
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x425563
mov eax, dword [esi]
jmp 0x425565
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.004230a0
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x425587
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004237a0
mov ecx, dword [ebp + 0x20]
cmp ecx, 8
jb 0x42559c
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004237a0
mov eax, esi
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.00573b53
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4277b0
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b89f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x63606c]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0
mov dword [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
cmp dword [esi + 0x14], 8
jb 0x427802
mov eax, dword [esi]
jmp 0x427804
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x14]
push eax
push 0x5c0880
push 1
push 0
push 0x5c08f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42784e
cmp dword [edi + 0x14], 8
jb 0x42782f
mov edi, dword [edi]
mov eax, dword [ebp - 0x14]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0x5c0910
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x42785e
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x427892
cmp dword [esi + 0x14], 8
jb 0x427866
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
push 2
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
mov eax, dword [ebp + 0x28]
cmp eax, 8
jb 0x4278a7
inc eax
lea ecx, [ebp + 0x14]
push eax
push dword [ebp + 0x14]
call fcn.004237a0
mov ecx, dword [ebp + 0x40]
xor eax, eax
mov dword [ebp + 0x28], 7
mov dword [ebp + 0x24], 0
mov word [ebp + 0x14], ax
cmp ecx, 8
jb 0x4278d0
inc ecx
push ecx
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x2c]
call fcn.004237a0
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 - 0x10]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret 0x3c
Function at 0x428a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x38
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0058c9e0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], str.open
jb 0x428acc
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x30], edi
jb 0x428ad7
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], esi
push eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 5
mov dword [ebp - 0x20], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00573b53
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42dcf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42dd09
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x42dd46
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42dd42
nop word [eax + eax]
cmp esi, edx
jae 0x42dd46
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x42dd30
cmp esi, edx
jb 0x42dd4d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42f5a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b95d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x63606c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
push 0x58
call fcn.00573b72
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x58
push 0
push esi
mov dword [ebp - 4], 0
call fcn.0058c9e0
mov dword [esi + 0x10], 0x61e9dc
mov dword [esi + 0x4c], vtable.nbase::SupportWeakCallback.0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x10], 1
push str.Global_Chores_Thread
call fcn.0043b220
mov eax, dword [esi + 0x10]
mov dword [esi], vtable.MiscThread.1.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + esi + 0x10], vtable.MiscThread.0
mov dword [esi + 0x48], 1
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], esi
test ecx, ecx
je 0x42f665
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, dword [edi + 0x48]
cmp dword [esi + 0x1c], 0
jne 0x42f696
mov ecx, esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x28], 0
call fcn.0043bcc0
test al, al
je 0x42f696
push 0xffffffffffffffff
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esi + 0x14], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x642860]
cmp eax, dword [ecx + 4]
jle 0x42f6eb
push 0x642860
call fcn.00573f8f
add esp, 4
cmp dword [0x642860], 0xffffffff
jne 0x42f6eb
mov dword [ebp - 4], 2
call fcn.00437f10
push 0x5bf2f0
call fcn.00573e29
push 0x642860
mov dword [ebp - 4], 0xffffffff
call fcn.00573f50
add esp, 8
push 0
call fcn.00437f90
push dword [0x642690]
call fcn.004486d2
add esp, 4
push 0x61e90c
push 0x82
push dword [0x642690]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x642690]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [0x642690]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call fcn.004488fe
push 0x554
call fcn.00573b72
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x554
push 0
push esi
mov dword [ebp - 4], 3
call fcn.0058c9e0
add esp, 0x18
mov ecx, esi
call fcn.00423c80
push 0
push accept
push accept
push accept
push accept
push 0x100
push 0x96c80000
mov esi, eax
mov dword [ebp - 4], 0xffffffff
push 0x61e914
push 0
mov ecx, esi
call fcn.00449e75
push 0x6b
mov ecx, esi
call fcn.0044a24e
mov ecx, esi
call fcn.00449d21
push 1
push 1
mov ecx, esi
call fcn.0044a3c5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42f7d0
Capabilities:
Get thread local storage value
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.00448b2c
call dword [sym.imp.ole32.dll_OleUninitialize]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [edi + 0x48]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
test eax, eax
je 0x42f81d
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42f80a
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov esi, dword [edi + 0x48]
cmp byte [esi + 0x14], 0
je 0x42f875
mov ecx, esi
call fcn.0043b500
mov eax, dword [esi + 8]
test eax, eax
je 0x42f86f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42f85c
mov eax, dword [esi + 8]
test eax, eax
je 0x42f86f
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x42f85c
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [esi + 8]
call ebx
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov word [esi + 0x14], 0
mov ecx, dword [edi + 0x48]
mov dword [edi + 0x48], 0
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x42f88c
mov eax, dword [ecx]
push 1
call dword [eax]
call fcn.0043b810
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42f8a1
mov byte [eax + 4], 1
jmp fcn.00438360
Function at 0x430430
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b970f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x63606c]
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, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x14], 7
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x48], eax
mov dword [eax + 0x10], 0
jb 0x430491
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], ecx
pushal
mov ebx, dword fs:[0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
popal
cmp dword [ebp - 0x38], 5
jl 0x43058c
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4304f4
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x4304fe
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x430513
cmp ax, 6
mov eax, 0x20
jne 0x430518
mov eax, 0x40
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x60]
push dword [ebp - 0x38]
push str.w_02d_02dx_d
push eax
call fcn.00435b60
add esp, 0x14
mov esi, eax
mov ebx, dword [ebp - 0x40]
cmp ebx, esi
je 0x430573
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43054c
inc eax
mov ecx, ebx
push eax
push dword [ebx]
call fcn.004237a0
mov dword [ebx + 0x14], 7
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0
jb 0x430564
mov eax, dword [ebx]
jmp 0x430566
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
mov ecx, ebx
push esi
call fcn.004230a0
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x430588
inc ecx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
call fcn.004237a0
mov eax, ebx
jmp 0x43058f
mov eax, dword [ebp - 0x40]
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.00573b53
mov esp, ebp
pop ebp
ret
Function at 0x432850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x43285b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x432917
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 + 0x61bd30]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
sub edi, 1
jne 0x432870
pop edi
test esi, esi
je 0x43293a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x61bd30]
sub esi, 1
jne 0x432920
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x433050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x433096
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x433091
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x4330be
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x4330a7
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.0058d000
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.00573b53
mov esp, ebp
pop ebp
ret
Function at 0x4330e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x63606c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [ebp - 0xc], ebx
mov edi, 1
cmp byte [esi], 0
je 0x433125
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 5]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x433120
mov byte [esi + 8], 1
mov edi, dword [ebp - 0xc]
jmp 0x433152
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x433136
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp - 5]
push eax
call fcn.0058d000
lea eax, [ebx + edi]
add esp, 0xc
mov ebx, dword [ebp - 0xc]
mov dword [esi + 0x1c], eax
cmp edi, 1
jne 0x433170
movzx eax, byte [ebp - 5]
mov dword [ebx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00573b53
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x43315d
cmp byte [esi + 8], 0
je 0x43315d
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00573b53
mov esp, ebp
pop ebp
ret