joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a1a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c905
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x428a48], 0xc
jl 0x40a1f8
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40a1ea
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40a217
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40a217
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n23::rg_n7826.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n23::rg_n7836.0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40a300
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c95d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x428a48], 0xc
jl 0x40a35b
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40a34d
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40a37a
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40a37a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n23::rg_n7826.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n23::rg_n7836.0
mov byte [ebp - 4], 4
mov dword [ecx], vtable.rg_n23::rg_n7836.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a7a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cabd
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x428a48], 0xc
jl 0x40a7f8
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40a7ea
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40a817
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40a817
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n23::rg_n7826.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n23::rg_n7836.0
mov byte [ebp - 4], 4
mov dword [ecx], vtable.rg_n::rg_n4.0
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40a900
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cb15
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x428a48], 0xc
jl 0x40a95b
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40a94d
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40a97a
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40a97a
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.rg_n23::rg_n7826.0
mov byte [ebp - 4], 3
mov dword [ecx], vtable.rg_n23::rg_n7836.0
mov byte [ebp - 4], 4
mov dword [ecx], vtable.rg_n::rg_n4.0
mov byte [ebp - 4], 5
mov dword [ecx], vtable.rg_n::rg_n4.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b050
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b515
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x428a48], 0xc
jl 0x40b0a8
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40b09a
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40b0c7
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40b0c7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b700
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b38d
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x428a48], 0x50
jl 0x40b758
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x40b74a
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x40b777
push 0x50
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x40b777
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
call fcn.0040c010
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x40b840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cd95
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x428a48], 0x50
jl 0x40b89d
push 0x428a4c
call fcn.00412f00
mov edi, dword [0x428a44]
add esp, 4
test edi, edi
je 0x40b88f
mov eax, dword [edi]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test edi, edi
jne 0x40b8bc
push 0x50
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x40b8bc
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.0040c010
mov byte [ebp - 4], 1
lea ecx, [edi + 0x14]
mov dword [edi], vtable.rg_n34314::rg_n34811.0
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
call dword [eax + 0x44]
mov eax, dword [ebx + 0x18]
lea ecx, [edi + 0x24]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x24]
call dword [eax + 0x44]
lea eax, [ebx + 0x24]
push eax
lea ecx, [edi + 0x24]
call fcn.00401ca0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40bc20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b665
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x428a48], 0x23c
jl 0x40bc7c
push 0x428a4c
call fcn.00412f00
mov esi, dword [0x428a44]
add esp, 4
test esi, esi
je 0x40bc6e
mov eax, dword [esi]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test esi, esi
jne 0x40bc9e
push 0x23c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40bc9e
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
push 0x230
push 0
push eax
mov dword [esi], vtable.rg_n34314::rg_n34870.0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40bd80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ce5d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x428a48], 0x23c
jl 0x40bddf
push 0x428a4c
call fcn.00412f00
mov esi, dword [0x428a44]
add esp, 4
test esi, esi
je 0x40bdd1
mov eax, dword [esi]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test esi, esi
jne 0x40be01
push 0x23c
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
jne 0x40be01
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.CVolObject.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 1
lea eax, [esi + 0xc]
push 0x230
push 0
push eax
mov dword [esi], vtable.rg_n34314::rg_n34870.0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp - 4], 2
mov dword [esi], vtable.rg_n34314::rg_n34870.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410170
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c6fd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x428a48], 0xc
jl 0x4101cb
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x4101bd
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x4101ea
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4101ea
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ecx], vtable.CVolObject.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 1
mov dword [ecx], vtable.CVolUserApp.0
mov dword [0x428a70], ecx
mov byte [ebp - 4], 2
mov dword [ecx], vtable.CVolUserApp.0
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410560
Capabilities:
Get system information on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41da5b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x42800c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x428a30], 0x422898
mov dword [0x428a38], 0x4229f0
push 0
mov dword [ebp - 0x14], 0x428a30
mov dword [0x428a4c], 1
mov dword [0x428a48], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4105d7
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea eax, [ecx + 0x400000]
mov dword [0x428a44], ecx
mov dword [0x428a40], eax
mov edx, 0x1555
mov eax, dword [0x428a48]
mov dword [0x428a3c], ecx
nop dword [eax + eax]
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x428a48]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x428a48]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x428a48]
add ecx, eax
sub edx, 1
jne 0x410600
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x428a50
mov dword [ebp - 0x18], 0x428a50
mov dword [ebp - 0x1c], 0x428a50
mov dword [0x428a50], 0x421b58
mov dword [0x428a54], edx
mov dword [0x428a58], edx
mov byte [ebp - 4], 1
mov dword [0x428a50], 0x421af4
mov dword [0x428a5c], edx
mov dword [0x428a64], edx
mov dword [0x428a60], edx
mov dword [0x428a68], 0x40
mov byte [ebp - 4], 2
mov dword [0x428a68], 0x80
mov byte [ebp - 4], 5
mov dword [0x428a6c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x428a80
mov dword [ebp - 0x20], 0x428a80
call esi
mov byte [ebp - 4], 7
mov dword [0x428a98], 0
mov byte [ebp - 4], 8
push 0x428aa4
mov dword [ebp - 0x24], 0x428aa4
call esi
mov byte [ebp - 4], 9
mov dword [0x428abc], 0x3e8
mov dword [ebp - 0x28], 0x428ad0
mov dword [ebp - 0x2c], 0x428ad0
mov dword [0x428ad0], 0x421b58
mov dword [0x428ad4], 0
mov dword [0x428ad8], 0
mov byte [ebp - 4], 0xa
mov dword [0x428ad0], 0x421af4
mov dword [0x428adc], 0
mov dword [0x428ae4], 0
mov dword [0x428ae0], 0
mov dword [0x428ae8], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x428ae8], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x428ac4], 0x3e80
mov dword [0x428ac8], 1
mov dword [0x428acc], 0
lea eax, [eax*2 + 2]
mov dword [0x428ac0], eax
mov byte [ebp - 4], 0xe
push 0x428aec
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x428b04
call fcn.00405b10
mov byte [ebp - 4], 0x10
mov dword [0x428a70], 0
mov dword [0x428b2c], 0
movsd xmm0, qword [0x422ca0]
movsd qword [0x428a78], xmm0
xorps xmm0, xmm0
mov dword [0x428b30], 0
mov dword [0x428b34], 0
mov dword [0x428b38], 0
mov dword [0x428a74], 0
movq qword [0x428a9c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x428a30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411360
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x41137f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x411455
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x411455
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x41144c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x411430
cmp edi, 1
jne 0x4113f5
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x411447
cmp edi, 2
jne 0x411408
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x411447
cmp edi, 4
jne 0x411419
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x411447
cmp edi, 8
jne 0x411430
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x411447
test edi, edi
jle 0x411447
push edi
mov ecx, esi
call fcn.004125e0
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x411790
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x428a48]
jg 0x4117cb
push 0x428a4c
call fcn.00412f00
mov ecx, dword [0x428a44]
add esp, 4
test ecx, ecx
je 0x4117bd
mov eax, dword [ecx]
mov dword [0x428a44], eax
mov dword [0x428a4c], 1
test ecx, ecx
jne 0x4117e9
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
jne 0x4117e9
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, ecx
pop esi
pop ebp
ret 4

