joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447806
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x461e50]
push ebx
push esi
push edi
mov edi, ecx
push str.pictitleallbk.bmp
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], eax
mov byte [edi + 0xcc], 0
call dword [0x44e6e0]
mov dword [esp + 0x54], 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
lea ebx, [edi + 8]
push ecx
mov ecx, ebx
call fcn.00428240
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
je 0x426e6e
mov eax, dword [ecx + 0x24]
test eax, eax
jne 0x426f45
mov edx, dword [esp + 0x5c]
push 1
push 1
push 0
push edx
call dword [sym.imp.dmcommon.dll_LoadImageFromFile]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x426f62
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
call fcn.0041fb30
mov dword [eax], esi
push ebp
push str.pictitleallbk
lea ecx, [esp + 0x18]
call dword [0x44e6e0]
mov byte [esp + 0x58], 1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x64]
lea ebx, [edi + 0x30]
push eax
mov ecx, ebx
call fcn.00428240
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x14]
call dword [0x44e720]
mov eax, dword [edi + 0x38]
mov ecx, dword [esp + 0x60]
cmp ecx, eax
je 0x426f08
mov ebp, dword [ecx + 0x24]
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0
push 0
push esi
push 3
mov ecx, ebp
call fcn.0041d140
test ebp, ebp
jne 0x426fb0
push 0x48
call sub.MFC71.DLL_operator_new
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
mov byte [esp + 0x58], 2
test ebp, ebp
je 0x426f78
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push eax
push 0
push 0
push esi
push 3
mov ecx, ebp
call fcn.0041d270
mov ebp, eax
jmp 0x426f7a
mov ecx, dword [esp + 0x5c]
push 1
push 1
push eax
push ecx
call dword [sym.imp.dmcommon.dll_LoadImageFromFile]
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x426e9a
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [0x44e720]
xor al, al
jmp 0x426fed
xor ebp, ebp
mov byte [esp + 0x58], 0
push str.pictitleallbk
lea ecx, [esp + 0x18]
call dword [0x44e6e0]
mov byte [esp + 0x58], 3
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00424e60
mov dword [eax], ebp
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x14]
call dword [0x44e720]
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x426fbf
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.0041d400
or eax, 0xffffffff
mov dword [edi + 0xbc], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xb8], eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x30]
call dword [0x44e720]
mov al, 1
pop ebp
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
call fcn.00443e74
add esp, 0x4c
ret 4
Function at 0x428910
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x447a92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x461e50]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x4c], eax
call dword [0x44e71c]
mov dword [esp + 0x58], 0
push 0x44ec9e
lea ecx, [esp + 0x18]
call dword [0x44e6e0]
mov byte [esp + 0x58], 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00428240
mov byte [esp + 0x58], 0
lea ecx, [esp + 0x14]
call dword [0x44e720]
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
je 0x4289ff
mov edi, dword [ecx + 0x24]
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x4289f0
mov eax, dword [esi + 0x20]
mov ebp, 0x10
cmp eax, ebp
jb 0x4289a5
mov eax, dword [esi + 0xc]
jmp 0x4289a8
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
push str.____
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
cmp dword [esi + 0x3c], ebp
jb 0x4289cc
mov eax, dword [esi + 0x28]
jmp 0x4289cf
lea eax, [esi + 0x28]
push eax
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
push 0x452a54
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
mov esi, dword [esi]
cmp esi, dword [edi + 8]
jne 0x428994
push 0x452a54
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
mov eax, dword [ebx + 8]
mov ebp, dword [eax]
cmp ebp, eax
je 0x428abc
lea esp, [esp]
lea esi, [ebp + 8]
push 0x44ec9e
push esi
call dword [0x44e708]
add esp, 8
test al, al
je 0x428ab0
push 0x451680
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
push esi
lea ecx, [esp + 0x34]
call dword [0x44e6c4]
push 0x452c00
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
mov edi, dword [ebp + 0x24]
mov eax, dword [edi + 8]
mov esi, dword [eax]
cmp esi, eax
je 0x428aa1
nop
lea edx, [esi + 8]
push edx
lea ecx, [esp + 0x34]
call dword [0x44e6c4]
push str.____
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x34]
call dword [0x44e6c4]
push 0x452a54
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
mov esi, dword [esi]
cmp esi, dword [edi + 8]
jne 0x428a60
push 0x452a54
lea ecx, [esp + 0x34]
call dword [0x44e6d8]
mov ebp, dword [ebp]
cmp ebp, dword [ebx + 8]
jne 0x428a10
mov ecx, dword [esp + 0x60]
push 0x452608
push ecx
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x428aeb
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
call dword [0x44e720]
xor al, al
jmp 0x428b27
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x428afa
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x44]
push esi
push edx
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x14
mov dword [esp + 0x58], 0xffffffff
lea ecx, [esp + 0x30]
call dword [0x44e720]
mov al, 1
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x40]
pop ebx
call fcn.00443e74
add esp, 0x4c
ret 4
Function at 0x429fc0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x19008
call fcn.00443ff0
mov eax, dword [0x461e50]
mov dword [esp + 0x19004], eax
mov eax, dword [esp + 0x1900c]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 4], ecx
jne 0x42a000
xor al, al
pop ebx
mov ecx, dword [esp + 0x19004]
call fcn.00443e74
add esp, 0x19008
ret 4
push esi
push 0x452604
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x42a02f
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x19004]
call fcn.00443e74
add esp, 0x19008
ret 4
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_fseek]
push edi
push 2
push ebx
push esi
call ebp
push esi
call dword [sym.imp.MSVCR71.dll_ftell]
mov edi, eax
add esp, 0x10
cmp edi, ebx
jl 0x42a051
jne 0x42a076
mov bl, 1
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
mov ecx, dword [esp + 0x19014]
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
call fcn.00443e74
add esp, 0x19008
ret 4
push ebx
push ebx
push esi
call ebp
push esi
push 0x19000
lea eax, [esp + 0x28]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x1c
cmp eax, edi
jne 0x42a051
push esi
mov byte [esp + edi + 0x18], bl
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00429a10
mov bl, al
jmp 0x42a05b
Function at 0x439420
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x461e50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
push eax
push 6
lea ecx, [esp + 8]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
cmp eax, 6
jne 0x43947c
mov eax, dword [str.LRSK]
push 4
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.MSVCR71.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x43947c
mov ax, word [esp + 4]
cmp al, 1
jne 0x43947c
test ah, ah
jne 0x43947c
mov ecx, dword [esp + 8]
call fcn.00443e74
add esp, 0xc
ret
mov ecx, dword [esp + 8]
xor al, al
call fcn.00443e74
add esp, 0xc
ret

