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

Disassembly:
push 0xffffffffffffffff
push 0x524772
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [esp + 0xc0]
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [eax + 4]
push esi
push edi
mov dword [esp + 0x38], ebp
mov eax, dword [ecx]
lea ecx, [esp + 0x28]
mov edx, dword [eax + 8]
mov eax, dword [edx]
add eax, 8
push eax
call fcn.00508e0e
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0xc8], esi
mov ecx, dword [eax - 8]
cmp ecx, esi
jle 0x4526ec
mov al, byte [esi + eax]
push 1
mov byte [esp + 0x34], al
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x28]
call fcn.005010c6
mov edx, dword [esp + 0x20]
push 0x566934
push edx
mov byte [esp + 0xd0], 1
call fcn.004a6365
add esp, 8
test eax, eax
jne 0x4526cd
lea eax, [esp + 0x28]
push esi
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.00452430
mov edx, dword [0x56935c]
mov dword [esp + 0x18], edx
push str.ansicpg
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 3
call fcn.00509222
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [eax - 8]
mov edx, dword [ecx - 8]
cmp eax, edx
jl 0x45268b
mov ecx, edx
push ecx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
call fcn.00501531
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call fcn.004a6365
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
sete bl
call fcn.00509099
test bl, bl
je 0x45268b
lea edi, [ebp + 0x24]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.005091d2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, edi
push eax
push 0
call fcn.005011f0
mov edx, dword [esp + 0x10]
mov ebx, dword [edx - 8]
mov edx, dword [esp + 0x28]
add esi, ebx
mov eax, dword [edx - 8]
lea ecx, [esi + 1]
cmp ecx, eax
jge 0x4526ab
cmp byte [esi + edx + 1], 0x20
jne 0x4526ab
mov esi, ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 2
call fcn.00509099
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], 1
call fcn.00509099
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0
call fcn.00509099
mov eax, dword [esp + 0x28]
inc esi
cmp esi, dword [eax - 8]
jl 0x4525bb
xor edi, edi
mov edx, dword [esp + 0xd0]
mov dword [esp + 0x18], edi
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x452709
xor eax, eax
jmp 0x452711
mov eax, dword [eax + 0x14]
sub eax, ecx
sar eax, 3
cmp edi, eax
jge 0x452fde
lea ecx, [esp + 0x60]
push edi
push ecx
mov ecx, edx
call fcn.00458a40
mov edx, dword [eax + 4]
push str.colortbl
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
call fcn.004a6365
add esp, 8
mov ebp, 0x53b3f8
test eax, eax
sete bl
mov dword [esp + 0x60], ebp
lea ecx, [esp + 0x60]
mov byte [esp + 0xc8], 4
call fcn.00459d90
mov ecx, dword [esp + 0x64]
mov esi, 0x53b404
test ecx, ecx
mov byte [esp + 0xc8], 0
mov dword [esp + 0x60], esi
je 0x45277d
call fcn.0045abe0
test bl, bl
push edi
je 0x452b93
mov esi, dword [esp + 0xd4]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.00458a40
mov edx, dword [eax + 4]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 5
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax]
add eax, 8
push eax
call fcn.00508e0e
mov dword [esp + 0x68], ebp
lea ecx, [esp + 0x68]
mov byte [esp + 0xc8], 8
call fcn.00459d90
mov ecx, dword [esp + 0x6c]
mov ebx, 0x53b404
test ecx, ecx
mov byte [esp + 0xc8], 7
mov dword [esp + 0x68], ebx
je 0x4527eb
call fcn.0045abe0
lea ecx, [esp + 0x70]
push edi
push ecx
mov ecx, esi
call fcn.00458a40
mov edx, dword [eax + 4]
mov byte [esp + 0xc8], 9
mov eax, dword [edx]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x20]
inc eax
push eax
push 0
call fcn.005011f0
mov dword [esp + 0x70], ebp
lea ecx, [esp + 0x70]
mov byte [esp + 0xc8], 0xa
call fcn.00459d90
mov ecx, dword [esp + 0x74]
mov byte [esp + 0xc8], 7
test ecx, ecx
mov dword [esp + 0x70], ebx
je 0x45284a
call fcn.0045abe0
lea ecx, [esp + 0xac]
call fcn.0050370f
lea edx, [esp + 0xac]
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0xd0], 0xb
call fcn.00451c50
mov eax, dword [esp + 0xbc]
xor ebx, ebx
add esp, 8
xor ebp, ebp
cmp eax, ebx
jle 0x452b68
mov ecx, dword [esp + 0xb0]
xor esi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
lea edx, [ecx + ebp*4]
lea ecx, [esp + 0x24]
push edx
call fcn.00508e0e
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0xc
call fcn.00501a77
lea ecx, [esp + 0x24]
call fcn.00501a2b
mov eax, dword [esp + 0x24]
cmp dword [eax - 8], ebx
jle 0x452b11
lea ecx, [esp + 0x98]
call fcn.0050370f
lea ecx, [esp + 0x98]
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov byte [esp + 0xd0], 0xd
call fcn.00453ac0
mov eax, dword [esp + 0xa0]
xor edi, edi
cmp eax, ebx
jle 0x452af9
mov eax, dword [esp + 0x9c]
lea ecx, [eax + edi*4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00508e0e
mov edx, dword [0x56935c]
mov dword [esp + 0x14], edx
push 0x566d68
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 0xf
call fcn.00509222
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax - 8]
mov edx, dword [ecx - 8]
cmp eax, edx
jl 0x4529b3
mov ecx, edx
push ecx
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x18]
call fcn.00501531
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004a6365
add esp, 8
lea ecx, [esp + 0x90]
test eax, eax
sete bl
call fcn.00509099
test bl, bl
je 0x4529b3
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push 0
call fcn.005011f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00508e0e
call fcn.00451bc0
add esp, 4
mov esi, eax
push str.green
lea ecx, [esp + 0x18]
call fcn.00509222
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
cmp ecx, edx
jl 0x452a3c
mov eax, edx
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00501531
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004a6365
add esp, 8
lea ecx, [esp + 0x8c]
test eax, eax
sete bl
call fcn.00509099
test bl, bl
je 0x452a3c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push 0
call fcn.005011f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00508e0e
call fcn.00451bc0
add esp, 4
mov dword [esp + 0x34], eax
push str.blue
lea ecx, [esp + 0x18]
call fcn.00509222
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
cmp ecx, edx
jl 0x452ac5
mov eax, edx
lea ecx, [esp + 0x88]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00501531
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
call fcn.004a6365
add esp, 8
lea ecx, [esp + 0x88]
test eax, eax
sete bl
call fcn.00509099
test bl, bl
je 0x452ac5
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [eax - 8]
push eax
push 0
call fcn.005011f0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
call fcn.00508e0e
call fcn.00451bc0
add esp, 4
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc8], 0xe
call fcn.00509099
lea ecx, [esp + 0x10]
mov byte [esp + 0xc8], 0xd
call fcn.00509099
mov eax, dword [esp + 0xa0]
inc edi
cmp edi, eax
jl 0x452906
xor ebx, ebx
lea ecx, [esp + 0x98]
mov byte [esp + 0xc8], 0xc
call fcn.00503742
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
xor eax, eax
mov ah, byte [esp + 0x1c]
and esi, 0xff
mov al, byte [esp + 0x34]
add ecx, 0x58
shl eax, 8
or eax, esi
lea edx, [esp + 0x94]
mov dword [esp + 0x94], eax
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.0045af30
lea ecx, [esp + 0x24]
mov byte [esp + 0xc8], 0xb
call fcn.00509099
mov eax, dword [esp + 0xb4]
inc ebp
cmp ebp, eax
jl 0x452886
lea ecx, [esp + 0xac]
mov byte [esp + 0xc8], 7
call fcn.00503742
lea ecx, [esp + 0x20]
mov byte [esp + 0xc8], 0
call fcn.00509099
inc edi
jmp 0x4526ee
mov ecx, dword [esp + 0xd4]
lea eax, [esp + 0x84]
push eax
call fcn.00458a40
mov ecx, dword [eax + 4]
push str.fonttbl
mov eax, dword [ecx]
mov edx, dword [eax + 8]
mov eax, dword [edx]
mov eax, dword [eax]
push eax
call fcn.004a6365
add esp, 8
mov dword [esp + 0x80], ebp
test eax, eax
sete bl
lea ecx, [esp + 0x80]
mov byte [esp + 0xc8], 0x10
call fcn.00459d90
mov eax, dword [esp + 0x84]
mov byte [esp + 0xc8], 0
test eax, eax
mov dword [esp + 0x80], esi
je 0x452c15
mov edx, dword [eax + 4]
mov ecx, eax
add eax, 4
dec edx
test edx, edx
mov dword [eax], edx
jne 0x452c15
test ecx, ecx
je 0x452c15
push 1
call fcn.0045ac10
test bl, bl
je 0x452b8d
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0xd0]
lea eax, [esp + 0x78]
push edi
push eax
call fcn.00458a40
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x452c47
xor eax, eax
jmp 0x452c4f
mov eax, dword [eax + 0x14]
sub eax, ecx
sar eax, 3
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x78], ebp
cmp edx, eax
setl bl
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], 0x11
call fcn.00459d90
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xc8], 0
test eax, eax
mov dword [esp + 0x78], esi
je 0x452ca6
mov edx, dword [eax + 4]
mov esi, eax
add eax, 4
dec edx
mov ecx, edx
test ecx, ecx
mov dword [eax], edx
jne 0x452ca6
test esi, esi
je 0x452ca6
mov ecx, esi
call fcn.0045b540
push esi
call fcn.005096eb
add esp, 4
test bl, bl
je 0x452b8d
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x58]
push edi
push edx
call fcn.00458a40
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0xd0], 0x12
call fcn.00458a40
mov eax, dword [eax + 4]
mov byte [esp + 0xc8], 0x13
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
lea ecx, [esp + 0x30]
push eax
call fcn.00508e0e
mov dword [esp + 0x44], ebp
mov eax, dword [esp + 0x48]
mov byte [esp + 0xc8], 0x17
test eax, eax
je 0x452d6b
mov esi, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [eax + 0xc]
call fcn.0045a240
inc eax
cmp esi, eax
jne 0x452d62
mov edx, dword [esp + 0x48]
xor esi, esi
mov edi, dword [edx]
add edi, 0xc
mov ecx, edi
call fcn.0045a240
test eax, eax
jbe 0x452d59
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*8 + 4]
mov eax, dword [eax]
lea ecx, [eax + 0x1c]
call fcn.00459fd0
mov eax, dword [edi + 4]
lea ecx, [eax + esi*8]
call fcn.00459d90
mov ecx, edi
inc esi
call fcn.0045a240
cmp esi, eax
jb 0x452d31
mov edi, dword [esp + 0x18]
mov ebp, 0x53b3f8
lea ecx, [esp + 0x44]
call fcn.00459fd0
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 0x16
call fcn.00458d60
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x5c]
mov byte [esp + 0xc8], 0x18
test eax, eax
je 0x452df2
mov esi, dword [eax + 4]
mov eax, dword [eax]
lea ecx, [eax + 0xc]
call fcn.0045a240
inc eax
cmp esi, eax
jne 0x452de9
mov ecx, dword [esp + 0x5c]
xor esi, esi
mov edi, dword [ecx]
add edi, 0xc
mov ecx, edi
call fcn.0045a240
test eax, eax
jbe 0x452de0
mov eax, dword [edi + 4]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [edx]
lea ecx, [eax + 0x1c]
call fcn.00459fd0
mov eax, dword [edi + 4]
lea ecx, [eax + esi*8]
call fcn.00459d90
mov ecx, edi
inc esi
call fcn.0045a240
cmp esi, eax
jb 0x452db8
mov edi, dword [esp + 0x18]
mov ebp, 0x53b3f8
lea ecx, [esp + 0x58]
call fcn.00459fd0
lea ecx, [esp + 0x58]
mov byte [esp + 0xc8], 0x15
call fcn.00458d60
mov ecx, dword [esp + 0xd0]
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.00458a40
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0xd0], 0x19
call fcn.00458a40
mov eax, dword [eax + 4]
mov byte [esp + 0xc8], 0x1a
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
lea ecx, [esp + 0x2c]
add eax, 0xc
push eax
call fcn.00508e0e
mov dword [esp + 0x4c], ebp
mov ecx, dword [esp + 0x50]
mov byte [esp + 0xc8], 0x1e
test ecx, ecx
je 0x452ecc
mov esi, dword [ecx + 4]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x452e71
xor eax, eax
jmp 0x452e79
mov eax, dword [ecx + 0x14]
sub eax, edx
sar eax, 3
inc eax
cmp esi, eax
jne 0x452ebf
lea edi, [ecx + 0xc]
xor esi, esi
mov ecx, edi
call fcn.0045a240
test eax, eax
jbe 0x452eb6
mov eax, dword [edi + 4]
mov edx, dword [eax + esi*8 + 4]
mov eax, dword [edx]
lea ecx, [eax + 0x1c]
call fcn.00459fd0
mov eax, dword [edi + 4]
lea ecx, [eax + esi*8]
call fcn.00459d90
mov ecx, edi
inc esi
call fcn.0045a240
cmp esi, eax
jb 0x452e8e
mov edi, dword [esp + 0x18]
mov ebp, 0x53b3f8
lea ecx, [esp + 0x4c]
call fcn.00459fd0
mov ecx, dword [esp + 0x50]
test ecx, ecx
mov byte [esp + 0xc8], 0x1d
mov dword [esp + 0x4c], 0x53b404
je 0x452ee5
call fcn.0045abe0
mov dword [esp + 0x3c], ebp
mov ecx, dword [esp + 0x40]
mov byte [esp + 0xc8], 0x1f
test ecx, ecx
je 0x452f5f
mov esi, dword [ecx + 4]
mov ecx, dword [ecx]
add ecx, 0xc
call fcn.0045a240
inc eax
cmp esi, eax
jne 0x452f52
mov eax, dword [esp + 0x40]
xor esi, esi
mov edi, dword [eax]
add edi, 0xc
mov ecx, edi
call fcn.0045a240
test eax, eax
jbe 0x452f49
mov eax, dword [edi + 4]
mov ecx, dword [eax + esi*8 + 4]
mov eax, dword [ecx]
lea ecx, [eax + 0x1c]
call fcn.00459fd0
mov eax, dword [edi + 4]
lea ecx, [eax + esi*8]
call fcn.00459d90
mov ecx, edi
inc esi
call fcn.0045a240
cmp esi, eax
jb 0x452f21
mov edi, dword [esp + 0x18]
mov ebp, 0x53b3f8
lea ecx, [esp + 0x3c]
call fcn.00459fd0
mov ecx, dword [esp + 0x40]
mov esi, 0x53b404
mov byte [esp + 0xc8], 0x1c
test ecx, ecx
mov dword [esp + 0x3c], esi
je 0x452f79
call fcn.0045abe0
lea ecx, [esp + 0x2c]
call fcn.00501a77
lea ecx, [esp + 0x2c]
call fcn.00501a2b
push 0x3b
lea ecx, [esp + 0x30]
call fcn.005013ab
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
push edx
push eax
add ecx, 0x3c
call fcn.00504482
mov ecx, eax
call fcn.00509222
lea ecx, [esp + 0x2c]
mov byte [esp + 0xc8], 0x15
call fcn.00509099
lea ecx, [esp + 0x30]
mov byte [esp + 0xc8], 0
call fcn.00509099
inc dword [esp + 0x1c]
jmp 0x452c25
lea ecx, [esp + 0x28]
mov dword [esp + 0xc8], 0xffffffff
call fcn.00509099
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xbc
ret 4