Function at 0x411850
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x428a3c]
jb 0x4118c4
cmp esi, dword [0x428a40]
jae 0x4118c4
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x428a48]
jle 0x4118d9
push edi
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x4118dd
push dword [0x428a48]
push esi
push edi
call sub.VCRUNTIME140.dll_memcpy
push 0x428a4c
call fcn.00412f00
mov eax, dword [0x428a44]
add esp, 0x10
mov dword [esi], eax
mov dword [0x428a44], esi
mov esi, edi
mov dword [0x428a4c], 1
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
test esi, esi
jne 0x4118bd
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x412900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
je 0x4129d9
cmp word [eax], 0
je 0x4129d9
push ebx
push esi
push 0x422948
push eax
or esi, 0xffffffff
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4129ac
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push 0
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov eax, dword [ebp + 8]
add esp, 0x1c
test eax, eax
jle 0x41299b
push ebx
push eax
push 1
push eax
mov ecx, edi
call fcn.00412580
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push ebx
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x41299f
push esi
mov ecx, edi
call fcn.004125e0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
pop edi
pop ebp
ret 8
xor esi, esi
jmp 0x4129a2
or esi, 0xffffffff
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4129bb
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx + 0xc]
mov eax, esi
mov dword [edi + 0xc], 0
pop esi
pop ebx
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
pop edi
pop ebp
ret 8
or eax, 0xffffffff
pop edi
pop ebp
ret 8
Function at 0x414280
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x42800c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x17c], edx
xor edi, edi
mov edx, ecx
movzx esi, byte [edi + str.80_]
movzx ecx, byte [edi + 0x41fb21]
mov eax, esi
shr eax, 3
and esi, 7
movzx eax, byte [eax + edx]
test byte [esi*2 + 0x41fa10], al
setne al
mov byte [ebp + edi - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x41fa10], al
movzx ecx, byte [edi + 0x41fb22]
setne al
mov byte [ebp + edi - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x41fa10], al
movzx ecx, byte [edi + 0x41fb23]
setne al
mov byte [ebp + edi - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + edx]
test byte [ecx*2 + 0x41fa10], al
setne al
mov byte [ebp + edi - 0x39], al
add edi, 4
cmp edi, 0x38
jl 0x4142a0
mov ecx, 0x1e
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop dword [eax]
cmp dword [ebp - 0x17c], 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0xf4]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0xf0]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x41fd60]
mov dword [edi], 0
cmp ecx, 0x1c
jge 0x41437d
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x414381
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x414372
movzx eax, byte [ebx + 0x41fd60]
mov ecx, 0x1c
add eax, ecx
nop word [eax + eax]
cmp eax, 0x38
jge 0x4143ab
mov dl, byte [ebp + eax - 0x3c]
jmp 0x4143af
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x4143a0
xor eax, eax
nop dword [eax]
movzx ecx, byte [eax + 0x41f9e0]
cmp byte [ebp + ecx - 0x74], 0
je 0x4143d7
mov ecx, dword [eax*4 + 0x41f780]
or dword [edi], ecx
movzx ecx, byte [eax + 0x41f9f8]
cmp byte [ebp + ecx - 0x74], 0
je 0x4143ee
mov ecx, dword [eax*4 + 0x41f780]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x4143c0
mov ecx, dword [ebp - 0x178]
inc ebx
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x414340
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop dword [eax]
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], edx
jne 0x414430
mov ecx, 0x20
lea esi, [ebp - 0x174]
mov edi, 0x428b40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a23c
mov esp, ebp
pop ebp
ret