joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c410
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004597d0
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4793a8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x43c5e8
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x43c537
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x43c537
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x43c515
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x43c499
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43c5a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x43c608
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x43c5e3
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x43c608
jmp 0x43c472
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
Function at 0x43c620
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.004597d0
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x4793a8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x43c80b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x43c756
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x43c756
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x43c732
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x43c6a9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43c7c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x43c82b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x43c806
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x43c82b
jmp 0x43c682
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
Function at 0x43f980
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20a
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.00412c00
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0x104
ja 0x43f9e3
lea edx, [ebp - 0x210]
push edx
call fcn.0043f930
add esp, 4
jmp 0x43fac1
push 0x25
push str.minkernelcrtsucrt_srcdesktopcrtmiscdrive.cpp
push 2
push 2
mov eax, dword [ebp - 0x218]
add eax, 1
push eax
call fcn.00426790
add esp, 0x14
push eax
lea ecx, [ebp - 0x214]
call fcn.00418270
lea ecx, [ebp - 0x214]
call fcn.00417160
test eax, eax
jne 0x43fa43
call fcn.0042d7e0
mov dword [eax], 0xc
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x214]
call fcn.00418290
mov eax, dword [ebp - 0x21c]
jmp 0x43fac1
lea ecx, [ebp - 0x214]
call fcn.00417160
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 1
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x43fa96
call fcn.0042d7e0
mov dword [eax], 0xc
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x214]
call fcn.00418290
mov eax, dword [ebp - 0x224]
jmp 0x43fac1
lea ecx, [ebp - 0x214]
call fcn.00417160
push eax
call fcn.0043f930
add esp, 4
mov dword [ebp - 0x228], eax
lea ecx, [ebp - 0x214]
call fcn.00418290
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret
Function at 0x44bcc0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00418270
lea ecx, [ebp - 4]
call fcn.0044bc90
movzx eax, al
test eax, eax
jne 0x44bcfd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x18]
jmp 0x44be25
lea ecx, [ebp - 4]
call fcn.00417160
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.00417160
push eax
push 0
push 0
call fcn.004484d0
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44bd63
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x20]
jmp 0x44be25
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00426950
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.0040fe50
lea ecx, [ebp - 8]
call fcn.004103a0
movzx edx, al
test edx, edx
jne 0x44bdac
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00410380
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x24]
jmp 0x44be25
lea ecx, [ebp - 8]
call fcn.0040fec0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.00417160
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.004484d0
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x44be07
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00410380
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x34]
jmp 0x44be25
lea ecx, [ebp - 8]
call fcn.004182b0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00410380
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x44be30
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.00418270
lea ecx, [ebp - 4]
call fcn.0044bbd0
movzx eax, al
test eax, eax
jne 0x44be6d
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x14]
jmp 0x44bf27
lea ecx, [ebp - 4]
call fcn.00417160
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0044bc50
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.00426950
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00418270
lea ecx, [ebp - 8]
call fcn.00432340
movzx ecx, al
test ecx, ecx
jne 0x44bedd
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.00418290
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x1c]
jmp 0x44bf27
lea ecx, [ebp - 4]
call fcn.00417160
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.00417160
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00412680
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.004182b0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.00418290
lea ecx, [ebp - 4]
call fcn.0044bbb0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x454b80
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x1a
jbe 0x454c16
call fcn.0042d7b0
mov dword [eax], 0xf
xor eax, eax
je 0x454bb0
mov dword [ebp - 0x14], 1
jmp 0x454bb7
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
jne 0x454be6
push str.__Invalid_Drive_Index___0_
push 0x45d450
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push 2
call fcn.00416b40
add esp, 0x18
cmp eax, 1
jne 0x454be6
int3
cmp dword [ebp - 0x18], 0
jne 0x454c16
call fcn.0042d7e0
mov dword [eax], 0xd
push 0
push 0x1f
push str.minkernelcrtsucrt_srcdesktopcrtmiscgetcwd.cpp
push str.is_valid_drive
push str.__Invalid_Drive_Index___0_
call fcn.004173a0
add esp, 0x14
xor eax, eax
jmp 0x454c6f
cmp dword [ebp + 8], 0
jne 0x454c23
mov eax, 1
jmp 0x454c6f
mov eax, dword [ebp + 8]
add eax, 0x40
mov word [ebp - 0x10], ax
mov cx, word [ebp - 0x10]
mov word [ebp - 0xc], cx
mov edx, 0x3a
mov word [ebp - 0xa], dx
mov eax, 0x5c
mov word [ebp - 8], ax
xor ecx, ecx
mov word [ebp - 6], cx
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x454c66
cmp dword [ebp - 0x1c], 1
jne 0x454c6a
xor eax, eax
jmp 0x454c6f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret

