joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418db9
Capabilities:
Get common file path

Disassembly:
push 0x294
mov eax, 0x46e7ac
call fcn.0045f3fe
mov ecx, dword [0x481200]
push 0x40c168
call fcn.0042d4e5
xor eax, eax
push 0x62
mov word [ebp - 0x74], ax
xor edi, edi
lea eax, [ebp - 0x72]
push edi
push eax
call fcn.004433d0
xor eax, eax
push 0x208
mov word [ebp - 0x280], ax
lea eax, [ebp - 0x27e]
push edi
push eax
call fcn.004433d0
add esp, 0x18
mov esi, 0x105
push esi
lea eax, [ebp - 0x280]
push eax
mov dword [ebp - 0x2a0], 0x32
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, edi
je 0x418ec2
cmp eax, esi
ja 0x418ec2
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004132cd
mov dword [ebp - 4], edi
push 0x40c1d0
lea ecx, [ebp - 0x29c]
call fcn.00413343
cmp dword [ebp - 0x284], 8
mov eax, dword [ebp - 0x298]
jae 0x418e71
lea eax, [ebp - 0x298]
push edi
push edi
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x74]
push ecx
push eax
call sub.msi.dll_MsiMessageBoxW
test eax, eax
mov eax, dword [ebp - 0x298]
je 0x418eca
cmp dword [ebp - 0x284], 8
jae 0x418e9d
lea eax, [ebp - 0x298]
mov esi, dword [0x481200]
push eax
push 0x40c1f0
call fcn.0042d7c5
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x29c]
call fcn.00411dad
xor al, al
call fcn.0045f490
ret
cmp dword [ebp - 0x284], 8
jae 0x418ed9
lea eax, [ebp - 0x298]
mov esi, dword [0x481200]
lea ecx, [ebp - 0x74]
push ecx
push eax
push 0x40c260
call fcn.0042d7c5
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call fcn.00413ccf
mov ecx, dword [0x481200]
push 0x40c288
call fcn.0042d4e5
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x29c]
call fcn.00411dad
mov al, 1
jmp 0x418ec4
Function at 0x41a01f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, eax
call fcn.00419f48
movzx eax, word [esi + 4]
push 2
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esi + 0x234], eax
test eax, eax
jne 0x41a050
xor eax, eax
jmp 0x41a19a
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 0x238], eax
test eax, eax
je 0x41a049
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x23c], eax
test eax, eax
je 0x41a049
push dword [esi + 0x234]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + 0x240]
and dword [ecx], 0
push eax
push ecx
push dword [esi + 0x23c]
mov dword [esi + 0x244], eax
call fcn.004115b0
mov dword [esi + 0x220], eax
test eax, eax
je 0x41a049
push eax
lea ebx, [ebp - 0x28]
call fcn.004113f9
mov eax, dword [ebp - 0x24]
push dword [esi + 0x220]
mov dword [esi + 0x254], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x258], eax
call fcn.00411579
mov dword [esi + 0x214], eax
test eax, eax
je 0x41a049
push dword [esi + 0x220]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
xor ebx, ebx
inc ebx
cmp word [eax + 0xe], 0x18
je 0x41a10e
mov dword [esi + 0x228], ebx
mov ecx, dword [eax]
xor edx, edx
add ecx, eax
cmp dword [eax + 0x20], edx
jle 0x41a10e
mov word [ecx], dx
inc ecx
inc ecx
inc edx
cmp edx, dword [eax + 0x20]
jl 0x41a103
push dword [esi + 0x220]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 0x244]
mov eax, dword [esi + 0x23c]
mov dword [esi + 0x22c], ebx
call fcn.00411341
cmp dword [ebp - 0x18], 0
mov dword [esi + 0x218], eax
je 0x41a14b
test eax, eax
jne 0x41a14f
call fcn.00419f48
jmp 0x41a049
test eax, eax
je 0x41a198
cmp dword [esi + 0x230], 0
jne 0x41a198
push dword [esi + 0x214]
push eax
call fcn.00411891
mov dword [esi + 0x21c], eax
test eax, eax
je 0x41a141
lea eax, [esi + 0x248]
push eax
push dword [esi + 0x250]
push dword [esi + 0x24c]
push dword [esi + 0x214]
push dword [esi + 0x218]
call fcn.004117d4
mov dword [esi + 0x224], eax
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41a531
Capabilities:
Check os version
Shutdown system

Disassembly:
push 0x13c
mov eax, 0x469daa
call fcn.0045f439
xor esi, esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], 0x114
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a62b
push 2
pop ebx
cmp dword [ebp - 0x118], ebx
jne 0x41a648
lea eax, [ebp - 0x130]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41a5e3
lea eax, [ebp - 0x138]
push eax
push 0x40c440
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x140], eax
xor edi, edi
inc edi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x13c], ebx
push esi
push esi
push esi
lea eax, [ebp - 0x148]
push eax
push esi
push dword [ebp - 0x130]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
jmp 0x41a5e6
xor edi, edi
inc edi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x124], 5
ja 0x41a60d
jne 0x41a5fc
cmp dword [ebp - 0x120], esi
ja 0x41a60d
push edi
push edi
push esi
push 0x409384
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
jmp 0x41a621
push SysReAllocString
push edi
push edi
push esi
push 0x409384
push esi
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
mov dword [ebp - 0x12c], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x12c], esi
setne al
call fcn.0045f4a4
ret
push esi
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jmp 0x41a631
Function at 0x41a843
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x42c], eax
call fcn.0043f5ef
push eax
call fcn.0043f645
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.004433d0
xor eax, eax
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
call fcn.004433d0
call fcn.0043f65c
push 2
push ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
call fcn.0043f683
add esp, 0x28
test eax, eax
je 0x41a8e9
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
push ebx
call fcn.0043f683
pop ecx
pop ecx
test eax, eax
je 0x41a8e9
xor eax, eax
jmp 0x41a9cb
push ebx
mov esi, 0x105
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0043e613
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push dword [ebp - 0x42c]
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0043efc4
add esp, 0xc
mov eax, dword [ebp - 0x420]
and eax, 0x8000ffff
jns 0x41a936
dec eax
or eax, 0xffff0000
inc eax
push 0x40cbcc
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x41c]
push eax
push 0x40c468
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0043f069
inc dword [ebp - 0x420]
inc dword [ebp - 0x424]
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.0043f683
add esp, 0x24
test eax, eax
jne 0x41a989
cmp dword [ebp - 0x424], 0x10000
jl 0x41a922
push 0x104
push edi
push dword [ebp - 0x428]
call fcn.004433d0
lea eax, [ebp - 0x210]
push eax
push 0x103
push dword [ebp - 0x428]
call fcn.0043e613
lea eax, [ebp - 0x210]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x41a9bd
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043dff7
leave
ret 8

Function at 0x41a9e0
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0
push esi
call fcn.0043f683
pop ecx
pop ecx
test eax, eax
jne 0x41aa0c
xor eax, eax
inc eax
jmp 0x41aa7e
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004433d0
push esi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0043e613
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.0043ef4e
add esp, 0x20
test eax, eax
je 0x41aa7c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x210]
push eax
call fcn.0041a9e0
test eax, eax
je 0x41aa7c
push 0
push esi
call fcn.0043f683
pop ecx
pop ecx
test eax, eax
je 0x41aa07
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x41aa7e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043dff7
leave
ret 4
Function at 0x41cc58
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x134
mov eax, 0x46e2e1
call fcn.0045f3fe
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x131], bl
jb 0x41cc85
mov eax, dword [esi + 4]
jmp 0x41cc88
lea eax, [esi + 4]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x138], eax
cmp eax, 0xffffffff
jne 0x41ccec
push esi
lea eax, [ebp - 0x2c]
push 0x40cc50
push eax
call fcn.00414de7
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41ccca
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
call fcn.0042d729
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
xor al, al
jmp 0x41cde4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 2]
push eax
call fcn.0043e603
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x41cd39
push 0x40cc80
lea ecx, [ebp - 0x2c]
call fcn.004132cd
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41cd25
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
call fcn.0042d729
or dword [ebp - 4], 0xffffffff
push ebx
push edi
jmp 0x41ccdd
lea eax, [edi + 2]
push eax
push ebx
push esi
call fcn.004433d0
add esp, 0xc
push ebx
lea eax, [ebp - 0x140]
push eax
push edi
push esi
push dword [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cdcb
mov eax, 0xfeff
cmp word [esi], ax
jne 0x41cd82
mov ecx, dword [ebp - 0x13c]
lea eax, [esi + 2]
push eax
call fcn.00413ccf
jmp 0x41cdc4
push esi
lea ecx, [ebp - 0x130]
call fcn.0041cec5
mov dword [ebp - 4], 2
push dword [ebp - 0x130]
mov ecx, dword [ebp - 0x13c]
call fcn.00413ccf
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x130], eax
je 0x41cdc4
push dword [ebp - 0x130]
call fcn.0043e7ba
pop ecx
mov byte [ebp - 0x131], 1
push esi
call fcn.0043e687
pop ecx
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x131]
call fcn.0045f490
ret 4

Function at 0x41d5dd
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46b786
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
xor edi, edi
call fcn.0042029b
mov dword [esp + 0x50], 1
lea eax, [esi + 0x4c]
mov dword [esp + 0xc], 0x40dbdc
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], 2
mov eax, dword [esi + 0x40]
cmp dword [eax], edi
je 0x41d665
push dword [eax]
lea ebx, [esp + 0x10]
call fcn.0041f1e5
mov edi, eax
or dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.004202c3
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e48a
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [0x481200]
push 0x40d6c0
mov edi, eax
mov esi, edx
call fcn.0042d4e5
xor ecx, ecx
cmp ebx, ecx
jne 0x41e4ca
push 0x40d6f8
mov esi, dword [0x481200]
call fcn.0042d729
xor al, al
jmp 0x41e5a6
cmp edi, 0xffffffff
je 0x41e4d7
cmp dword [esi + 0xc4], ecx
je 0x41e4e1
xor edx, edx
inc edx
mov dword [ebp - 4], edx
xor edi, edi
jmp 0x41e4e4
xor edx, edx
inc edx
cmp dword [ebx], ecx
je 0x41e4f8
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41e5a4
cmp edi, edx
mov eax, edx
jl 0x41e524
mov ebx, dword [esi + 0x3c]
mov ebx, dword [ebx]
mov dword [esi + 0x3c], ebx
cmp ebx, dword [esi + 0x34]
je 0x41e512
inc eax
cmp eax, edi
jle 0x41e4fe
jmp 0x41e524
cmp eax, edx
jl 0x41e522
dec eax
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x3c], ecx
jne 0x41e516
mov ecx, edx
cmp dword [ebp - 4], 0
je 0x41e536
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x41e594
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e55c
lea ecx, [eax + 4]
jmp 0x41e55e
xor ecx, ecx
mov eax, dword [esi + 0x40]
cmp eax, ecx
je 0x41e56b
push 0
push dword [eax]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e57a
add eax, 4
jmp 0x41e57c
xor eax, eax
push 5
push dword [esi + 4]
mov dword [esi + 0x40], eax
call edi
test eax, eax
jne 0x41e594
push 0x40d744
jmp 0x41e4b8
mov ecx, dword [0x481200]
push 0x40d76c
call fcn.0042d4e5
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421374
Capabilities:
Get common file path

Disassembly:
push 0x2dc
mov eax, 0x46d581
call fcn.0045f3fe
push dword [ebp + 0xc]
mov dword [ebp - 0x25c], esi
push dword [ebp + 8]
push esi
call fcn.00421ebd
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
lea ecx, [esi + 0x2c4]
mov dword [esi], 0x40ddb0
mov dword [edi], 0x40ddf8
mov byte [esi + 0x2c0], bl
mov byte [esi + 0x2c1], bl
call fcn.00411d68
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2e0]
call fcn.00411d68
mov byte [ebp - 4], 2
push 1
push edi
lea eax, [esi + 0x2fc]
push eax
call fcn.00422015
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.00411d68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.00411d68
mov byte [ebp - 4], 5
mov ecx, dword [0x481204]
lea eax, [ebp - 0x258]
push eax
push 0x1d
pop eax
call fcn.0041badf
mov ecx, dword [0x481204]
lea eax, [ebp - 0x23c]
push eax
push 0x17
pop eax
call fcn.0041badf
push 0x40dd34
lea ecx, [ebp - 0x2b0]
call fcn.004132cd
mov edi, eax
mov byte [ebp - 4], 6
push 0x40dd40
lea ecx, [ebp - 0x294]
call fcn.004132cd
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00419205
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x23c]
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00419205
add esp, 0xc
mov byte [ebp - 4], 9
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.00419205
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x2c4]
call fcn.00411d93
mov byte [ebp - 4], 9
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2e8]
call fcn.00411dad
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.00411dad
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp - 0x2cc]
call fcn.00411dad
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x294]
call fcn.00411dad
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp - 0x2b0]
call fcn.00411dad
push 0x40dd4c
lea ecx, [esi + 0x2e0]
call fcn.00413ccf
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.004433d0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x40dd68
push 0x20a
lea eax, [ebp - 0x220]
push eax
call fcn.00422181
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x23c]
call fcn.00411dad
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x258]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0045f490
ret 8
Function at 0x421e18
Capabilities:
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x468197
call fcn.0045f38b
mov esi, ecx
call fcn.0041aa92
cmp eax, 1
lea eax, [esi + 0x2e0]
je 0x421e3c
lea eax, [esi + 0x2c4]
cmp dword [eax + 0x18], 8
jb 0x421e47
mov ecx, dword [eax + 4]
jmp 0x421e4a
lea ecx, [eax + 4]
push 0
mov eax, 0x409384
push eax
push eax
push ecx
push 0x40dda0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x421eb0
lea eax, [esi + 0x2c4]
cmp dword [eax + 0x18], 8
jb 0x421e78
mov eax, dword [eax + 4]
jmp 0x421e7b
add eax, 4
push eax
push 0x122c
lea eax, [ebp - 0x28]
push eax
call fcn.0044be36
and dword [ebp - 4], 0
mov esi, dword [esi + 0x24]
lea ecx, [esi + 0x28]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00411dad
xor al, al
jmp 0x421eb2
mov al, 1
call fcn.0045f477
ret

