joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421fb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
call fcn.004711f0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x10]
call fcn.004711f0
lea ecx, [esi + 0x14]
mov eax, dword [ebp + 0x18]
cmp byte [eax + 0xb], 0
js 0x421fec
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x421ff6
push dword [eax + 4]
push dword [eax]
call fcn.0046d2b0
lea edi, [ebp + 8]
mov byte [esi + 0x20], 1
mov ebx, dword [esi + 8]
cmp ebx, dword [esi + 0xc]
je 0x422015
mov ecx, ebx
push edi
call fcn.00425520
add ebx, 0x10
mov dword [esi + 8], ebx
jmp 0x42201e
lea ecx, [esi + 4]
push edi
call fcn.00422710
xor eax, eax
push eax
push eax
push esi
push 0x422130
push eax
push eax
call fcn.00499eb0
add esp, 0x18
mov ecx, edi
call fcn.004254f0
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 0x14

Function at 0x422630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x78], eax
xor eax, eax
dec eax
lea edi, [esp + 0x10]
mov dword [edi + 0x64], eax
mov dword [edi + 0x60], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [edi + 0x50], xmm0
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
mov ecx, edi
call fcn.004d3660
cmp byte [ebx + 0xb], 0
jns 0x42268c
mov ebx, dword [ebx]
mov eax, dword [ebp + 0xc]
mov ecx, edi
push eax
push ebx
call fcn.004d3980
test al, al
je 0x4226ea
mov edi, dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x10]
call fcn.004d3df0
mov ebx, eax
test eax, eax
je 0x4226ca
test edi, edi
je 0x4226ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0xc]
cmp eax, edi
ja 0x4226ea
mov al, byte [esi + 0x20]
test ebx, ebx
je 0x4226d7
test al, al
jne 0x4226a9
jmp 0x4226ea
test al, al
je 0x4226ea
lea ecx, [esp + 0x10]
push 0
call fcn.00448c60
mov ebx, eax
jmp 0x4226ec
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.00448ad0
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x425710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx esi, cx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0xa
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor esi, esi
test eax, eax
je 0x4257af
mov ebx, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4257ad
mov esi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
je 0x4257ad
mov edi, eax
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4257a6
push ebx
push esi
push eax
call fcn.0048e490
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea esi, [ebp - 0x14]
mov dword [esi], 0xffffffff
push esi
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [esi]
jmp 0x4257af
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x425ea0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
mov ecx, edi
push eax
call fcn.004b66a0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
mov edi, dword [edi + 4]
add edi, 0xfffffffe
mov ebx, edi
mov dword [ebp - 0x20], eax
sub ebx, eax
js 0x425f73
sar ebx, 1
cmp ebx, 4
ja 0x425f08
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], bl
mov eax, esi
jmp 0x425f2f
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x425f7b
lea eax, [esi + esi]
push eax
call fcn.0048b346
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
or esi, 0x80000000
mov dword [ecx + 8], esi
mov esi, ecx
mov dword [ecx + 4], ebx
mov ebx, dword [ebp - 0x20]
cmp ebx, edi
je 0x425f48
mov ecx, ebx
movzx edx, word [ecx]
mov word [eax], dx
add ecx, 2
add eax, 2
cmp ecx, edi
jne 0x425f38
mov word [eax], 0
test ebx, ebx
je 0x425f5f
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x1c]
call fcn.0048b376
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.004cb7c0
call fcn.0049f050
Function at 0x428850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
movzx ebx, word [ebp + 0x10]
mov esi, dword [ebp + 0xc]
shr esi, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
inc esi
movzx eax, si
push ebx
push eax
push 6
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x4288bd
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4288bd
mov edi, eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xf
xor eax, eax
mov esi, dword [ebp + 8]
movzx ebx, word [edi]
test ebx, ebx
je 0x4288b0
cmp ecx, eax
je 0x4288d1
add edi, 2
lea edi, [edi + ebx*2]
jmp 0x4288b3
add edi, 2
inc eax
cmp eax, 0x10
jne 0x42889d
xor eax, eax
jmp 0x4288c2
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
cmp bx, 4
ja 0x4288de
mov byte [esi + 0xb], bl
mov eax, esi
jmp 0x428907
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0048b346
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
or esi, 0x80000000
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], esi
mov esi, dword [ebp + 8]
mov dword [esi + 4], ebx
add ebx, ebx
xor ecx, ecx
movzx edx, word [edi + ecx + 2]
mov word [eax + ecx], dx
add ecx, 2
cmp ebx, ecx
jne 0x42890b
mov word [eax + ecx], 0
jmp 0x4288ca

Function at 0x428930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
push 0x5082f0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42898d
mov esi, eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42898d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x42898d
mov ebx, eax
cmp eax, 0xfffffff0
jae 0x4289d6
cmp ebx, 0xa
ja 0x42899c
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], bl
mov eax, esi
jmp 0x4289be
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x4289cf
lea esi, [ebx + 0x10]
and esi, 0xfffffff0
push esi
call fcn.0048b346
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
or esi, 0x80000000
mov dword [ecx + 8], esi
mov esi, ecx
mov dword [ecx + 4], ebx
xor ecx, ecx
mov dl, byte [edi + ecx]
mov byte [eax + ecx], dl
inc ecx
cmp ebx, ecx
jne 0x4289c0
mov byte [eax + ecx], 0
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.004cb7c0
int3
Function at 0x428e30
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movsx ecx, ax
cmp ecx, 0x41e
jg 0x428e6c
add eax, 0xfffffbfc
cmp ax, 0x15
ja case.0x428e5b.2
mov edx, 0x50831a
movzx eax, ax
jmp dword [eax*4 + 0x508b0c]
mov edx, str.zh_TW
jmp case.0x428e5b.21
movzx eax, ax
cmp ecx, 0x442
jle 0x428e94
cmp ecx, 0x815
jg 0x428eb0
cmp eax, 0x443
je 0x428ef6
cmp eax, 0x804
jne case.0x428e5b.2
mov edx, str.zh_CN
jmp case.0x428e5b.21
cmp eax, 0x41f
je 0x428efd
cmp eax, 0x422
je 0x428f04
cmp eax, 0x43f
jne case.0x428e5b.2
mov edx, 0x50834a
jmp case.0x428e5b.21
cmp eax, 0x816
je 0x428f0b
cmp eax, 0xc0a
jne case.0x428e5b.2
mov edx, 0x508326
jmp case.0x428e5b.21
mov edx, 0x508353
jmp case.0x428e5b.21
mov edx, 0x508350
jmp case.0x428e5b.21
mov edx, 0x508323
jmp case.0x428e5b.21
mov edx, 0x508329
jmp case.0x428e5b.21
mov edx, 0x50832c
jmp case.0x428e5b.21
mov edx, 0x50832f
jmp case.0x428e5b.21
mov edx, str.pt_BR
jmp case.0x428e5b.21
mov edx, 0x50834d
jmp case.0x428e5b.21
mov edx, 0x508320
jmp case.0x428e5b.21
mov edx, 0x50831d
jmp case.0x428e5b.21
mov edx, str.pt_PT
mov ecx, esi
push edx
call fcn.004b5b10
mov eax, esi
pop esi
pop ebp
ret

Function at 0x4292e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [ebp + 8]
mov esi, 0x208
push esi
call fcn.0048b346
add esp, 4
mov edi, eax
push esi
push 0
push eax
call fcn.0048ef90
add esp, 0xc
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec eax
cmp eax, 0x102
ja 0x42933b
mov edx, esi
add edx, esi
js 0x4293ac
mov ebx, edx
sar ebx, 1
cmp ebx, 4
ja 0x429347
mov eax, dword [ebp + 8]
mov byte [eax + 0xb], bl
mov ebx, eax
jmp 0x429379
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
jmp 0x429395
mov dword [ebp - 0x14], edx
lea eax, [ebx + 8]
and eax, 0xfffffff8
js 0x4293b4
mov dword [ebp - 0x10], eax
add eax, eax
push eax
call fcn.0048b346
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
or edx, 0x80000000
mov dword [ecx + 8], edx
mov dword [ecx + 4], ebx
mov ebx, ecx
mov edx, dword [ebp - 0x14]
lea ecx, [edi + esi*2]
cmp ecx, edi
je 0x429390
lea esi, [eax + esi*2]
push edx
push edi
push eax
call fcn.0048e490
add esp, 0xc
mov eax, esi
mov word [eax], 0
test edi, edi
je 0x4293a2
push edi
call fcn.0048b376
add esp, 4
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.004cb7c0
call fcn.0049f050
int3
Function at 0x4293c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [0x521014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xb], 0
jns 0x4293df
mov eax, dword [eax]
sub esp, 0x1c
movaps xmm0, xmmword [0x5071b0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
xor ebx, ebx
cmp eax, 0xffffffff
je 0x42944e
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
movzx eax, byte [edi + 0xb]
mov ecx, edi
test al, al
jns 0x429425
mov eax, dword [edi + 4]
mov ecx, dword [edi]
lea edx, [ebp - 0x14]
push ebx
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42944a
mov eax, dword [ebp - 0x14]
movzx ecx, byte [edi + 0xb]
test cl, cl
jns 0x429445
mov ecx, dword [edi + 4]
cmp eax, ecx
sete bl
test esi, esi
je 0x429455
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x429470
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x521014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
cmp byte [eax + 0xb], 0
jns 0x42948f
mov eax, dword [eax]
mov esi, dword [ebp + 8]
sub esp, 0x1c
movaps xmm0, xmmword [0x5082e0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x429549
xor edi, edi
push edi
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov edi, 0
mov ebx, 0
test eax, eax
je 0x42950f
js 0x4295d5
push esi
call fcn.0048b346
add esp, 4
mov ebx, eax
mov dword [ebp - 0x1c], eax
lea edi, [eax + esi]
mov dword [ebp - 0x14], edi
push esi
push 0
push eax
call fcn.0048ef90
add esp, 0xc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov dword [eax], ecx
push ecx
push eax
push esi
push ebx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x429555
cmp esi, dword [ebp - 0x20]
jne 0x429555
mov eax, edi
sub eax, ebx
cmp eax, 0xfffffff0
jae 0x4295cd
cmp eax, 0xa
ja 0x429564
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], al
mov eax, esi
jmp 0x429594
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dword [esi + 8], ecx
jmp 0x4295b2
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x42959e
lea esi, [eax + 0x10]
and esi, 0xfffffff0
push esi
mov dword [ebp - 0x28], eax
call fcn.0048b346
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
or esi, 0x80000000
mov dword [ecx + 8], esi
mov esi, ecx
mov ecx, dword [ebp - 0x28]
mov dword [esi + 4], ecx
jmp 0x429594
mov cl, byte [ebx]
mov byte [eax], cl
inc ebx
inc eax
cmp ebx, edi
jne 0x42958e
mov byte [eax], 0
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4295ab
push ebx
call fcn.0048b376
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4295b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.004cb7c0
lea ecx, [ebp - 0x1c]
call fcn.004b5a40
int3
Function at 0x4295e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, ebx
test bl, bl
jns 0x4295f7
mov eax, dword [esi + 4]
test eax, eax
je 0x429653
mov eax, 0x208
push eax
call fcn.0048b346
add esp, 4
mov edi, eax
xor eax, eax
mov ecx, 0x208
push ecx
push eax
push edi
call fcn.0048ef90
add esp, 0xc
test bl, bl
jns 0x429623
mov esi, dword [esi]
push edi
xor eax, eax
push eax
push 0x5083ec
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x429665
mov ecx, 0x208
add ecx, edi
xor eax, eax
cmp word [edi + eax], 0
je 0x429674
add eax, 2
cmp eax, 0x208
jne 0x429640
jmp 0x429678
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x4296f2
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x4296e5
add eax, edi
mov ecx, eax
mov ebx, ecx
sub ebx, edi
js 0x4296fc
sar ebx, 1
cmp ebx, 4
ja 0x42968f
mov esi, dword [ebp + 8]
mov byte [esi + 0xb], bl
mov ebx, esi
jmp 0x4296c0
mov dword [ebp - 0x10], ecx
lea esi, [ebx + 8]
and esi, 0xfffffff8
js 0x429704
lea eax, [esi + esi]
push eax
call fcn.0048b346
add esp, 4
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
or esi, 0x80000000
mov dword [eax + 8], esi
mov esi, eax
mov dword [eax + 4], ebx
mov ebx, ecx
mov ecx, dword [ebp - 0x10]
sub ecx, edi
je 0x4296e0
lea esi, [ecx - 2]
and esi, 0xfffffffe
and ecx, 0xfffffffe
push ecx
push edi
push ebx
call fcn.0048e490
add esp, 0xc
add ebx, esi
add ebx, 2
mov esi, dword [ebp + 8]
mov word [ebx], 0
test edi, edi
je 0x4296f2
push edi
call fcn.0048b376
add esp, 4
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
call fcn.004cb7c0
call fcn.0049f050
int3

Function at 0x4297e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [ecx + 0xb], 0
js 0x4297f2
je 0x429811
mov eax, esi
jmp 0x4297fa
cmp dword [esi + 4], 0
je 0x429807
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp byte [esi + 0xb], 0
jns 0x429811
push dword [esi]
call fcn.0048b376
add esp, 4
pop esi
pop ebp
ret

Function at 0x42ae60
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [ebp + 8]
mov ecx, dword [0x521014]
xor ecx, ebp
mov dword [esp + 0x6c], ecx
test eax, eax
je 0x42ae9c
push eax
push 0x42af00
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x6c]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 4]
push eax
push edi
call fcn.004b9e70
add esp, 8
lea esi, [esp + 0x10]
mov ecx, esi
push edi
push 0x3a4
push str.BringProcessWindowToTop
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x508577
push str.Failed_to_bring_process_window_to_top:_wrong_process_id
call fcn.004b5d50
mov ecx, esi
call fcn.004b9cb0
cmp byte [edi + 0xb], 0
jns 0x42ae8a
push dword [esp + 4]
call fcn.0048b376
add esp, 4
jmp 0x42ae8a
Function at 0x42ec90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x68], eax
call fcn.00412b70
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ecd5
push 0
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esp + 0x10]
mov ecx, edi
push 0x270
push str.OnCloseWindow
push 0
call fcn.004b9b40
lea ecx, [esp + 0x4c]
push 0x508d4a
push str.____Installer___MainWindow::OnCloseWindow
call fcn.004b5d50
mov ecx, edi
call fcn.004379a0
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x42ed19
call fcn.0041aa40
test al, al
je 0x42ed63
lea ecx, [esi + 0x110]
call fcn.00412b70
xor ebx, ebx
inc ebx
mov edi, dword [sym.imp.USER32.dll_EndDialog]
push ebx
push eax
call edi
mov ecx, esi
call fcn.00412b70
push ebx
push eax
call edi
mov ecx, esi
call fcn.00412b70
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [esp + 4]
push eax
push ebx
call fcn.004b9e70
add esp, 8
lea edi, [esp + 0x10]
mov ecx, edi
push ebx
push 0x274
push str.OnCloseWindow
push 1
call fcn.004b9c70
lea ecx, [esp + 0x4c]
push 0x508d91
push str.____Installer___MainWindow::OnCloseWindow:_WaitForInstallAsync_timeout
call fcn.004b5d50
mov ecx, edi
call fcn.004b9cb0
cmp byte [ebx + 0xb], 0
jns 0x42ed19
push dword [esp + 4]
call fcn.0048b376
add esp, 4
jmp 0x42ed19

Function at 0x42edd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x68], eax
call fcn.00412b70
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ee15
push 0
push dword [esi + 0x108]
call dword [sym.imp.USER32.dll_ShowWindow]
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x10]
movdqa xmmword [edi + 0x40], xmm0
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea ebx, [esp + 4]
push ebx
call fcn.00428660
add esp, 4
mov eax, dword [esi + 0x10]
mov ecx, edi
push ebx
push dword [eax + 0x64]
call fcn.004281c0
mov ecx, edi
push 0
call fcn.00424290
mov ecx, esi
call fcn.00412b70
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, edi
call fcn.004287c0
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42f130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edi, ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [0x521014]
xor ecx, ebp
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
cmp eax, 0x3f6
je 0x42f1a5
cmp ax, 0x7b
je 0x42f1a5
cmp ax, 0x76
jne 0x42f2d6
mov ebx, dword [edi + 0x10]
xor eax, eax
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
cmp byte [ebx + 0x7f], 0
mov dword [esp + 8], edi
js 0x42f1c5
lea eax, [ebx + 0x74]
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
jmp 0x42f1d4
lea esi, [esp + 0x28]
push dword [edi + 0x10]
push esi
call fcn.0042a490
add esp, 8
mov eax, dword [esi + 8]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esi]
jmp 0x42f2ac
lea ecx, [esp + 0x28]
push dword [ebx + 0x78]
push dword [ebx + 0x74]
call fcn.0046c220
lea edi, [esp + 0x28]
mov ecx, edi
push str._lang
call fcn.0046cfd0
movzx eax, byte [ebx + 0x63]
test al, al
jns 0x42f1f4
mov eax, dword [ebx + 0x5c]
mov ebx, dword [ebx + 0x58]
jmp 0x42f1f7
add ebx, 0x58
mov ecx, edi
push eax
push ebx
call fcn.0046c6b0
movzx eax, byte [esp + 0x33]
mov esi, dword [esp + 0x28]
mov ebx, eax
test al, al
jns 0x42f215
mov ebx, dword [esp + 0x2c]
mov edi, esi
cmp ebx, 0x7ffffff0
jae 0x42f30f
mov dword [esp + 4], eax
cmp ebx, 5
jae 0x42f237
lea eax, [esp + 0xc]
mov byte [eax + 0xb], bl
test ebx, ebx
jne 0x42f261
jmp 0x42f272
mov dword [esp], esi
lea esi, [ebx + 8]
and esi, 0xfffffff8
lea eax, [esi + esi]
push eax
call fcn.0048b346
add esp, 4
mov dword [esp + 0xc], eax
or esi, 0x80000000
mov dword [esp + 0x14], esi
mov esi, dword [esp]
mov dword [esp + 0x10], ebx
xor ecx, ecx
movsx edx, byte [edi + ecx]
mov word [eax], dx
add eax, 2
inc ecx
cmp ebx, ecx
jne 0x42f263
mov word [eax], 0
cmp byte [esp + 4], 0
jns 0x42f287
push esi
call fcn.0048b376
add esp, 4
cmp byte [esp + 0x23], 0
mov edi, dword [esp + 8]
jns 0x42f29e
push dword [esp + 0x18]
call fcn.0048b376
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
movsd xmm0, qword [esp + 0xc]
movsd qword [esp + 0x18], xmm0
cmp byte [esp + 0x23], 0
jns 0x42f2bf
mov eax, dword [esp + 0x18]
jmp 0x42f2c3
lea eax, [esp + 0x18]
xor ecx, ecx
push 5
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [edi + 0x88]
lea esi, [esp + 0x18]
push esi
call fcn.00421060
cmp byte [esi + 0xb], 0
jns 0x42f2f8
push dword [esp + 0x18]
call fcn.0048b376
add esp, 4
mov ecx, dword [esp + 0x38]
xor ecx, ebp
call fcn.0048b980
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
lea ecx, [esp + 0xc]
call fcn.004cb7c0
int3