Function at 0x456900
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00427620
lea ecx, [ebp - 0x34]
call fcn.00427620
call fcn.00427750
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426e70
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x456953
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.004276b0
lea ecx, [ebp - 0x4c]
call fcn.004276b0
mov eax, dword [ebp - 8]
jmp 0x4569c8
call fcn.00427750
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00426e70
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45698e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.004276b0
lea ecx, [ebp - 0x4c]
call fcn.004276b0
mov eax, dword [ebp - 0x10]
jmp 0x4569c8
lea ecx, [ebp - 0x34]
call fcn.00427b20
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00427b20
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.004276b0
lea ecx, [ebp - 0x4c]
call fcn.004276b0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x402c18
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
lea eax, [esp + 8]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
fst dword [edi + 0x50]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00402402
test al, al
je 0x402ce1
mov ecx, dword [ebx + 0x60]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
or dword [esp + 0x10], 0xffffffff
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
mov dl, byte [edi + 0x90]
movzx eax, dl
cmp eax, 0x11
jle 0x43c631
sub eax, 0x13
je 0x43cb48
dec eax
je 0x43cb07
dec eax
dec eax
je 0x43ca8e
sub eax, 5
jne 0x43ca78
push edi
push ecx
call fcn.00401b41
push dword [edi]
call dword [0x48f63c]
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x44], 0
jne 0x402ce5
cmp dword [edi + 0x64], 0
jne 0x402cf0
jg 0x402d19
add byte [ebp + 0x38], dh
cmp dword [edi + 0x68], 0
jne 0x402cfb
add byte [ebp + 0x3d], dh
cmp dword [edi + 0x50], 0
jne 0x402d06
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x1c]
je 0x402d11
push eax
mov ecx, ebx
call fcn.0040246d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x402cd8
push dword [edi + 0x44]
call dword [0x48f0c8]
jmp 0x402cb2
push dword [edi + 0x64]
call dword [0x48f0c8]
jmp 0x402cb8
push dword [edi + 0x68]
call dword [0x48f73c]
jmp 0x402cbe
push dword [edi + 0x50]
call dword [0x48f63c]
jmp 0x402cc4
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
jmp 0x402ccd
mov bl, 0x55
jmp [edx + 1]
push 0x8d1101
push dword [edi + 0x34]
rcl byte [0xe048f688], 0xe9
xor byte [edx - 4], ah
dec dword [eax + 0x48]
jne 0x402cb3
test dword [eax], esp
invalid
push ecx
push edi
mov ecx, ebx
call fcn.0048a6d7
jmp 0x402cbb
test al, 0x61
cld
inc dword [esi + 0x3b]
mov bl, 0x84
add byte [ebx], bh
add byte [edi], cl
invalid
jmp [edx - 0xa]
Function at 0x402c2b
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
lea eax, [esp + 8]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
fst dword [edi + 0x50]
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00402402
test al, al
je 0x402ce1
mov ecx, dword [ebx + 0x60]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
or dword [esp + 0x10], 0xffffffff
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0xc], ecx
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
mov dword [esp + 0x1c], edi
mov dl, byte [edi + 0x90]
movzx eax, dl
cmp eax, 0x11
jle 0x43c631
sub eax, 0x13
je 0x43cb48
dec eax
je 0x43cb07
dec eax
dec eax
je 0x43ca8e
sub eax, 5
jne 0x43ca78
push edi
push ecx
call fcn.00401b41
push dword [edi]
call dword [0x48f63c]
mov esi, dword [esp + 0xc]
cmp dword [edi + 0x44], 0
jne 0x402ce5
cmp dword [edi + 0x64], 0
jne 0x402cf0
jg 0x402d19
add byte [ebp + 0x38], dh
cmp dword [edi + 0x68], 0
jne 0x402cfb
add byte [ebp + 0x3d], dh
cmp dword [edi + 0x50], 0
jne 0x402d06
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x1c]
je 0x402d11
push eax
mov ecx, ebx
call fcn.0040246d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x402cd8
push dword [edi + 0x44]
call dword [0x48f0c8]
jmp 0x402cb2
push dword [edi + 0x64]
call dword [0x48f0c8]
jmp 0x402cb8
push dword [edi + 0x68]
call dword [0x48f73c]
jmp 0x402cbe
push dword [edi + 0x50]
call dword [0x48f63c]
jmp 0x402cc4
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
jmp 0x402ccd
mov bl, 0x55
jmp [edx + 1]
push 0x8d1101
push dword [edi + 0x34]
rcl byte [0xe048f688], 0xe9
xor byte [edx - 4], ah
dec dword [eax + 0x48]
jne 0x402cb3
test dword [eax], esp
invalid
push ecx
push edi
mov ecx, ebx
call fcn.0048a6d7
jmp 0x402cbb
test al, 0x61
cld
inc dword [esi + 0x3b]
mov bl, 0x84
add byte [ebx], bh
add byte [edi], cl
invalid
jmp [edx - 0xa]

Function at 0x40506b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
in al, dx
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43ddf6
test dword [ecx - 0x73], edi
add eax, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425812
add esp, 0x10
mov esp, ebp
in al, dx
adc byte [ecx - 0xaeafae], bl
push esi
adc al, 0x8b
inc ebp
clc
pop edi
pop esi
jmp 0x405078

Function at 0x40506d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
in al, dx
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x43ddf6
test dword [ecx - 0x73], edi
add eax, dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425812
add esp, 0x10
mov esp, ebp
in al, dx
adc byte [ecx - 0xaeafae], bl
push esi
adc al, 0x8b
inc ebp
clc
pop edi
pop esi
jmp 0x405078
Function at 0x40fe40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
Function at 0x415e58
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle fcn.00415e80
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x415e72

Function at 0x41710e
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
mov eax, edx
mov dword [ebp - 0x120], ecx
mov ecx, dword [ecx]
mov dword [ebp - 0x140], eax
push ebx
mov edx, dword [eax]
mov eax, ecx
shr eax, 0xb
and eax, 1
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x3c], eax
mov eax, ecx
shr eax, 9
push esi
mov esi, dword [ebp + 8]
and eax, 1
mov dword [ebp - 0xdc], eax
xor eax, 1
push edi
xor edi, edi
mov dword [ebp - 0xe8], eax
mov esi, dword [esi]
mov ebx, edi
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x2c], eax
movsx eax, cl
and eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xb4], 0xff
mov dword [ebp - 0x12c], 0xfc00
mov dword [ebp - 0x148], 0xdc00
mov dword [ebp - 0x158], 0x2b
mov dword [ebp - 0x128], 0x7b
mov dword [ebp - 0xe4], 0x30
mov dword [ebp - 0x118], 0x29
mov dword [ebp - 0x90], 0x39
mov dword [ebp - 0x110], 0x3c
mov dword [ebp - 0x144], 0x52
mov dword [ebp - 0xe0], 0x27
mov dword [ebp - 0x154], 0x2d
mov dword [ebp - 0x100], 0x10
mov dword [ebp - 0x114], 0x17
mov dword [ebp - 0x14c], 0x20
mov dword [ebp - 0x104], 0x1d
mov dword [ebp - 0x134], 0x1e
mov dword [ebp - 0x10c], 0x1f
mov dword [ebp - 0x13c], 0x6e
mov dword [ebp - 0x11c], 0x6f
mov dword [ebp - 0x150], 0x70
mov dword [ebp - 0x124], 0x71
mov dword [ebp - 0xfc], 0x73
mov dword [ebp - 0x108], 0xf

Function at 0x418305
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, 0xff
mov dword [ebp - 0xc], edx
mov ebx, edi
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x418391
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov ebx, eax
jmp 0x418322