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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2b
push 0
push 0
dec ecx
jne 0x452858
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45334c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00406288
lea edx, [ebp - 8]
mov eax, dword [ebx + 4]
call fcn.004570f0
cmp dword [ebp - 8], 0
je 0x4528b3
push dword [esi]
push 0x453368
lea edx, [ebp - 0xc]
mov eax, dword [ebx + 4]
call fcn.004570f0
push dword [ebp - 0xc]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 8]
call fcn.004570f0
cmp dword [ebp - 0x10], 0
je 0x4528ea
push dword [esi]
push 0x453390
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.004570f0
push dword [ebp - 0x14]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0xc]
call fcn.004570f0
cmp dword [ebp - 0x18], 0
je 0x452921
push dword [esi]
push 0x4533b0
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0xc]
call fcn.004570f0
push dword [ebp - 0x1c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x20]
mov eax, dword [ebx + 0x10]
call fcn.004570f0
cmp dword [ebp - 0x20], 0
je 0x452958
push dword [esi]
push 0x4533d0
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x10]
call fcn.004570f0
push dword [ebp - 0x24]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x28]
mov eax, dword [ebx + 0x14]
call fcn.004570f0
cmp dword [ebp - 0x28], 0
je 0x45298f
push dword [esi]
push 0x4533f0
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x14]
call fcn.004570f0
push dword [ebp - 0x2c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x30]
mov eax, dword [ebx + 0x18]
call fcn.004570f0
cmp dword [ebp - 0x30], 0
je 0x4529c6
push dword [esi]
push 0x453404
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x18]
call fcn.004570f0
push dword [ebp - 0x34]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 0x1c]
call fcn.004570f0
cmp dword [ebp - 0x38], 0
je 0x4529fd
push dword [esi]
push 0x453420
lea edx, [ebp - 0x3c]
mov eax, dword [ebx + 0x1c]
call fcn.004570f0
push dword [ebp - 0x3c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x40]
mov eax, dword [ebx + 0x20]
call fcn.004570f0
cmp dword [ebp - 0x40], 0
je 0x452a34
push dword [esi]
push 0x45343c
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 0x20]
call fcn.004570f0
push dword [ebp - 0x44]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x48]
mov eax, dword [ebx + 0x24]
call fcn.004570f0
cmp dword [ebp - 0x48], 0
je 0x452a6b
push dword [esi]
push 0x453458
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x24]
call fcn.004570f0
push dword [ebp - 0x4c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x28]
call fcn.004570f0
cmp dword [ebp - 0x50], 0
je 0x452aa2
push dword [esi]
push 0x453478
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x28]
call fcn.004570f0
push dword [ebp - 0x54]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x58]
mov eax, dword [ebx + 0x2c]
call fcn.004570f0
cmp dword [ebp - 0x58], 0
je 0x452ad9
push dword [esi]
push 0x453498
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 0x2c]
call fcn.004570f0
push dword [ebp - 0x5c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x30]
call fcn.004570f0
cmp dword [ebp - 0x60], 0
je 0x452b10
push dword [esi]
push 0x4534b8
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x30]
call fcn.004570f0
push dword [ebp - 0x64]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x34]
call fcn.004570f0
cmp dword [ebp - 0x68], 0
je 0x452b47
push dword [esi]
push 0x4534d8
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 0x34]
call fcn.004570f0
push dword [ebp - 0x6c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x70]
mov eax, dword [ebx + 0x38]
call fcn.004570f0
cmp dword [ebp - 0x70], 0
je 0x452b7e
push dword [esi]
push 0x4534f4
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x38]
call fcn.004570f0
push dword [ebp - 0x74]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x78]
mov eax, dword [ebx + 0x3c]
call fcn.004570f0
cmp dword [ebp - 0x78], 0
je 0x452bb5
push dword [esi]
push 0x453510
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x3c]
call fcn.004570f0
push dword [ebp - 0x7c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x80]
mov eax, dword [ebx + 0x40]
call fcn.004570f0
cmp dword [ebp - 0x80], 0
je 0x452bf2
push dword [esi]
push 0x45352c
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 0x40]
call fcn.004570f0
push dword [ebp - 0x84]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x88]
mov eax, dword [ebx + 0x44]
call fcn.004570f0
cmp dword [ebp - 0x88], 0
je 0x452c35
push dword [esi]
push 0x453540
lea edx, [ebp - 0x8c]
mov eax, dword [ebx + 0x44]
call fcn.004570f0
push dword [ebp - 0x8c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x90]
mov eax, dword [ebx + 0x48]
call fcn.004570f0
cmp dword [ebp - 0x90], 0
je 0x452c78
push dword [esi]
push 0x453558
lea edx, [ebp - 0x94]
mov eax, dword [ebx + 0x48]
call fcn.004570f0
push dword [ebp - 0x94]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x98]
mov eax, dword [ebx + 0x4c]
call fcn.004570f0
cmp dword [ebp - 0x98], 0
je 0x452cbb
push dword [esi]
push 0x453570
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 0x4c]
call fcn.004570f0
push dword [ebp - 0x9c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xa0]
mov eax, dword [ebx + 0x50]
call fcn.004570f0
cmp dword [ebp - 0xa0], 0
je 0x452cfe
push dword [esi]
push 0x453584
lea edx, [ebp - 0xa4]
mov eax, dword [ebx + 0x50]
call fcn.004570f0
push dword [ebp - 0xa4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xa8]
mov eax, dword [ebx + 0x54]
call fcn.004570f0
cmp dword [ebp - 0xa8], 0
je 0x452d41
push dword [esi]
push 0x453598
lea edx, [ebp - 0xac]
mov eax, dword [ebx + 0x54]
call fcn.004570f0
push dword [ebp - 0xac]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xb0]
mov eax, dword [ebx + 0x58]
call fcn.004570f0
cmp dword [ebp - 0xb0], 0
je 0x452d84
push dword [esi]
push 0x4535b0
lea edx, [ebp - 0xb4]
mov eax, dword [ebx + 0x58]
call fcn.004570f0
push dword [ebp - 0xb4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xb8]
mov eax, dword [ebx + 0x5c]
call fcn.004570f0
cmp dword [ebp - 0xb8], 0
je 0x452dc7
push dword [esi]
push 0x4535d0
lea edx, [ebp - 0xbc]
mov eax, dword [ebx + 0x5c]
call fcn.004570f0
push dword [ebp - 0xbc]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xc0]
mov eax, dword [ebx + 0x60]
call fcn.004570f0
cmp dword [ebp - 0xc0], 0
je 0x452e0a
push dword [esi]
push 0x4535ec
lea edx, [ebp - 0xc4]
mov eax, dword [ebx + 0x60]
call fcn.004570f0
push dword [ebp - 0xc4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xc8]
mov eax, dword [ebx + 0x64]
call fcn.004570f0
cmp dword [ebp - 0xc8], 0
je 0x452e4d
push dword [esi]
push 0x453604
lea edx, [ebp - 0xcc]
mov eax, dword [ebx + 0x64]
call fcn.004570f0
push dword [ebp - 0xcc]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xd0]
mov eax, dword [ebx + 0x68]
call fcn.004570f0
cmp dword [ebp - 0xd0], 0
je 0x452e90
push dword [esi]
push 0x453628
lea edx, [ebp - 0xd4]
mov eax, dword [ebx + 0x68]
call fcn.004570f0
push dword [ebp - 0xd4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xd8]
mov eax, dword [ebx + 0x6c]
call fcn.004570f0
cmp dword [ebp - 0xd8], 0
je 0x452ed3
push dword [esi]
push 0x453644
lea edx, [ebp - 0xdc]
mov eax, dword [ebx + 0x6c]
call fcn.004570f0
push dword [ebp - 0xdc]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xe0]
mov eax, dword [ebx + 0x70]
call fcn.004570f0
cmp dword [ebp - 0xe0], 0
je 0x452f16
push dword [esi]
push 0x453660
lea edx, [ebp - 0xe4]
mov eax, dword [ebx + 0x70]
call fcn.004570f0
push dword [ebp - 0xe4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xe8]
mov eax, dword [ebx + 0x74]
call fcn.004570f0
cmp dword [ebp - 0xe8], 0
je 0x452f59
push dword [esi]
push 0x453678
lea edx, [ebp - 0xec]
mov eax, dword [ebx + 0x74]
call fcn.004570f0
push dword [ebp - 0xec]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xf0]
mov eax, dword [ebx + 0x78]
call fcn.004570f0
cmp dword [ebp - 0xf0], 0
je 0x452f9c
push dword [esi]
push 0x45369c
lea edx, [ebp - 0xf4]
mov eax, dword [ebx + 0x78]
call fcn.004570f0
push dword [ebp - 0xf4]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0xf8]
mov eax, dword [ebx + 0x7c]
call fcn.004570f0
cmp dword [ebp - 0xf8], 0
je 0x452fdf
push dword [esi]
push 0x4536b0
lea edx, [ebp - 0xfc]
mov eax, dword [ebx + 0x7c]
call fcn.004570f0
push dword [ebp - 0xfc]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x100]
mov eax, dword [ebx + 0x80]
call fcn.004570f0
cmp dword [ebp - 0x100], 0
je 0x453028
push dword [esi]
push 0x4536c8
lea edx, [ebp - 0x104]
mov eax, dword [ebx + 0x80]
call fcn.004570f0
push dword [ebp - 0x104]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x108]
mov eax, dword [ebx + 0x84]
call fcn.004570f0
cmp dword [ebp - 0x108], 0
je 0x453071
push dword [esi]
push 0x4536dc
lea edx, [ebp - 0x10c]
mov eax, dword [ebx + 0x84]
call fcn.004570f0
push dword [ebp - 0x10c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x110]
mov eax, dword [ebx + 0x88]
call fcn.004570f0
cmp dword [ebp - 0x110], 0
je 0x4530ba
push dword [esi]
push 0x4536f4
lea edx, [ebp - 0x114]
mov eax, dword [ebx + 0x88]
call fcn.004570f0
push dword [ebp - 0x114]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x118]
mov eax, dword [ebx + 0x8c]
call fcn.004570f0
cmp dword [ebp - 0x118], 0
je 0x453103
push dword [esi]
push 0x453714
lea edx, [ebp - 0x11c]
mov eax, dword [ebx + 0x8c]
call fcn.004570f0
push dword [ebp - 0x11c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x120]
mov eax, dword [ebx + 0x90]
call fcn.004570f0
cmp dword [ebp - 0x120], 0
je 0x45314c
push dword [esi]
push 0x45372c
lea edx, [ebp - 0x124]
mov eax, dword [ebx + 0x90]
call fcn.004570f0
push dword [ebp - 0x124]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x128]
mov eax, dword [ebx + 0x94]
call fcn.004570f0
cmp dword [ebp - 0x128], 0
je 0x453195
push dword [esi]
push 0x453748
lea edx, [ebp - 0x12c]
mov eax, dword [ebx + 0x94]
call fcn.004570f0
push dword [ebp - 0x12c]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
lea edx, [ebp - 0x130]
mov eax, dword [ebx + 0x98]
call fcn.004570f0
cmp dword [ebp - 0x130], 0
je 0x4531de
push dword [esi]
push 0x45375c
lea edx, [ebp - 0x134]
mov eax, dword [ebx + 0x98]
call fcn.004570f0
push dword [ebp - 0x134]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4532bb
inc eax
mov dword [ebp - 4], eax
xor edi, edi
lea ecx, [ebp - 0x13c]
mov edx, edi
mov eax, dword [ebx + 0x9c]
call fcn.00457fa4
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.004570f0
cmp dword [ebp - 0x138], 0
je 0x4532b1
lea ecx, [ebp - 0x144]
mov edx, edi
mov eax, dword [ebx + 0x9c]
call fcn.00458b14
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004570f0
cmp dword [ebp - 0x140], 0
je 0x4532b1
push dword [esi]
lea ecx, [ebp - 0x148]
mov edx, edi
mov eax, dword [ebx + 0x9c]
call fcn.00457fa4
push dword [ebp - 0x148]
push 0x453774
lea ecx, [ebp - 0x150]
mov edx, edi
mov eax, dword [ebx + 0x9c]
call fcn.00458b14
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.004570f0
push dword [ebp - 0x14c]
push 0x453380
mov eax, esi
mov edx, 5
call fcn.00406818
inc edi
dec dword [ebp - 4]
jne 0x4531f8
mov eax, dword [ebx + 0xa0]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x45332e
push dword [esi]
push 0x453784
movzx eax, byte [0x453790]
push eax
lea eax, [ebp - 0x154]
push eax
lea edx, [ebp - 0x15c]
mov eax, dword [ebx + 0xa0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.004570f0
mov eax, dword [ebp - 0x158]
mov ecx, 0x4537a0
mov edx, 0x453380
call fcn.0045710c
push dword [ebp - 0x154]
push 0x453380
mov eax, esi
mov edx, 4
call fcn.00406818
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453353
lea eax, [ebp - 0x15c]
mov edx, 0x56
call fcn.004062ac
ret