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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x526e50
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x164], edi
je 0x4580b2
mov eax, dword [esp + 0x70]
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x6c]
lea ebp, [esi + 0x3c]
push 0x561900
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov ecx, ebp
mov edx, dword [eax + 8]
mov dword [esp + 0x3c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
call fcn.00509974
push edi
mov ecx, esi
call fcn.0045ad20
mov eax, dword [ebp]
push ebp
push eax
mov ecx, esi
call fcn.0045acf0
mov ecx, dword [0x565124]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x70]
push edi
push ecx
mov ecx, esi
call fcn.0045cdf0
lea ecx, [esp + 0x68]
call fcn.005097eb
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, esi
call fcn.0045d020
xor eax, eax
lea ecx, [esp + 0x20]
push eax
push ebp
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x70], 1
mov dword [esi + 0x94], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], eax
call fcn.0045db70
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esi + 0x164]
cmp eax, 1
jne 0x4581d1
mov eax, dword [esp + 0x70]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x90]
mov dword [eax + 0xc], 0
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x90]
test ecx, ecx
jle 0x4581a3
mov dword [eax + 0x18], 1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x48], ebx
add ebx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
jmp 0x4582e6
test eax, eax
jne 0x4582e2
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x48], ebx
test eax, eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
jl 0x458224
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x6c]
push 0
push 5
push ecx
mov ecx, dword [esi + 0x60]
push edx
lea edx, [esp + 0x58]
push ecx
push edx
push eax
mov eax, dword [esi + 0x15c]
push eax
lea ecx, [esi + 0xd0]
call fcn.00452c00
mov eax, dword [esi + 0x144]
test eax, eax
je 0x45824d
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
push 1
push ecx
push edx
mov edx, dword [esi + 0x15c]
lea ecx, [esp + 0x54]
push eax
push ecx
push edx
jmp 0x45826a
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x148]
push 1
push ecx
push eax
push eax
mov eax, dword [esi + 0x15c]
lea edx, [esp + 0x58]
push edx
push eax
lea ecx, [esi + 0xd0]
call fcn.00453ba0
mov eax, dword [esi + 0xa4]
mov ecx, dword [esi + 0x8c]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
lea edx, [ecx + eax]
add ebp, edx
add ebx, edx
lea edx, [ecx + eax]
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], ebp
mov ebp, dword [esp + 0x50]
sub eax, ecx
mov ecx, dword [esi + 0x84]
sub ebp, edx
dec ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], eax
je 0x4582ca
dec ecx
jne 0x4582e2
mov ecx, dword [esp + 0x70]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x4c], eax
jmp 0x4582e2
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x4c]
sub eax, dword [edx + 0xc]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [edi]
mov edx, dword [ecx - 8]
mov ecx, dword [esp + 0x6c]
cmp ecx, edx
jge 0x458453
push ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x6c], ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x561908
call fcn.00509859
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push edi
call fcn.0045d2c0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.table
call fcn.00509859
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
push edi
call fcn.0045d2c0
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp edx, ecx
mov ebp, edx
jl 0x45834b
mov ebp, ecx
mov eax, dword [esp + 0x6c]
xor ebx, ebx
cmp ebp, eax
mov dword [esp + 0x2c], ebx
jle 0x4583a7
mov ecx, ebp
lea edx, [esp + 0x18]
sub ecx, eax
push ecx
push eax
push edx
mov ecx, edi
call fcn.00502811
lea eax, [esp + 0x48]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x6c], 2
call fcn.00458500
mov ebx, dword [eax]
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 1
mov eax, dword [eax + 4]
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x2c], eax
call fcn.005097eb
mov ecx, dword [esp + 0x6c]
jmp 0x458415
cmp ecx, edx
jge 0x45840c
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x6c]
push ecx
push edi
mov ecx, esi
call fcn.0045d940
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
sub edx, eax
mov ecx, edi
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00502811
lea ecx, [esp + 0x48]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x44]
push edx
push eax
mov ecx, esi
mov byte [esp + 0x6c], 3
call fcn.004569f0
mov ebx, dword [eax]
mov byte [esp + 0x60], 1
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x1c]
call fcn.005097eb
mov ecx, dword [esp + 0x6c]
jmp 0x458415
mov edx, dword [edi]
mov ecx, dword [edx - 8]
mov dword [esp + 0x6c], ecx
mov eax, dword [esi + 0x164]
test eax, eax
je 0x458436
mov eax, dword [esp + 0x70]
mov ebp, dword [eax + 8]
cmp ebx, ebp
jg 0x45842c
mov ebx, ebp
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], ebx
add dword [eax + 0xc], edx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
add edx, eax
mov dword [esp + 0x4c], edx
mov edx, dword [edi]
cmp ecx, dword [edx - 8]
jl 0x4582f7
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x164]
test ecx, ecx
je 0x4584a5
mov ecx, dword [esi + 0x90]
mov edi, dword [eax + 8]
cmp ecx, edi
jle 0x45846c
mov edi, ecx
mov edx, dword [eax + 0xc]
mov dword [eax + 0x10], edi
mov ecx, dword [esi + 0x94]
cmp ecx, edx
jg 0x45847e
mov ecx, edx
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x8c]
add edx, dword [esi + 0xa4]
lea edx, [edi + edx*2]
mov dword [eax + 0x10], edx
mov edx, dword [esi + 0x8c]
add edx, dword [esi + 0xa4]
lea ecx, [ecx + edx*2]
mov dword [eax + 0x14], ecx
push 0x561900
lea ecx, [esi + 0x3c]
call fcn.00509974
push 1
mov ecx, esi
call fcn.0045ad20
test eax, eax
je 0x4584c6
mov ecx, esi
call fcn.0045b050
lea ecx, [esp + 0x20]
mov byte [esp + 0x60], 0
call fcn.005097eb
lea ecx, [esp + 0x10]
mov dword [esp + 0x60], 0xffffffff
call fcn.005097eb
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 0xc