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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ea0e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [eax - 0x502000d]
mov ebx, dword [esi + 0xd8]
xor edi, edi
cmp ecx, 3
mov dword [ebp - 0x68], ebx
ja case.default.0x474f8c
jmp dword [ecx*4 + 0x475944]
mov dword [esi + 0xd8], edi
jmp 0x474fbd
mov dword [esi + 0xd8], 1
jmp 0x474fbd
mov dword [esi + 0xd8], 2
jmp 0x474fbd
mov dword [esi + 0xd8], 0x3e8
mov eax, 0x5020001
mov ecx, dword [esi + 0x3f8]
not ecx
test cl, 1
jne 0x475929
cmp dword [esi + 0x410], edi
jne 0x475929
cmp eax, 0x5020001
jne 0x47504f
mov ecx, dword [esi + 0xd8]
cmp ecx, 0x3e8
je 0x474ffc
cmp ecx, 0x2af8
jne 0x47504f
clc
jae 0x475000
jno 0x4e60c3
cmp dword [esi + 0x710], 0x19dc775b
add byte [ebx + 0x77], bl
fcomp qword [ecx]
jne 0x475043
push 0x663560
lea ecx, [esi + 0x9a8]
call fcn.005bc5aa
mov edx, dword [esi + 0x94c]
mov dword [esi + 0x9ac], 0x40
push edi
push 0x73
mov eax, dword [edx + 0x1c]
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x475929
mov ecx, esi
call fcn.00471fd0
jmp 0x475929
stc
jb 0x475053
jnp 0x674f0c65
mov ecx, dword [0x6707bc]
mov dword [ebp - 0x10], ecx
cmp eax, 0x5020001
mov dword [ebp - 4], edi
jne 0x47507d
add byte [ecx + 0x13df04d], cl
add byte [edx], al
add eax, 0x75fc7d89
pop ss
push edi
lea edx, [ebp - 0x10]
push edi
push edx
mov ecx, esi
call fcn.0040c40f
test eax, eax
je 0x47591a
jmp 0x475090
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0040ad84
test eax, eax
je 0x47591a
lea ecx, [ebp - 0x3c]
call fcn.005bae68
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.005bae68
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.005bae68
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.005bae68
lea ecx, [ebp - 0x90]
push edi
lea edx, [ebp - 0x64]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x3c]
push eax
push ecx
push edi
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [esi + 0xa04], 1
call fcn.00479370
cmp eax, edi
mov dword [esi + 0xa04], edi
je 0x4758e7
lea ecx, [esi + 0xc0]
call fcn.00460cd0
mov ebx, eax
push edi
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], ebx
call fcn.00454c50
cmp ebx, 0x80000000
mov byte [ebp - 4], 5
jne 0x4755fa
cmp dword [0x6756ac], edi
jne 0x4755fa
lea ecx, [ebp - 0x100]
call fcn.005bcf16
cmp eax, 0x4b3
jne 0x4755fa
lea edx, [esi + 0x930]
push 0x649fbc
lea eax, [ebp - 0x4c]
push edx
push eax
call fcn.005bc6b6
push 0x649634
lea ecx, [ebp - 0x48]
push eax
push ecx
mov byte [ebp - 4], 6
call fcn.005bc6b6
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 8
call fcn.005bc421
mov edx, dword [0x6707bc]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 9
cmp eax, edi
mov dword [ebp - 0x44], eax
jle 0x475243
mov eax, dword [ebp - 0x38]
push str..fnr
lea edx, [ebp - 0x28]
lea ecx, [eax + edi*4]
push ecx
push edx
call fcn.005bc6b6
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xa
call fcn.005bc55a
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
call fcn.005bc421
lea eax, [ebp + 8]
lea ecx, [ebp - 0x48]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call fcn.005bc650
mov eax, dword [eax]
mov byte [ebp - 4], 0xb
push eax
call fcn.00502530
add esp, 4
lea ecx, [ebp - 0x20]
test eax, eax
sete bl
mov byte [ebp - 4], 9
call fcn.005bc421
test bl, bl
je 0x475225
mov eax, dword [ebp - 0x38]
push str..fne
lea edx, [ebp - 0x14]
lea ecx, [eax + edi*4]
push ecx
push edx
call fcn.005bc6b6
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
call fcn.005bc55a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.005bc421
mov ecx, dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
lea ecx, [ecx + edi*4]
call fcn.005bc55a
mov eax, dword [ebp - 0x44]
inc edi
cmp edi, eax
jl 0x475194
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x20], eax
call fcn.005bb044
mov ebx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x34]
test ebx, ebx
mov dword [ebp - 0x28], eax
jle 0x475318
lea edi, [ebx - 1]
test edi, edi
jl 0x47529e
mov ecx, dword [ebp - 0x60]
push 0x5c
lea ecx, [ecx + edi*4]
call fcn.005bc8e8
cmp eax, 0xffffffff
je 0x47529b
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x3c]
lea eax, [edx + edi*4]
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.005bb0f8
push 1
push edi
lea ecx, [ebp - 0x64]
call fcn.005bb201
dec ebx
dec edi
jns 0x47526a
test ebx, ebx
jle 0x475318
lea edi, [esi + 0x3fc]
push 0x5c
mov ecx, edi
call fcn.005b88e6
cmp eax, 0xffffffff
je 0x475318
inc eax
lea ecx, [ebp - 0x14]
push eax
push ecx
mov ecx, edi
call fcn.005b886e
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xd
call fcn.005bc55a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.005bc421
xor edi, edi
test ebx, ebx
jle 0x475318
mov edx, dword [ebp - 0x60]
lea ecx, [ebp + 8]
lea eax, [edx + edi*4]
lea edx, [ebp - 0x14]
push eax
push ecx
push edx
call fcn.005bc650
push eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.005bb0f8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.005bc421
inc edi
cmp edi, ebx
jl 0x4752e2
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.005bb044
mov edx, dword [0x6707bc]
mov dword [ebp - 0x24], edx
push 0x5c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xf
call fcn.005b88e6
cmp eax, 0xffffffff
je 0x47536a
inc eax
lea ecx, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.005b886e
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x10
call fcn.005bc55a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.005bc421
lea ecx, [ebp - 0xa4]
call fcn.004918b0
mov eax, dword [ebp - 0x34]
mov bl, 0x11
xor edi, edi
mov byte [ebp - 4], bl
test eax, eax
mov dword [ebp - 0x44], eax
jle 0x4755bd
cmp edi, dword [ebp - 0x28]
jge 0x4753bd
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
lea edx, [ecx + edi*4]
lea ecx, [ebp - 0x14]
push edx
push eax
push ecx
call fcn.005bc650
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x12
call fcn.005bc55a
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005bc421
jmp 0x4753cc
mov edx, dword [ebp - 0x38]
lea ecx, [ebp + 8]
lea eax, [edx + edi*4]
push eax
call fcn.005bc55a
lea ecx, [ebp + 8]
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00491e70
cmp eax, 0xffffffff
jne 0x475409
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x238]
push edx
push 0x66354c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x238]
push 1
push ecx
jmp 0x4755aa
mov eax, dword [0x6756b0]
test eax, eax
je 0x475482
cmp edi, dword [ebp - 0x20]
jl 0x475435
cmp edi, dword [ebp - 0x28]
jge 0x4754b3
lea edx, [ebp + 8]
push str..run
push edx
call fcn.00503350
add esp, 8
test eax, eax
je 0x475482
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.0047ddd0
test eax, eax
jne 0x475459
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x238]
push ecx
push 0x663528
push edx
jmp 0x475469
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x238]
push eax
push 0x663504
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x238]
mov ecx, esi
push 1
push edx
call fcn.00473ec0
cmp edi, dword [ebp - 0x28]
jge 0x4754b3
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
lea ecx, [eax + edi*4]
lea eax, [ebp - 0x50]
push ecx
push edx
push eax
call fcn.005bc650
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.005bc55a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x50]
jmp 0x475538
mov ecx, dword [ebp - 0x38]
push 0x5c
lea ecx, [ecx + edi*4]
call fcn.005b88e6
cmp eax, 0xffffffff
jne 0x4754ee
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x24]
lea eax, [edx + edi*4]
lea edx, [ebp - 0x1c]
push eax
push ecx
push edx
call fcn.005bc650
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x14
call fcn.005bc55a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
jmp 0x475538
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + edi*4]
lea ecx, [ecx + edi*4]
mov edx, dword [edx - 8]
sub edx, eax
lea eax, [ebp - 0x40]
dec edx
push edx
push eax
call fcn.005b87f2
lea ecx, [ebp - 0x24]
push eax
lea edx, [ebp - 0x18]
push ecx
push edx
mov byte [ebp - 4], 0x15
call fcn.005bc650
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x16
call fcn.005bc55a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.005bc421
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x40]
call fcn.005bc421
mov eax, dword [ebp + 8]
push eax
call fcn.00502530
add esp, 4
test eax, eax
je 0x47555f
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x238]
push ecx
push 0x6634e4
push edx
jmp 0x475598
push 0
lea eax, [ebp + 8]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xa4]
call fcn.00491fc0
test eax, eax
jne 0x475588
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x238]
push ecx
push 0x6634d0
push edx
jmp 0x475598
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x238]
push eax
push 0x6634bc
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x238]
push 1
push edx
mov ecx, esi
call fcn.00473ec0
mov eax, dword [ebp - 0x44]
inc edi
cmp edi, eax
jl 0x47538a
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xa4], 0x5f7940
call fcn.00491ab0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.005bc421
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.005bc421
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x48]
jmp 0x475875
push 1
push 0x6634a0
mov ecx, esi
call fcn.00473ec0
cmp ebx, 0x40000000
mov eax, str.linux
je 0x47561a
mov eax, 0x649fbc
push eax
lea eax, [esi + 0x930]
lea ecx, [ebp - 0x40]
push eax
push ecx
call fcn.005bc6b6
push 0x649634
lea edx, [ebp + 8]
push eax
push edx
mov byte [ebp - 4], 0x17
call fcn.005bc6b6
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.005bc421
mov ebx, dword [ebp - 0x34]
push 1
push 0x663480
mov ecx, esi
mov dword [ebp - 0x4c], ebx
call fcn.00473ec0
cmp ebx, edi
jle 0x475757
mov eax, dword [ebp - 0x38]
lea ecx, [eax + edi*4]
push ecx
lea ecx, [ebp - 0x10]
call fcn.005bc55a
cmp dword [ebp - 0x18], 0x40000000
jne 0x475685
push 0x66347c
jmp 0x4756f7
mov edx, dword [ebp - 0x10]
push str.krnln
push edx
call fcn.0052d867
add esp, 8
test eax, eax
je 0x4756f2
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
lea edx, [ebp - 0x50]
push ecx
push edx
call fcn.005bc650
push str..fnr
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.005bc6b6
mov eax, dword [eax]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00502530
add esp, 4
lea ecx, [ebp - 0x1c]
mov ebx, eax
mov byte [ebp - 4], 0x1a
call fcn.005bc421
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x19
call fcn.005bc421
test ebx, ebx
jne 0x4756f2
push str..fne
jmp 0x4756f7
push str..fnr
lea ecx, [ebp - 0x10]
call fcn.005bc7fd
lea ecx, [ebp + 8]
lea edx, [ebp - 0x20]
push ecx
push 0x663474
push edx
call fcn.005bc72a
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x14]
push ecx
push eax
push edx
mov byte [ebp - 4], 0x1c
call fcn.005bc650
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1d
call fcn.00473ec0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.005bc421
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x19
call fcn.005bc421
mov eax, dword [ebp - 0x4c]
inc edi
cmp edi, eax
jl 0x475666
mov ebx, dword [ebp - 0x74]
test ebx, ebx
jle 0x4757c6
push 1
push 0x663458
mov ecx, esi
call fcn.00473ec0
xor edi, edi
test ebx, ebx
jle 0x4757c6
lea eax, [ebp + 8]
lea ecx, [ebp - 0x1c]
push eax
push 0x663474
push ecx
call fcn.005bc72a
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 0x1e
lea ecx, [edx + edi*4]
lea edx, [ebp - 0x18]
push ecx
push eax
push edx
call fcn.005bc650
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x1f
call fcn.00473ec0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1e
call fcn.005bc421
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
call fcn.005bc421
inc edi
cmp edi, ebx
jl 0x475772
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
jle 0x475817
push 1
push 0x66343c
mov ecx, esi
call fcn.00473ec0
xor edi, edi
test ebx, ebx
jle 0x475817
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x18]
lea ecx, [eax + edi*4]
push ecx
push 0x663474
push edx
call fcn.005bc72a
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x20
call fcn.00473ec0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.005bc421
inc edi
cmp edi, ebx
jl 0x4757e1
mov ebx, dword [ebp - 0x88]
test ebx, ebx
jle 0x47586e
push 1
push str.___OCX
mov ecx, esi
call fcn.00473ec0
xor edi, edi
test ebx, ebx
jle 0x47586e
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x18]
lea ecx, [eax + edi*4]
push ecx
push 0x663474
push edx
call fcn.005bc72a
mov eax, dword [eax]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0x21
call fcn.00473ec0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x19
call fcn.005bc421
inc edi
cmp edi, ebx
jl 0x475835
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
call fcn.005bc421
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 4
call fcn.005bcb4c
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.005bae9b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.005bae9b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.005bae9b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.005bae9b
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.005bc421
mov eax, dword [ebp - 0x68]
pop edi
mov dword [esi + 0xd8], eax
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.005bae9b
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.005bae9b
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.005bae9b
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.005bae9b
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.005bc421
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0xd8], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x34], ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, vtable.CFont.0
mov dword [esp + 0x30], edi
mov esi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0x15c], ebx
call esi
push eax
lea ecx, [esp + 0x34]
call fcn.005c54af
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], edi
lea edx, [esp + 0x94]
mov byte [esp + 0x158], 1
push edx
mov byte [esp + 0xac], 1
call esi
push eax
lea ecx, [esp + 0x58]
call fcn.005c54af
mov ecx, dword [ebp + 0xa8]
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp + 0xa8]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov eax, dword [eax + 8]
push eax
call esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xa8]
push 0xa
mov ecx, dword [eax + 8]
push ecx
call esi
mov ecx, dword [ebp + 0xa8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
call fcn.005c519e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 3
mov ecx, dword [ebp + 0xa8]
lea edx, [esp + 0x1c]
push edx
call fcn.005c519e
mov eax, dword [esp + 0x20]
mov edi, 0x66bdbc
mov dword [esp + 0x70], eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xd4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xa8]
not ecx
mov edx, dword [eax + 8]
dec ecx
push ecx
lea ecx, [esp + 0xd8]
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x40]
add eax, 0xffffff70
cdq
idiv dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea ecx, [edx*4]
sub ecx, edx
neg ecx
shl eax, 1
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x24], eax
jns 0x4e6255
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x158], 2
call fcn.005c5506
mov dword [esp + 0x30], esi
mov dword [esp + 0x158], 3
jmp 0x4e67fa
mov edi, dword [ebp + 0xa4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xa0]
not ecx
dec ecx
mov esi, ecx
mov ecx, eax
imul ecx, esi
mov dword [esp + 0x6c], ecx
mov ecx, dword [0x6707bc]
mov dword [esp + 0x80], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
cmp eax, ebx
mov byte [esp + 0x158], 6
mov dword [esp + 0x5c], ebx
jle 0x4e677a
mov dword [esp + 0x48], ebx
jmp 0x4e62ad
mov edx, dword [esp + 0x3c]
cmp dword [ebp + 0xb4], ebx
je 0x4e679e
mov ecx, dword [ebp + 0x9c]
mov edi, dword [ebp + 0xa4]
lea eax, [edx + edx]
mov dword [esp + 0x28], eax
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x18], eax
jl 0x4e677a
cmp byte [edi], 0
je 0x4e668e
jmp 0x4e62ee
mov edi, dword [esp + 0x4c]
xor ebx, ebx
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x140]
push ebx
push edx
call esi
test eax, eax
je 0x4e632e
cmp dword [esp + 0x138], 0x12
je 0x4e632e
call fcn.005c115f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x5c]
push ebx
push ebx
push ebx
lea eax, [esp + 0x140]
push ebx
push eax
call esi
test eax, eax
jne 0x4e6306
cmp dword [ebp + 0xb4], ebx
je 0x4e668a
cmp byte [edi], 0x60
jne 0x4e634a
mov dword [esp + 0x60], 1
inc edi
jmp 0x4e634e
mov dword [esp + 0x60], ebx
mov al, byte [edi]
mov esi, edi
test al, al
je 0x4e6366
cmp al, 0xd
je 0x4e6366
cmp al, 0xa
je 0x4e6366
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4e6356
mov bl, byte [esi]
test bl, bl
je 0x4e6386
push edi
lea ecx, [esp + 0x30]
mov byte [esi], 0
call fcn.005bc5aa
mov byte [esi], bl
mov al, byte [esi + 1]
inc esi
cmp al, 0xa
jne 0x4e6390
inc esi
jmp 0x4e6390
push edi
lea ecx, [esp + 0x30]
call fcn.005bc5aa
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
xor esi, esi
mov edi, eax
cmp byte [eax], 0x20
jne 0x4e63ab
mov cl, byte [esi + eax + 1]
inc esi
cmp cl, 0x20
je 0x4e63a1
lea ecx, [esi + 4]
push ecx
push 0x20
lea ecx, [esp + 0x70]
call fcn.005b8410
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 7
call fcn.005bc55a
lea ecx, [esp + 0x68]
mov byte [esp + 0x158], 6
call fcn.005bc421
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x64], 1
sub ecx, esi
mov dword [esp + 0x44], ecx
jmp 0x4e63f9
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x44]
mov dl, byte [edi]
xor eax, eax
test dl, dl
mov ebx, edi
je 0x4e6439
mov dl, byte [ebx]
cmp eax, ecx
jge 0x4e6422
test dl, 0x80
je 0x4e6417
mov dl, byte [ebx + 1]
inc ebx
inc eax
test dl, dl
je 0x4e6439
mov dl, byte [ebx + 1]
inc ebx
inc eax
test dl, dl
jne 0x4e6403
jmp 0x4e6439
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b], dl
mov byte [ebx], 0
call fcn.005bc5aa
mov al, byte [esp + 0x17]
mov byte [ebx], al
cmp byte [ebx], 0
jne 0x4e6448
push edi
lea ecx, [esp + 0x14]
call fcn.005bc5aa
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x4e6489
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x78]
push edx
push eax
call fcn.005bc650
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 8
call fcn.005bc55a
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 6
call fcn.005bc421
jmp 0x4e649c
mov eax, dword [esp + 0x44]
mov dword [esp + 0x64], 0
sub eax, 4
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xb0]
mov dword [esp + 0x78], ebx
cmp eax, 1
jne 0x4e65d9
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
add edx, ecx
cmp edx, eax
jle 0x4e65d9
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x98]
cmp eax, ecx
jl 0x4e657b
push eax
lea eax, [esp + 0xd4]
push 0x66bdb0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xa8]
lea edx, [esp + 0xd0]
not ecx
mov eax, dword [eax + 8]
dec ecx
mov esi, ecx
lea ecx, [esp + 0x84]
push ecx
push esi
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x88]
push esi
mov eax, dword [esp + 0x88]
lea esi, [esp + 0xd4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xa8]
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
add esi, edi
push esi
mov esi, dword [esp + 0x4c]
sub esi, eax
sub esi, 0x30
push esi
call dword [edx + 0x5c]
mov eax, dword [ebp + 0xa8]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp + 0xb0], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x9c]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jg 0x4e667b
mov ecx, dword [esp + 0x3c]
mov edi, dword [ebp + 0xa4]
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x4c]
lea eax, [ecx + ecx]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
sub eax, edi
push 0x64
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp + 0x78]
push 0
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x78]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp + 0xb0]
test eax, eax
jne 0x4e65fd
mov eax, dword [ebp + 0xa8]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
mov dword [ebp + 0xb0], 1
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4e665d
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x98]
cmp edx, eax
jl 0x4e665d
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4e662e
mov ecx, dword [ebp + 0xa8]
lea edx, [esp + 0x54]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0xa8]
mov eax, dword [edx - 8]
mov edi, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
push 0x60
call dword [edi + 0x5c]
test esi, esi
je 0x4e665d
mov ecx, dword [ebp + 0xa8]
lea eax, [esp + 0x30]
push eax
mov edx, dword [ecx]
call dword [edx + 0x28]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x3c]
mov al, byte [ebx]
add edx, ecx
mov ecx, dword [esp + 0x28]
add ecx, edx
test al, al
mov dword [esp + 0x28], ecx
jne 0x4e63f1
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0
jne 0x4e62e8
xor ebx, ebx
mov eax, dword [esp + 0x18]
cmp dword [ebp + 0xb0], ebx
je 0x4e6752
cmp eax, dword [ebp + 0x98]
jl 0x4e673c
cmp eax, dword [ebp + 0x9c]
jg 0x4e673c
push eax
lea ecx, [esp + 0xd4]
push 0x66bdb0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea edi, [esp + 0xdc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0xa8]
lea edx, [esp + 0x8c]
not ecx
dec ecx
push edx
mov edx, dword [eax + 8]
mov esi, ecx
lea ecx, [esp + 0xd4]
push esi
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x90]
push esi
mov eax, dword [esp + 0x90]
lea esi, [esp + 0xd4]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xa8]
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x24], eax
mov edx, dword [ecx]
add esi, edi
push esi
mov esi, dword [esp + 0x4c]
sub esi, eax
sub esi, 0x30
push esi
call dword [edx + 0x5c]
mov eax, dword [ebp + 0xa8]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp + 0xb0], ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
add edx, ecx
mov ecx, dword [ebp + 0xa0]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x48], edx
jl 0x4e62a9
cmp dword [ebp + 0xb4], ebx
je 0x4e679e
mov edx, dword [ebp + 0x78]
push ebx
push 0x64
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x78]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x158], 5
call fcn.005bc421
lea ecx, [esp + 0x50]
mov byte [esp + 0x158], 4
call fcn.005bc421
lea ecx, [esp + 0x10]
mov byte [esp + 0x158], 1
call fcn.005bc421
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x158], 9
call fcn.005c5506
mov dword [esp + 0x30], esi
mov dword [esp + 0x158], 0xa
lea ecx, [esp + 0x30]
call fcn.005c5506
mov dword [esp + 0x158], 0xffffffff
mov ecx, dword [ebp + 0xa8]
push 0x11
mov edx, dword [ecx]
call dword [edx + 0x24]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xc8]
mov ecx, dword [esp + 0x150]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14c
ret