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

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov dword [esp + 0x10], 0x50
mov dword [esp + 0x50], 0
mov eax, dword [esi]
mov ebp, dword [esi + 0x154]
cmp ebx, eax
jg 0x45b66f
cmp ebx, dword [esi + 4]
jl 0x45b66f
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 8]
cmp eax, ecx
jg 0x45b66f
cmp eax, dword [esi + 0xc]
jl 0x45b66f
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x45af4d
mov ecx, ebx
mov edi, dword [esi + 0xd0]
and ecx, 1
mov edx, eax
add ecx, ecx
and edx, 1
or ecx, edx
mov edx, eax
sar edx, 1
imul edi, edx
mov dword [esp + 0x34], edi
mov edi, dword [esi + ecx*4 + 0xa0]
mov ecx, dword [esp + 0x34]
mov edx, ebx
add edi, ecx
lea ecx, [esi + 0x24]
sar edx, 1
add edi, edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ebx
jmp 0x45af7d
push esi
push 0
push eax
push ebx
call fcn.00450100
mov dword [esp + 0x30], eax
lea edx, [esi + 0x4c]
mov eax, ebx
mov dword [esp + 0x2c], edx
cdq
sub eax, edx
mov edi, dword [esp + 0x30]
sar eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
cdq
sub eax, edx
add esp, 0x10
sar eax, 1
mov dword [esp + 0x34], eax
xor edx, edx
lea eax, [esi + 0x74]
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x28], eax
jmp 0x45afa0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ecx, dword [esi + 0xd0]
mov eax, edx
sar eax, 1
imul eax, ecx
and edx, 1
push ecx
add eax, edx
mov edx, dword [esi + 0xb8]
shl eax, 3
add edx, eax
lea ecx, [eax + edi]
push ecx
push edx
push ebp
call dword [0x4e2538]
mov eax, dword [esi + 0x188]
mov edx, dword [esp + 0x38]
mov ecx, dword [esi + 0x16c]
mov edi, dword [esi + 0x154]
mov ebx, dword [esi + 0x15c]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0xfc]
mov edx, dword [esi + 0x158]
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x168]
push ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x2c], edx
add edi, 0x100
call dword [0x4e2500]
add esp, 0x14
test ebx, ebx
je 0x45b03a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4e2510]
jmp 0x45b052
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4e2524]
add esp, 0x10
test eax, eax
jle 0x45b0d2
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
mov edx, 1
shl edx, cl
or eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
push eax
lea eax, [ebp + 0x80]
push eax
call fcn.0043eca0
add esp, 8
shl eax, 4
test ebx, ebx
mov dword [esp + 0x38], eax
je 0x45b0a7
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [ebp + 0x80]
push edx
push eax
push edi
call dword [0x4e2518]
jmp 0x45b0bf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [ebp + 0x80]
push ecx
push eax
push edi
call dword [0x4e251c]
add esp, 0x10
push 0x10
push edi
push ebp
call dword [0x4e2644]
mov edi, dword [esp + 0x44]
jmp 0x45b0e2
push 0x10
push 0x470f88
push ebp
xor edi, edi
call dword [0x4e2644]
imul eax, dword [esp + 0x48]
xor edx, edx
mov ecx, dword [esp + 0x34]
div dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
add esp, 0xc
add ecx, 4
mov dword [esp + 0x28], ecx
add eax, edi
mov dword [ecx - 4], eax
add edx, eax
mov eax, dword [esp + 0x2c]
inc ebx
dec eax
mov dword [esp + 0x10], edx
cmp eax, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
jg 0x45af98
mov ecx, dword [esi + 0xd8]
mov edx, dword [esi + 0xdc]
mov edi, dword [esp + 0x48]
mov ebx, dword [esi + 0x98]
xor ecx, edx
mov eax, dword [esi + 0xd4]
shl edi, cl
mov edx, dword [esi + 0x9c]
sub edi, ebx
mov ebx, dword [esp + 0x4c]
shl ebx, cl
lea ecx, [eax - 1]
mov eax, edi
sub ebx, edx
cdq
xor eax, edx
sub eax, edx
neg eax
sar eax, cl
mov dword [esp + 0x3c], eax
mov eax, ebx
cdq
xor eax, edx
sub eax, edx
neg eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0xd4]
lea ecx, [eax - 1]
mov eax, dword [esp + 0x40]
sar eax, cl
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx*4 + 0x470f84]
mov ecx, dword [eax*4 + 0x470f84]
mov eax, dword [esi + 0xd4]
add edx, ecx
mov ecx, dword [esi + 0x14]
neg edi
sbb edi, edi
and edi, eax
add edx, edi
neg ebx
sbb ebx, ebx
and ebx, eax
mov eax, dword [esi + 0x74]
lea ebx, [edx + ebx - 2]
mov edx, dword [esp + 0x10]
shl ebx, 4
add edx, ebx
add eax, ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x4c]
cmp eax, ecx
jge 0x45b1f8
mov ecx, dword [esp + 0x48]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], edx
mov edi, dword [esi + 0x164]
mov ebx, edi
xor ebx, ecx
and ebx, 0x20
xor ebx, edi
mov dword [esi + 0x164], ebx
jmp 0x45b200
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov edi, dword [esi + 0x78]
mov ebx, dword [esi + 0x18]
cmp edi, ebx
jge 0x45b22c
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edx
mov edi, dword [esi + 0x164]
mov ebx, edi
xor ebx, ecx
and ebx, 0x10
xor ebx, edi
mov dword [esi + 0x164], ebx
mov edi, dword [esi + 0x7c]
mov ebx, dword [esi + 0x1c]
cmp edi, ebx
jge 0x45b258
mov dword [esi + 0x1c], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], edx
mov edi, dword [esi + 0x164]
mov ebx, edi
xor ebx, ecx
and ebx, 8
xor ebx, edi
mov dword [esi + 0x164], ebx
mov edi, dword [esi + 0x80]
mov ebx, dword [esi + 0x20]
cmp edi, ebx
jge 0x45b287
mov dword [esi + 0x20], edi
mov edi, dword [esp + 0x48]
mov dword [eax + 0x20], edi
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0x164]
mov edx, eax
xor edx, ecx
and edx, 4
xor edx, eax
mov dword [esi + 0x164], edx
shr ecx, 2
shl ecx, 3
mov eax, 0x46c3dc
sub eax, ecx
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [esp + 0x10]
sub ecx, 2
shl ecx, 4
add eax, ecx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x45b66f
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x470700]
mov ecx, eax
mov eax, dword [esp + 0x34]
mov edx, eax
mov ebx, ecx
and edx, 3
and ecx, 1
sar eax, 1
mov edi, dword [edx*4 + 0x470700]
add eax, edi
mov edi, dword [esi + 0xd0]
mov edx, eax
mov eax, dword [esi + 0xc4]
mov dword [esp + 0x2c], eax
mov eax, edx
sar eax, 1
shr edi, 1
mov dword [esp + 0x28], eax
imul eax, edi
add eax, dword [esi + 0xb0]
and edx, 1
sar ebx, 1
lea ecx, [edx + ecx*2]
add eax, ebx
mov dword [esp + 0x20], ecx
sub ecx, 0
mov dword [esp + 0x24], ebx
je 0x45b359
dec ecx
je 0x45b340
dec ecx
mov ecx, dword [esi + 0x94]
push ecx
push edi
mov edi, dword [esp + 0x34]
push eax
push edi
je 0x45b338
call dword [0x4e2580]
jmp 0x45b354
call dword [0x4e2574]
jmp 0x45b354
mov ecx, dword [esi + 0x94]
push ecx
push edi
mov edi, dword [esp + 0x34]
push eax
push edi
call dword [0x4e2578]
add esp, 0x10
mov eax, edi
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xbc]
shr ecx, 1
push ecx
push eax
push edx
push ebp
call dword [0x4e2538]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x180]
mov ebx, dword [esi + 0x16c]
mov edx, dword [esi + 0x168]
mov edi, dword [esi + 0x154]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x15c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x158]
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ecx
add edi, 0x100
call dword [0x4e2500]
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
push ebx
je 0x45b3e1
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x80]
push edx
push ebp
push eax
call dword [0x4e2510]
jmp 0x45b3f4
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4e2524]
add esp, 0x10
test eax, eax
jle 0x45b467
mov ecx, dword [esp + 0x50]
lea eax, [ebp + 0x80]
or ecx, 2
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x40]
push ecx
push eax
call fcn.0043eca0
mov ebx, eax
mov eax, dword [esp + 0x3c]
add esp, 8
shl ebx, 4
test eax, eax
je 0x45b447
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push eax
push edi
call dword [0x4e2518]
add esp, 0x10
push 0x10
push edi
jmp 0x45b470
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [ebp + 0x80]
push edx
push eax
push edi
call dword [0x4e251c]
add esp, 0x10
push 0x10
push edi
jmp 0x45b470
push 0x10
xor ebx, ebx
push 0x470f88
push ebp
call dword [0x4e2644]
imul eax, dword [esp + 0x48]
xor edx, edx
add esp, 0xc
div dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x10]
add ecx, ebx
add eax, ecx
mov ecx, dword [esi + 0x10]
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x45b66f
mov ecx, dword [esi + 0xd0]
mov eax, dword [esp + 0x28]
shr ecx, 1
imul eax, ecx
mov edx, dword [esi + 0xb4]
mov ebx, dword [esi + 0x94]
mov edi, dword [esi + 0xc4]
add eax, edx
mov edx, dword [esp + 0x24]
add eax, edx
mov edx, dword [esp + 0x20]
sub edx, 0
je 0x45b4f5
push ebx
push ecx
push eax
dec edx
push edi
je 0x45b4ea
dec edx
je 0x45b4e2
call dword [0x4e2580]
jmp 0x45b4f0
call dword [0x4e2574]
jmp 0x45b4f0
call dword [0x4e2578]
add esp, 0x10
mov eax, edi
mov edx, dword [esi + 0xd0]
shr edx, 1
push edx
push eax
mov eax, dword [esi + 0xc0]
push eax
push ebp
call dword [0x4e2538]
mov ecx, dword [esi + 0x188]
mov edx, dword [esi + 0x184]
mov edi, dword [esi + 0x16c]
mov eax, dword [esi + 0x168]
mov ebx, dword [esi + 0x154]
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x15c]
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x158]
push ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], edx
add ebx, 0x100
call dword [0x4e2500]
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
push edi
je 0x45b57d
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4e2510]
jmp 0x45b590
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 0x80]
push ecx
push ebp
push eax
call dword [0x4e2524]
add esp, 0x10
test eax, eax
jle 0x45b603
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
lea eax, [ebp + 0x80]
or ecx, 1
push edx
push eax
mov dword [esp + 0x58], ecx
call fcn.0043eca0
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 8
shl edi, 4
test eax, eax
je 0x45b5e3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [ebp + 0x80]
push ecx
push eax
push ebx
call dword [0x4e2518]
add esp, 0x10
push 0x10
push ebx
jmp 0x45b60c
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push eax
push ebx
call dword [0x4e251c]
add esp, 0x10
push 0x10
push ebx
jmp 0x45b60c
push 0x10
xor edi, edi
push 0x470f88
push ebp
call dword [0x4e2644]
imul eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
xor ebx, ebx
mov edx, ecx
add esp, 0xc
and edx, 3
shl edx, 6
mov bl, byte [edx + 0x476134]
xor edx, edx
div dword [esp + 0x38]
mov edx, dword [esp + 0x10]
shl ebx, 4
add edi, ebx
add eax, edi
lea eax, [edx + eax - 0x10]
mov edx, dword [esi + 0x10]
cmp eax, edx
jge 0x45b66f
mov edx, dword [esp + 0x48]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 0x84], eax
mov dword [esi + 0x160], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret