Function at 0x425730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4762e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x20]
sub eax, 0x10
push eax
mov dword [esp + 0xc], ecx
call fcn.00401df0
add eax, 0x10
add esp, 4
mov dword [esp + 0x40], eax
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov dword [esp + 0x30], 0
jg 0x42577f
mov dword [esp], 0xffffffff
jmp 0x4257a0
push 0x26
push eax
call fcn.0041208b
add esp, 8
test eax, eax
jne 0x425798
mov dword [esp], 0xffffffff
jmp 0x4257a0
sub eax, dword [esp + 0x40]
mov dword [esp], eax
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x50]
push ecx
call fcn.0041eb50
mov ebp, dword [esp + 0x48]
mov edx, dword [ebp + 4]
push 2
push edx
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx + 8]
mov edx, dword [ecx]
mov edi, dword [esp + 0x24]
mov ebx, dword [ecx + 0xc]
mov eax, esi
sub eax, edx
mov edx, dword [ecx + 4]
sub eax, edi
mov edi, dword [esp + 0x20]
sub ebx, edx
sub ebx, edi
test eax, eax
jge 0x425800
mov eax, 2
test ebx, ebx
jge 0x425809
mov ebx, 2
cdq
sub eax, edx
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [ecx + 4]
sar edi, 1
sub esi, edi
sub esi, edx
push 0
mov dword [esp + 0x2c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call esi
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
add edx, edi
mov dword [esp + 0x28], edx
mov eax, ebx
mov ebx, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
sub ecx, edi
add edx, eax
sub ebx, eax
mov eax, dword [esp + 0x50]
push 0x920
mov dword [esp + 0x30], edx
mov edx, dword [ebp]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax - 0xc]
lea edi, [esp + 0x2c]
push edi
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x68]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1b4]
test ecx, ecx
jne 0x4258b3
mov al, byte [0x49cb5d]
test al, al
je 0x4259e7
mov ebx, dword [esp + 0x10]
cmp ebx, 0xffffffff
je 0x4259e7
jmp 0x4258b7
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
push ecx
push 1
push 0
lea ecx, [esp + 0x1c]
call fcn.0045cf86
mov edx, dword [esp + 0x50]
mov al, byte [ebx + edx]
mov byte [esp + 0x48], al
mov ecx, dword [esp + 0x48]
push 1
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 1
call fcn.004255c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
mov edi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edx, dword [esp + 0x24]
mov eax, 1
sub eax, edx
push 0
push eax
lea eax, [esp + 0x30]
push eax
call esi
xor esi, esi
test ebx, ebx
jle 0x4259a0
lea esp, [esp]
mov ecx, dword [esp + 0x50]
mov dl, byte [esi + ecx]
mov byte [esp + 0x4c], dl
mov eax, dword [esp + 0x4c]
push 1
push eax
lea ecx, [esp + 0x50]
call fcn.004255c0
mov eax, dword [esp + 0x48]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call edi
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42598d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x20]
inc esi
cmp esi, ebx
mov dword [esp + 0x2c], eax
jl 0x425940
jmp 0x4259a4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push eax
add ecx, eax
push edx
lea eax, [esp + 0x28]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, ebp
call fcn.0045c8b7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, ebp
call fcn.0045c4d8
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
mov dword [esp + 0x10], 0x47c9fc
call fcn.0045ce67
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x425a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x10