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

Disassembly:
push 0xffffffffffffffff
push 0x73cb1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
mov eax, dword [0x7c5370]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x10], esi
je 0x43669b
mov ebp, dword [esp + 0x17c]
mov edx, dword [ebp + 8]
cmp edx, edi
jne 0x435ffc
mov eax, dword [0x76560c]
lea ecx, [esi + 0x18]
push eax
push edi
push ebp
call fcn.00404560
mov eax, dword [esi + 0x44]
mov dword [esi + 0x5c], edi
cmp eax, edi
je 0x435ff5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x44], edi
xor eax, eax
jmp 0x4366a0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
add esi, 0x18
cmp eax, edi
jne 0x43600e
mov eax, 0x765608
push ecx
push eax
push edx
push edi
mov ecx, ebp
call fcn.0040af30
cmp eax, edi
jne 0x436024
xor eax, eax
jmp 0x4366a0
mov edx, dword [0x76560c]
mov ecx, esi
push edx
push edi
push ebp
call fcn.00404560
mov ebp, dword [ebp + 8]
mov al, byte [esp + 0x2f]
push 0x3f
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebp
xor ebx, ebx
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.0040a9b0
cmp ebp, edi
mov dword [esp + 0x174], edi
jle 0x436176
mov ebp, 2
mov ecx, dword [esp + 0x17c]
mov eax, dword [ecx + 4]
mov ecx, 0x765608
test eax, eax
je 0x436087
lea ecx, [eax + edi]
cmp byte [ecx], 0xa
je 0x43616a
test eax, eax
mov ecx, 0x765608
je 0x43609c
lea ecx, [eax + edi]
test byte [ecx], 0x80
je 0x436118
cmp ebp, dword [esp + 0x24]
jg 0x436176
test eax, eax
mov esi, 0x765608
je 0x4360b7
lea esi, [eax + edi]
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jb 0x436102
mov eax, dword [esp + 0x18]
test eax, eax
je 0x436102
mov cl, byte [eax - 1]
test cl, cl
je 0x4360e3
cmp cl, 0xff
je 0x4360e3
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.00401450
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4360ef
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x18]
mov dx, word [esi]
add eax, ebx
add ebx, 2
add edi, 2
mov word [eax], dx
add ebp, 2
jmp 0x43616c
mov dx, word [esi]
mov eax, 0x765608
add ebx, 2
add edi, 2
mov word [eax], dx
add ebp, 2
jmp 0x43616c
test eax, eax
mov esi, 0x765608
je 0x436124
lea esi, [eax + edi]
mov edx, dword [esp + 0x1c]
cmp edx, ebx
jb 0x436160
mov eax, dword [esp + 0x18]
test eax, eax
je 0x436160
mov cl, byte [eax - 1]
test cl, cl
je 0x436150
cmp cl, 0xff
je 0x436150
push 0
push edx
lea ecx, [esp + 0x1c]
call fcn.00401450
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43615c
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x18]
add eax, ebx
jmp 0x436165
mov eax, 0x765608
mov cl, byte [esi]
inc ebx
mov byte [eax], cl
inc edi
inc ebp
cmp edi, dword [esp + 0x24]
jl 0x436071
mov ecx, dword [esp + 0x10]
call fcn.00435aa0
mov edx, dword [0x7c5370]
push eax
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x43619a
mov eax, 0x765608
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
mov eax, dword [0x7c5370]
push eax
call ebx
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
call fcn.00404990
cmp eax, ebp
jae 0x4361d6
call fcn.007373b0
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4361fe
mov al, byte [edi - 1]
test al, al
je 0x4361fe
cmp al, 0xff
je 0x4361fe
test ebp, ebp
jne 0x436227
dec al
push ebp
lea ecx, [esp + 0x18]
mov byte [edi - 1], al
call fcn.00404760
jmp 0x436256
test ebp, ebp
jne 0x43620f
push 1
lea ecx, [esp + 0x18]
call fcn.00404760
jmp 0x436256
mov eax, dword [esp + 0x20]
cmp eax, 0x1f
ja 0x43621c
cmp eax, ebp
jae 0x436235
push 1
lea ecx, [esp + 0x18]
call fcn.00404760
push ebp
lea ecx, [esp + 0x18]
call fcn.00401570
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov esi, 0x7c4d88
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x436492
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x436492
imul eax, ecx
lea ecx, [esp + 0x38]
mov edi, eax
push ecx
push 0x7a3fd0
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [0x7c5370]
push eax
push 0x7a3fd0
push edx
call ebx
mov eax, dword [esp + 0x38]
mov ecx, eax
and ecx, 0x80000001
jns 0x4362a5
dec ecx
or ecx, 0xfffffffe
inc ecx
cdq
sub eax, edx
mov dword [esp + 0x44], 0x40
sar eax, 1
add ecx, eax
mov dword [esp + 0x48], 0x80
mov dword [esp + 0x38], ecx
mov dword [esp + 0x4c], 0x100
mov dword [esp + 0x50], 0x200
mov dword [esp + 0x54], 0x400
mov dword [esp + 0x58], 0x800
xor esi, esi
lea edx, [esp + 0x44]
mov eax, dword [edx]
mov ebp, dword [esp + 0x3c]
mov ebx, eax
sub ebx, ebp
sub ebx, ecx
dec ebx
imul ebx, eax
cmp edi, ebx
jle 0x436309
inc esi
add edx, 4
cmp esi, 6
jl 0x4362e6
mov edi, dword [esp + 0x10]
jmp 0x436317
mov edi, dword [esp + 0x10]
mov esi, dword [esp + esi*4 + 0x44]
mov dword [edi + 0x50], esi
mov dword [edi + 0x4c], esi
mov eax, dword [edi + 0x40]
lea edx, [esp + 0x98]
mov dword [edi + 0x54], 0x3f800000
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov ecx, dword [edi + 0x4c]
mov eax, dword [esp + 0xf0]
cmp ecx, eax
jbe 0x436360
xor edx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
mov dword [edi + 0x50], eax
fild qword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [edi + 0x4c], eax
fidiv dword [esp + 0x24]
fstp dword [edi + 0x54]
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx + 0x44]
lea ebp, [ebx + 0x44]
test edx, edx
je 0x4363a3
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov eax, dword [edx]
lea ecx, [esp + 0x44]
push ecx
push 0
push edx
call dword [eax + 0x38]
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x4c]
cmp edx, eax
je 0x4363a3
mov eax, dword [ebp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp], 0
cmp dword [ebp], 0
jne 0x436415
mov al, byte [esp + 0x180]
mov ecx, 1
test al, 0x20
je 0x4363bb
xor ecx, ecx
mov eax, dword [ebx + 0x40]
push ebp
push 1
push 0x1a
mov edx, dword [eax]
push 0
push ecx
mov ecx, dword [ebx + 0x50]
push ecx
mov ecx, dword [ebx + 0x4c]
push ecx
push eax
call dword [edx + 0x50]
mov esi, eax
test esi, esi
jge 0x436415
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x174], 0xffffffff
test ecx, ecx
je 0x43640e
mov al, byte [ecx - 1]
test al, al
je 0x436404
cmp al, 0xff
je 0x436404
dec al
mov byte [ecx - 1], al
mov eax, esi
jmp 0x4366a0
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov eax, esi
jmp 0x4366a0
mov edx, dword [ebx + 0x4c]
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x50]
push 0
neg eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x74], edx
push 0
mov dword [esp + 0x7c], eax
mov eax, dword [0x7c5370]
push ecx
lea edx, [esp + 0x78]
push 0
push edx
push eax
mov dword [esp + 0x84], 0x28
mov word [esp + 0x90], 1
mov dword [esp + 0x94], 0
mov word [esp + 0x92], 0x20
call dword [sym.imp.gdi32.dll_CreateDIBSection]
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
jne 0x4364c6
mov eax, dword [ebp]
test eax, eax
je 0x436492
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp], edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x174], 0xffffffff
test ecx, ecx
je 0x43669b
mov al, byte [ecx - 1]
test al, al
je 0x436691
cmp al, 0xff
je 0x436691
dec al
mov byte [ecx - 1], al
jmp 0x43669b
mov edx, dword [0x7c5370]
push edi
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [0x7c5370]
push 0xffffff
push eax
call dword [sym.imp.gdi32.dll_SetTextColor]
mov ecx, dword [0x7c5370]
push 0
push ecx
call dword [sym.imp.gdi32.dll_SetBkColor]
mov edx, dword [0x7c5370]
push 0
push edx
call dword [sym.imp.gdi32.dll_SetTextAlign]
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x436524
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
mov ecx, ebx
call fcn.004366c0
jmp 0x436540
mov edx, dword [esp + 0x180]
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.004370c0
mov eax, dword [ebp]
push 0
lea ecx, [esp + 0x68]
push 0
mov edx, dword [eax]
push ecx
push 0
push eax
call dword [edx + 0x40]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esp + 0x68]
xor esi, esi
test eax, eax
jbe 0x4365aa
mov eax, dword [ebx + 0x4c]
xor edx, edx
test eax, eax
jbe 0x4365a2
imul eax, esi
mov edi, dword [esp + 0x40]
add eax, edx
mov eax, dword [edi + eax*4]
shr eax, 4
and al, 0xf
jbe 0x43658e
movzx ax, al
shl eax, 0xc
or eax, 0xfff
mov word [ecx], ax
jmp 0x436593
mov word [ecx], 0
mov eax, dword [ebx + 0x4c]
add ecx, 2
inc edx
cmp edx, eax
jb 0x43656a
mov edi, dword [esp + 0x24]
mov eax, dword [ebx + 0x50]
inc esi
cmp esi, eax
jb 0x436561
mov eax, dword [ebp]
xor ebx, ebx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [esp + 0x10]
mov eax, dword [0x7c5370]
push edx
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
push edi
call dword [sym.imp.gdi32.dll_DeleteObject]
test byte [esp + 0x180], 0x20
je 0x43665c
mov eax, dword [ebp]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edi, eax
mov esi, 1
cmp edi, esi
jle 0x43665c
mov eax, dword [ebp]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi - 1]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], ebx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov eax, dword [ebp]
lea ecx, [esp + 0x10]
push ecx
push esi
mov edx, dword [eax]
push eax
call dword [edx + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp eax, ebx
je 0x43664d
cmp ecx, ebx
je 0x43663f
push ebx
push 4
push ebx
push ebx
push eax
push ebx
push ebx
push ecx
call fcn.00701945
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
cmp eax, ebx
je 0x43664d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x436657
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
inc esi
cmp esi, edi
jl 0x4365f0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x174], 0xffffffff
cmp ecx, ebx
je 0x43668d
mov al, byte [ecx - 1]
test al, al
je 0x436683
cmp al, 0xff
je 0x436683
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x4366a0
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
xor eax, eax
jmp 0x4366a0
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret 8