Function at 0x43a2a0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x448f89
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x461e50]
push ebx
push esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x64]
push 0x452604
push eax
mov ebx, ecx
mov byte [esp + 0x13], 0
call dword [sym.imp.MSVCR71.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0xc], esi
jne 0x43a2ee
xor al, al
jmp 0x43a461
push ebp
push esi
call fcn.00439420
add esp, 4
test al, al
je 0x43a44c
push edi
mov edi, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 0x14
push 1
push ebx
call edi
add esp, 0x10
cmp eax, 0x14
jne 0x43a44b
push esi
push 0x68
lea ecx, [ebx + 0x14]
push 1
push ecx
call edi
add esp, 0x10
cmp eax, 0x68
jne 0x43a44b
push esi
push 0x34
lea edx, [ebx + 0x7c]
push 1
push edx
call edi
add esp, 0x10
cmp eax, 0x34
jne 0x43a44b
mov al, byte [esp + 0x70]
test al, al
je 0x43a446
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x43a446
mov dword [esp + 0x70], 0
jle 0x43a44b
jmp 0x43a376
mov edi, dword [sym.imp.MSVCR71.dll_fread]
push esi
push 0x24
lea eax, [esp + 0x20]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x24
jne 0x43a44b
mov ecx, dword [esp + 0x38]
add ecx, eax
push ecx
call sub.MFC71.DLL_operator_new_1
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x43a44b
mov edx, dword [esp + 0x14]
mov ecx, 9
lea esi, [esp + 0x18]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [ebp + 0x24]
push 1
push ecx
call dword [sym.imp.MSVCR71.dll_fread]
mov ecx, dword [esp + 0x48]
add esp, 0x10
cmp eax, ecx
jne 0x43a437
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call dword [0x44e6e0]
mov dword [esp + 0x64], 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [ebx + 0xb0]
call fcn.0043a180
mov esi, dword [esp + 0x70]
mov dword [eax], ebp
mov ecx, dword [ebx + 0x10]
dec ecx
cmp esi, ecx
jne 0x43a40f
mov byte [esp + 0x13], 1
mov dword [esp + 0x64], 0xffffffff
lea ecx, [esp + 0x3c]
call dword [0x44e720]
mov eax, dword [ebx + 0x10]
inc esi
mov dword [esp + 0x70], esi
cmp esi, eax
mov esi, dword [esp + 0x14]
jl 0x43a370
jmp 0x43a44b
push ebp
call sub.MFC71.DLL_operator_delete_1
mov esi, dword [esp + 0x18]
add esp, 4
jmp 0x43a44b
mov byte [esp + 0x13], 1
pop edi
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov al, byte [esp + 0x13]
add esp, 4
mov byte [ebx + 0xd8], al
pop ebp
mov ecx, dword [esp + 0x54]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
pop ebx
call fcn.00443e74
add esp, 0x58
ret 8
Function at 0x43a880
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, dword [esp + 0x24]
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [0x44e0a0]
test eax, eax
jne 0x43a89f
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0xc]
push ecx
push edx
push esi
call dword [0x44e0ac]
test eax, eax
jne 0x43a8bf
pop esi
pop edi
add esp, 0x1c
ret
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
push ebx
push ebp
movzx ebp, word [eax + 6]
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [ecx + eax + 0x18]
jbe 0x43a900
lea eax, [ecx + 0x10]
mov edi, edi
mov ecx, dword [eax]
mov edx, dword [eax - 8]
cmp ecx, edx
mov esi, dword [eax - 4]
ja 0x43a8ee
mov ecx, edx
cmp edi, esi
jb 0x43a8f8
add ecx, esi
cmp edi, ecx
jbe 0x43a90a
inc ebx
add eax, 0x28
cmp ebx, ebp
jb 0x43a8e0
pop ebp
pop ebx
pop esi
xor eax, eax
pop edi
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebx
pop ebp
mov dword [edx], ebx
sub edi, esi
pop ebx
mov dword [eax], edi
pop esi
mov eax, 1
pop edi
add esp, 0x1c
ret

