joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422e1e
Capabilities:
Reference http user-agent string

Disassembly:
push 0x198
mov eax, 0x6236c9
call fcn.0050d9f6
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a0], eax
test eax, eax
jne 0x422e6d
xor ebx, ebx
mov dword [edi + 0x14], 0xf
mov ecx, ebx
mov dword [edi + 0x10], ebx
mov byte [edi], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422e56
sub ecx, edx
push ecx
push ebx
mov ecx, edi
call fcn.00409460
jmp 0x42304a
lea eax, [ebp - 0x19c]
push 0x6a2a9c
push eax
call fcn.00422d4b
pop ecx
pop ecx
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
push 0x1e
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00427290
push 0x104
lea eax, [ebp - 0x114]
push ebx
push eax
call fcn.00526600
add esp, 0xc
mov dword [ebp - 0x1a4], 0x104
lea eax, [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x114]
push eax
push 0x10000001
call sub.urlmon.dll_ObtainUserAgentString
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x15c], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422eea
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x15c]
call fcn.00409460
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 1
push eax
mov ecx, esi
call fcn.0042729d
push ebx
mov ecx, esi
call fcn.004272a9
call fcn.00423052
test al, al
je 0x422f6e
push 0xe
push str.127.0.0.1:8888
lea ecx, [ebp - 0x174]
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], 0xf
mov byte [ebp - 0x174], bl
call fcn.00409460
lea eax, [ebp - 0x174]
mov byte [ebp - 4], 2
push eax
mov ecx, esi
call fcn.004271d8
lea ecx, [ebp - 0x174]
call fcn.00406520
push 0xf
pop eax
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], eax
mov byte [ebp - 0x12c], bl
mov edx, dword [ebp - 0x1a0]
mov ecx, edx
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
mov byte [ebp - 4], 3
mov dword [ebp - 0x130], eax
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422fa4
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x144]
call fcn.00409460
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x198]
mov ecx, esi
push eax
call fcn.0042731d
cmp dword [ebp - 0x198], 0xc8
mov byte [ebp - 4], 5
jne 0x422ff5
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00411536
lea eax, [ebp - 0x12c]
mov ecx, edi
push eax
call fcn.004065f0
lea ecx, [ebp - 0x17c]
call fcn.0041d46f
lea ecx, [ebp - 0x194]
call fcn.00406520
lea ecx, [ebp - 0x144]
call fcn.00406520
lea ecx, [ebp - 0x12c]
call fcn.00406520
lea ecx, [ebp - 0x15c]
call fcn.00406520
test esi, esi
je 0x42304a
push esi
lea ecx, [ebp - 0x19c]
call fcn.00422dfa
mov eax, edi
call fcn.0050d9a0
ret
Function at 0x423052
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x623701
call fcn.0050d9f6
push 0x67
push 0x6f
push 0x6c
push 0x74
pop eax
push eax
push 0x6e
push 0x65
push eax
push 0x6e
push 0x6f
push 0x43
push 0x70
push eax
push eax
push 0x48
push 0x77
push 0x6f
push 0x68
push 0x53
lea eax, [ebp - 0x40]
push str._c_c_c_c_c_c_c_c_c_c_c_c_c_c_c._c_c_c
push eax
call fcn.0041affd
add esp, 0x50
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 0x62b37c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00409210
push 0x62b380
lea ecx, [ebp - 0x28]
call fcn.00409210
push 0x6a2f48
lea ecx, [ebp - 0x28]
call fcn.00409210
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
call fcn.00409c20
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
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402a10
lea ecx, [ebp - 0x40]
call fcn.00402a10
mov al, bl
call fcn.0050d9a0
ret

Function at 0x423163
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x118
xor ebx, ebx
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00526600
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00423118
mov eax, dword [ebp - 0x11c]
add esp, 0xc
cmp eax, 5
jne 0x4231e2
cmp dword [ebp - 0x118], ebx
jbe 0x42321c
cmp dword [ebp - 0x118], 1
setne bl
inc ebx
jmp 0x42321c
cmp eax, 6
jne 0x42320c
cmp byte [ebp - 6], 1
jne 0x423208
mov eax, dword [ebp - 0x118]
sub eax, ebx
je 0x423204
sub eax, 1
je 0x423200
push 7
jmp 0x423213
push 5
jmp 0x423213
push 3
jmp 0x423213
push 4
jmp 0x423213
cmp eax, 0xa
jne 0x423216
push 8
pop ebx
jmp 0x42321c
push 9
pop ecx
cmova ebx, ecx
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0050ce82
leave
ret
Function at 0x423813
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
cmp dword [esi + 0x14], ebx
ja 0x42386b
lea eax, [ebp - 0x1c]
push eax
call fcn.0042077c
pop ecx
lea ecx, [esi + 4]
push eax
call fcn.00402a70
lea ecx, [ebp - 0x1c]
call fcn.00402a10
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x423876
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x20]
push ecx
push 0xf013f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call esi
test eax, eax
je 0x423899
xor al, al
jmp 0x423952
lea eax, [ebp - 0x24]
push eax
push 0xf013f
push ebx
push 0x62bb88
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x4238bc
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423892
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x24]
call esi
test eax, eax
je 0x4238ee
push dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x20]
call esi
jmp 0x423892
push ebx
lea eax, [ebp - 0x28]
push eax
push ebx
push 0xf013f
push ebx
push ebx
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x423941
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x423913
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x28]
call esi
mov bl, 1
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp - 0x20]
call esi
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050ce82
leave
ret 0x10
Function at 0x4269c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
cmp byte [edx + 4], 0
je 0x4269f4
push esi
xor esi, esi
cmp dword [edx + 0x3cc], esi
jle 0x4269f3
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
sub edi, ecx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc ecx
inc esi
cmp esi, dword [edx + 0x3cc]
jl 0x4269e3
pop edi
pop esi
pop ebp
ret 8

Function at 0x426c15
Capabilities:
Encode data using base64

Disassembly:
push 0x10
mov eax, 0x62381a
call fcn.0050d9c2
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x426d9c
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x426ce5
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x6b6168], 0x10
mov ecx, 0x6b6154
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x6b6154]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00409290
inc edi
cmp edi, 4
jl 0x426cad
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x426c4f
mov dword [ebp + 0x10], edi
test edi, edi
je 0x426d9c
mov eax, edi
cmp edi, esi
jge 0x426d1b
cmp eax, esi
jae 0x426da5
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x426d03
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x426d87
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x6b6168], 0x10
mov ecx, 0x6b6154
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x6b6154]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.00409290
inc ebx
cmp ebx, edi
jl 0x426d58
mov edi, dword [ebp + 0x10]
push 3
pop esi
cmp edi, esi
jge 0x426d9c
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.00409290
sub esi, 1
jne 0x426d8d
mov eax, dword [ebp + 8]
call fcn.0050d98b
ret
call fcn.0050d65d
int3
Function at 0x42c140
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 0x42c161
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 0x42c179
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 0x42c191
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 0x42c1a7
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 0x42c1bf
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 0x4336e0
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 0x43371e
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
cmp eax, dword [edx + 0x108]
je 0x43371e
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 0x433731
jmp 0x43388d
mov edx, dword [ebp - 4]
cmp dword [edx + 0x108], 0
je 0x4337b7
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 + 0x148]
call edx
push 0
push 0
push 0
push str.killfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00432ff0
mov edx, dword [ebp - 4]
mov dword [edx + 0x108], 0
cmp dword [ebp + 8], 0
jne 0x4337c2
jmp 0x43388d
cmp dword [ebp + 8], 0
je 0x43388d
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
call eax
cmp eax, dword [ebp - 4]
jne 0x43388d
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 0x43388d
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 0x43388d
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 + 0x148]
call edx
push 0
push 0
push 0
push str.setfocus
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x108]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00432ff0
mov esp, ebp
pop ebp
ret 4
Function at 0x438130
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62426b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6b6538]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00439b80
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.DuiLib::CNotifyPump.0
push 0x53
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004366b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
add edx, 0x20
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.DuiLib::INotifyUI.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [edx], vtable.DuiLib::IMessageFilterUI.0
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], vtable.DuiLib::IDialogBuilderCallback.0
mov edx, dword [ebp - 0x10]
add edx, 0x2c
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [eax], vtable.DuiLib::IQueryControlText.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DuiLib::WindowImplBase.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], vtable.DuiLib::WindowImplBase.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], vtable.DuiLib::WindowImplBase.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], vtable.DuiLib::WindowImplBase.3.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], vtable.DuiLib::WindowImplBase.4.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], vtable.DuiLib::WindowImplBase.5.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00428880
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43ab10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x6b6538]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x43ab44
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43ab44
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 0x43ab53
jmp 0x43acbc
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 0x43abae
mov edx, dword [ebp - 0x418]
movzx eax, word [edx]
cmp eax, 0x2f
je 0x43ab91
mov ecx, dword [ebp - 0x418]
movzx edx, word [ecx]
cmp edx, 0x5c
jne 0x43ab9d
mov eax, dword [ebp - 0x418]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x418]
add ecx, 2
mov dword [ebp - 0x418], ecx
jmp 0x43ab68
mov edx, dword [ebp - 0x41c]
mov dword [ebp - 0x424], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp + 0xc]
je 0x43ac3e
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.00525b00
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 0x43ac07
jmp 0x43ac0c
call fcn.0050d65d
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.0043ab10
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 0x43ac5a
jmp 0x43ac5f
call fcn.0050d65d
xor eax, eax
mov ecx, dword [ebp - 0x428]
mov word [ebp + ecx - 0x20c], ax
cmp dword [ebp + 8], 0
je 0x43ac88
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0053ba76
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0053ba45
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43acbc
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.0050ce82
mov esp, ebp
pop ebp
ret
Function at 0x43ba00
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 0x43ba1a
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x43ba24
mov eax, 0x1000000
jmp 0x43bb0e
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.0053ba98
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 0x43ba82
movzx ecx, word [ebp - 8]
cmp ecx, 0x2f
je 0x43ba82
push 0x6a2f48
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0053ba45
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x43bac6
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 0x43baaa
mov dword [ebp - 0x10], 1
jmp 0x43bab1
mov dword [ebp - 0x10], 0
mov cl, byte [ebp - 0x10]
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 1]
test edx, edx
jne 0x43bac6
mov eax, 0x2000000
jmp 0x43bb0e
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.00440bd0
add esp, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x43baec
mov eax, dword [ebp - 0x1c]
jmp 0x43bb0e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004418c0
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x43bb0c
mov eax, 0x200
jmp 0x43bb0e
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c460
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 + 0x630f70]
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 + 0x630f70]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x440d60
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 0x440daf
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 0x440da5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x440e09
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 0x440dcf
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.00525b00
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