joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x50b36294
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x30a72506
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1c833e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x1c83420
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x1c8e3d8]
test eax, eax
jne 0x1c83444
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e3d8], eax
call eax
mov ebx, eax
mov eax, dword [0x1c8e664]
test eax, eax
jne 0x1c8346c
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0xc7d427f1
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e664], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x1c83522
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x1c83512
cmp ebx, 8
jb 0x1c834f7
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x1c834b6
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x1c834f7
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x1c834d0
cmp edx, ebx
jae 0x1c83512
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x1c83500
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1c83520
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1c83590
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x1c835b9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x1c8e3d8]
test eax, eax
jne 0x1c835dd
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e3d8], eax
call eax
mov edi, eax
mov eax, dword [0x1c8e664]
test eax, eax
jne 0x1c83605
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0xc7d427f1
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e664], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x1c83685
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x1c8367a
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x1c83640
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x1c83690
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x1c836ba
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x1c8e3d8]
test eax, eax
jne 0x1c836de
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x2788995d
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e3d8], eax
call eax
mov edi, eax
mov eax, dword [0x1c8e664]
test eax, eax
jne 0x1c83706
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0xc7d427f1
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e664], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x1c83772
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x1c8376a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x1c83740
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1c83c70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x99a0
add dword [esp + 4], 0x7e22
mov eax, dword [esp + 4]
push ebx
mov ebx, ecx
lea eax, [eax + eax*8]
mov dword [esp + 8], eax
xor dword [esp + 8], 0x9d5d2
mov dword [esp + 4], 0xffb7
add dword [esp + 4], 0xffffc0e2
xor dword [esp + 4], 0xc09f
mov dword [esp + 4], 0x28c6
or dword [esp + 4], 0xecedb68f
add dword [esp + 4], 0xbdfb
shl dword [esp + 4], 0xb
xor dword [esp + 4], 0x73e65010
cmp byte [ebx], 0
je 0x1c83d55
push esi
push edi
lea ecx, [ecx]
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0xffb7
add dword [esp + 0xc], 0xffffc0e2
xor dword [esp + 0xc], 0xc09f
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x28c6
or dword [esp + 0xc], 0xecedb68f
add dword [esp + 0xc], 0xbdfb
shl dword [esp + 0xc], 0xb
xor dword [esp + 0xc], 0x73e65010
shl esi, cl
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x1c83ce0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x1c83e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x1c83ebc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.01c83c70
xor eax, 0x63bd76f8
cmp eax, dword [esp + 0x10]
je 0x1c83ec6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x1c83ea0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x1c83ef4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x1c83ef4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x1c84050
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x1c84076
cmp al, 0x2e
je 0x1c84073
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x1c84063
jmp 0x1c84076
mov byte [edx], 0
mov eax, dword [0x1c8e414]
test eax, eax
jne 0x1c8409a
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x9485c9cf
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e414], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x1c840e1
mov eax, dword [0x1c8e590]
test eax, eax
jne 0x1c840cb
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0xbc96cd14
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8e590], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x1c840e1
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.01c83c70
xor eax, 0x63bd76f8
mov ecx, edi
mov edx, eax
call fcn.01c83e60
pop edi
pop esi
add esp, 0x104
ret
Function at 0x1c83f00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x1c84030
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x99a0
add dword [esp + 0x14], 0x7e22
mov eax, dword [esp + 0x14]
lea eax, [eax + eax*8]
mov dword [esp + 0x14], eax
xor dword [esp + 0x14], 0x9d5d2
mov dword [esp + 0x10], 0xffb7
add dword [esp + 0x10], 0xffffc0e2
xor dword [esp + 0x10], 0xc09f
mov dword [esp + 0x10], 0x28c6
or dword [esp + 0x10], 0xecedb68f
add dword [esp + 0x10], 0xbdfb
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x73e65010
cmp word [edx], 0
je 0x1c84016
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xffb7
add dword [esp + 0x10], 0xffffc0e2
xor dword [esp + 0x10], 0xc09f
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x28c6
or dword [esp + 0x10], 0xecedb68f
add dword [esp + 0x10], 0xbdfb
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x73e65010
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x1c83ff9
cmp eax, 0x5a
ja 0x1c83ff9
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x1c83f92
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x3808cc1b
cmp eax, dword [esp + 0x1c]
je 0x1c8403a
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x1c83f25
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x1c84310
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x1c844ae
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x1c844ae
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x1c844ae
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x1c844ae
mov eax, dword [0x1c8dc0c]
test eax, eax
jne 0x1c8437b
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x5a6cd0b2
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8dc0c], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x1c844a5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x1c8decc]
test eax, eax
jne 0x1c843db
mov ecx, 0xea26ec0f
call fcn.01c83f00
mov edx, 0x5e00a98f
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8decc], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x1c8445e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x1c8decc]
test eax, eax
jne 0x1c84446
mov ecx, 0xea26ec0f
call fcn.01c83f00
mov edx, 0x5e00a98f
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8decc], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x1c84405
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.01c845e0
mov edx, edi
mov ecx, ebx
call fcn.01c844f0
pop esi
test eax, eax
jne 0x1c844a5
mov eax, dword [0x1c8df10]
test eax, eax
jne 0x1c84499
mov ecx, 0xb7762a69
call fcn.01c83f00
mov edx, 0x994fa9af
mov ecx, eax
call fcn.01c83e60
mov dword [0x1c8df10], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x401310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401329
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401364
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401360
lea ebx, [ebx]
cmp esi, eax
jae 0x401364
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401350
cmp esi, eax
jb 0x40136a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408e40
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47b4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4a8188]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a8188]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
push 8
xor ebx, ebx
push str.xJL05RKk
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00402320
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov al, 0x6c
push ebx
mov byte [esp + 0x56], al
mov byte [esp + 0x58], al
mov byte [esp + 0x59], al
mov byte [esp + 0x45], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], al
mov cl, 0x75
push ebx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x78], ebx
mov byte [esp + 0x58], 0x56
mov byte [esp + 0x59], 0x69
mov byte [esp + 0x5a], 0x72
mov byte [esp + 0x5b], 0x74
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], 0x61
mov byte [esp + 0x5f], 0x41
mov byte [esp + 0x62], 0x6f
mov byte [esp + 0x63], 0x63
mov byte [esp + 0x64], 0x45
mov byte [esp + 0x65], 0x78
mov byte [esp + 0x66], 0x4e
mov byte [esp + 0x67], cl
mov byte [esp + 0x68], 0x6d
mov byte [esp + 0x69], 0x61
mov byte [esp + 0x6a], bl
mov byte [esp + 0x48], 0x6b
mov byte [esp + 0x49], 0x65
mov byte [esp + 0x4a], 0x72
mov byte [esp + 0x4b], 0x6e
mov byte [esp + 0x4c], 0x65
mov byte [esp + 0x4e], 0x33
mov byte [esp + 0x4f], 0x32
mov byte [esp + 0x50], 0x2e
mov byte [esp + 0x51], 0x64
mov byte [esp + 0x54], bl
call esi
lea ecx, [esp + 0x4c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
mov edi, eax
mov byte [esp + 0x3c], 0x74
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], 0x73
mov byte [esp + 0x3f], 0x6b
mov byte [esp + 0x40], 0x6d
mov byte [esp + 0x41], 0x67
mov byte [esp + 0x42], 0x72
mov byte [esp + 0x43], 0x2e
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x78
mov byte [esp + 0x46], 0x65
mov byte [esp + 0x47], bl
call esi
test eax, eax
jne 0x408fb6
cmp dword [esp + 0x2c], 0x10
jb 0x408faf
mov eax, dword [esp + 0x18]
push eax
call fcn.0040a944
add esp, 4
xor al, al
jmp 0x409044
push ebx
push 0x480ed0
call fcn.0044ea4a
add esp, 4
push eax
push str.8192
call fcn.0044ea4a
add esp, 4
or eax, 0x1000
push eax
push 0x8344
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
mov esi, eax
cmp esi, ebx
jne 0x409005
cmp dword [esp + 0x2c], 0x10
jb 0x408faf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040a944
add esp, 4
xor al, al
jmp 0x409044
push 0x8344
push 0x49e090
push esi
call fcn.0044ea90
mov edx, dword [esp + 0x84]
push 0x8344
push esi
push edx
push ebp
call fcn.00402430
add esp, 0x1c
call esi
cmp dword [esp + 0x2c], 0x10
jb 0x409042
mov eax, dword [esp + 0x18]
push eax
call fcn.0040a944
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.0044e4b1
add esp, 0x5c
ret
Function at 0x40ec1f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40ec43
cmp dword [edi + 0x54], 0
jne 0x40ec43
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041a822
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040ebe0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40f26f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40f2b7
call fcn.0041a822
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f2b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40f2fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40f2e3
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40f2e3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40f2f7
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x416929
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x416970
call fcn.0041a822
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x416970
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41698c
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004164a3
mov esi, eax
test edi, edi
je 0x41698a
test ebx, ebx
je 0x41698a
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4174e5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47c305
call fcn.0044fae0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41750a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x417550
lea ecx, [ebp - 0x10]
call fcn.00401fd0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041699e
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401410
mov eax, esi
call fcn.0044fbb8
ret 8

Function at 0x4315e9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x47db2e
call fcn.0044fae0
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040bca6
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x43164b
call fcn.00419c4b
cmp eax, 1
jne 0x43164b
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d73c
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d695
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401410
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401410
mov eax, esi
call fcn.0044fbb8
ret 0x10

Function at 0x431674
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x47db59
call fcn.0044fae0
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040bca6
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4316d6
call fcn.00419c4b
cmp eax, 1
jne 0x4316d6
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0040d73c
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040d695
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401410
mov dword [ebp + 8], SysReAllocStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401410
mov eax, esi
call fcn.0044fbb8
ret 0x14