Function at 0x43a930
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x448fec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x461e50]
push ebp
mov ebp, dword [esp + 0x12c]
mov dword [esp + 0x118], eax
push esi
lea eax, [esp + 0x18]
push eax
push ebp
mov dword [esp + 0x14], 0
call fcn.004445b8
mov esi, eax
test esi, esi
je 0x43aa52
push edi
push esi
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov edi, eax
push edi
inc esi
push esi
push 0
push ebp
call fcn.004445b2
test eax, eax
je 0x43aa48
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.VarFileInfoTranslation
push edi
call fcn.004445ac
test eax, eax
je 0x43aa48
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [0x44e91c]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004445ac
test eax, eax
je 0x43aa48
mov edx, dword [esp + 0x14]
mov eax, edx
lea esi, [eax + 1]
jmp 0x43aa00
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43aa00
sub eax, esi
mov dword [esp + 0xc], eax
je 0x43aa48
push edx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x12c], 0
mov ecx, dword [esp + 0x138]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
mov ecx, dword [esp + 0x120]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x118]
pop ebp
call fcn.00443e74
add esp, 0x124
ret
Function at 0x43de60
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
lea edx, [edi + 1]
add ecx, 2
mov esi, 2
mov al, byte [ecx - 2]
shl al, 1
add al, byte [ecx - 1]
shl al, 1
add al, byte [ecx]
shl al, 1
add al, byte [ecx + 1]
shl al, 1
add al, byte [ecx + 2]
shl al, 1
add al, byte [ecx + 3]
shl al, 1
add al, byte [ecx + 4]
shl al, 1
add al, byte [ecx + 5]
mov byte [edx - 1], al
mov al, byte [ecx + 6]
shl al, 1
add al, byte [ecx + 7]
mov bl, byte [ecx + 8]
shl al, 1
add al, bl
mov bl, byte [ecx + 9]
shl al, 1
add al, bl
mov bl, byte [ecx + 0xa]
shl al, 1
add al, bl
mov bl, byte [ecx + 0xb]
shl al, 1
add al, bl
mov bl, byte [ecx + 0xc]
shl al, 1
add al, bl
mov bl, byte [ecx + 0xd]
shl al, 1
add al, bl
mov byte [edx], al
mov al, byte [ecx + 0xe]
mov bl, byte [ecx + 0xf]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x10]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x11]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x12]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x13]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x14]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x15]
shl al, 1
add al, bl
mov byte [edx + 1], al
mov al, byte [ecx + 0x16]
mov bl, byte [ecx + 0x17]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x18]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x19]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x1a]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x1b]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x1c]
shl al, 1
add al, bl
mov bl, byte [ecx + 0x1d]
shl al, 1
add al, bl
mov byte [edx + 2], al
add edx, 4
add ecx, 0x20
dec esi
jne 0x43de76
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
Function at 0x4434e9
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x461e50]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
xor ecx, ecx
lea eax, [esi + 0x16]
mov dl, byte [eax - 2]
mov byte [esp + ecx + 0xc], dl
mov dl, byte [eax - 1]
mov byte [esp + ecx + 0xd], dl
mov dl, byte [eax]
mov byte [esp + ecx + 0xe], dl
mov dl, byte [eax + 1]
mov byte [esp + ecx + 0xf], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x4434f6
mov ecx, dword [esi + 0x14]
shr ecx, 3
and ecx, 0x3f
cmp ecx, 0x38
mov eax, 0x38
jb 0x443534
mov eax, 0x78
sub eax, ecx
push eax
lea ebp, [esi + 0x5c]
push ebp
mov ecx, esi
call fcn.00443410
push 8
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00443410
mov ecx, dword [esp + 0x1c]
inc ecx
lea eax, [esi + 6]
mov edi, 4
lea ecx, [ecx]
mov dl, byte [eax - 2]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
mov dl, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
dec edi
jne 0x443560
xor eax, eax
mov edi, esi
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov edi, ebp
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov byte [ebp], 0x80
pop ebp
call fcn.00443e74
add esp, 0xc
ret 4
Function at 0x4b57be
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.004b583d
jae 0x4b57ca
xor ecx, ecx
call fcn.004b583d
jae 0x4b57f4
xor eax, eax
call fcn.004b583d
jae 0x4b5805
mov al, 0x10
call fcn.004b583d
adc al, al
jae 0x4b57e6
jne 0x4b5832
stosb byte es:[edi], al
jmp 0x4b57cb
call fcn.004b5849
dec ecx
loop 0x4b5811
mov eax, ebp
call fcn.004b5847
jmp 0x4b5833
lodsb al, byte [esi]
shr eax, 1
je 0x4b5859
adc ecx, 2
mov ebp, eax
jmp 0x4b5833
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.004b5847
cmp eax, 0x7d00
jae 0x4b5831
cmp eax, 0x500
jae 0x4b5832
cmp eax, 0x7f
ja 0x4b5833
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4b57cb
pop ebp
ret 8
Function at 0x415690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x483d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00476397
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00473bdd
mov eax, dword [eax]
push 0x674220
push eax
call fcn.00466544
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00476622
test bl, bl
je 0x415712
push 0x674220
lea ecx, [esp + 0xc]
call fcn.004769fe
push 0x677db0
lea ecx, [esp + 0xc]
call fcn.004769fe
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41574e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00476622
jmp 0x415819
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4157d2
lea edx, [esp + 0x7c]
push 0x677dac
push edx
call fcn.00466544
add esp, 8
test eax, eax
je 0x4157d2
lea eax, [esp + 0x7c]
push 0x677da8
push eax
call fcn.00466544
add esp, 8
test eax, eax
je 0x4157d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x415762
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00476622
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x416a70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416ad2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x416ae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x483edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x67ed44]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x416c18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x416b46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476622
xor eax, eax
jmp 0x416c8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004767ab
push esi
lea ecx, [esp + 0xc]
call fcn.00476a3a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x416c6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00416a70
test eax, eax
jne 0x416c6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00416a70
test eax, eax
jne 0x416c6d
lea eax, [esp + 0x14]
push 0x677dc4
push eax
call fcn.00467620
mov esi, eax
add esp, 8
test esi, esi
jne 0x416c4c
lea ecx, [esp + 0x14]
push 0x677dc0
push ecx
call fcn.004675a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x416c4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x416c4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047675b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x416b5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00476622
xor eax, eax
jmp 0x416c8f
mov byte [esi], 0
push 0x677dbc
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00476622
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4