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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x50]
push ebp
mov ebp, dword [esp + 0x50]
push esi
push edi
push ebx
push ebp
call fcn.00434ba0
mov dword [ebp + 8], 2
mov eax, dword [ebp + 0x1b0]
xor edi, edi
add esp, 8
cmp eax, edi
je 0x432f92
call fcn.00413630
push eax
push 0x100
call fcn.00413810
mov cl, byte [ebp + 0x1b0]
add esp, 8
test cl, 1
je 0x432f54
test al, 0x20
je 0x432f54
mov dword [ebp + 0x188], edi
test byte [ebp + 0x1b0], 2
je 0x432f67
test al, 0x10
je 0x432f67
mov dword [ebp + 0x188], edi
test byte [ebp + 0x1b0], 4
je 0x432f7b
test ah, 1
je 0x432f7b
mov dword [ebp + 0x188], edi
test byte [ebp + 0x1b0], 8
je 0x432f92
cmp dword [0x13b52b4], edi
je 0x432f92
mov dword [ebp + 0x188], edi
cmp dword [ebp + 0x188], edi
je 0x432fcf
cmp dword [ebp + 0x198], edi
je 0x432fcf
call fcn.00413a60
mov edx, dword [ebp + 0x194]
mov ecx, dword [ebp + 0x198]
sub eax, edx
cmp eax, ecx
jae 0x432fc9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov dword [ebp + 0x198], edi
cmp ebx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
je 0x4330d3
mov eax, dword [ebp + 4]
cmp eax, edi
je 0x432ffa
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x134]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dl, byte [ebp + 0x144]
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [ebp + 0x146]
xor ecx, ecx
mov cl, byte [ebp + 0x145]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ebp + 0x14f]
xor ecx, ecx
mov cl, byte [ebp + 0x14d]
mov al, byte [ebp + 0x14e]
shl eax, 8
or eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov dword [esp + 0x28], eax
mov dword [ebp + 0x620], edi
xor ecx, ecx
mov eax, 0x7ddf94
cmp dword [eax], ebx
je 0x43309a
add eax, 0x2c
inc ecx
cmp eax, 0x7e0b94
jl 0x433089
jmp 0x4330d3
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
shl eax, 2
mov ecx, dword [eax + 0x7ddf98]
mov dword [ebp + 0x620], ecx
mov edx, dword [eax + 0x7ddfac]
mov dword [ebp + 0x624], edx
mov ecx, dword [eax + 0x7ddfb0]
mov dword [ebp + 0x628], ecx
mov edx, dword [eax + 0x7ddfb8]
mov dword [ebp + 0x62c], edx
mov eax, dword [ebp + 0x160]
movsx esi, byte [eax]
inc eax
cmp esi, 0x7e
mov dword [ebp + 0x160], eax
ja case.0x4330f4.10
xor ecx, ecx
mov cl, byte [esi + 0x434294]
jmp dword [ecx*4 + 0x434268]
mov eax, dword [ebp + 0x63c]
test eax, eax
je 0x4341ee
dec eax
mov dword [ebp + 0x63c], eax
mov edx, dword [ebp + eax*4 + 0x640]
mov dword [ebp + 0x160], edx
jmp 0x4330d3
cmp byte [eax], 0x40
je 0x433432
mov ecx, dword [ebp + 0x5c0]
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp + 0x5c0], eax
jmp 0x4330d3
cmp byte [eax], 0x7c
je 0x433432
mov eax, dword [ebp + 0x5b8]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp + 0x5b8], ecx
jmp 0x4330d3
cmp byte [eax], 0x2b
je 0x433432
push ebp
call fcn.004317f0
add esp, 4
xor esi, esi
mov edx, dword [ebp + 0x160]
mov cl, byte [edx]
inc edx
cmp cl, 0x2f
mov dword [ebp + 0x160], edx
je 0x4331b6
test cl, cl
je 0x4331af
mov edx, eax
shl edx, 8
mov byte [edx + esi + 0x5a7550], cl
inc esi
cmp esi, 0xfe
jl 0x433172
shl eax, 8
mov byte [eax + esi + 0x5a7550], 0
jmp 0x4330d3
dec edx
mov dword [ebp + 0x160], edx
shl eax, 8
mov byte [eax + esi + 0x5a7550], 0
jmp 0x4330d3
cmp byte [eax], 0x2a
je 0x433432
push ebp
call fcn.004317f0
add esp, 4
cmp eax, 0x100
ja 0x4330d3
mov ecx, dword [ebp + 0x63c]
mov edx, dword [ebp + 0x160]
mov dword [ebp + ecx*4 + 0x640], edx
mov edx, dword [ebp + 0x63c]
inc edx
mov ecx, edx
cmp ecx, 0x3e8
mov dword [ebp + 0x63c], edx
jae 0x4330d3
shl eax, 8
add eax, 0x5a7550
mov dword [ebp + 0x160], eax
jmp 0x4330d3
mov cl, byte [eax]
cmp cl, 0x7e
je 0x433432
cmp cl, 0x2d
je 0x43324c
cmp cl, 0x2b
je 0x43324c
push ebp
call fcn.004317f0
add esp, 4
mov dword [0x5e3b00], eax
jmp 0x4330d3
inc eax
push ebp
mov dword [ebp + 0x160], eax
call fcn.004317f0
mov ecx, dword [0x5e3b00]
add esp, 4
add ecx, eax
mov dword [0x5e3b00], ecx
jmp 0x4330d3
cmp byte [eax], 0x24
je 0x433432
mov eax, dword [ebp + 0x168]
mov dword [0x5e3aa8], eax
mov ecx, dword [ebp + 0x16c]
mov dword [0x5e3af4], ecx
mov edx, dword [ebp + 0x15e0]
mov dword [ebp + 0x15e4], edx
jmp 0x4330d3
cmp byte [eax], 0x7b
je 0x433432
mov ecx, dword [ebp + 0x15e4]
mov esi, dword [ebp + 0x15e0]
mov eax, dword [ebp + 0x168]
sub esi, ecx
imul esi, dword [ebp + 0x178]
mov dword [0x5e3aac], eax
mov ecx, dword [ebp + 0x16c]
mov dword [0x5e3af8], ecx
mov ecx, dword [0x485500]
lea eax, [ecx + ecx*2]
shl eax, 4
sub eax, ecx
lea edx, [eax + eax*2]
lea eax, [ecx + edx*2]
lea eax, [eax + eax*4]
lea ecx, [eax*4 + 0x4c7d28]
push ebp
push ecx
call fcn.004315c0
mov edx, dword [0x5e3aa8]
mov dword [ebp + 0x168], edx
mov eax, dword [0x5e3af4]
mov dword [ebp + 0x16c], eax
mov eax, dword [ebp + 0x160]
mov cl, byte [eax]
add esp, 8
xor edi, edi
inc eax
cmp cl, 0x7d
je 0x433344
mov dl, byte [eax]
inc edi
inc eax
cmp dl, 0x7d
jne 0x433324
cmp edi, 2
jne 0x433344
mov ecx, dword [ebp + 0x1608]
mov dword [ebp + 0x178], 0
jmp 0x433391
mov eax, dword [ebp + 0x1608]
imul eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
cmp esi, ecx
jg 0x43336b
mov eax, dword [ebp + 0x1608]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp + 0x178], eax
jmp 0x433391
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, esi
cdq
idiv ecx
cdq
sub eax, edx
sar eax, 1
dec ecx
imul ecx, eax
mov dword [ebp + 0x178], eax
mov eax, dword [ebp + 0x1608]
lea ecx, [eax + ecx*2]
mov eax, esi
mov esi, dword [ebp + 0x168]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add esi, eax
mov dword [ebp + 0x168], esi
mov ecx, dword [ebp + 0x178]
shl ecx, 1
mov dword [ebp + 0x180], ecx
mov edx, dword [ebp + 0x160c]
sub dword [ebp + 0x16c], edx
jmp 0x4330d3
cmp byte [eax], 0x7d
je 0x433432
mov ecx, dword [0x485500]
lea eax, [ecx + ecx*2]
shl eax, 4
sub eax, ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
lea ecx, [eax + eax*4]
lea edx, [ecx*4 + 0x4c7d28]
push ebp
push edx
call fcn.004315c0
mov eax, dword [0x5e3aac]
mov dword [ebp + 0x168], eax
mov ecx, dword [0x5e3af8]
add esp, 8
mov dword [ebp + 0x16c], ecx
jmp 0x4330d3
cmp byte [eax], 0x5f
je 0x433432
push ebx
push ebp
call fcn.00431960
mov eax, dword [ebp + 0x198]
add esp, 8
test eax, eax
jne 0x43421d
jmp 0x4330d3
inc eax
mov dword [ebp + 0x160], eax
dec dword [ebp + 0x160]
mov eax, dword [ebp + 0x188]
xor esi, esi
cmp eax, esi
je 0x433479
cmp dword [ebp + 0x190], esi
je 0x433479
call fcn.00413a60
mov edx, dword [ebp + 0x18c]
mov ecx, dword [ebp + 0x190]
sub eax, edx
cmp eax, ecx
jb 0x434235
call fcn.00413a60
mov dword [ebp + 0x18c], eax
cmp ebx, esi
je 0x43353d
cmp dword [ebp + 0x5d0], esi
je 0x43353d
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x43349d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4334bc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x43352a
mov dword [ebp + 4], esi
mov dword [ebp + 0x5d0], 1
push ebp
call fcn.004314e0
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x28]
add esp, 4
lea edx, [ebp + 0x30]
push edx
mov edx, dword [ebp + 0x24]
push 1
push eax
mov eax, dword [ebp + 0x20]
push esi
push esi
push 0x80
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, esi
mov dword [ebp + 4], eax
je 0x43352a
mov dword [ebp + 0x5d0], esi
mov dword [ebp + 0x608], 1
cmp dword [ebp + 0x1604], esi
je 0x43352a
push ebp
call fcn.004314e0
add esp, 4
mov dword [ebp + 0x1604], esi
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x43353d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x5d8]
test al, 1
je 0x433595
xor edx, edx
and eax, 0xfffffffe
mov dword [ebp + 0x5d8], eax
mov dl, byte [ebp + 0x144]
xor eax, eax
mov al, byte [ebp + 0x146]
xor ecx, ecx
mov cl, byte [ebp + 0x145]
mov edi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], edi
and edi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, edi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x5d8]
test al, 2
je 0x4335cb
and eax, 0xfffffffd
mov dword [ebp + 0x5d8], eax
xor eax, eax
mov ah, byte [ebp + 0x14f]
xor ecx, ecx
mov cl, byte [ebp + 0x14d]
mov al, byte [ebp + 0x14e]
shl eax, 8
or eax, ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
cmp dword [ebp + 0x1a8], esi
jne 0x4336b3
mov al, byte [ebp + 0x4b9]
test al, al
lea edx, [ebp + 0x4b9]
mov esi, 1
je 0x4336b3
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
push edx
mov edx, dword [ebp + 0x160]
not ecx
dec ecx
push edx
mov edi, ecx
call fcn.00445110
add esp, 8
test eax, eax
jne 0x43362d
lea esi, [esi + edi + 1]
mov al, byte [esi + ebp + 0x4b8]
test al, al
lea edx, [esi + ebp + 0x4b8]
jne 0x4335f0
jmp 0x4336b3
cmp dword [ebp + 0x178], 0xffffffff
jne 0x433684
mov eax, dword [ebp + 0x1610]
test eax, eax
je 0x433650
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1614]
mov dword [esp + 0x30], eax
jmp 0x433665
lea ecx, [esp + 0x2c]
push ecx
push edi
lea edx, [esi + ebp + 0x4b8]
push edx
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp + 0x184]
mov esi, dword [ebp + 0x164]
imul eax, edi
mov edx, dword [ebp + 0x168]
mov ecx, dword [esp + 0x2c]
sub eax, esi
add eax, edx
jmp 0x4336ab
mov ecx, dword [ebp + 0x184]
mov eax, edi
imul ecx, edi
cdq
sub eax, edx
mov edx, dword [ebp + 0x164]
sar eax, 1
imul eax, dword [ebp + 0x180]
add eax, ecx
mov ecx, dword [ebp + 0x168]
sub eax, edx
add eax, ecx
mov dword [ebp + 0x1a8], eax
mov esi, dword [ebp + 0x160]
mov al, byte [esi]
cmp al, 0x81
jb 0x4336d2
cmp al, 0x9f
jbe 0x4336cb
cmp al, 0xe0
jb 0x4336d2
cmp al, 0xfc
ja 0x4336d2
mov eax, 1
jmp 0x4336d4
xor eax, eax
lea eax, [esi + eax + 1]
mov dword [esp + 0x1c], eax
sub eax, esi
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [ebp + 0x60c]
mov dword [edi], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
cmp eax, 1
mov dword [esp + 0x58], eax
rep movsb byte es:[edi], byte [esi]
jne 0x433779
mov ecx, dword [ebp + 0x5b8]
test ecx, ecx
je 0x433779
mov ecx, dword [ebp + 0x5bc]
test ecx, ecx
je 0x43373c
mov eax, dword [ebp + 0x160]
xor ecx, ecx
mov cl, byte [eax]
mov eax, ecx
mov ecx, dword [ebp + 0x5c0]
test ecx, ecx
je 0x433732
add eax, 0x100
mov dx, word [eax*2 + 0x485504]
jmp 0x433769
xor ecx, ecx
mov ecx, dword [ebp + 0x160]
mov cl, byte [ecx]
cmp cl, 0x20
je 0x433779
mov eax, dword [ebp + 0x5c0]
and ecx, 0xff
test eax, eax
je 0x433761
add ecx, 0x100
mov dx, word [ecx*2 + 0x485504]
mov eax, 2
mov word [ebp + 0x60c], dx
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov dword [ebp + 0x160], ecx
mov ecx, dword [ebp + 0x178]
cmp ecx, 0xffffffff
mov esi, dword [ebp + 0x168]
jne 0x4337d2
test ebx, ebx
je 0x4337d2
mov eax, dword [ebp + 0x1610]
test eax, eax
je 0x4337b4
mov edx, dword [ebp + 0x1614]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
add esi, eax
jmp 0x4337ea
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [ebp + 0x60c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
add esi, dword [esp + 0x2c]
jmp 0x4337ea
cmp eax, 2
jne 0x4337dd
mov ecx, dword [ebp + 0x180]
mov edx, dword [ebp + 0x184]
imul edx, eax
add esi, ecx
add esi, edx
cmp esi, dword [ebp + 0x19c]
jb 0x43385a
lea eax, [ebp + 0x60c]
push eax
lea eax, [ebp + 0x2b8]
push eax
call fcn.00445b22
add esp, 8
test eax, eax
je 0x43385a
mov ecx, dword [ebp + 0x168]
mov edx, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x164]
mov dword [ebp + 0x168], eax
mov dword [ebp + 0x174], edx
mov edx, dword [ebp + 0x16c]
mov dword [ebp + 0x170], ecx
mov ecx, dword [ebp + 0x17c]
add edx, ecx
mov dword [ebp + 0x16c], edx
mov edx, dword [ebp + 0x1a8]
add dword [ebp + 0x168], edx
mov dword [ebp + 0x1a4], 1
mov eax, dword [ebp + 0x1b4]
test eax, eax
jne 0x43395e
mov eax, dword [ebp + 0x168]
cmp eax, dword [ebp + 0x164]
je 0x433884
mov eax, dword [ebp + 0x1ac]
test eax, eax
je 0x433968
mov eax, dword [ebp + 0x1a4]
test eax, eax
je 0x433968
mov esi, dword [ebp + 0x160]
mov al, byte [esi]
cmp al, 0x81
jb 0x4338b1
cmp al, 0x9f
jbe 0x4338aa
cmp al, 0xe0
jb 0x4338b1
cmp al, 0xfc
ja 0x4338b1
mov eax, 1
jmp 0x4338b3
xor eax, eax
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x18], 0
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
lea eax, [ebp + 0x60c]
rep movsb byte es:[edi], byte [esi]
push eax
lea esi, [ebp + 0x3b8]
push esi
call fcn.00445b22
add esp, 8
test eax, eax
je 0x433916
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00445b22
add esp, 8
test eax, eax
jne 0x433930
lea ecx, [esp + 0x18]
push ecx
lea edx, [ebp + 0x1b8]
push edx
call fcn.00445b22
add esp, 8
test eax, eax
jne 0x433952
jmp 0x433930
lea eax, [ebp + 0x60c]
push eax
lea edx, [ebp + 0x1b8]
push edx
call fcn.00445b22
add esp, 8
test eax, eax
je 0x433952
mov eax, dword [ebp + 0x170]
mov ecx, dword [ebp + 0x174]
mov dword [ebp + 0x168], eax
mov dword [ebp + 0x16c], ecx
mov dword [ebp + 0x1b4], 1
mov dword [ebp + 0x1ac], 0
jmp 0x433968
mov dword [ebp + 0x1b4], 0
test ebx, ebx
je 0x43408a
mov eax, dword [ebp + 0x1610]
test eax, eax
je 0x43398a
mov edx, dword [ebp + 0x1614]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jmp 0x4339a2
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [ebp + 0x60c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp + 0x168]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x16c]
lea esi, [eax + edx]
mov edx, dword [esp + 0x30]
mov edi, ecx
add ecx, edx
test byte [ebp + 0x5cc], 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
je 0x433a4c
mov ebx, dword [ebp + 0x150]
add ebx, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x44], ebx
mov ebx, dword [ebp + 0x154]
mov edx, edi
add edx, ebx
mov dword [esp + 0x48], edx
mov edx, dword [ebp + 0x150]
mov ebx, esi
add ebx, edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x4c], ebx
mov ebx, dword [ebp + 0x154]
mov edx, ecx
add edx, ebx
mov ebx, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], ecx
jl 0x433a22
mov eax, ebx
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x48]
cmp edi, ebx
jl 0x433a30
mov edi, ebx
mov dword [esp + 0x38], edi
mov ebx, dword [esp + 0x4c]
cmp esi, ebx
jg 0x433a3e
mov esi, ebx
mov dword [esp + 0x3c], esi
cmp ecx, edx
jg 0x433a48
mov ecx, edx
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x5c]
mov edx, dword [ebp + 0x5cc]
test edx, 0x1fe
mov dword [esp + 0x14], edx
je 0x433b06
test dl, 0x40
je 0x433a7b
sub eax, dword [ebp + 0x158]
sub edi, dword [ebp + 0x15c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
test dl, 0x80
je 0x433a8a
sub edi, dword [ebp + 0x15c]
mov dword [esp + 0x38], edi
test dh, 1
je 0x433aa3
add esi, dword [ebp + 0x158]
sub edi, dword [ebp + 0x15c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x14]
test dl, 0x10
je 0x433ab6
sub eax, dword [ebp + 0x158]
mov dword [esp + 0x34], eax
test dl, 0x20
je 0x433ac5
add esi, dword [ebp + 0x158]
mov dword [esp + 0x3c], esi
test dl, 2
je 0x433ade
sub eax, dword [ebp + 0x158]
add ecx, dword [ebp + 0x15c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
test dl, 4
je 0x433aed
add ecx, dword [ebp + 0x15c]
mov dword [esp + 0x40], ecx
test dl, 8
je 0x433b06
add esi, dword [ebp + 0x158]
add ecx, dword [ebp + 0x15c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
test dh, 0xc
je 0x433b33
sub eax, dword [ebp + 0x158]
sub edi, dword [ebp + 0x15c]
add esi, dword [ebp + 0x158]
add ecx, dword [ebp + 0x15c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], ecx
lea edx, [ebp + 0x610]
mov dword [edx], eax
mov dword [edx + 4], edi
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x5c8]
cmp edx, 0xffffffff
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
je 0x433bab
mov ecx, dword [ebp]
mov eax, edx
shl eax, 7
add eax, edx
shl eax, 3
sub eax, edx
mov dword [eax*4 + 0xfc5038], ecx
mov eax, dword [ebp + 0x5c8]
mov edx, eax
shl edx, 7
add edx, eax
shl edx, 3
sub edx, eax
lea eax, [edx*4 + 0xfc4040]
push eax
call fcn.0042bf60
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
add esp, 4
test byte [esp + 0x1c], 2
jne 0x433be5
mov edx, dword [ebp + 0x130]
cmp edx, 0xffffffff
je 0x433be5
push 0xcc0020
push edi
lea ebx, [edx + edx*4]
push eax
lea edx, [edx + ebx*2]
mov edx, dword [edx*4 + 0x7ddf94]
mov ebx, dword [esp + 0x68]
push edx
sub ecx, edi
push ecx
sub esi, eax
push esi
push edi
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test byte [esp + 0x1c], 1
jne 0x43408a
test byte [ebp + 0x5cc], 1
je 0x433c93
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dl, byte [ebp + 0x14a]
xor eax, eax
mov al, byte [ebp + 0x14c]
xor ecx, ecx
mov cl, byte [ebp + 0x14b]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x140]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x154]
mov edi, dword [ebp + 0x168]
push ecx
mov ecx, dword [ebp + 0x16c]
mov dword [ebp + 0x138], eax
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x150]
add edx, ecx
push edx
add eax, edi
push eax
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
mov dword [esp + 0x14], 1
test dword [ebp + 0x5cc], 0x1fe
je 0x433ea3
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dl, byte [ebp + 0x147]
xor eax, eax
mov al, byte [ebp + 0x149]
xor ecx, ecx
mov cl, byte [ebp + 0x148]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
test byte [ebp + 0x5cc], 0x40
mov esi, dword [esp + 0x58]
je 0x433d2c
mov edx, dword [ebp + 0x15c]
mov ecx, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x16c]
sub eax, edx
push eax
sub ecx, dword [ebp + 0x158]
push ecx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 0x80
je 0x433d5d
mov edx, dword [ebp + 0x16c]
mov ecx, dword [ebp + 0x15c]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x168]
sub edx, ecx
push edx
push eax
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
mov eax, dword [ebp + 0x5cc]
test ah, 1
je 0x433d98
mov ecx, dword [ebp + 0x16c]
mov edi, dword [ebp + 0x15c]
mov edx, dword [ebp + 0x158]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x168]
sub ecx, edi
push ecx
add edx, eax
push edx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 0x10
je 0x433dc7
mov ecx, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x16c]
push eax
sub ecx, dword [ebp + 0x158]
push ecx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 0x20
je 0x433df8
mov edx, dword [ebp + 0x16c]
mov ecx, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x158]
push edx
add eax, ecx
push eax
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 2
je 0x433e31
mov ecx, dword [ebp + 0x15c]
mov edi, dword [ebp + 0x16c]
mov edx, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x158]
add ecx, edi
push ecx
sub edx, eax
push edx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 4
je 0x433e62
mov edx, dword [ebp + 0x16c]
mov ecx, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x15c]
add eax, edx
push eax
push ecx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
test byte [ebp + 0x5cc], 8
je 0x433e9b
mov edx, dword [ebp + 0x15c]
mov ecx, dword [ebp + 0x16c]
mov edi, dword [ebp + 0x168]
push esi
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x158]
add edx, ecx
push edx
add eax, edi
push eax
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 0x5cc]
test ah, 4
je 0x433f62
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dl, byte [ebp + 0x147]
xor eax, eax
mov al, byte [ebp + 0x149]
xor ecx, ecx
mov cl, byte [ebp + 0x148]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x158]
mov edi, eax
neg edi
cmp edi, eax
jg 0x433f5a
mov eax, dword [ebp + 0x15c]
mov esi, eax
neg esi
cmp esi, eax
jg 0x433f4f
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x16c]
mov edx, dword [ebp + 0x168]
push eax
lea eax, [ebp + 0x60c]
push eax
add ecx, esi
push ecx
add edx, edi
push edx
push ebx
push ebp
call fcn.004325a0
mov eax, dword [ebp + 0x15c]
add esp, 0x18
inc esi
cmp esi, eax
jle 0x433f1c
mov eax, dword [ebp + 0x158]
inc edi
cmp edi, eax
jle 0x433f0e
mov dword [esp + 0x14], 1
mov eax, dword [ebp + 0x5cc]
test ah, 8
je 0x433fe4
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
xor edx, edx
mov dl, byte [ebp + 0x147]
xor eax, eax
mov al, byte [ebp + 0x149]
xor ecx, ecx
mov cl, byte [ebp + 0x148]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 0x16c]
mov edx, dword [ebp + 0x168]
or eax, 0x80000000
push eax
lea eax, [ebp + 0x60c]
push eax
push ecx
push edx
push ebx
push ebp
call fcn.004325a0
add esp, 0x18
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43403f
xor edx, edx
mov dl, byte [ebp + 0x144]
xor eax, eax
mov al, byte [ebp + 0x146]
xor ecx, ecx
mov cl, byte [ebp + 0x145]
mov esi, edx
xor edx, edx
mov dh, al
mov dword [ebp + 0x630], esi
and esi, 0xff
mov dword [ebp + 0x634], ecx
mov dword [ebp + 0x638], eax
mov dl, cl
shl edx, 8
or edx, esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp + 0x134]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x58]
mov edx, dword [ebp + 0x16c]
push ecx
lea eax, [ebp + 0x60c]
push eax
mov eax, dword [ebp + 0x168]
push edx
push eax
push ebx
push ebp
call fcn.004325a0
mov eax, dword [esp + 0x78]
add esp, 0x18
test eax, eax
je 0x43408a
cmp dword [ebp + 0x15ec], 0xffffffff
jne 0x43408a
mov edx, dword [0x13b43c4]
push 0
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.00417560
add esp, 0xc
mov eax, dword [ebp + 0x5c4]
cmp eax, 0xffffffff
je 0x4340cd
mov edx, dword [ebp]
mov ecx, eax
shl ecx, 7
add ecx, eax
shl ecx, 3
sub ecx, eax
mov dword [ecx*4 + 0xfc5038], edx
mov eax, dword [ebp + 0x5c4]
mov ecx, eax
shl ecx, 7
add ecx, eax
shl ecx, 3
sub ecx, eax
lea edx, [ecx*4 + 0xfc4040]
push edx
call fcn.0042bf60
add esp, 4
mov eax, dword [ebp + 0x178]
cmp eax, 0xffffffff
jne 0x43412c
test ebx, ebx
je 0x43412c
mov eax, dword [ebp + 0x1610]
test eax, eax
je 0x434106
mov esi, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x1614]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x168]
add eax, edx
jmp 0x434152
mov esi, dword [esp + 0x58]
lea ecx, [esp + 0x2c]
push ecx
push esi
lea eax, [ebp + 0x60c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x168]
add eax, edx
jmp 0x434152
mov esi, dword [esp + 0x58]
cmp esi, 2
jne 0x43413b
mov eax, dword [ebp + 0x180]
add dword [ebp + 0x168], eax
mov ecx, dword [ebp + 0x184]
mov eax, dword [ebp + 0x168]
imul ecx, esi
add eax, ecx
mov ecx, dword [ebp + 0x19c]
mov dword [ebp + 0x168], eax
add dword [ebp + 0x15e0], esi
mov eax, dword [ebp + 0x168]
cmp eax, ecx
mov dword [ebp + 0x1a4], 0
jb 0x4341bf
mov edx, dword [ebp + 0x16c]
mov ecx, dword [ebp + 0x17c]
mov dword [ebp + 0x170], eax
mov eax, dword [ebp + 0x164]
mov dword [ebp + 0x168], eax
mov dword [ebp + 0x174], edx
add dword [ebp + 0x16c], ecx
mov edx, dword [ebp + 0x1a8]
add dword [ebp + 0x168], edx
mov eax, 1
mov dword [ebp + 0x1a4], eax
mov dword [ebp + 0x1ac], eax
test ebx, ebx
je 0x4330d3
mov eax, dword [ebp + 0x188]
test eax, eax
je 0x4330d3
mov eax, dword [ebp + 0x198]
test eax, eax
jne 0x43424d
mov eax, dword [ebp + 0x190]
test eax, eax
jne 0x43424d
jmp 0x4330d3
test ebx, ebx
mov dword [ebp + 8], 0
je 0x43421d
mov eax, dword [esp + 0x20]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x28]
push edx
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43425d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x43425d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43425d
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret