joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415b75
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49aa2c
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x4c006c]
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
cmp dword [ebp + 8], 0
jne 0x415bb3
mov eax, 0x800
jmp 0x4166fe
push str.c3RhcnQ
lea ecx, [ebp - 0x2b0]
call fcn.00401aca
mov dword [ebp - 0x3b0], eax
mov eax, dword [ebp - 0x3b0]
mov dword [ebp - 0x3ac], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x3ac]
call fcn.00403408
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 4]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00401280
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b0]
call fcn.00401280
mov ecx, dword [ebp + 8]
call fcn.00415a7f
movzx eax, al
test eax, eax
jne 0x415c3a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x1c]
mov eax, 0x800
jmp 0x4166fe
push str.cnVu
lea ecx, [ebp - 0x298]
call fcn.00401aca
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x3a8]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x160]
push eax
mov ecx, dword [ebp - 0x3a4]
call fcn.00403408
mov byte [ebp - 4], 3
lea eax, [ebp - 0x160]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
call fcn.00401280
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x298]
call fcn.00401280
push 1
call dword [sym.imp.USER32.dll_BlockInput]
mov byte [ebp - 0x2e1], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x415ccf
mov byte [ebp - 0x2e1], 0
jmp 0x415cd6
mov byte [ebp - 0x2e1], 1
push 0
call dword [sym.imp.USER32.dll_BlockInput]
movzx eax, byte [ebp - 0x2e1]
test eax, eax
je 0x415cfb
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 0x1c]
xor eax, eax
jmp 0x4166fe
and dword [ebp - 0x318], 0
and dword [ebp - 0x31c], 0
and dword [ebp - 0x314], 0
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x314], edx
push ecx
push eax
push esi
push esp
push ebx
push esi
call fcn.00415dde
ret 0x50
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.00434bd1
mov esp, ebp
pop ebp
ret
Function at 0x416998
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0x478
mov eax, 0x49aa96
call fcn.0043525d
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x454], ebx
cmp dword [edi + 0x14], 8
jb 0x4169bb
mov eax, dword [edi]
jmp 0x4169bd
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
je 0x416b8a
mov dword [ebp - 0x424], 0xf
mov dword [ebp - 0x428], ecx
mov byte [ebp - 0x438], cl
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x438]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00417617
pop ecx
test al, al
je 0x416ad3
lea edx, [ebp - 0x438]
lea ecx, [ebp - 0x46c]
call fcn.004183da
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x450]
call fcn.00401eed
push 0
push 1
lea ecx, [ebp - 0x46c]
mov byte [ebp - 4], 3
call fcn.00401450
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x416a9c
mov edx, esi
lea ecx, [ebp - 0x484]
call fcn.00401eac
mov ecx, eax
cmp dword [ecx + 0x14], 8
jb 0x416a55
mov ecx, dword [ecx]
cmp dword [ebp - 0x43c], 8
lea eax, [ebp - 0x450]
push ecx
cmovae eax, dword [ebp - 0x450]
push eax
invalid
invalid
js 0x416a06
invalid

Function at 0x416f1f
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00435ba0
mov eax, dword [0x4c006c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x100c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push edx
lea edx, [ebp - 0x804]
mov dword [ebp - 0x100c], 0x800
push edx
lea edx, [ebp - 0x1008]
inc ebx
push edx
push 0
push eax
push dword [ecx]
mov dword [ebp - 0x1008], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x416ff1
cmp dword [ebp - 0x1008], ebx
jne 0x416f9e
lea eax, [ebp - 0x804]
push eax
call fcn.004010e0
pop ecx
push eax
lea eax, [ebp - 0x804]
push eax
mov ecx, edi
call fcn.00401342
jmp 0x416ff1
cmp dword [ebp - 0x1008], 2
jne 0x416fec
mov ebx, 0x400
lea eax, [ebp - 0x1004]
push ebx
push eax
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x416fe5
cmp eax, ebx
ja 0x416fe5
lea eax, [ebp - 0x1004]
push eax
call fcn.004010e0
pop ecx
push eax
lea eax, [ebp - 0x1004]
jmp 0x416f94
mov esi, 0xea
jmp 0x416ff1
mov esi, 0x3f4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434bd1
mov esp, ebp
pop ebp
ret 8

Function at 0x417006
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x417013
sub edx, esi
sar edx, 1
lea eax, [edx*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push edi
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 8
Function at 0x41707c
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x40
mov eax, 0x49aafb
call fcn.0043525d
mov esi, edx
mov dword [ebp - 0x4c], esi
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x417097
mov edx, dword [esi]
push ecx
push dword [ebp + 8]
call fcn.00417041
pop ecx
pop ecx
test eax, eax
jne 0x4170ad
xor eax, eax
jmp 0x4171e1
and dword [ebp - 0x48], 0
cmp dword [esi + 0x14], 8
jb 0x4170bb
mov ecx, dword [esi]
jmp 0x4170bd
mov ecx, esi
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
or eax, 8
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, 2
je 0x4170a6
test eax, eax
jne 0x4171e1
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403eb9
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41711f
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x41711f
push 0x4af6e0
call fcn.004010e0
pop ecx
push eax
push 0x4af6e0
lea ecx, [ebp - 0x2c]
call fcn.00406e96
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x14]
jmp 0x417142
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x104
push eax
lea ecx, [ebp - 0x44]
call fcn.00416c8f
push eax
push 0
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4171a2
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
call fcn.004020df
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.004020df
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040554f
push dword [ebp + 8]
lea edx, [ebp - 0x2c]
mov ecx, edi
call fcn.0041707c
pop ecx
test eax, eax
je 0x417140
push dword [ebp - 0x48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x4c]
cmp dword [esi + 0x14], 8
jb 0x4171b6
mov esi, dword [esi]
push ecx
push dword [ebp + 8]
mov edx, esi
mov ecx, edi
call fcn.00417041
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.004012eb
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004012eb
mov eax, esi
call fcn.00435207
ret

Function at 0x417415
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c006c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xc], 0
and dword [ebp - 8], 0
cmp dword [edx + 0x14], 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
jb 0x41743d
mov edx, dword [edx]
push 0x2001f
push edx
call fcn.004171e7
push eax
lea ecx, [ebp - 0xc]
call fcn.00416cb6
mov eax, dword [edi + 4]
sub eax, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x41745e
mov esi, dword [esi]
push eax
push dword [edi]
push 3
push 0
push esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0xc]
mov esi, eax
call fcn.00416da9
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.00434bd1
mov esp, ebp
pop ebp
ret
Function at 0x417617
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
test esi, esi
je 0x417639
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x417635
mov eax, dword [esi]
jmp 0x417637
mov eax, esi
mov byte [eax], bl
cmp dword [ecx + 0x14], 8
jb 0x417641
mov ecx, dword [ecx]
push 0x40
push 0x4b2158
push ecx
call fcn.00456da7
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x41765e
xor al, al
jmp 0x4176e7
push 0x10000
call fcn.0045657a
mov ecx, eax
mov dword [ebp - 4], ebx
push edi
xor eax, eax
mov dword [ebp - 8], ecx
inc eax
push 0x10000
push eax
push ecx
mov dword [ebp - 0xc], eax
call fcn.00456feb
add esp, 0x14
jmp 0x4176c8
test esi, esi
je 0x4176a4
mov ecx, dword [ebp + 8]
mov eax, ebx
sub ecx, dword [ebp - 4]
cmp ecx, ebx
cmovb eax, ecx
mov ecx, esi
push eax
push dword [ebp - 8]
call fcn.00403f39
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
sub eax, ecx
cmp eax, ebx
jb 0x4176d9
push edi
push 0x10000
push 1
push dword [ebp - 8]
add ecx, ebx
mov dword [ebp - 4], ecx
call fcn.00456feb
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x417688
push edi
call fcn.00456df4
pop ecx
test eax, eax
je 0x4176dd
mov byte [ebp - 0xc], 0
push edi
call fcn.00455250
mov al, byte [ebp - 0xc]
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4176ee
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4c006c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
mov edi, ecx
mov esi, edx
push 0
push eax
mov dword [ebp - 0x210], edi
call fcn.00437ab0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x417732
mov esi, dword [esi]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0040128a
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00434bd1
mov esp, ebp
pop ebp
ret

Function at 0x417765
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4c006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
push 0
push eax
mov edi, edx
mov esi, ecx
call fcn.00437ab0
add esp, 0xc
test esi, esi
je 0x4177b1
push esi
lea eax, [ebp - 0x20c]
push 0x4afea4
push eax
call fcn.0040c7a0
add esp, 0xc
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x4b2160
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434bd1
mov esp, ebp
pop ebp
ret
Function at 0x417932
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov al, byte [edi + 0x208]
mov ebx, dword [edi + 0x200]
sub edx, ebx
mov byte [ebp - 1], al
sub ecx, ebx
mov eax, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
cmp ebx, eax
jae 0x41799f
sub edx, ecx
mov dword [ebp + 0xc], edx
push esi
mov al, byte [ebp - 1]
movzx esi, bl
mov dl, byte [esi + edi]
add al, dl
movzx ecx, al
mov byte [ebp - 1], al
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov al, byte [esi + edi]
mov ecx, dword [ebp + 8]
add al, dl
mov edx, dword [ebp + 0xc]
add ecx, ebx
movzx eax, al
mov al, byte [eax + edi]
xor al, byte [edx + ecx]
inc ebx
mov byte [ecx], al
cmp ebx, dword [ebp - 8]
jb 0x417966
pop esi
mov al, byte [ebp - 1]
mov dword [edi + 0x200], ebx
mov byte [edi + 0x208], al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov al, byte [edi + 0x209]
mov ebx, dword [edi + 0x204]
sub edx, ebx
mov byte [ebp - 1], al
sub ecx, ebx
mov eax, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], eax
cmp ebx, eax
jae 0x417a39
sub edx, ecx
mov dword [ebp + 0xc], edx
push esi
mov al, byte [ebp - 1]
movzx esi, bl
mov dl, byte [esi + edi + 0x100]
add al, dl
movzx ecx, al
mov byte [ebp - 1], al
mov al, byte [ecx + edi + 0x100]
mov byte [esi + edi + 0x100], al
mov byte [ecx + edi + 0x100], dl
mov al, byte [esi + edi + 0x100]
mov ecx, dword [ebp + 8]
add al, dl
mov edx, dword [ebp + 0xc]
add ecx, ebx
movzx eax, al
mov al, byte [eax + edi + 0x100]
xor al, byte [edx + ecx]
inc ebx
mov byte [ecx], al
cmp ebx, dword [ebp - 8]
jb 0x4179e8
pop esi
mov al, byte [ebp - 1]
mov dword [edi + 0x204], ebx
mov byte [edi + 0x209], al
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4185cd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4c006c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
xor ecx, ecx
mov dword [ebp - 0x10], eax
push edi
push ecx
mov dword [ebx], ecx
push str.kernel32.dll
mov dword [eax], ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
add byte [ebx + 0x74ff85f8], cl
push esp
push esi
push edi
call fcn.0045657a
pop ecx
mov esi, eax
xor eax, eax
push esi
push edi
push eax
push str.kernel32.dll
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41864a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4af6e0
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41864a
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 8]
mov dword [ebx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
push esi
call fcn.00435100
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00434bd1
mov esp, ebp
pop ebp
ret
Function at 0x422f2a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1024
call fcn.00435ba0
mov eax, dword [0x4c006c]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push esi
mov dword [esp + 0x14], esi
mov eax, dword [edi + 0x14]
mov ebx, dword [edi + 0xc]
sub ebx, dword [eax]
sub ebx, 0x10
sar ebx, 4
call fcn.004580fc
pop ecx
mov ecx, edi
sub ebx, 1
jne 0x422f84
push 1
mov edx, esi
call fcn.00422e12
mov esi, dword [ebp + 8]
mov ebx, eax
pop ecx
inc esi
jmp 0x423103
push str.too_many_arguments
lea edx, [ebx + 0x14]
call fcn.0041b6c7
mov esi, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [esp + 0x18], esi
pop ecx
mov dword [esp + 0xc], eax
dec ebx
test eax, eax
je 0x4230ff
mov edx, esi
mov ecx, edi
call fcn.004192f0
mov edx, esi
mov ecx, edi
cmp eax, 3
jne 0x42304c
call fcn.0041b7f0
mov esi, eax
test esi, esi
jne 0x422fff
push dword [esp + 0x10]
call fcn.00457528
pop ecx
push dword [esp + 0x10]
mov esi, eax
push esi
call fcn.00458b2b
pop ecx
pop ecx
mov edx, 0x4af511
mov ecx, edi
call fcn.004195b4
xor eax, eax
cmp esi, 0xffffffff
setne al
mov esi, dword [esp + 0x14]
jmp 0x4230ee
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov edx, esi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
call fcn.0041b964
push dword [esp + 0x10]
push esi
push 1
push eax
call fcn.00456feb
add esp, 0x10
lea ecx, [esp + 0x18]
mov esi, eax
add dword [esp + 0x20], esi
call fcn.0041ba06
xor eax, eax
cmp eax, esi
sbb eax, eax
neg eax
jmp 0x422ff6
push 0
call fcn.0041b74a
pop ecx
cmp byte [eax], 0x2a
jne 0x42305a
inc eax
movsx eax, byte [eax]
sub eax, 0x4c
je 0x4230e0
sub eax, 0x15
je 0x423087
sub eax, 0xb
je 0x423083
dec eax
mov ecx, edi
sub eax, 1
jne 0x42314b
mov edx, dword [esp + 0x10]
call fcn.00422c64
jmp 0x4230ee
push 1
jmp 0x4230e2
and dword [esp + 0x20], 0
lea eax, [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x1000
mov edx, 0x1000
lea ecx, [esp + 0x18]
call fcn.0041b964
push esi
push 0x1000
push 1
push eax
call fcn.00456feb
add dword [esp + 0x30], eax
add esp, 0x10
cmp eax, 0x1000
je 0x4230a4
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0041ba06
xor eax, eax
inc eax
jmp 0x4230ee
push 0
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.00422e12
pop ecx
inc esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
test ebx, ebx
jne 0x422fa0
mov ebx, dword [esp + 0xc]
push dword [esp + 0x10]
call fcn.00456df4
pop ecx
test eax, eax
je 0x42311f
push 0
xor edx, edx
mov ecx, edi
call fcn.0041b441
pop ecx
jmp 0x423136
test ebx, ebx
jne 0x423131
add dword [edi + 0xc], 0xfffffff0
mov eax, dword [edi + 0xc]
and dword [eax + 8], ebx
add dword [edi + 0xc], 0x10
sub esi, dword [ebp + 8]
mov eax, esi
mov ecx, dword [esp + 0x102c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434bd1
mov esp, ebp
pop ebp
ret
push str.invalid_format
mov edx, esi
call fcn.0041b27b
int3
Function at 0x4232a3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ecx + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ecx + 0xc]
sub esi, dword [eax]
sub esi, 0x10
mov dword [esp + 0xc], edx
push edi
sar esi, 4
mov dword [esp + 0xc], ecx
push 1
pop edi
sub esi, ebx
jne 0x4232dd
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov edx, ebx
dec esi
call fcn.004192f0
mov ecx, dword [esp + 0xc]
mov edx, ebx
cmp eax, 3
jne 0x423350
call fcn.0041908f
mov ecx, dword [esp + 0xc]
mov edx, ebx
push 0
cmp dword [eax + 8], 0x13
jne 0x423312
call fcn.00419405
pop ecx
push edx
push eax
push str._lld
jmp 0x423322
call fcn.004193c4
push ecx
movsd qword [esp], xmm0
push str._.14g
push dword [esp + 0x1c]
call fcn.0041ae98
add esp, 0x10
test edi, edi
je 0x423336
test eax, eax
jg 0x423378
xor edi, edi
inc ebx
test esi, esi
jne 0x4232d9
test edi, edi
jne 0x4232cf
mov ecx, dword [esp + 0xc]
xor edx, edx
push edi
call fcn.0041b441
pop ecx
jmp 0x4232d2
lea eax, [esp + 0x14]
push eax
call fcn.0041b74a
pop ecx
test edi, edi
je 0x423336
push dword [esp + 0x10]
push dword [esp + 0x18]
push 1
push eax
call fcn.0045789b
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x423336
xor edi, edi
inc edi
jmp 0x423338
Function at 0x428d3d
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
cmp eax, 8
ja 0x428dca
je 0x428dae
sub eax, 4
je 0x428d7c
sub eax, 1
je 0x428d75
sub eax, 1
je 0x428d6e
sub eax, 1
jne 0x428deb
mov eax, dword [esi + 0xc]
add eax, 0x18
jmp 0x428de1
pop edi
pop esi
jmp fcn.00428cdc
pop edi
pop esi
jmp 0x429c9e
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x18]
dec ecx
and ecx, dword [esi + 8]
lea ecx, [eax + ecx*4]
jmp 0x428d93
mov ecx, dword [ecx]
add ecx, 0xc
cmp dword [ecx], esi
jne 0x428d8e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov ecx, edi
dec dword [edx + 0x1c]
mov edx, esi
movzx eax, byte [esi + 7]
add eax, 0x11
jmp 0x428de1
mov edx, dword [esi + 0x20]
mov ecx, esi
call fcn.0042ba6a
mov ecx, esi
call fcn.004221e6
push 0
push 0x7c
lea edx, [esi - 4]
mov ecx, edi
jmp 0x428de4
cmp eax, 9
je 0x428df6
cmp eax, 0x14
je 0x428dee
cmp eax, 0x26
jne 0x428deb
movzx eax, byte [esi + 6]
inc eax
shl eax, 4
push 0
push eax
call fcn.0042c6fa
pop ecx
pop ecx
pop edi
pop esi
ret
mov eax, dword [esi + 0xc]
add eax, 0x11
jmp 0x428de1
pop edi
pop esi
jmp 0x42bb0e
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [esi + 0x14], ebx
je 0x429cc5
mov cl, byte [esi + 7]
xor eax, eax
mov edx, dword [esi + 0x10]
inc eax
shl eax, cl
mov ecx, edi
shl eax, 5
push ebx
push eax
call fcn.0042c6fa
pop ecx
pop ecx
mov eax, dword [esi + 8]
mov ecx, edi
mov edx, dword [esi + 0xc]
shl eax, 4
push ebx
push eax
call fcn.0042c6fa
push ebx
push 0x20
mov edx, esi
mov ecx, edi
call fcn.0042c6fa
add esp, 0x10
pop edi
pop esi
pop ebx
ret
push ebx
push esi
mov esi, edx
xor ebx, ebx
push edi
push ebx
mov edi, ecx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x30]
shl eax, 2
push eax
call fcn.0042c6fa
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0x34]
shl eax, 2
push ebx
push eax
call fcn.0042c6fa
mov eax, dword [esi + 0x10]
mov ecx, edi
mov edx, dword [esi + 0x2c]
shl eax, 4
push ebx
push eax
call fcn.0042c6fa
mov eax, dword [esi + 0x18]
mov ecx, edi
mov edx, dword [esi + 0x38]
shl eax, 2
push ebx
push eax
call fcn.0042c6fa
imul eax, dword [esi + 0x20], 0xc
mov ecx, edi
mov edx, dword [esi + 0x3c]
push ebx
push eax
call fcn.0042c6fa
mov eax, dword [esi + 0xc]
mov ecx, edi
mov edx, dword [esi + 0x40]
shl eax, 3
push ebx
push eax
call fcn.0042c6fa
push ebx
push 0x50
mov edx, esi
mov ecx, edi
call fcn.0042c6fa
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x42a5be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 8], esi
call fcn.0043d0c1
xor edi, edi
xorps xmm1, xmm1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 1], al
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
movzx eax, byte [esi]
test byte [eax + 0x4af261], 8
je 0x42a618
inc esi
movzx eax, byte [esi]
test byte [eax + 0x4af261], 8
jne 0x42a608
mov dword [ebp - 8], esi
lea ecx, [ebp - 8]
call fcn.0042a5a3
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp byte [edx], 0x30
jne 0x42a740
mov cl, byte [edx + 1]
cmp cl, 0x78
je 0x42a640
cmp cl, 0x58
jne 0x42a740
mov al, byte [ebp - 1]
add edx, 2
mov esi, edi
mov cl, byte [edx]
cmp cl, al
jne 0x42a655
test esi, esi
jne 0x42a6a5
inc esi
jmp 0x42a6a2
movzx eax, cl
test byte [eax + 0x4af261], 0x10
je 0x42a6a5
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42a672
cmp cl, 0x30
jne 0x42a672
inc dword [ebp - 0x14]
jmp 0x42a69a
inc eax
mov dword [ebp - 0x10], eax
cmp eax, 0x1e
jg 0x42a699
movsx ecx, cl
call fcn.0042a58f
mulsd xmm1, qword [0x4b4448]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x42a69a
inc edi
mov al, byte [ebp - 1]
test esi, esi
je 0x42a6a2
dec edi
inc edx
jmp 0x42a648
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edi
push 0
pop edi
add eax, ecx
je 0x42a740
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov esi, eax
mov al, byte [edx]
shl esi, 2
cmp al, 0x70
je 0x42a6d0
cmp al, 0x50
jne 0x42a719
inc edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
call fcn.0042a5a3
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x4af261], 2
je 0x42a740
imul ecx, edi, 0xa
movsx edi, al
add edi, 0xffffffd0
add edi, ecx
inc edx
movzx eax, byte [edx]
test byte [eax + 0x4af261], 2
mov al, byte [edx]
jne 0x42a6f0
cmp dword [ebp - 0x1c], 0
je 0x42a712
neg edi
mov eax, dword [ebp - 0x18]
add esi, edi
mov dword [eax], edx
cmp dword [ebp - 0x24], 0
je 0x42a726
xorps xmm1, xmmword [0x4b44b0]
push esi
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00442d2d
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
add esp, 0xc
jmp 0x42a743
xorps xmm0, xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret