joyce8/EMBER2024-capa huggingface dataset:
Function at 0x807ceb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00801f28
and dword [ebp - 4], 0
cmp dword [0x80fbc4], 0
mov ebx, eax
jne 0x807d9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x807e4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x807e4d
push eax
call fcn.00801eb6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x80fbc4], eax
call esi
push eax
call fcn.00801eb6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x80fbc8], eax
call esi
push eax
call fcn.00801eb6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x80fbcc], eax
call esi
push eax
call fcn.00801eb6
pop ecx
mov dword [0x80fbd4], eax
test eax, eax
je 0x807d9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00801eb6
pop ecx
mov dword [0x80fbd0], eax
mov eax, dword [0x80fbd0]
cmp eax, ebx
je 0x807df4
cmp dword [0x80fbd4], ebx
je 0x807df4
push eax
call fcn.00801f31
push dword [0x80fbd4]
mov esi, eax
call fcn.00801f31
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x807df4
test edi, edi
je 0x807df4
call esi
test eax, eax
je 0x807deb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x807deb
test byte [ebp - 0xc], 1
jne 0x807df4
or dword [ebp + 0x10], 0x200000
jmp 0x807e2d
mov eax, dword [0x80fbc8]
cmp eax, ebx
je 0x807e2d
push eax
call fcn.00801f31
pop ecx
test eax, eax
je 0x807e2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x807e2d
mov eax, dword [0x80fbcc]
cmp eax, ebx
je 0x807e2d
push eax
call fcn.00801f31
pop ecx
test eax, eax
je 0x807e2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x80fbc4]
call fcn.00801f31
pop ecx
test eax, eax
je 0x807e4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x807e4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x53ae80
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10054
call fcn.00563e70
mov eax, dword [0x575040]
xor eax, esp
mov dword [esp + 0x10050], eax
xor eax, eax
mov edx, ecx
push ecx
lea ecx, [esp + 4]
mov word [esp + 0x54], ax
mov word [esp + 4], ax
call fcn.0053b120
add esp, 4
lea eax, [esp + 0x50]
push 0x10000
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x53aef5
cmp eax, 0x10000
ja 0x53aef5
lea eax, [esp + 0x50]
push eax
call fcn.0055891f
add esp, 4
mov ecx, dword [esp + 0x10050]
xor ecx, esp
call fcn.0054af6d
add esp, 0x10054
ret
mov ecx, dword [esp + 0x10050]
xor eax, eax
xor ecx, esp
call fcn.0054af6d
add esp, 0x10054
ret

Function at 0x53af10
Capabilities:
Set environment variable

Disassembly:
sub esp, 0x54
mov eax, dword [0x575040]
xor eax, esp
mov dword [esp + 0x50], eax
xor eax, eax
mov edx, str.NUITKA_PYTHONPATH
push ecx
lea ecx, [esp + 4]
mov word [esp + 4], ax
call fcn.0053b120
add esp, 4
lea eax, [esp]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0054af6d
add esp, 0x54
ret
Function at 0x5475f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
cmp byte [0x577ff6], 0
push ebp
push esi
mov ebp, edx
mov dword [esp + 8], ecx
jne 0x547651
push 0xa
push 3
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x577d40], eax
mov esi, dword [eax]
lea edx, [eax + 4]
mov dword [0x577d40], edx
mov eax, dword [edx]
add edx, 4
push eax
mov dword [0x577d40], edx
call fcn.00545ef0
add esp, 4
cmp eax, esi
jne 0x547791
mov byte [0x577ff6], 1
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, 0x56b490
push edi
mov eax, ebx
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x547680
test dl, dl
je 0x54767c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x547680
add eax, 2
add ecx, 2
test dl, dl
jne 0x547660
xor eax, eax
jmp 0x547685
sbb eax, eax
or eax, 1
test eax, eax
je 0x5476d7
cmp byte [0x577ff7], 1
je 0x5476d7
mov esi, dword [sym.imp.python311.dll_PyDict_New]
call esi
mov dword [0x57917c], eax
call esi
mov dword [0x5793e8], eax
call esi
mov dword [0x578f10], eax
call esi
mov dword [0x578ec0], eax
call esi
mov dword [0x57941c], eax
call esi
mov dword [0x578f4c], eax
call esi
mov dword [0x5793ec], eax
call esi
mov dword [0x5793f8], eax
mov byte [0x577ff7], 1
mov esi, dword [0x577d40]
mov eax, ebx
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x547701
test dl, dl
je 0x5476fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x547701
add eax, 2
add ecx, 2
test dl, dl
jne 0x5476e1
xor edx, edx
jmp 0x547706
sbb edx, edx
or edx, 1
mov ecx, esi
lea edi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x547710
sub ecx, edi
add esi, ecx
mov eax, dword [esi + 1]
add esi, 5
test edx, edx
je 0x547775
add esi, eax
mov ecx, ebx
mov eax, esi
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x547750
test dl, dl
je 0x54774c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x547750
add ecx, 2
add eax, 2
test dl, dl
jne 0x547730
xor edx, edx
jmp 0x547755
sbb edx, edx
or edx, 1
mov ecx, esi
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x547760
sub ecx, edi
add esi, ecx
mov eax, dword [esi + 1]
add esi, 5
test edx, edx
jne 0x547725
movzx eax, word [esi]
mov edx, ebp
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esi + 2]
push eax
call fcn.005468d0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
push str.Error__corrupted_constants_object
call fcn.005576fe
add esp, 4
call fcn.0054e0f0
int3

Function at 0x54b83c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x54b87b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x54b87b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x54b87b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x54b87b
cmp dword [ecx + 0x74], 0xe
jbe 0x54b87b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x559313
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5675e4
push 0x5675dc
push str.FlsAlloc
push 0x1f
call fcn.005591f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x559347
push dword [ebp + 8]
mov ecx, esi
call dword [0x56552c]
call esi
jmp 0x55934d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x559391
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5675f4
push 0x5675ec
push str.FlsGetValue
push 0x21
call fcn.005591f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x5593c8
push dword [ebp + 8]
mov ecx, esi
call dword [0x56552c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x5593d0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x5675fc
push 0x5675f4
push str.FlsSetValue
push 0x22
call fcn.005591f1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x55940a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x56552c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x55bcea
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x575040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x55bd35
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0055be85
test al, al
jne 0x55bd2f
sub edx, 2
cmp edx, edi
jne 0x55bd15
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x55bd57
lea eax, [edi + 2]
cmp edx, eax
je 0x55bd57
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0055bc36
add esp, 0x10
jmp 0x55be51
push esi
lea ecx, [ebp - 0x255]
call fcn.0055be85
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x55bd9a
push dword [ebp - 0x25c]
jmp 0x55bd47
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x55bdd7
cmp word [ebp - 0x226], 0
je 0x55bdf8
cmp word [ebp - 0x226], ax
jne 0x55bdd7
cmp word [ebp - 0x224], 0
je 0x55bdf8
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0055bc36
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x55be44
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x55bdb1
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x55be2c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x55be51
push 0x55ba66
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00560dc0
add esp, 0x10
jmp 0x55be21
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054af6d
leave
ret

Function at 0x55c84a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x55c85b
pop esi
ret
push ebx
push edi
push esi
call fcn.0055c813
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0055a839
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x55c883
push ebx
push esi
push edi
call fcn.0054cc30
add esp, 0xc
push 0
call fcn.0055909e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x55cc53
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055c898
Function at 0x563a60
Capabilities:
Parse pe header

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

Disassembly:
push ebx
mov ebx, ecx
mov ecx, dword [esp + 8]
push ebp
push esi
mov eax, dword [ecx]
mov edx, dword [eax - 0xc]
test edx, edx
jl fcn.004292b6
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
pop esi
mov eax, ebx
pop ebp
pop ebx
ret 4

Function at 0x4292b6
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
call fcn.004293da
mov ebp, eax
mov ebx, 0x483848
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.004293da
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0x34]
mov edx, dword [esp + 0xc]
cmp dword [esi], 0
je 0x429321
mov eax, edx
mov dword [esp + 8], edx
call fcn.0042946e
movzx eax, al
mov edx, dword [esp + 8]
cmp al, byte [esi]
je 0x42930c
cmp al, byte [esi + 1]
jne 0x4293ca
mov eax, edx
call fcn.00429486
cmp eax, dword [esi + 4]
je 0x429321
cmp eax, dword [esi + 8]
jne 0x4293ca
xor esi, esi
mov dword [esp + 8], esi
push 4
push 0x1000
mov eax, dword [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jbe 0x429357
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + esi]
mov dword [edx + esi], ecx
mov edi, dword [ebx + 0x40]
add esi, edi
mov eax, dword [ebx + 0x1c]
cmp esi, eax
jb 0x429342
mov eax, dword [esp + 0x10]
call fcn.004294ae
mov edi, eax
test edi, edi
je 0x4293ca
lea esi, [esp + 8]
push esi
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push eax
push edx
push esi
call edi
mov edx, dword [ebx + 0x10]
add ebp, edx
mov eax, dword [ebx + 0x20]
and byte [ebx - 0x77cfbab], cl
or byte [esi + 0x18], dh
push 8
pop eax
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 0x40]
add eax, ecx
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jb 0x42938c
mov edx, dword [ebx + 0x30]
lea eax, [esp + 8]
push eax
mov dword [esi + 8], edx
push dword [esp + 0xc]
mov ecx, dword [ebx + 0x20]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx + 0x38]
add edx, eax
mov ebx, dword [ebx + 0x38]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x429380
Capabilities:
Terminate process

Disassembly:
sub esp, 0x14
xor eax, eax
mov dword [esp + 0xc], 0
lea edx, [esp + 0xc]
call fcn.004293da
mov ebp, eax
mov ebx, 0x483848
xor edx, edx
mov eax, dword [ebx + 0x18]
call fcn.004293da
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0x34]
mov edx, dword [esp + 0xc]
cmp dword [esi], 0
je 0x429321
mov eax, edx
mov dword [esp + 8], edx
call fcn.0042946e
movzx eax, al
mov edx, dword [esp + 8]
cmp al, byte [esi]
je 0x42930c
cmp al, byte [esi + 1]
jne 0x4293ca
mov eax, edx
call fcn.00429486
cmp eax, dword [esi + 4]
je 0x429321
cmp eax, dword [esi + 8]
jne 0x4293ca
xor esi, esi
mov dword [esp + 8], esi
push 4
push 0x1000
mov eax, dword [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov eax, dword [ebx + 0x1c]
test eax, eax
jbe 0x429357
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax + esi]
mov dword [edx + esi], ecx
mov edi, dword [ebx + 0x40]
add esi, edi
mov eax, dword [ebx + 0x1c]
cmp esi, eax
jb 0x429342
mov eax, dword [esp + 0x10]
call fcn.004294ae
mov edi, eax
test edi, edi
je 0x4293ca
lea esi, [esp + 8]
push esi
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x1c]
push eax
push edx
push esi
call edi
mov edx, dword [ebx + 0x10]
add ebp, edx
mov eax, dword [ebx + 0x20]
and byte [ebx - 0x77cfbab], cl
or byte [esi + 0x18], dh
push 8
pop eax
mov ecx, dword [ebp + eax]
add ecx, edx
mov dword [esi + eax], ecx
mov ecx, dword [ebx + 0x40]
add eax, ecx
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
jb 0x42938c
mov edx, dword [ebx + 0x30]
lea eax, [esp + 8]
push eax
mov dword [esi + 8], edx
push dword [esp + 0xc]
mov ecx, dword [ebx + 0x20]
push ecx
push esi
call edi
mov edx, dword [esi + 0xc]
add edx, esi
mov eax, dword [ebx + 0x38]
add edx, eax
mov ebx, dword [ebx + 0x38]
add esi, ebx
push esi
call edx
pop eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4294b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
sub esp, 0x14
mov esi, eax
mov dword [esp + 8], edx
test esi, esi
je 0x4294f8
mov ebp, dword [esi + 0x3c]
mov edx, dword [ebp + esi + 0x78]
mov dword [esp + 0x10], edx
mov ecx, dword [edx + esi + 0x18]
mov ebp, dword [edx + esi + 0x20]
add ebp, esi
mov dword [esp + 0xc], ecx
test ecx, ecx
jbe 0x4294f8
xor ebx, ebx
mov eax, dword [ebp + ebx*4]
add eax, esi
mov edx, dword [esp + 8]
call fcn.00429526
test al, al
jne 0x4294fc
inc ebx
cmp ebx, dword [esp + 0xc]
jb 0x4294de
xor eax, eax
jmp 0x429516
mov edx, dword [esp + 0x10]
add esp, 0x14
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x439ef0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xc
mov eax, dword [0x46b21c]
push ebx
push ebp
mov dword [esp + 0x10], ecx
mov ecx, dword [ecx]
push esi
push edi
push ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
mov eax, dword [esp + 0x10]
add ebx, 0x10b
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
mov esi, ebx
jg 0x439f2b
cmp ebx, dword [eax - 4]
jle 0x439f8c
mov edi, dword [eax - 8]
cmp ebx, edi
mov dword [esp + 0x14], edi
jge 0x439f38
mov esi, edi
test esi, esi
jne 0x43a01b
mov eax, dword [0x46b21c]
lea ecx, [edi + edi + 2]
mov dword [esp + 0x10], eax
mov edi, eax
mov eax, ecx
lea esi, [ebp + 0xc]
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], edx
mov eax, dword [0x46b220]
cmp ebp, eax
je 0x439f88
push ebp
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x439f88
push ebp
call fcn.00459de2
add esp, 4
mov eax, dword [esp + 0x10]
push ebx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
lea esi, [edx - 0xc]
cmp eax, 1
jle 0x439fe0
lea ecx, [esp + 0x10]
call fcn.00402690
mov eax, dword [esi + 4]
lea ecx, [esp + 0x10]
push eax
call fcn.00401ce0
test eax, eax
je 0x439fe0
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
mov word [edx + eax*2], 0
mov eax, dword [esp + 0x10]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
test edx, edx
jl 0x43a04e
push ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x43a094
lea edx, [esi + esi + 0xe]
push edx
call fcn.00459ded
add esp, 4
test eax, eax
je 0x43a047
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
jmp 0x439f45
xor eax, eax
jmp 0x439f8c
mov ecx, dword [0x46b21c]
mov esi, eax
test eax, eax
mov dword [ebx], ecx
jne 0x43a060
xor ebp, ebp
jmp 0x43a065
push eax
call edi
mov ebp, eax
push ebp
mov ecx, ebx
call fcn.00401de0
test eax, eax
je 0x43a094
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x46b220]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x43a0c3
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a0c3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00459de2
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x43a100
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push 0
push 0
push 0xf1
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x34], eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x48]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3e8]
test eax, eax
je 0x43a156
mov dword [esi + 0x3e8], 0
mov eax, dword [0x483980]
push 0
add esi, 0x3ec
push 0
push esi
push eax
call fcn.0041dbe0
add esp, 0x10
pop esi
ret 4

Function at 0x43a1b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
or ah, 2
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 4]
mov dword [esp + 4], 0x3c
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
add esp, 0x3c
ret
Function at 0x43d520
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x40]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
test edi, edi
sete al
push eax
push ecx
call esi
mov eax, dword [ebx + 0x28]
xor edx, edx
test eax, eax
mov eax, dword [ebx + 0x44]
sete dl
push edx
push eax
call esi
mov edx, dword [ebx + 0x28]
xor ecx, ecx
test edx, edx
mov edx, dword [ebx + 0x20]
sete cl
push ecx
push edx
call esi
mov eax, dword [ebx + 0x4f4]
push 0x105
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebx + 0x3e8]
test eax, eax
je 0x43d5a6
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x43d6d4
mov ecx, dword [eax + 0x25c]
mov dword [ebx + 0x25c], ecx
mov ecx, ebx
call fcn.00439cd0
pop edi
pop esi
pop ebx
add esp, 0x14
ret
mov edx, dword [ebx + 4]
push ebp
push 0x456
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov eax, dword [0x46b21c]
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
mov eax, dword [esp + 0x10]
add ebp, 0x10b
mov edx, dword [eax - 0xc]
lea edi, [eax - 0xc]
cmp edx, 1
mov ecx, ebp
mov dword [esp + 0x1c], edi
jg 0x43d5ee
cmp ebp, dword [eax - 4]
jle 0x43d643
mov eax, dword [eax - 8]
cmp ebp, eax
mov dword [esp + 0x18], eax
jge 0x43d5fb
mov ecx, eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00401ce0
test eax, eax
je 0x43d643
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0xc]
mov edi, dword [esp + 0x10]
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x1c]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax - 8], ecx
call fcn.004028a0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push ebp
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x10]
call fcn.00401d40
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov word [edx + eax*2], 0
lea eax, [esp + 0x10]
push eax
call fcn.00429290
lea ecx, [esp + 0x10]
call fcn.00401e80
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045a78a
mov ecx, dword [0x46b220]
mov esi, eax
mov eax, dword [esp + 0x18]
add esp, 4
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
je 0x43d6c7
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43d6c7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00459de2
add esp, 4
mov ecx, ebx
mov dword [ebx + 0x25c], esi
call fcn.00439cd0
pop edi
pop esi
pop ebx
add esp, 0x14
ret