Function at 0x422f96
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x46cc9b
call fcn.0045f3fe
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
sub ecx, 0x100
mov dword [ebp - 0x30], ebx
je 0x422fe2
sub ecx, 0x11
je 0x422fce
sub ecx, 0xf1
jne 0x423100
mov ecx, dword [eax + 0x2b4]
jmp 0x422ff6
mov ecx, esi
shr ecx, 0x10
cmp cx, 1
jne 0x422fde
movzx ecx, si
jmp 0x422ff6
mov dword [edx], ebx
jmp 0x422ff9
cmp esi, 0xd
je 0x422ff0
cmp esi, 0x20
jne 0x423100
mov ecx, dword [eax + 0x2b0]
mov dword [ebp - 0x30], ecx
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 0x40deb4
cmp dword [ebp - 0x30], ebx
je 0x4230be
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x2e8]
add ecx, 0xfffffeb8
mov dword [ebp - 0x38], edx
cmp ecx, edx
jae 0x4230be
mov edx, dword [ebp - 0x30]
add edx, 0xfffffeb8
js 0x4230be
mov eax, dword [eax + 0x2e4]
mov eax, dword [eax]
mov dword [ebp - 0x34], ebx
cmp ecx, ebx
jbe 0x423059
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jae 0x423057
inc dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x34], ecx
jb 0x423045
xor ebx, ebx
lea ecx, [ebp - 0x2c]
add eax, 8
push ecx
push eax
call fcn.00422257
mov dword [ebp - 4], ebx
push 0x409384
lea ecx, [ebp - 0x2c]
call fcn.0041504c
test eax, eax
je 0x4230af
push 0x40de7c
lea ecx, [ebp - 0x2c]
call fcn.0041504c
test eax, eax
jne 0x42309a
push 1
push ebx
push 0x40de84
push 0x40de9c
jmp 0x4230ab
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4230a6
lea eax, [ebp - 0x28]
push 1
push ebx
push ebx
push eax
push edi
push ebx
call esi
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
cmp dword [ebp - 0x30], 0x26d
jne 0x423100
push 0x12cb
lea eax, [ebp - 0x2c]
push eax
call fcn.0044bdfb
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x18], 8
jb 0x4230e6
mov eax, dword [eax + 4]
jmp 0x4230e9
add eax, 4
push ecx
push ebx
push ebx
push eax
push edi
push ebx
call esi
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
xor eax, eax
call fcn.0045f490
ret 8
Function at 0x423f03
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46cc19
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi + 0x2c8]
mov ebx, dword [eax]
or dword [esp + 0x1c], 0xffffffff
cmp ebx, eax
je 0x424094
mov eax, 0x145
mov dword [esp + 0x18], eax
jmp 0x423f54
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x145]
cmp ecx, 3
jge 0x424094
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0xffffffdd
push eax
push dword [edi + 4]
call esi
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
push dword [edi + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call esi
push 5
push dword [esp + 0x18]
call esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [ebx + 8]
push ecx
push eax
call fcn.00423a76
and dword [esp + 0x4c], 0
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x30]
call fcn.0042533c
push 0x64
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea esi, [ebx + 8]
push esi
call fcn.00423a76
mov dword [esp + 0x50], 1
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.00423559
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
push esi
call fcn.00423ab0
mov dword [esp + 0x4c], 2
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x34]
call fcn.00420c97
push 0x64
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea eax, [ebx + 8]
push eax
call fcn.00423ab0
mov dword [esp + 0x50], 3
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, esi
mov ecx, edi
call fcn.00423559
cmp byte [ebx + 0x68], 0
push 0
je 0x424055
push 1
jmp 0x424057
push 0
push 0xf1
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0x69], 0
jne 0x424082
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esp + 0x14]
call esi
push 0
push dword [esp + 0x18]
call esi
mov ebx, dword [ebx]
inc dword [esp + 0x18]
cmp ebx, dword [edi + 0x2c8]
jne 0x423f50
mov eax, dword [ebp + 8]
mov dword [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424ac1
Capabilities:
Get graphical window text

Disassembly:
push 0x440
mov eax, 0x46f86e
call fcn.0045f3fe
mov eax, dword [ebp + 8]
mov dword [ebp - 0x430], eax
xor eax, eax
mov ebx, 0x208
push ebx
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.004433d0
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push esi
push eax
call fcn.004433d0
add esp, 0x18
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004132cd
mov dword [ebp - 4], esi
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.00424d88
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x44c]
call fcn.00411dad
test bl, bl
je 0x424b9b
lea eax, [edi + 0x2c8]
cmp dword [eax + 0x18], 8
jb 0x424b83
mov eax, dword [eax + 4]
jmp 0x424b86
add eax, 4
push eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.0043e613
add esp, 0xc
mov eax, dword [edi + 0x24]
lea ebx, [edi + 0x2e4]
mov dword [ebx + 0x54c], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x528]
call fcn.00413ccf
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebx + 0x20]
call fcn.0042e96a
mov dword [ebx + 0x548], 0x6a
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ebx
lea esi, [ebx + 8]
mov dword [ebp - 0x42c], eax
call fcn.0041f6c6
push dword [ebp - 0x42c]
mov ebx, dword [0x47ed8c]
call fcn.0042aa11
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x424caf
lea eax, [edi + 0x5e2]
push eax
lea eax, [ebp - 0x428]
push 0x105
push eax
call fcn.0043e613
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004132cd
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.00424d88
mov esi, eax
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x44c]
call fcn.00411dad
test esi, esi
je 0x424caf
lea eax, [ebp - 0x428]
lea esi, [edi + 0x2c8]
push eax
mov ecx, esi
call fcn.00413ccf
cmp dword [esi + 0x18], 8
jb 0x424c7a
mov esi, dword [esi + 4]
jmp 0x424c7d
add esi, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x42c], esp
push esi
call fcn.004132cd
mov dword [ebp - 4], 2
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
or dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00420c97
mov eax, dword [ebp - 0x430]
mov dword [eax], ebx
xor eax, eax
call fcn.0045f490
ret 4