joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003a6c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e022
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x10052260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x11c
lea eax, [ebp - 0x12c]
push 0
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], 0
call fcn.10023420
add esp, 0xc
push str.error
mov ecx, esi
call fcn.100012b0
lea ecx, [ebp - 0x12c]
mov ebx, 1
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1003a84e
mov eax, dword [ebp - 0x128]
sub eax, 5
je 0x1003a80a
sub eax, ebx
je 0x1003a780
push 5
push str.other
mov ecx, esi
call fcn.10001600
jmp 0x1003a84e
mov eax, dword [ebp - 0x124]
cmp eax, 3
ja case.default.0x1003a78f
jmp dword [eax*4 + 0x1003a870]
mov ecx, esi
cmp byte [ebp - 0x12], bl
jne 0x1003a844
push str.Vista
jmp 0x1003a849
cmp byte [ebp - 0x12], bl
jne case.default.0x1003a78f
call fcn.1001d380
mov ecx, esi
test eax, eax
je 0x1003a7d3
push str.win7_64
call fcn.10001360
push eax
mov ecx, esi
call fcn.10001d80
jmp 0x1003a84e
push str.win7_32
call fcn.10001360
push eax
mov ecx, esi
call fcn.10001d80
jmp 0x1003a84e
mov ecx, esi
cmp byte [ebp - 0x12], bl
jne 0x1003a7f5
push str.Win8
jmp 0x1003a849
push str.Other
jmp 0x1003a849
mov ecx, esi
cmp byte [ebp - 0x12], bl
jne 0x1003a7f5
push str.Win8.1
jmp 0x1003a849
mov eax, dword [ebp - 0x124]
sub eax, 0
je case.default.0x1003a78f
sub eax, ebx
je 0x1003a839
sub eax, ebx
jne 0x1003a84e
cmp byte [ebp - 0x12], bl
jne case.default.0x1003a78f
lea edx, [ebp - 0x158]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x158], 9
jne case.default.0x1003a78f
push 0x10046798
mov ecx, esi
jmp 0x1003a849
mov ecx, esi
push str.other
call fcn.10001360
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002099e
mov esp, ebp
pop ebp
ret 4
Function at 0x1003aee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e1e0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10052260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x10052090]
mov edx, dword [eax + 0xc]
mov ecx, 0x10052090
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
call fcn.1003ae20
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10001d80
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003af62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x10]
push esi
push 0x80
push 4
push esi
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 2
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp - 0x18]
push edx
add ecx, ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003afcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003afe0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e210
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10052260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
call fcn.1003ae20
mov ecx, dword [ebp - 0x14]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ecx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, esi
mov ebx, eax
call fcn.100016b0
cmp ebx, 0xffffffff
je 0x1003b10a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100208c5
mov ecx, dword [ebp - 0x10]
add esp, 4
push 0
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x10]
xor edx, edx
mov word [edi + ebx*2], dx
test edi, edi
jne 0x1003b09a
xor eax, eax
jmp 0x1003b0af
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1003b0a0
sub eax, edx
sar eax, 1
push eax
push edi
mov ecx, esi
call fcn.10001600
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call fcn.1001d610
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10001d80
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003b0fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.1001d7f0
push edi
call fcn.100234e4
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1003b130
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1003d5c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1003d60a
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edi
lea ecx, [ebp + 8]
push ecx
push edx
push eax
push esi
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x1003d79f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x1003d7c6
call fcn.10024e50
mov dword [eax], esi
call fcn.10024e3d
push 0x16
pop esi
mov dword [eax], esi
call fcn.1002629c
mov eax, esi
jmp 0x1003d81b
test dword [ebp + 0xc], 0xfffffff9
jne 0x1003d7ac
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1003d7f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10024e63
pop ecx
call fcn.10024e3d
mov eax, dword [eax]
jmp 0x1003d81b
test al, 0x10
jne 0x1003d819
test al, 1
je 0x1003d819
test byte [ebp + 0xc], 2
je 0x1003d819
call fcn.10024e50
mov dword [eax], 5
call fcn.10024e3d
mov dword [eax], 0xd
jmp 0x1003d7ea
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4564c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585840
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5e5c10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
jmp 0x456500
cmp dword [0x5f0414], 0
jne 0x4565de
call fcn.00456e5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456527
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [0x5f0520]
push ecx
lea edx, [ebp - 0x10]
push str._sTLib.dll
push edx
call fcn.0040bd00
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5f0414], eax
test eax, eax
jne 0x4565bb
call fcn.00456e5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x456582
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
push 0x5bede8
push ecx
mov byte [ebp - 4], 1
call fcn.0040bd00
mov edx, dword [ebp - 0x14]
add esp, 0xc
push 0
push 0
push edx
call fcn.00459c74
push 0
call fcn.0056244a
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x5f0414]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fun4
push ecx
call esi
mov edx, dword [0x5f0414]
push str.fun5
push edx
mov dword [0x5f040c], eax
call esi
mov dword [0x5f0410], eax
mov eax, dword [0x5f0414]
push str.fun10
push eax
call esi
mov ecx, dword [0x5f0414]
push str.fun2
push ecx
mov dword [0x5f0400], eax
call esi
mov edx, dword [0x5f0414]
push str.fun3
push edx
mov dword [0x5f0404], eax
call esi
cmp dword [0x5f0400], 0
mov dword [0x5f0408], eax
je 0x45668a
cmp dword [0x5f0404], 0
je 0x45668a
test eax, eax
je 0x45668a
cmp dword [0x5f040c], 0
je 0x45668a
cmp dword [0x5f0410], 0
je 0x45668a
jmp 0x45667a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x5bee28
call fcn.00459c74
push 0
call fcn.0056244a
int3
Function at 0x4017a0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x438c60
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041bd35
add esp, 0xc
test eax, eax
je 0x4017d4
xor eax, eax
jmp 0x4018a3
mov dword [ebp - 0x14], 0
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0041be12
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.0041c034
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041be12
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
push edx
call fcn.0041b988
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0041c342
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.0041c3d6
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
push edx
call fcn.00405700
add esp, 8
push 0x438c68
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041bd35
add esp, 0xc
test eax, eax
je 0x40186e
xor eax, eax
jmp 0x4018a3
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0041c5b4
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.0041c3d6
add esp, 4
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x404060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0x2580
push 0x4392b8
push str.C:VFDD.BIN
call fcn.0041c72e
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404091
jmp 0x4040cb
push 0
push 0x2580
mov eax, dword [ebp - 4]
push eax
call fcn.0041be12
add esp, 0xc
mov ecx, dword [ebp - 4]
push ecx
push 5
push 1
push str.FDISQ
call fcn.0041c5b4
add esp, 0x10
cmp dword [ebp - 4], 0
je 0x4040cb
mov edx, dword [ebp - 4]
push edx
call fcn.0041c3d6
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x407d50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret
Function at 0x408cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00420430
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x1014], 0
mov dword [0x442204], 0
push 0x437d00
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.0041bd35
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x408d14
xor eax, eax
jmp 0x408dba
push 0
push 4
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [0x431414]
cmp eax, 4
je 0x408d34
xor eax, eax
jmp 0x408dba
mov edx, dword [ebp - 0x1014]
cmp edx, dword [ebp - 0xc]
jae 0x408d9a
push 0
push 0x1000
lea eax, [ebp - 0x1010]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [0x431414]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x408d64
jmp 0x408d9a
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x1010]
push edx
call fcn.0041c5b4
add esp, 0x10
mov eax, dword [ebp - 0x1014]
add eax, dword [ebp - 4]
mov dword [ebp - 0x1014], eax
mov ecx, dword [ebp - 0x1014]
mov dword [0x442204], ecx
jmp 0x408d34
mov edx, dword [ebp - 8]
push edx
call fcn.0041c3d6
add esp, 4
mov eax, dword [ebp - 0x1014]
cmp eax, dword [ebp - 0xc]
jae 0x408db5
xor eax, eax
jmp 0x408dba
mov eax, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret

Function at 0x4093e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041df80
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x409428
cmp dword [ebp + 0xc], 0
jne 0x409432
jmp 0x40951a
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x4094a5
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x409457
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
je 0x4094a5
push 0x437704
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0041bd35
add esp, 0xc
jmp 0x4094e8
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [0x431210]
push 0x43770c
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0041bb22
add esp, 0xc
push 0x437728
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 4]
push eax
call fcn.0041bd35
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x409510
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041c5b4
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041c3d6
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret
Function at 0x409530
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041df80
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40957f
cmp dword [ebp + 0xc], 0
jne 0x409589
jmp 0x409696
cmp dword [ebp + 0x10], 0
je 0x4095de
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x4095a7
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x4095e8
jmp 0x409696
cmp dword [0x43ef90], 3
jne 0x40961e
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [0x43120c]
push 0x437730
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.0041bb22
add esp, 0xc
jmp 0x409630
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [0x431210]
mov ecx, dword [ebp + 0x10]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
call fcn.0041bb22
add esp, 0xc
push 0x437734
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0041bd35
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x40966a
jmp 0x409696
mov edx, dword [ebp - 4]
push edx
push 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041c342
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.0041c3d6
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret
Function at 0x4096b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.0041df80
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4096ff
cmp dword [ebp + 0xc], 0
jne 0x409709
jmp 0x4097da
cmp dword [ebp + 0x10], 0
je 0x40975e
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x218], edx
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x218]
mov dx, word [ecx]
mov word [ebp - 0x21e], dx
add dword [ebp - 0x218], 2
cmp word [ebp - 0x21e], 0
jne 0x409727
mov eax, dword [ebp - 0x218]
sub eax, dword [ebp - 0x21c]
sar eax, 1
mov dword [ebp - 0x224], eax
jne 0x409762
jmp 0x4097da
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [0x431210]
mov edx, dword [ebp + 0x10]
push edx
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0041bb22
add esp, 0xc
push 0x43773c
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.0041bd35
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4097ae
jmp 0x4097da
mov eax, dword [ebp - 4]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041c342
add esp, 0x10
mov eax, dword [ebp - 4]
push eax
call fcn.0041c3d6
add esp, 4
mov dword [ebp - 0x214], 1
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret
Function at 0x40d510
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x436a58]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x436a58]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x10026f7f
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
jle 0x10026fa8
push esi

Function at 0x1002ba51
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0x3c]
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [edx], edi
jne 0x1002ba8c
mov eax, dword [ebx + 0x78]
mov ecx, dword [ebx]
or eax, 0x1e
push edi
and eax, 0x87f3f
push eax
push edx
push edi
push ecx
call dword [ecx + 0x18]
add esp, 0x14
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x1002bb70
mov ecx, dword [ebx + 0x18]
cmp ecx, dword [ebx + 0x24]
jbe 0x1002bac6
mov eax, dword [ebx + 0x80]
push edi
cdq
push ecx
push edx
push eax
call fcn.10076700
mov dword [ebp - 0x14], edx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x3c]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x28]
mov eax, dword [ebx + 0x18]
add esp, 0xc
mov dword [ebx + 0x24], eax
jmp 0x1002bac6
xor edi, edi
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x1002bb70
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], edi
cmp edi, dword [ebx + 0x18]
ja 0x1002bb60
test byte [esi + 0x14], 0x20
jne 0x1002bb60
mov eax, dword [ebx + 0x80]
cdq
push edx
push eax
lea ecx, [edi - 1]
push 0
push ecx
call fcn.10076700
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
cmp edi, 1
jne 0x1002bb0a
call fcn.1002b19f
push dword [ebp - 0x14]
mov eax, dword [esi]
push dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebx + 0x80]
push eax
mov eax, dword [ebx + 0x3c]
call fcn.10023d96
add esp, 0x10
mov dword [ebp - 4], eax
cmp edi, 1
jne 0x1002bb42
mov esi, dword [ebp - 8]
add esi, 0x18
lea edi, [ebx + 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp + 0xc]
cmp edi, dword [ebx + 0x20]
jbe 0x1002bb4a
mov dword [ebx + 0x20], edi
mov eax, dword [ebp + 8]
push dword [esi]
mov eax, dword [eax + 0x58]
mov ebx, edi
call fcn.10035b16
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
pop ecx
cmp dword [ebp - 4], 0
mov eax, dword [esi + 8]
mov dword [ebp + 0xc], eax
je 0x1002bac4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100423bb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100423cd
xor eax, eax
jmp 0x100424bc
push esi
mov esi, dword [ebp + 8]
push 0x50
call fcn.10024b75
mov esi, eax
pop ecx
test esi, esi
je 0x100424bb
push ebx
push dword [ebp + 0x10]
mov ebx, dword [edi]
push dword [ebp + 8]
call fcn.10042145
push dword [ebp + 0x10]
mov dword [esi], eax
push dword [edi + 8]
push dword [ebp + 8]
call fcn.10042208
push 0
push dword [ebp + 0x10]
mov dword [esi + 8], eax
or byte [ebx - 0xaff3b9], cl
jne 0x10042418
call fcn.10041ef5
push dword [ebp + 0x10]
mov dword [esi + 0xc], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x10]
call fcn.10042145
push 0
push dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
push eax
push dword [ebp + 8]
call fcn.10041ef5
push dword [ebp + 0x10]
mov dword [esi + 0x14], eax
push dword [ebp + 8]
mov ebx, dword [edi + 0x18]
call fcn.10042145
add esp, 0x44
push dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov al, byte [edi + 4]
mov byte [esi + 4], al
push dword [edi + 0x1c]
push dword [ebp + 8]
call fcn.100423bb
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x28]
push eax
push dword [ebp + 8]
call fcn.10041ef5
push ebx
push dword [ebp + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
push eax
push dword [ebp + 8]
call fcn.10041ef5
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov ax, word [edi + 6]
or dword [esi + 0x38], 0xffffffff
or dword [esi + 0x3c], 0xffffffff
mov ecx, 0xfff7
and ax, cx
add esp, 0x2c
or dword [esi + 0x40], 0xffffffff
mov word [esi + 6], ax
mov dword [esi + 0x24], ebx
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret