joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6b9939
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.006c4be2
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x6b996a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.006b997d
pop edi
pop esi
pop ebx
ret 8

Function at 0x6baf54
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6baf8c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006b8f5d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006b8f35
jmp 0x6baf98
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6bc919
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6bc95b
call fcn.006c4be2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6bc95b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6bc952
xor eax, eax
jmp 0x6bc963
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006bc969
pop edi
pop esi
pop ebx
ret 4

Function at 0x6c5112
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x6c5140
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6c515e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006c5078
jmp 0x6c515e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6c515e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006c5078
test edi, edi
mov eax, edi
jne 0x6c5148
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x23802f58
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x824
mov eax, 0x23908fa8
call fcn.23803221
call fcn.23803257
lea ecx, [ebp - 0x81c]
call fcn.23803c48
mov eax, dword [0x239840f4]
push str.JavaScriptPerms
xor ebx, ebx
push str.FeatureLockdown
mov dword [ebp - 4], ebx
call dword [eax + 0x5c0]
push str.BlackList
push eax
mov eax, dword [0x23984114]
call dword [eax + 0x114]
xor edi, edi
add esp, 0x10
inc edi
push edi
lea ecx, [ebp - 0x81c]
mov esi, eax
call fcn.238c2799
push edi
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x81c], esi
call fcn.238c2799
lea ecx, [ebp - 0x828]
call fcn.23803c48
mov ax, word [0x2397de1c]
mov ecx, 0xffff
mov byte [ebp - 4], 1
cmp ax, cx
jne 0x23802ff1
mov ecx, 0x2397de1c
call fcn.238022e3
movzx eax, ax
push str.Reader
push eax
mov eax, dword [0x239840b0]
call dword [eax + 0x2c]
pop ecx
push eax
call fcn.238c2799
pop ecx
pop ecx
test ax, ax
je 0x23803025
mov eax, dword [0x239827d4]
mov esi, str.SOFTWAREAdobeAcrobat_Reader11.0JavaScriptPerms
call dword [eax + 0xcb8]
test ax, ax
je 0x2380302a
mov esi, str.SOFTWAREAdobeAdobe_Acrobat11.0JavaScriptPerms
lea eax, [ebp - 0x830]
push eax
push edi
push ebx
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x238030b3
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push ebx
push str.tBlackList
push dword [ebp - 0x830]
mov dword [ebp - 0x820], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x238030a7
cmp dword [ebp - 0x814], edi
jne 0x238030a7
push ebx
call fcn.238c2799
pop ecx
push eax
push ebx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.238c2799
push edi
lea ecx, [ebp - 0x828]
call fcn.238c2799
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
lea ecx, [ebp - 0x81c]
call fcn.238c2799
test eax, eax
jne 0x238030d9
push ebx
push ebx
lea ecx, [ebp - 0x828]
call fcn.238c2799
test eax, eax
je 0x23803185
call fcn.238632bf
cmp dword [0x23982638], ebx
jne 0x2380314f
push edi
push 0x14
call fcn.238c2799
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x814], esi
mov byte [ebp - 4], 2
cmp esi, ebx
je 0x2380311f
push ecx
mov dword [ebp - 0x820], esp
lea eax, [ebp - 0x829]
mov dword [ebp - 0x820], esp
push eax
mov ecx, esi
call fcn.23818594
mov eax, esi
jmp 0x23803121
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x23982638], eax
cmp eax, ebx
jne 0x2380314f
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], bl
call fcn.23803ba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.23803ba1
xor eax, eax
jmp 0x238031a4
push ecx
push ecx
lea eax, [ebp - 0x81c]
mov ecx, esp
mov dword [ebp - 0x814], esp
push eax
call fcn.238c2799
call fcn.23863099
lea eax, [ebp - 0x828]
mov ecx, esp
mov dword [ebp - 0x814], esp
push eax
call fcn.238c2799
call fcn.23863099
pop ecx
pop ecx
lea ecx, [ebp - 0x828]
mov byte [ebp - 4], bl
call fcn.23803ba1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x81c]
call fcn.23803ba1
mov eax, edi
call fcn.238040e1
ret
Function at 0x23855293
Capabilities:
Set registry value

Disassembly:
push 0x19c
mov eax, 0x23911df9
call fcn.23803221
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
mov esi, ecx
jb 0x238552af
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x9c]
call fcn.238c2799
mov edi, eax
xor ebx, ebx
push 0x23921b70
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], ebx
call fcn.238c2799
push edi
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 1
call fcn.238c2799
push 0x23921b6c
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.238c2799
add esp, 0x18
cmp dword [esi + 0x14], 0x10
mov byte [ebp - 4], 3
jb 0x23855300
mov esi, dword [esi]
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.238c2799
add esp, 0xc
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.238c2799
push ebx
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.238c2799
push ebx
push esi
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 7
call fcn.238c2799
push ebx
push esi
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.238c2799
call fcn.23819efd
test eax, eax
je 0x2385544d
mov dword [ebp - 0x1a4], ebx
lea eax, [ebp - 0x1a4]
push eax
push 0x239219ec
push 4
push ebx
push 0x239219fc
mov byte [ebp - 4], 9
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jne 0x23855437
push ecx
mov ecx, dword [ebp - 0x1a4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], esp
cmp eax, ebx
je 0x238553a6
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.238b8e99
mov edi, eax
pop ecx
cmp edi, ebx
je 0x23855437
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x238553c2
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x19c]
push 3
mov dword [ebp - 0x1a0], ecx
push eax
lea ecx, [ebp - 0x1a0]
call fcn.238c2799
push dword [ebp - 0x1a0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1a0], eax
je 0x2385540d
push dword [ebp - 0x1a0]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
movzx ecx, byte [ebp + 0xc]
mov eax, dword [ebp - 0x1a4]
mov edx, dword [eax]
push ecx
push esi
push edi
push eax
call dword [edx + 0x78]
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x8c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1a4]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x23855489
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x23855489
call fcn.238c2799
mov esi, eax
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 0x1a4], eax
cmp esi, ebx
je 0x23855489
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x2385546e
lea eax, [ebp - 0x2c]
push 4
lea ecx, [ebp - 0x1a4]
push ecx
push 4
push ebx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.238c2799
call fcn.238040e1
ret
Function at 0x2386d1fc
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x2390a5e3
call fcn.2380155b
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.238d0b4f
xor esi, esi
push 0x44
lea eax, [ebp - 0x68]
push esi
push eax
mov dword [ebp - 4], esi
call sub.MSVCR100.dll_memset
push 5
pop eax
push 0x10
mov word [ebp - 0x38], ax
xor edi, edi
lea eax, [ebp - 0x24]
push esi
inc edi
push eax
mov dword [ebp - 0x60], 0x23927c78
mov dword [ebp - 0x3c], edi
call sub.MSVCR100.dll_memset
add esp, 0x28
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x23984114]
push esi
push esi
push 0x10
push edi
push esi
push esi
push dword [ebp - 0x14]
call dword [eax + 0x54]
pop ecx
push eax
push esi
call dword [sym.imp.kernel32.dll_CreateProcessW]
movzx edi, ax
cmp di, si
je 0x2386d285
push dword [ebp - 0x24]
call fcn.238c2799
pop ecx
movzx edi, ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.23803ba1
mov ax, di
call fcn.238015dd
ret
Function at 0x438ca7
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
add ecx, 1
add esi, ecx
dec ecx
call fcn.00438cde
and esi, ecx
sub esi, 0xd8375b69
xor dword [eax], edx
add ecx, ecx
sub esi, ecx
inc eax
add ecx, ecx
sub esi, ecx
add ecx, 0x6f49e87c
cmp eax, ebx
jne fcn.00438ca7
dec ecx
dec ecx
add ecx, ecx
ret
Function at 0x402f00
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]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402f29
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402f3f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402f36
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402f72
nop
cmp esi, ecx
jae 0x402f36
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402f60
cmp esi, ecx
jae 0x402f36
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.00412364
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x403110
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x403110
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403110
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403110
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x4030a4
cmp esi, ecx
jae 0x403110
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403092
cmp esi, ecx
jae 0x403110
cmp word [esi], 0
je 0x403110
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x4030cc
push edi
mov ecx, ebx
call fcn.00403770
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0054c558
add esp, 0x10
cmp eax, 0x50
ja case.0x4030eb.1
movzx eax, byte [eax + 0x403140]
jmp dword [eax*4 + 0x403130]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x403120
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00411c8c
push 0x80070057
call fcn.00403820
call fcn.00411c72
nop
xor byte [eax], al
sbb esi, dword [ecx]
inc eax
add byte [edx], ch
xor dword [eax], eax
sub dh, byte [ecx]
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x4031a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
xor cl, cl
test eax, eax
je 0x40329d
test eax, 0xffff0000
jne 0x40329d
push esi
push edi
movzx edi, ax
push edi
call fcn.00412364
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x403299
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x403299
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403299
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403299
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x403239
cmp esi, ecx
jae 0x403299
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403227
cmp esi, ecx
jae 0x403299
cmp word [esi], 0
je 0x403299
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x403261
push edi
mov ecx, ebx
call fcn.00403770
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.0054c558
add esp, 0x10
cmp eax, 0x50
ja case.0x403280.1
movzx eax, byte [eax + 0x4032cc]
jmp dword [eax*4 + 0x4032bc]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x4032b0
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
pop edi
mov cl, 1
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00411c72
call fcn.00411c8c
push 0x80070057
call fcn.00403820
nop
xchg dword [edx], esi
inc eax
add byte [ebx - 0x59ffbfce], ch
xor al, byte [eax]
cmpsb byte [esi], byte es:[edi]
xor al, byte [eax]
add byte [ebx], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add ah, cl
int3
Function at 0x404670
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c3000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0x208
push 0
lea esi, [ebx + 0x330]
push esi
call fcn.00544f80
add esp, 0xc
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x208
lea edi, [ebx + 0x538]
push 0
push edi
call fcn.00544f80
push str.MuAutoProto.ini
push esi
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x28
push edi
push 0x208
push eax
push 0x5a59f4
push str.FILE_PATH
push 0x5a6000
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0xd4]
push 0x5a6008
push eax
call fcn.00403a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
push 0x5a59f4
push str.FILE_PATH
push 0x5a6010
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0xd8]
push 0x5a6008
push eax
call fcn.00403a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
push 0x5a59f4
push str.MAIN_JUMP_ADDR
push 0x5a6000
call esi
lea eax, [ebp - 0x20c]
push eax
push 0x5a6008
lea eax, [ebx + 0xdc]
push eax
call fcn.00403a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
push 0x5a59f4
push str.MAIN_JUMP_COUNT
push 0x5a6000
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0xe0]
push 0x5a6008
push eax
call fcn.00403a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
push 0x5a59f4
push str.MAIN_JUMP
push 0x5a6010
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0xe4]
push 0x5a6008
push eax
call fcn.00403a00
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00544f80
add esp, 0x18
lea eax, [ebp - 0x20c]
push edi
push 0x208
push eax
push 0x5a59f4
push str.MAIN_JUMP_COUNT
push 0x5a6010
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0xe8]
push 0x5a6008
push eax
call fcn.00403a00
add esp, 0xc
mov ecx, ebx
push 0
call fcn.0040cd76
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00543097
mov esp, ebp
pop ebp
ret
Function at 0x4053f0
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x5c3000]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x50]
push edi
push 0x44
push 0
push eax
mov edi, ecx
call fcn.00544f80
add esp, 0xc
lea eax, [ebp - 0x60]
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405481
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x405495
mov eax, dword [edi + 0x748]
mov ecx, dword [ebp - 0x60]
push 0
shl eax, 2
push eax
lea eax, [edi + 0x74c]
mov dword [edi + 0x740], ecx
push eax
push dword [edi + 0x744]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x4054e8
push eax
push dword [edi + 0x740]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543097
mov esp, ebp
pop ebp
ret 8
cmp eax, 2
jne 0x4054e8
mov eax, dword [edi + 0xf4c]
mov ecx, dword [ebp - 0x60]
push 0
shl eax, 2
push eax
lea eax, [edi + 0xf50]
mov dword [edi + 0xf44], ecx
push eax
push dword [edi + 0xf48]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x4054e8
push eax
push dword [edi + 0xf44]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00543097
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00543097
mov esp, ebp
pop ebp
ret 8

Function at 0x406320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004206fa

Function at 0x409df8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x409e37
call fcn.00424e20
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x409e37
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x409e3f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004253c4
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x40a861
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40a8ed
cmp dword [esi + 0x20], 0
je 0x40a8ed
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40a8ed
cmp dword [ebp + 8], 0
je 0x40a8ed
xor edi, edi
mov ebx, edi
call fcn.00424e20
push 0x574390
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x40a8d1
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a8ed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0042a36a
mov edi, eax
add esp, 0xc
test edi, edi
je 0x40a8e9
mov ecx, esi
call fcn.0040a5ff
mov eax, edi
jmp 0x40a8ef
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ee6c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5634bb
call fcn.0054340e
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x40ee92
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40eeec
lea ecx, [ebp - 0x10]
call fcn.00402ea0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x572954]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054da10
push eax
call fcn.00402f90
add esp, 0x14
test esi, esi
je 0x40eedf
push esi
call fcn.0054d5bb
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403b50
mov eax, ebx
call fcn.005433dc
ret 8