joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1019feac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1e25
xor ebx, ebx
mov dword [0x101ac570], 0
mov dword [0x101ac574], 0
mov dword [0x101ac580], 0
mov dword [0x101ac568], 0xfa3
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
jne 0x1019ff4b
mov eax, dword [ebp - 0x28]
mov dword [0x101ac568], eax
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x101ac570]
mov ecx, dword [0x101ac574]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x2c], eax
jmp 0x1019ff4b
mov eax, dword [0x101ac568]
add eax, 0xe82
mov dword [ebp - 0x28], eax
jmp 0x1019ff13
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add eax, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101ac570], edx
mov dword [0x101ac568], 0x3264
mov ebx, dword [ebp - 0x24]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101ac574], edx
mov ecx, dword [0x101ac56c]
add ecx, 0xfffff82b
mov dword [0x101ac56c], ecx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101ac578], cl
mov dword [0x101ac568], 0x26b4
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101ac56c], 0x112a
mov cl, byte [0x101ac578]
mov edx, dword [0x101ac574]
mov byte [ebx + edx], cl
mov edx, dword [0x101ac570]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101ac574]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101ac56c], 0x55d
and ecx, 0xff
mov dword [0x101ac580], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x101ac568], 0x65f
mov dword [0x101ac56c], 0xffffdf97
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x30], edi
je 0x1019ff3c
jmp 0x1019ff23
Function at 0x101a0047
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x101ac568]
mov esi, edx
add esi, 0xffffdde0
mov dword [0x101ac56c], esi
add edx, 0xffffe928
mov dword [0x101ac568], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1019f770
lea ecx, [0x1019f4f5]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x3c], 0x137c00
mov edx, dword [0x101ac554]
mov dword [esp + 0x40], edx
mov edx, dword [0x101ac558]
mov dword [esp + 0x84], edx
mov edx, dword [0x101ac55c]
mov dword [esp + 0x80], edx
mov edx, dword [0x101ac560]
mov dword [esp + 0x70], edx
mov dword [0x101ac568], 0x5bd
mov edx, dword [0x101ac564]
mov dword [esp + 0x30], edx
mov dword [0x101ac56c], 0xfffff4b2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101a0115
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101a0129
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101a00f2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x88], edx
mov dword [0x101ac568], 0xe1c
call fcn.1019f272
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x101a0186
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1019fa59
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows
Set current directory

Disassembly:
sub esp, 0x400
lea eax, [esp]
push 0x400
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push 0x5c
push ecx
call fcn.00401090
add esp, 8
test eax, eax
je 0x401039
lea edx, [esp]
mov byte [eax], 0
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [str.AbleBook.exe]
push ebx
push esi
push edi
test eax, eax
je 0x40107b
mov edi, dword [esp + 0x418]
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, 0x405030
mov esi, eax
mov eax, dword [eax]
push 5
push 0
push edi
push eax
push str.open
push 0
call ebx
cmp eax, 0x20
jg 0x40107b
mov ecx, dword [esi + 4]
add esi, 4
test ecx, ecx
mov eax, esi
jne 0x401059
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x400
ret 0x10

Function at 0x40213d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4052c8
cmp edx, dword [eax]
je 0x40215f
add eax, 8
inc ecx
cmp eax, 0x405358
jl 0x402150
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4052c8]
jne 0x40228d
mov eax, dword [0x405588]
cmp eax, 1
je 0x402267
test eax, eax
jne 0x402190
cmp dword [0x405118], 1
je 0x402267
cmp edx, 0xfc
je 0x40228d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4021c7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004026a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402810
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40220a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402810
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404380
push edi
call fcn.004034a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004026a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004026b0
lea eax, [ebp - 0xa0]
push 0x404360
push eax
call fcn.004026b0
push dword [esi + 0x4052cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004026b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040340e
add esp, 0x2c
pop edi
jmp 0x40228d
lea eax, [ebp + 8]
lea esi, [esi + 0x4052cc]
push 0
push eax
push dword [esi]
call fcn.00402810
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4021a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
mov eax, dword [0x421004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00405d00
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x110]
add esp, 0xc
push eax
push 0x104
push 0xd
push 0x3ec
push dword [0x4225ec]
call esi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402200
sub ecx, edx
jne 0x40221c
push 0x30
push str.Error
push str.You_havent_entered_a_process_path.
jmp 0x4023d5
lea eax, [ebp - 0x110]
push 0x41efd8
push eax
call fcn.004077d7
add esp, 8
test eax, eax
je 0x402396
push eax
call fcn.00407865
lea ecx, [ebp - 0x110]
add esp, 4
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402250
sub ecx, edx
cmp ecx, 4
jb 0x402388
lea ebx, [ecx - 4]
cmp ebx, ecx
jae 0x4022d1
mov eax, str..exe
sub eax, ebx
mov dword [ebp - 0x914], eax
nop word [eax + eax]
movsx eax, byte [eax + ebx]
movsx edi, byte [ebp + ebx - 0x110]
push eax
call fcn.00407a70
add esp, 4
mov esi, eax
push edi
call fcn.00407a70
add esp, 4
inc ebx
cmp eax, esi
jne 0x402388
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022b2
sub eax, edx
cmp ebx, eax
mov eax, dword [ebp - 0x914]
jb 0x402280
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x110]
push eax
call fcn.004042b0
test eax, eax
je 0x40236d
mov eax, dword [0x4225f0]
xorps xmm0, xmm0
movlpd qword [ebp - 0x944], xmm0
movlpd qword [ebp - 0x938], xmm0
movlpd qword [ebp - 0x930], xmm0
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 4]
lea eax, [ebp - 0x110]
mov dword [ebp - 0x93c], eax
lea eax, [ebp - 0x950]
push eax
push 0
push 0x1007
sar ecx, 2
push 0x3e9
push dword [0x4225ec]
dec ecx
movlpd qword [ebp - 0x928], xmm0
movlpd qword [ebp - 0x920], xmm0
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x950], 1
mov dword [ebp - 0x94c], ecx
mov dword [ebp - 0x948], 0
call esi
push eax
call edi
push 0x41ec08
push 0
push 0xc
push 0x3ec
push dword [0x4225ec]
call esi
push eax
call edi
jmp 0x4023e1
push 0x30
push str.Error
push str.The_specified_file_is_not_an_Exectuable_File__.exe_
jmp 0x4023d5
push 0x800
lea eax, [ebp - 0x910]
push 0
push eax
call fcn.00405d00
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x910]
push str.File:__r_n_s_r_nDoes_not_exist__or_is_inaccessible.
push eax
call fcn.00401040
add esp, 0xc
lea eax, [ebp - 0x910]
push 0x30
push str.Error
push eax
push dword [0x4225ec]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.00403b10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004047c0
mov esp, ebp
pop ebp
ret
Function at 0x414208
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041407e

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40dbc9
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x444158]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x40dbee
xor eax, eax
jmp 0x40dcbe
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x40dc1c
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x40dc1c
lea ecx, [ebp - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x40dcbd
cmp dword [esi + 0x4c], 0
je 0x40dcbb
mov ecx, esi
call fcn.0040b456
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x40dc48
push dword [esi + 0x4c]
push eax
call fcn.0040a279
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x40dcbb
mov byte [esp + 0x10], al
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x40dc8c
sub eax, 1
je 0x40dc8c
dec eax
sub eax, 1
jne 0x40dcbb
push dword [esi + 0x4c]
push dword [esp + 0x14]
jmp 0x40dc3a
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
sub ebp, eax
je 0x40dcab
push dword [esi + 0x4c]
push ebp
push 1
push eax
call fcn.004189a6
add esp, 0x10
cmp ebp, eax
jne 0x40dcbb
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x18], eax
mov eax, ebx
jne 0x40dcbd
mov eax, edi
pop ebp
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410737
add esp, 0x30
ret 4
Function at 0x40e200
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
test ebp, ebp
jg 0x40e225
jl 0x40e21c
test ebx, ebx
jne 0x40e225
xor eax, eax
xor edx, edx
jmp 0x40e2ea
cmp dword [esi + 0x38], 0
je 0x40e23b
push ebp
push ebx
push dword [esp + 0x1c]
call fcn.00404d5f
jmp 0x40e2ea
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x40e281
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x40e281
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x18]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.004032c4
mov ecx, dword [esp + 0x1c]
add edi, esi
mov dword [esp + 0x24], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x40e289
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x4c], 0
je 0x40e2e0
mov ecx, esi
call fcn.0040b456
mov ecx, dword [esp + 0x18]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x40e2cb
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.004183a0
mov ecx, dword [esp + 0x28]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x18], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x40e2e0
jmp 0x40e29c
test edx, edx
je 0x40e2e0
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.004183a0
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb ebp, 0
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x40e2f1
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x40e313
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00404e4c
jmp 0x40e3e5
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x40e340
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x40e346
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x40e3ae
jg 0x40e35d
test esi, esi
je 0x40e3ae
test ecx, ecx
jl 0x40e3a8
jg 0x40e367
test eax, eax
je 0x40e3a8
cmp edi, ecx
jg 0x40e37b
jl 0x40e371
cmp esi, eax
jae 0x40e37b
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call fcn.004032c4
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x40e3b2
mov ebp, dword [esp + 0x28]
jmp 0x40e3bc
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x40e3d6
jg 0x40e3bc
test esi, esi
je 0x40e3d6
cmp dword [ebx + 0x4c], 0
je 0x40e3d6
push dword [ebx + 0x4c]
push esi
push 1
push ebp
call fcn.004189a6
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x40e53b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10c
mov eax, 0x430d2a
call fcn.004107aa
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], eax
call fcn.0040e484
mov ebx, eax
test ebx, ebx
je 0x40e628
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push dword [esi + 0x38]
call edi
test eax, eax
jne 0x40e5de
push 0x434cb4
lea ecx, [ebp - 0x28]
call fcn.00401ca2
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0040e4a2
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.004090c2
push 0x4325e4
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x80]
call fcn.00407da2
mov esi, eax
push 0x46
push 0x434c10
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x74]
push 0x434c28
jmp 0x40e692
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [esi + 0x34], 6
mov edi, eax
jne 0x40e60f
mov edx, dword [esi + 0x18]
mov ecx, edi
and edx, 0xf
jbe 0x40e605
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edx, 1
jne 0x40e5f7
movzx eax, word [ecx]
lea edi, [ecx + 2]
add eax, eax
jmp 0x40e619
push ebx
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov eax, edi
call fcn.00410759
ret 4
push 0x434c9c
lea ecx, [ebp - 0x28]
call fcn.00401ca2
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
mov ecx, esi
push eax
call fcn.0040e4a2
push eax
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
call fcn.004090c2
push 0x4325e4
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x74]
call fcn.00407da2
mov esi, eax
push 0x41
push 0x434c10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push 0x434c28
call fcn.00401d7d
push eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00401962
add esp, 0xc
lea eax, [ebp - 0x4c]
push 0x441054
push eax
call fcn.00413602
int3

Function at 0x4112ac
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4112eb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4112eb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4112eb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4112eb
cmp dword [ecx + 0x74], 0xe
jbe 0x4112eb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x422c7b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00422af1

Function at 0x428592
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042820f

Function at 0x42ea20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ea4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ea4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x474631b9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x71316923
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4017e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00401900
add esp, 4
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401900
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.00401900
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401900
add esp, 4
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00401970
add esp, 0x14
push eax
lea ecx, [ebp - 8]
call fcn.00401450
lea ecx, [ebp - 0xc]
call fcn.00401a20
mov dword [ebp - 0x10], 0x401740
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
lea ecx, [ebp - 8]
call fcn.00401b00
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
call fcn.00407291
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x40187a
lea ecx, [ebp - 8]
call fcn.00401d90
jmp 0x40188b
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
push 6
call fcn.004026ba
lea ecx, [ebp - 8]
call fcn.00401a20
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403688
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4036c7
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4036c7
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4036c7
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4036c7
cmp dword [ecx + 0x74], 0xe
jbe 0x4036c7
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x414290
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4142bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4142bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4019b1
Capabilities:
Encode data using xor

Disassembly:
and eax, 0xf25310ab
adc bh, dl
popfd
shl dword [edx + 0x2d], 0xb9
dec edi
inc ebp
test dword [ebx - 0x4c], eax
bound ebx, qword [edi - 0x56]
push cs
or byte [eax + edx*4 + 0x6e], 0x8b
cmp edx, edx
xchg ebx, eax
add byte [edi + 0x5d22834d], 0x46
and bl, byte [ebp + 0x46]
test bl, dh
xor edx, dword [ebx - 0x5c]
mov eax, 0xace6e96c
fadd dword [eax]
pop ebx
jne 0x4019d2
inc ebp
invalid