joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413c60
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x413e84
sub esp, 0x18
mov eax, dword [0x63b3e4]
test eax, eax
jne 0x413e6d
nop
lea eax, [0x63b3d0]
mov dword [esp], eax
call fcn.00409680
mov eax, dword [0x63b3d4]
test eax, eax
je 0x413ca9
cmp dword [eax + 8], 0xcc
jne 0x413d1f
mov edx, dword [0x63b3c8]
test edx, edx
jne 0x413d01
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x63dcb0]
mov dword [esp + 8], eax
call fcn.0040ba70
mov eax, dword [esp + 0xc]
mov dword [0x63b3c8], eax
mov ecx, dword [0x63b38c]
mov dword [eax], ecx
mov eax, dword [0x63b3c8]
mov dword [0x63b38c], eax
movzx eax, byte [0x63b920]
test al, al
jne 0x413d01
xor eax, eax
jmp 0x413e19
mov edx, dword [0x63b3c8]
mov ebx, dword [edx + 4]
mov dword [0x63b3c8], ebx
mov ebx, dword [0x63b3d4]
mov dword [edx + 4], ebx
mov dword [0x63b3d4], edx
mov edx, dword [0x63b3d4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x413e01
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402140
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x63b600]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x413d7d
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x413d8a
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00461550
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x63b600]
test edx, edx
jne 0x413db6
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x413dd7
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00461550
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00461550
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00461550
nop
lea eax, [0x63b3d0]
mov dword [esp], eax
call fcn.00409880
nop
lea eax, [0x63b3cc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004022c0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004615e0
lea esi, [0x63b920]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x413d01
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x413e63
lea edx, [0x5d323c]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x413e0b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.004615d0
mov ecx, 5
call fcn.004615d0
lea eax, [0x512c85]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.004352b0
nop
call fcn.00460140
jmp fcn.00413c60
Function at 0x427870
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42798c
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x427905
cmp cl, 2
je 0x4278ad
cmp cl, 3
jne 0x427975
mov byte [eax + 8], 1
jmp 0x427971
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042caa0
nop
lea eax, [0x61f998]
mov dword [esp], eax
call fcn.00409680
nop
mov eax, dword [0x61f964]
sub eax, dword [0x61f948]
mov dword [0x61f964], eax
mov eax, dword [0x61f954]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x61f954], ecx
nop
lea eax, [0x61f998]
mov dword [esp], eax
call fcn.00409880
jmp 0x427971
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00413c60
nop
lea eax, [0x61f998]
mov dword [esp], eax
call fcn.00409680
nop
mov eax, dword [0x61f93c]
sub eax, dword [0x61f920]
mov dword [0x61f93c], eax
mov eax, dword [0x61f92c]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x61f92c], ecx
nop
nop
lea eax, [0x61f998]
mov dword [esp], eax
call fcn.00409880
add esp, 0x14
ret
lea eax, [0x50fa0d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004352b0
nop
call fcn.00460140
jmp fcn.00427870
Function at 0x454660
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x454760
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0x8c], 0
mov dword [eax + 0x90], 0
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0x94], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.00454ef0
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x4f41a0]
mov dword [esp], ecx
call fcn.0040b720
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax], ecx
lea ecx, [0x61fa30]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.00453ee0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00453300
add esp, 0x28
ret
call fcn.00460140
jmp fcn.00454660
Function at 0x461400
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x63b700]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45fbcb
je 0x45fc1e
cmp ebx, 0x20
jbe 0x45fc24
cmp ebx, 0x40
jbe 0x45fc6a
jmp 0x45fd0b
test ebx, ebx
je 0x45fc14
add eax, 0x10
test ax, 0xff0
je 0x45fc00
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x541140]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x541340]
jmp 0x45fbe8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45fbe8
pxor xmm1, xmmword [0x63b710]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x63b710]
pxor xmm2, xmmword [0x63b720]
pxor xmm3, xmmword [0x63b730]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x63b710]
pxor xmm2, xmmword [0x63b720]
pxor xmm3, xmmword [0x63b730]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45fd6a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x63b34f], 0
je 0x46141a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45fb90
jmp fcn.004080e0
Function at 0x427630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x423015
lea edi, [esi - 0x22015]
push edi
or ebp, 0xffffffff
jmp 0x427652
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427648
mov eax, 1
add ebx, ebx
jne 0x42766b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427660
jne 0x42767c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427660
xor ecx, ecx
sub eax, 3
jb 0x427690
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427702
mov ebp, eax
add ebx, ebx
jne 0x42769b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4276a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4276cc
inc ecx
add ebx, ebx
jne 0x4276b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4276ad
jne 0x4276c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4276ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4276ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4276dd
jmp 0x42764e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4276ec
add edi, ecx
jmp 0x42764e
pop esi
mov edi, esi
mov ecx, 0x16b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42770a
cmp byte [edi], 1
jne 0x42770a
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 0x42770f
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x42777e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2703c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42773c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x27040]
or eax, eax
je 0x427778
mov dword [ebx], eax
add ebx, 4
jmp 0x427759
call dword [esi + 0x27044]
popal
jmp section.UPX0
Function at 0x401990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4019ab
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4019e2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4019de
jmp 0x4019d0
cmp esi, eax
jae 0x4019e2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4019d0
cmp esi, eax
jb 0x4019e9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4074d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [ebp - 4]
push edx
call eax
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407507
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408eae
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x56a698]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x408ef3
push 0x524bb8
push 4
push eax
call fcn.004fde25
push eax
call fcn.00401a40
add esp, 0x10
jmp 0x408f09
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x408f89
push edi
call fcn.004fdf09
mov edi, dword [eax]
call fcn.004fdf09
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004fdea6
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.004fdf09
cmp dword [eax], 0
je 0x408f5d
call fcn.004fdf09
push dword [eax]
call fcn.004088f2
pop ecx
jmp 0x408f64
call fcn.004fdf09
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x408f89
cmp dword [ebp - 0x234], esi
jae 0x408f89
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x408f8b
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004fcaa0
leave
ret
Function at 0x4094f5
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x56a698]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00409456
pop ecx
cmp eax, esi
je 0x4095df
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4095df
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.004fcab0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4095df
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4095df
cmp esi, 0x14
jge 0x4095df
push 0x10
push 0
push edi
call fcn.004fe60b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4095ce
call fcn.004fdf09
cmp dword [eax], 0x22
je 0x4095ce
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.004fde0a
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4095a4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x56bca8], 0
jne 0x40966a
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x409693
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.00408eae
pop ecx
pop ecx
test eax, eax
jne 0x409695
inc edi
cmp edi, esi
jl 0x409670
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fcaa0
leave
ret 8

Function at 0x40ccbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040e607
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ccf7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040c8fb
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x40cd55
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 + 0x78], ebx
test ebx, 0xffff0000
jne 0x40cd79
cmp dword [edi + 0x74], 0
jne 0x40cd79
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040e607
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0040cd16
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 0x414c5f
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 0x414ca6
call fcn.0040e607
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414ca6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414cc2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041475f
mov esi, eax
test edi, edi
je 0x414cc0
test ebx, ebx
je 0x414cc0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4150a1
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51f7d9
call fcn.004fdcd6
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x4150c6
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x415118
call fcn.0040a05e
push eax
lea ecx, [ebp - 0x10]
call fcn.00401960
mov ecx, dword [esi + 0x6c]
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.004fcbf8
push eax
call fcn.00401a40
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401cb0
mov eax, esi
call fcn.004fddae
ret 8

Function at 0x41547c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.00415120
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4154c6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00402aa0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401810
jmp 0x4154d1
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041ac4b
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4154d7
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00414d6b
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x415514
call fcn.00415120
mov dword [esi + 0xc], 1
jmp 0x415519
call fcn.00415120
cmp dword [esi], 0
je 0x415562
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x41553a
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00402aa0
jmp 0x41554c
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401e10
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401810
jmp 0x415586
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x415586
push dword [esi]
push dword [ebp + 8]
call fcn.0041ac4b
pop esi
pop ebp
ret 0xc

Function at 0x4192a0
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x56a698]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4192d5
xor eax, eax
jmp 0x419328
lea eax, [ebp - 0x210]
push eax
call fcn.004fde0a
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x419306
push 0x5231ec
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fe625
add esp, 0xc
test eax, eax
jne 0x4192d1
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004fe625
add esp, 0xc
test eax, eax
jne 0x4192d1
lea eax, [ebp - 0x210]
push eax
call fcn.00409456
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fcaa0
leave
ret

Function at 0x487e33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x487e4d
call fcn.0040e607
mov esi, dword [eax + 0xc]
push dword [0x56fadc]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x487e6b
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x487e63
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x487e98
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x487e65
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00487d61
mov esi, eax
jmp 0x487e8a
Function at 0x4d8e14
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0041314a
call fcn.004094dc
cmp eax, esi
pop esi
jne 0x4d8e30
mov ecx, 0x56da48
jmp fcn.00419e29
ret

Function at 0x4dc7ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4dc7c4
mov edi, dword [esi + 0xc]
jmp 0x4dc804
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4dc7dd
call fcn.004158d6
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4dc7f2
call fcn.004158d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4dc804
call fcn.004158d6
call fcn.0040e607
cmp dword [eax + 0x3c], 0
je 0x4dc819
push edi
mov ecx, ebx
call fcn.004db5de
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004dc6c6
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4dc837
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dc843
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4fcaa0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56a698]
jne 0x4fcaaa
repz ret
jmp fcn.0050780c