joyce8/EMBER2024-capa huggingface dataset:
Function at 0x19565d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123f000]
push edi
or ebp, 0xffffffff
jmp 0x19565f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x19565f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19565e8
mov eax, 1
add ebx, ebx
jne 0x195660b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x195661c
jne 0x195663b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x195663b
dec eax
add ebx, ebx
jne 0x1956628
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1956600
add ebx, ebx
jne 0x1956637
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x195668d
xor ecx, ecx
sub eax, 3
jb 0x1956653
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x19566c2
sar eax, 1
mov ebp, eax
jmp 0x195665e
add ebx, ebx
jne 0x195665e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x195662c
inc ecx
add ebx, ebx
jne 0x195666c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x195662c
add ebx, ebx
jne 0x1956679
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x195666e
jne 0x195668a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x195666e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x19566ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x195669e
jmp 0x19565ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x19566ac
add edi, ecx
jmp 0x19565ee
pop esi
mov edi, esi
mov ecx, 0xdc98
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x19566ca
cmp byte [edi], 0x23
jne 0x19566ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x19566cf
lea edi, [esi + 0x1552000]
mov eax, dword [edi]
or eax, eax
je 0x195673e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155929c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15593dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x19566fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15593e4]
or eax, eax
je 0x1956738
mov dword [ebx], eax
add ebx, 4
jmp 0x1956719
call dword [esi + 0x15593e0]
mov ebp, dword [esi + 0x15593e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1956772
sub esp, 0xffffff80
jmp 0x5b2110
Function at 0x43d220
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
or ebp, 0xffffffff
jmp 0x43d242
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43d249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43d238
mov eax, 1
add ebx, ebx
jne 0x43d25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43d250
jne 0x43d26c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d250
xor ecx, ecx
sub eax, 3
jb 0x43d280
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43d2f2
mov ebp, eax
add ebx, ebx
jne 0x43d28b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43d298
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43d2bc
inc ecx
add ebx, ebx
jne 0x43d2a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43d29d
jne 0x43d2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43d29d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43d2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43d2cd
jmp 0x43d23e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43d2dc
add edi, ecx
jmp 0x43d23e
pop esi
mov edi, esi
mov ecx, 0x2af
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43d2fa
cmp byte [edi], 5
jne 0x43d2fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43d2ff
lea edi, [esi + 0x3a000]
mov eax, dword [edi]
or eax, eax
je 0x43d377
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d6a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d780]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43d32c
mov ecx, edi
jns 0x43d35b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d788]
or eax, eax
je 0x43d371
mov dword [ebx], eax
add ebx, 4
jmp 0x43d349
call dword [esi + 0x3d784]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x43d3a8
cmp al, 0xef
ja 0x43d39b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43d37d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x43d38a
mov ebp, dword [esi + 0x3d78c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43d3dc
sub esp, 0xffffff80
jmp 0x40bf10
Function at 0x410ab0
Capabilities:
Timestomp file

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push esi
push edi
push 0
push 0x2000000
push 3
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 8]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.0042e795
mov eax, edi
pop edi
pop esi
add esp, 8
ret 0x14
Function at 0x411590
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43b247
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
mov ebp, dword [esp + 0x130]
push edi
push 0x45e768
mov ecx, ebp
call fcn.0042e8d2
push 0x45e768
lea ecx, [esp + 0x10]
call fcn.0042e803
lea eax, [esp + 0x24]
push 0x100
push eax
mov dword [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x24]
lea edx, [esp + 0xc]
push ecx
push str._s2052ProtectTempData.ini
push edx
call fcn.0042c966
add esp, 0xc
lea ecx, [esp + 0x14]
push 0x45e768
call fcn.0042e803
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push 4
push 4
mov byte [esp + 0x138], 1
call fcn.0042ead2
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0
push str.SumNum
push 0x45a2dc
call ebx
mov edx, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x41167b
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], al
call fcn.0042e795
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0042e795
xor eax, eax
jmp 0x4117e1
push esi
push edx
call fcn.0041df71
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], esi
push 0x45e768
call fcn.0042e803
xor eax, eax
mov byte [esp + 0x130], 2
test esi, esi
jle 0x4117a5
cmp eax, 0x10
jge 0x4117a5
lea esi, [eax + 1]
lea ecx, [esp + 0x14]
push esi
push 0x45a2d8
push ecx
call fcn.0042c966
add esp, 0xc
lea ecx, [esp + 0x20]
push 0x45e768
call fcn.0042e803
push 0x45e768
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 3
call fcn.0042e803
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push edx
push 0x100
push 0x100
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 4
call fcn.0042ead2
push eax
push 0
push str.Vehicle
push edi
call ebx
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
push eax
push 0x100
push 0x100
lea ecx, [esp + 0x28]
call fcn.0042ead2
push eax
push 0
push str.CarType
push edi
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x45e770]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [0x45e774]
push edx
mov edx, dword [0x45e778]
push eax
mov eax, dword [ebp]
push ecx
push edx
push eax
push 0x45a27c
push ebp
call fcn.0042c966
add esp, 0x20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 3
call fcn.0042e795
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 2
call fcn.0042e795
mov ecx, dword [esp + 0x24]
mov eax, esi
cmp eax, ecx
jl 0x4116ab
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call fcn.0042e795
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0
call fcn.0042e795
lea ecx, [esp + 0x10]
mov dword [esp + 0x130], 0xffffffff
call fcn.0042e795
mov eax, 1
pop esi
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
Function at 0x411800
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43b276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x234
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
mov ebx, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esp + 0x18]
push 0x45e768
and eax, 0xffff
lea ecx, [eax + eax*8]
lea eax, [eax + ecx*8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1e]
and eax, 0xffff
mov ecx, eax
shl ecx, 4
sub ecx, eax
lea ebp, [edx + ecx*2]
mov edx, dword [esp + 0x22]
and edx, 0xffff
lea ecx, [esp + 0x14]
add ebp, edx
call fcn.0042e803
lea eax, [esp + 0x144]
push 0x100
push eax
mov dword [esp + 0x254], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x144]
lea edx, [esp + 0x10]
push ecx
push 0x45a244
push edx
call fcn.0042c966
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00432361
test eax, eax
je 0x4119e4
push 0x45e768
lea ecx, [esp + 0x18]
call fcn.0042e803
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x250], 1
call fcn.0042cafb
mov esi, dword [eax]
push 0
lea ecx, [esp + 0x30]
call fcn.0042cafb
mov edi, dword [eax + 4]
push 0
lea ecx, [esp + 0x30]
call fcn.0042cafb
mov eax, dword [eax + 8]
push esi
push edi
push eax
lea edx, [esp + 0x20]
push str._d:_d:_d
push edx
call fcn.0042c966
mov eax, dword [esp + 0x28]
push str.9:1:1
push eax
call fcn.0041e05e
add esp, 0x1c
test eax, eax
je 0x41196d
mov edx, dword [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov eax, 1
mov word [esp + 0x30], ax
mov word [esp + 0x32], ax
mov word [esp + 0x34], ax
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
lea edx, [esp + 0x20]
push ecx
mov dword [ecx + 0xc], eax
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.0042e50a
mov ecx, ebx
call fcn.00410ab0
push 0
lea ecx, [esp + 0x30]
call fcn.0042cafb
mov esi, dword [eax + 0x14]
push 0
lea ecx, [esp + 0x30]
add esi, 0x76c
call fcn.0042cafb
mov edi, dword [eax + 0x10]
push 0
lea ecx, [esp + 0x30]
inc edi
call fcn.0042cafb
mov eax, dword [eax + 0xc]
lea ecx, [esi + esi*8]
mov byte [esp + 0x24c], 0
lea ecx, [esi + ecx*8]
lea edx, [ecx + eax]
mov eax, edi
shl eax, 4
sub eax, edi
lea ecx, [edx + ecx*4]
lea eax, [ecx + eax*2]
lea ecx, [esp + 0x14]
sub eax, ebp
add eax, 0x1e
mov esi, eax
call fcn.0042e795
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call fcn.0042e795
mov eax, esi
jmp 0x4119fb
lea ecx, [esp + 0x10]
mov dword [esp + 0x24c], 0xffffffff
call fcn.0042e795
or eax, 0xffffffff
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x240
ret
Function at 0x411d10
Capabilities:
Create directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43b28b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push esi
push edi
lea ecx, [esp + 8]
call fcn.0041ce03
lea eax, [esp + 0x24]
push 0x100
push eax
mov dword [esp + 0x134], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esi, dword [esp + 0x134]
lea ecx, [esp + 0x24]
push ecx
push str._sMicrosoft
push esi
call fcn.0042c966
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 8]
push 0
push eax
call fcn.0041cec6
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x411d8a
mov eax, dword [esi]
push 0
push eax
call edi
mov edx, dword [esi]
push edx
push str._sProtect
push esi
call fcn.0042c966
mov eax, dword [esi]
add esp, 0xc
lea ecx, [esp + 8]
push 0
push eax
call fcn.0041cec6
test eax, eax
jne 0x411db4
mov eax, dword [esi]
push 0
push eax
call edi
mov eax, dword [esi]
push eax
push str._sRunData.ini
push esi
call fcn.0042c966
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0041ce40
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x41a590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43bf58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x45e768
mov dword [esi], 0x43dfb0
call fcn.0042e803
push ecx
mov dword [esp + 0x1c], 0
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x45e768
call fcn.0042e803
push 0
push 0
push str.DisableRegistryTools
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push SysReAllocString
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0041a640
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
Function at 0x41bf60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
cmp ebp, eax
push edi
mov ebx, ecx
je 0x41bf89
mov ecx, dword [0x43e22c]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x43e238]
mov dword [esp + 0x14], ecx
jmp 0x41bf9d
mov edx, dword [0x43e240]
mov dword [esp + 0x10], edx
mov edx, dword [0x43e24c]
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x28], eax
lea edx, [esp + 0x10]
sub ecx, 4
push 1
lea eax, [esp + 0x24]
push edx
mov dword [esp + 0x34], ecx
push eax
push edi
mov ecx, ebx
call fcn.0041c780
test ebp, ebp
je 0x41bfeb
mov ecx, dword [0x43e234]
mov eax, dword [0x43e22c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x41bfff
mov edx, dword [0x43e248]
mov ecx, dword [0x43e240]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 8]
lea eax, [esp + 0x10]
push 1
lea ecx, [esp + 0x24]
push eax
sub edx, 4
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 5
call fcn.0041c780
test ebp, ebp
je 0x41c04f
mov edx, dword [0x43e238]
mov ecx, dword [0x43e22c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
jmp 0x41c062
mov eax, dword [0x43e24c]
mov edx, dword [0x43e240]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], eax
push 1
lea ecx, [eax - 4]
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], edx
call fcn.0041c780
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ebx, dword [esp + 0x34]
sub eax, edx
cdq
sub eax, edx
push 0xfffffffffffffff0
mov esi, eax
push ebx
mov dword [esp + 0x48], 4
sar esi, 1
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
je 0x41c0ef
push 0
push 0
push 0x37
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x41c0ef
push 3
push 0
push 0
push 0x10
push 0x10
lea edx, [esi - 8]
push eax
push edx
push 4
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [esp + 0x40], 0x17
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x41c14d
lea ebp, [eax + 1]
push ebp
call fcn.0042ebbe
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x34]
push ebp
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffff
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push ecx
add esi, 0xfffffff8
push ebx
push esi
push edx
push edi
call dword [sym.imp.GDI32.dll_TextOutA]
push ebx
call fcn.0042ebe7
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x41c610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43c0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebp
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CRgn.0
mov ebp, dword [esp + 0x38]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
mov dword [esp + 0x30], 0
push eax
push ebp
call edi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41c704
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], vtable.CRgn.0
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
sub eax, edi
push 7
inc eax
push 7
push 0x1e
push eax
push 0
push 0
mov byte [esp + 0x48], 1
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
push eax
lea ecx, [esp + 0xc]
call fcn.00434463
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
sub eax, edi
sub ecx, edx
push eax
push ecx
push 0x14
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0x14]
call fcn.00434463
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
mov edx, dword [esp + 0xc]
push 2
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0xc]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.004344ba
jmp 0x41c736
lea ecx, [esp + 0x18]
push ecx
push ebp
call edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [esp + 0x20]
push eax
sub ecx, edi
push ecx
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
lea ecx, [esp + 0xc]
call fcn.00434463
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esp + 8]
push edx
neg eax
sbb eax, eax
and eax, ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 3
call fcn.004344ba
mov ecx, dword [esp + 0x28]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x42322a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x45bc18
cmp edx, dword [eax]
je 0x42324c
add eax, 8
inc ecx
cmp eax, 0x45bca8
jl 0x42323d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x45bc18]
jne 0x42337a
mov eax, dword [0x4688d4]
cmp eax, 1
je 0x423354
test eax, eax
jne 0x42327d
cmp dword [0x45b53c], 1
je 0x423354
cmp edx, 0xfc
je 0x42337a
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4232b4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00423380
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041f050
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4232f7
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041f050
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x440c1c
push edi
call fcn.00427a90
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00423380
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00423390
lea eax, [ebp - 0xa0]
push 0x440bfc
push eax
call fcn.00423390
push dword [esi + 0x45bc1c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00423390
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004279fd
add esp, 0x2c
pop edi
jmp 0x42337a
lea eax, [ebp + 8]
lea esi, [esi + 0x45bc1c]
push 0
push eax
push dword [esi]
call fcn.0041f050
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x42bb80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0041f2a0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42bc4b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42bc4b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42bbfe
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42bc09
or bh, 8
and edi, 0x8000000
je 0x42bc24
mov eax, dword [0x46a07c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42bc4b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret