joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043ee
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x631834
call fcn.0040ebd7
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 0x10]
push 7
pop edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov word [ebp - 0x28], ax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x71]
mov byte [ebp - 4], 1
call fcn.0040385d
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040412c
cmp dword [ebp - 0x30], 0
jbe 0x404536
lea eax, [ebp - 0x70]
push eax
call fcn.004047a6
mov ecx, eax
call fcn.004ae20d
push eax
lea ecx, [ebp - 0x28]
call fcn.00403826
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
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x2f
cmovae eax, dword [ebp - 0x40]
push 0xffffffffffffffff
push dword [ebp - 0x30]
push eax
call fcn.0040486a
add esp, 0x10
mov dword [ebp - 0x44], 7
xor ecx, ecx
xor esi, esi
inc eax
mov word [ebp - 0x58], cx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], esi
push dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040482c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004018a7
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040199e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404520
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push esi
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call fcn.00404745
mov ecx, eax
call fcn.004c1fe0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x71]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push edi
call fcn.004adb95
lea ecx, [ebp - 0x71]
call fcn.004015c0
lea ecx, [ebp - 0x40]
call fcn.0040199e
lea ecx, [ebp - 0x28]
call fcn.0040199e
call fcn.0040eb81
ret 0xc
Function at 0x40523e
Capabilities:
Accept command line arguments

Disassembly:
push 0x1b0
mov eax, 0x631b54
call fcn.0040ebd7
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.004ac942
add esp, 0x18
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 1
call fcn.004b6d15
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b7335
push str.10681241
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b6d99
push 8
pop edi
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], edi
jb 0x4052bf
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004b771c
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], edi
jb 0x4052d6
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004b73c0
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.004b6d99
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.004ac942
add esp, 0x20
mov byte [ebp - 4], 6
call fcn.004b8c72
test al, al
je 0x40542c
mov eax, dword [0x6dadd0]
test eax, eax
je 0x40542c
cmp dword [eax + 4], 4
jl 0x40542c
lea eax, [ebx + 4]
mov dword [ebp - 0x1ac], eax
cmp dword [eax + 0x14], edi
jb 0x40538d
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.004b8a84
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.00407620
mov ebx, eax
lea edi, [ebx + 0x30]
mov byte [ebp - 4], 7
push esi
push edi
call fcn.004059ce
push 0x6b4f40
push edi
call fcn.0040582c
push dword [ebp - 0x1b8]
push edi
call fcn.004059ce
push 0x6b4f50
push edi
call fcn.0040582c
push dword [ebp - 0x1ac]
push edi
call fcn.004059ce
mov ecx, dword [0x6dadd0]
add esp, 0x28
push ebx
call fcn.00407705
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 6
call fcn.004059eb
mov ebx, dword [ebp - 0x1bc]
push 8
pop edi
lea ecx, [ebx + 4]
cmp dword [ecx + 0x14], edi
jb 0x405436
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.004b77ee
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.004b6d68
lea ecx, [ebp - 0x58]
call fcn.0040199e
lea ecx, [ebp + 8]
call fcn.0040199e
mov al, bl
call fcn.0040eb81
ret 0x20
Function at 0x407dfe
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 0x407e75
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x407e75
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.0040e275
leave
ret

Function at 0x408798
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.004205d0
test al, al
je 0x4087dc
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 0x413920
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 0x413941
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 0x413959
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 0x413971
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 0x413987
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 0x41399f
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 0x41ad80
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 0x41adbe
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x41adbe
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 0x41add1
jmp 0x41af45
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x41ae63
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 0x41ae56
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.0041a7e0
mov eax, dword [ebp - 4]
mov dword [eax + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x41ae6e
jmp 0x41af45
cmp dword [ebp + 8], 0
je 0x41af45
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 0x41af45
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 0x41af45
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 0x41af45
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 0x41af45
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.0041a7e0
mov esp, ebp
pop ebp
ret 8
Function at 0x41ca80
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 0x41cb01
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x3c
jne 0x41cada
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461600
movzx edx, al
test edx, edx
jne 0x41cad8
xor eax, eax
jmp 0x41cbd9
jmp 0x41cafc
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x28
call fcn.00461680
movzx ecx, al
test ecx, ecx
jne 0x41cafc
xor eax, eax
jmp 0x41cbd9
jmp 0x41cba8
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00413240
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x41cb2b
xor eax, eax
jmp 0x41cbd9
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.00413240
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x41cb5e
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x41cbd9
push 0
mov eax, dword [ebp - 0x218]
push eax
call fcn.00413240
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.00461d30
movzx edx, al
test edx, edx
jne 0x41cb9b
xor eax, eax
jmp 0x41cbd9
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.00461480
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.0041c540
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e275
mov esp, ebp
pop ebp
ret 8

Function at 0x4216d0
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.004edce0
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.00421610
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 0x42176a
mov byte [ebp - 0x121], 1
jmp 0x42178c
cmp dword [ebp - 0x128], 6
jne 0x42178c
movzx edx, byte [ebp - 6]
cmp edx, 1
jne 0x42178c
cmp dword [ebp - 0x12c], 3
jb 0x42178c
mov byte [ebp - 0x121], 1
mov al, byte [ebp - 0x121]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e275
mov esp, ebp
pop ebp
ret
Function at 0x424950
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 0x424984
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x424984
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 0x424993
jmp 0x424afc
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 0x4249ee
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x4249d1
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x4249dd
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x4249a8
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x424a7e
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.004edeb0
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 0x424a47
jmp 0x424a4c
call fcn.0040ef19
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.00424950
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 0x424a9a
jmp 0x424a9f
call fcn.0040ef19
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x424ac8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.004fff1f
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004ffeee
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x424afc
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.0040e275
mov esp, ebp
pop ebp
ret
Function at 0x425840
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 0x42585a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x425864
mov eax, 0x1000000
jmp 0x42594e
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.004fff41
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 0x4258c2
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x4258c2
push 0x6b4c90
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.004ffeee
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x425906
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 0x4258ea
mov dword [ebp - 0x10], 1
jmp 0x4258f1
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x425906
mov eax, 0x2000000
jmp 0x42594e
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.0042aa10
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42592c
mov eax, dword [ebp - 0x1c]
jmp 0x42594e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0042b700
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x42594c
mov eax, 0x200
jmp 0x42594e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4262a0
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 0x42aba0
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 0x42abef
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 0x42abe5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x42ac49
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 0x42ac0f
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.004edeb0
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
Function at 0x42aea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x42aeb0
xor eax, eax
jmp 0x42b04d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x42b00e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x63f9a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x63f9a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x63f9a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x63f9a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x63f9a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x63f9a8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x63f9a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x63f9a8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x42aeb9
cmp dword [ebp + 0x10], 0
je 0x42b047
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x63f9a8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x42b014
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret