joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420b4b
Capabilities:
Parse pe header

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

Function at 0x433300
Capabilities:
Parse pe header

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

Function at 0x10c75210
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10c75360
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10c75236
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c75222
add dl, dl
jne 0x10c75241
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c75294
xor eax, eax
add dl, dl
jne 0x10c7524e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10c75335
add dl, dl
jne 0x10c7525d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c75268
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c75273
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c7527e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10c7528a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10c7522d
mov eax, 1
add dl, dl
jne 0x10c752a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10c752ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c75299
sub eax, ebx
mov ebx, 1
jne 0x10c752e0
mov ecx, 1
add dl, dl
jne 0x10c752c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c752d1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c752bd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7522d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10c752f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10c75302
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10c752ee
cmp eax, 0x7d00
jae 0x10c75325
cmp eax, 0x500
jb 0x10c75320
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7522d
cmp eax, 0x7f
ja 0x10c75328
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10c7522d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10c75356
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10c7522d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4abee0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6c000]
push edi
or ebp, 0xffffffff
jmp 0x4abf02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4abf09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abef8
mov eax, 1
add ebx, ebx
jne 0x4abf1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4abf2c
jne 0x4abf4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abf4b
dec eax
add ebx, ebx
jne 0x4abf38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4abf10
add ebx, ebx
jne 0x4abf47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4abf9d
xor ecx, ecx
sub eax, 3
jb 0x4abf63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4abfd2
sar eax, 1
mov ebp, eax
jmp 0x4abf6e
add ebx, ebx
jne 0x4abf6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abf3c
inc ecx
add ebx, ebx
jne 0x4abf7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abf3c
add ebx, ebx
jne 0x4abf89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4abf7e
jne 0x4abf9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4abf7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4abfbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4abfae
jmp 0x4abefe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4abfbc
add edi, ecx
jmp 0x4abefe
pop esi
mov edi, esi
mov ecx, 0x3485
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4abfda
cmp byte [edi], 0x4a
jne 0x4abfda
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4abfdf
lea edi, [esi + 0xa7000]
mov eax, dword [edi]
or eax, eax
je 0x4ac057
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb0888]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb09dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ac00c
mov ecx, edi
jns 0x4ac03b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb09e0]
or eax, eax
je 0x4ac051
mov dword [ebx], eax
add ebx, 4
jmp 0x4ac029
call dword [esi + 0xb09f0]
mov ebp, dword [esi + 0xb09e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ac08b
sub esp, 0xffffff80
jmp 0x4177a0
Function at 0x4061e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x43c170
call fcn.0043b650
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00407f9a
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x40620c
push edi
call esi
cmp eax, 0xffffffff
jne 0x40624e
test ebx, ebx
je 0x40624b
lea ecx, [ebp - 0x18]
call fcn.00402b75
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004080a3
test al, al
push dword [ebp - 0x18]
je 0x406245
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401c54
pop ecx
mov eax, esi
jmp 0x40624e
call fcn.00401c54
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406a2b
Capabilities:
Get disk information

Disassembly:
mov eax, 0x43c23c
call fcn.0043b650
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.00401553
mov edi, dword [sym.imp.kernel32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x406af9
mov eax, SysReAllocString
cmp ebx, eax
ja 0x406a67
mov eax, ebx
add eax, eax
push eax
call fcn.0040d4da
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x406af2
cmp ebx, dword [ebp - 0x14]
ja 0x406af2
lea ecx, [ebp - 0x2c]
call fcn.00402b75
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406ada
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406acf
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.0040d4da
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x406aa5
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401c54
push esi
call fcn.00401c54
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x406afb
push esi
call fcn.00401c54
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40d4da
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40d4e9
pop dword [ebp - 0x28]
mov eax, 0x483078a5
sub eax, 0x47efa3bc
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3d858
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xfd5900d8
add ecx, 0x2a74f25
xor ebx, ebx
add ebx, eax
mov esi, 0x506d7023
sub esi, 0x50280223
add esi, dword [ebp - 0x28]
mov edx, 0x80210081
add edx, 0x1c7a17de
mov dword [ebp - 0x24], 0x89a62891
mov edi, dword [esi]
xor edi, edx
add dword [ebp - 0x20], 0xff0e2c22
mov dword [ebx], edi
add ebx, 0xbeea12e7
sub ebx, 0xbeea12e3
add esi, 4
loop 0x40d545
add eax, 0x797a2ec1
add eax, 0x86870406
mov ebx, eax
add eax, 0x91174dff
add eax, 0x6ee8b206
mov ecx, 0x41813519
sub ecx, 0x41413519
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40614b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40615a
pop dword [ebp - 0x18]
mov eax, 0xa8cd57f4
sub eax, 0xa88cf69a
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x37e2d
push 0
mov eax, 0xfbf4bb95
add eax, 0x44c2543
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x3ce53513
add ecx, 0xc31b0da4
mov edx, eax
mov ebx, 0x413bc4
add ebx, dword [ebp - 0x18]
mov esi, 0xa8b0fda9
mov dword [ebp - 0xc], 0xbab5fc93
mov edi, dword [ebx]
add dword [ebp - 8], 0x86860261
add edi, esi
xor dword [ebp - 0x10], ebx
mov dword [edx], edi
xor dword [ebp - 0x10], 0x9c6672e7
add edx, 4
add ebx, 0xbc2efecf
sub ebx, 0xbc2efecb
loop 0x4061ad
add eax, 0xeca566c4
sub eax, 0xeca46915
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
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 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00407571
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00407571
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00407571
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00407571
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00407571
mov dword [0x41203c], eax
call fcn.00407571
test eax, eax
jge 0x402550
push 8
call fcn.00407571
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00407571
pop ecx
push 1
call fcn.00407571
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00407571
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00407571
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00407571
jmp 0x402495

Function at 0x407571
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x407580
pop dword [ebp - 0x28]
mov eax, 0x369b110b
add eax, 0xc9a56475
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x39f50
push 0
mov eax, 0xb4bfa032
sub eax, 0xb47ebf5a
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xc6f43267
add ecx, 0x390c184b
mov ebx, eax
mov esi, 0x35911583
sub esi, 0x354fd9bf
add esi, dword [ebp - 0x28]
mov edx, 0x1c3a347f
sub edx, 0x90b5a307
xor dword [ebp - 0x10], ebx
mov edi, dword [esi]
mov dword [ebp - 4], 0x45132a44
xor edi, edx
add dword [ebp - 4], 0x1930aa91
mov dword [ebx], edi
xor dword [ebp - 0xc], 0x4ce3f131
add ebx, 4
add esi, 4
loop 0x4075df
add eax, 0x7d81afed
add eax, 0x827f6dae
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
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 0x8003b13
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x800438c], 0x30
mov dword [0x8004394], 0x8003424
mov dword [0x8004390], 2
mov dword [0x8004398], 0
mov dword [0x800439c], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b56
mov dword [0x80043a0], eax
mov dword [0x80043b4], 0x80041cc
mov dword [0x80043ac], 0xf
mov dword [0x80040ee], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043a4], eax
mov dword [0x80043b8], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x80040f6], ebp
mov dword [0x80043a8], eax
push 0x800438c
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x800440c], eax
push 0
push dword [0x80040ee]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x8004404], eax
push 1
push dword [0x8004404]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x8004404]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c14
xor edi, edi
lea ebx, [0x80043bc]
jmp 0x8003c2c
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c1e
jmp 0x8003c40
mov eax, dword [0x80043c4]
jmp section..htext

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 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 0x41c940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x413015
lea edi, [esi - 0x12015]
push edi
or ebp, 0xffffffff
jmp 0x41c962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41c969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41c958
mov eax, 1
add ebx, ebx
jne 0x41c97b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41c970
jne 0x41c98c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c970
xor ecx, ecx
sub eax, 3
jb 0x41c9a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ca12
mov ebp, eax
add ebx, ebx
jne 0x41c9ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41c9b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41c9dc
inc ecx
add ebx, ebx
jne 0x41c9c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41c9bd
jne 0x41c9d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41c9bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41c9fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41c9ed
jmp 0x41c95e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41c9fc
add edi, ecx
jmp 0x41c95e
pop esi
mov edi, esi
mov ecx, 0x419
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ca1a
cmp byte [edi], 1
jne 0x41ca1a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41ca1f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41ca8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c61c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ca4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c620]
or eax, eax
je 0x41ca88
mov dword [ebx], eax
add ebx, 4
jmp 0x41ca69
call dword [esi + 0x1c624]
popal
jmp 0x4011d4
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4028f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x402901
pop dword [ebp - 0x40]
mov eax, 0x402901
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x636a0771
add dword [ebp - 0x50], 0xeae83dda
mov dword [ebp - 0x4c], 0xa0dbb170
sub dword [ebp - 0x4c], 0x6ea8652b
mov dword [ebp - 0x48], 0x14f16d65
add dword [ebp - 0x48], 0x375ad6c9
mov dword [ebp - 0x44], 0x657138ac
sub dword [ebp - 0x44], 0x657138ac
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xaa2b10e4
add dword [ebp - 0x50], 0xca475872
mov dword [ebp - 0x4c], 0xc7137494
sub dword [ebp - 0x4c], 0x85a7131f
mov dword [ebp - 0x48], 0xffd2a1e4
add dword [ebp - 0x48], 0x639cca88
mov dword [ebp - 0x44], 0xfe8cea76
add dword [ebp - 0x44], 0x173158a
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3b17b
push 0
call eax
mov ecx, 0x59cd250f
add ecx, 0xa6332981
mov edi, eax
mov ebx, 0x41b000
add ebx, dword [ebp - 0x40]
mov edx, 0xe9d632a7
sub dword [ebp - 0x10], 0x8734baf4
mov esi, dword [ebx]
add dword [ebp - 0x18], eax
xor esi, edx
xor dword [ebp - 0x24], 0x572ccdf
mov dword [edi], esi
mov dword [ebp - 8], 0xb77874da
add edi, 0xc7a7f4bb
add edi, 0x38580b49
add ebx, 0xa892eba0
add ebx, 0x576d1464
loop 0x402a08
add eax, 0x37460a0a
sub eax, 0x3744dcf7
mov ebx, eax
add eax, 5
mov ecx, 0xb6aefe58
add ecx, 0x499101a8
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x404ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b84a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push 0x524e38
mov eax, dword [ebx]
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x404c70
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
and esi, 0xf
jbe 0x404b62
movzx ecx, word [edi]
lea edi, [edi + ecx*2]
add edi, 2
sub esi, 1
jne 0x404b54
movzx esi, word [edi]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403af0
add esi, esi
lea eax, [edi + 2]
push esi
push eax
push dword [ebp - 0x18]
call fcn.0049dfe0
mov eax, dword [ebp - 0x18]
add esp, 0xc
xor ecx, ecx
push dword [ebp + 0xc]
mov word [esi + eax], cx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [ebp - 0x28], vtable.UnicodeStringStorage.0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x524da8
push ecx
call fcn.0049dfe0
add esp, 0xc
mov byte [ebp - 4], 2
mov esi, 0x524da8
mov eax, dword [ebp - 0x18]
test eax, eax
cmovne esi, eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404c13
sub eax, edx
lea ecx, [ebp - 0x24]
sar eax, 1
push ecx
inc eax
push eax
call fcn.00403af0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
and eax, 0xfffffffe
push eax
push esi
push ecx
call fcn.0049dfe0
mov eax, dword [ebx]
add esp, 0xc
mov ecx, ebx
push 0x524da8
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x24]
call dword [eax + 4]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.UnicodeStringStorage.0
call fcn.004039c0
lea ecx, [ebp - 0x18]
call fcn.004039c0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x408dd0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8790
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov al, 1
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x14], al
mov edx, dword [edi + 4]
cmp byte [edx + 0xd], 0
jne 0x408e4b
mov ecx, dword [ebx]
mov eax, dword [edx + 0x10]
mov edi, edx
cmp ecx, eax
jb 0x408e3b
ja 0x408e34
mov eax, dword [ebx + 4]
cmp eax, dword [edx + 0x14]
jb 0x408e3b
mov edx, dword [edx + 8]
xor al, al
jmp 0x408e3f
mov edx, dword [edx]
mov al, 1
cmp byte [edx + 0xd], 0
mov byte [ebp - 0x14], al
je 0x408e21
mov ecx, dword [ebp - 0x1c]
mov esi, edi
test al, al
je 0x408eeb
cmp edi, dword [ecx]
jne 0x408e8b
push dword [ebp + 0x14]
push ecx
push edi
push 1
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x10]
push eax
call fcn.00408ba0
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edi + 0xd], 0
je 0x408e96
mov esi, dword [edi + 8]
jmp 0x408eeb
mov eax, dword [edi]
cmp byte [eax + 0xd], 0
je 0x408ecd
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x408ec3
mov ecx, edi
nop dword [eax]
mov edx, eax
cmp ecx, dword [eax]
jne 0x408ec3
mov esi, eax
mov ecx, edx
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x408eb0
cmp byte [esi + 0xd], 0
jne 0x408eeb
mov esi, eax
jmp 0x408eeb
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x408eeb
nop dword [eax + eax]
mov esi, eax
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x408ee0
mov ecx, dword [ebx]
cmp dword [esi + 0x10], ecx
jb 0x408f3f
ja 0x408efc
mov eax, dword [esi + 0x14]
cmp eax, dword [ebx + 4]
jb 0x408f3f
mov ebx, dword [ebp + 0x14]
lea ecx, [ebx + 0x30]
call fcn.00407190
lea ecx, [ebx + 0x24]
call fcn.00407190
lea ecx, [ebx + 0x18]
call fcn.00407190
push 0x3c
push ebx
call fcn.0049ade4
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp + 0x14]
push ecx
push edi
push dword [ebp - 0x14]
jmp 0x408e60