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

Disassembly:
sub esp, 0x1e0
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x1ec]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov ecx, dword [ebp + 0x154]
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1f0]
push esi
push edi
mov dword [esp + 0x2c], ecx
lea edx, [eax + 0x144]
add eax, 0x104
mov ecx, 0x63
mov esi, ebp
lea edi, [esp + 0x64]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x210]
mov dword [esp + 0x48], edx
rep movsd dword es:[edi], dword [esi]
add eax, 8
lea ecx, [ebp + 0x170]
lea edx, [ebp + 0x54]
mov dword [esp + 0x34], 0xd0
mov dword [esp + 0x10], 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], edx
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x10]
push esi
mov eax, dword [edi - 0x15c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax - 0x28]
mov edx, dword [eax - 0x24]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x90], edx
mov edx, dword [eax + 4]
mov eax, dword [ebp + 0xd0]
mov ecx, esi
mov dword [esp + 0xb8], edx
shr ecx, 1
imul eax, ecx
mov edx, esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0xb8]
and edx, 1
add eax, edx
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0xa0]
shl eax, 3
add ecx, eax
add edx, eax
mov dword [esp + 0x120], ecx
mov ecx, dword [ebp + 0xa8]
add ecx, eax
mov dword [esp + 0x108], edx
mov edx, dword [ebp + 0xa4]
mov dword [esp + 0x110], ecx
mov ecx, dword [ebp + 0xac]
add edx, eax
add ecx, eax
mov eax, 1
mov dword [esp + 0x114], ecx
mov ecx, ebx
shl eax, cl
mov dword [esp + 0x10c], edx
mov edx, dword [ebp + 0x164]
and edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [edi]
neg edx
sbb edx, edx
mov dword [esp + 0x1d8], eax
mov eax, dword [ebp + 0xd8]
neg edx
test eax, eax
mov dword [esp + 0x1c8], edx
je 0x45c1c8
mov ecx, dword [esp + 0x208]
mov eax, dword [esp + 0x20c]
mov edx, dword [esp + 0x204]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [esp + 0x208]
push 0
push ecx
push edx
call fcn.0044f5e0
add esp, 0x18
cmp ebx, 5
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
je 0x45c26d
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
sub esi, eax
mov ebx, edx
mov eax, esi
sub edi, ebx
mov ebx, dword [esp + 0x138]
cdq
xor eax, edx
lea ecx, [ebx - 1]
sub eax, edx
neg eax
sar eax, cl
lea ecx, [ebx - 1]
mov dword [esp + 0x14], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
neg eax
sar eax, cl
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx*4 + 0x471ebc]
add ecx, dword [eax*4 + 0x471ebc]
neg esi
sbb esi, esi
and esi, ebx
add ecx, esi
neg edi
sbb edi, edi
and edi, ebx
lea edx, [ecx + edi - 2]
mov dword [esp + 0x50], edx
jmp 0x45c274
mov eax, dword [esp + 0x208]
mov edx, dword [esp + 0x20c]
mov ecx, dword [esp + 0x204]
push eax
mov eax, dword [edx + 0x10]
push ecx
mov ecx, dword [esp + 0x208]
push 0
push eax
push ecx
call fcn.0044f380
add esp, 0x18
cmp ebx, 5
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], edx
je 0x45c26d
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
sub esi, eax
mov ebx, edx
mov eax, esi
sub edi, ebx
mov ebx, dword [esp + 0x138]
cdq
xor eax, edx
lea ecx, [ebx - 1]
sub eax, edx
neg eax
sar eax, cl
lea ecx, [ebx - 1]
mov dword [esp + 0x14], eax
mov eax, edi
cdq
xor eax, edx
sub eax, edx
neg eax
sar eax, cl
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx*4 + 0x471ebc]
add edx, dword [eax*4 + 0x471ebc]
neg esi
sbb esi, esi
and esi, ebx
add edx, esi
neg edi
sbb edi, edi
and edi, ebx
lea eax, [edx + edi - 2]
mov dword [esp + 0x50], eax
jmp 0x45c274
mov ebx, dword [esp + 0x138]
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x208]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x204]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea eax, [ecx + edx*2]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x200]
mov dword [esp + 0x5c], eax
mov eax, 1
lea edx, [ecx + edx*2]
lea ecx, [ebx + 4]
shl eax, cl
mov ecx, dword [esp + 0x208]
mov dword [esp + 0x54], edx
lea edi, [eax - 1]
neg eax
mov dword [esp + 0x18], eax
lea eax, [edx*8]
mov edx, dword [ecx]
mov ecx, esi
sub edx, eax
shl edx, cl
cmp edi, edx
jge 0x45c2df
mov edx, edi
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x5c]
lea ecx, [edx*8]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
sub edx, ecx
mov ecx, esi
shl edx, cl
cmp edi, edx
jge 0x45c302
mov edx, edi
mov dword [esp + 0x6c], edx
mov edi, dword [esp + 0x18]
mov edx, 0xfffffff8
mov ecx, esi
sub edx, eax
shl edx, cl
cmp edi, edx
jle 0x45c31b
mov edx, edi
mov ecx, dword [esp + 0x24]
mov eax, 0xfffffff8
sub eax, ecx
mov ecx, esi
shl eax, cl
mov dword [esp + 0x68], edx
cmp edi, eax
jle 0x45c334
mov eax, edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x13c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
shl eax, 4
add ecx, eax
mov dword [esp + 0x140], edx
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0xb0]
test edx, edx
jne 0x45c369
lea ecx, [esp + 0x88]
mov esi, dword [esp + 0x44]
mov edi, dword [ecx]
mov eax, dword [esi]
cmp edi, eax
jne 0x45c37f
mov ecx, dword [ecx + 4]
mov edi, dword [esi + 4]
cmp ecx, edi
je 0x45c3a8
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x64]
push 0xff
push edx
mov edx, dword [ecx + 4]
push edx
push eax
call fcn.0045cc60
mov ebx, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
add esp, 0x10
test edx, edx
je 0x45c666
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x74]
cdq
sub eax, edx
mov dword [esp + 0x14], ecx
mov edi, eax
mov eax, ecx
mov ecx, dword [esp + 0x20c]
mov dword [esp + 0x24], esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x8c], eax
mov eax, ecx
sar edi, 1
and eax, 0x8000
mov dword [esp + 0x88], edi
mov dword [esp + 0x30], eax
jne 0x45c413
test ch, 8
je 0x45c60a
test ecx, 0x40000
je 0x45c60a
mov eax, dword [esp + 0x208]
lea ecx, [ebx + 3]
mov dword [esp + 0x140], 0
mov edx, dword [eax + 4]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x54]
lea esi, [eax - 1]
neg eax
mov dword [esp + 0x58], eax
lea eax, [ecx*8]
mov ecx, dword [esp + 0x208]
mov ecx, dword [ecx]
sub ecx, eax
add ecx, ecx
cmp esi, ecx
jge 0x45c459
mov ecx, esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
shl eax, 3
sub edx, eax
add edx, edx
cmp esi, edx
jge 0x45c46e
mov edx, esi
mov esi, dword [esp + 0x54]
or ecx, 0xffffffff
sub ecx, esi
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x58]
shl ecx, 4
cmp edx, ecx
jle 0x45c488
mov ecx, edx
mov dword [esp + 0x68], ecx
mov ecx, 0xfffffff8
sub ecx, eax
add ecx, ecx
cmp edx, ecx
jle 0x45c49b
mov ecx, edx
mov al, byte [esp + 0xb0]
mov dword [esp + 0x70], ecx
test al, 1
jne 0x45c4b4
test byte [esp + 0xb4], 1
je 0x45c4dd
mov edx, dword [esp + 0x8c]
lea ecx, [esp + 0x64]
push 0xff
push ecx
push edx
push edi
call fcn.0045cc60
mov edi, dword [esp + 0x98]
mov ebx, dword [esp + 0x148]
add esp, 0x10
mov eax, dword [esp + 0x20c]
test ah, 8
je 0x45c517
test eax, 0x40000
je 0x45c517
push fcn.0045cc60
lea eax, [esp + 0x68]
push 0xff
push eax
push edi
push edi
call fcn.004510b0
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14c]
add esp, 0x14
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45c549
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
push 0
lea ecx, [esp + 0x68]
push fcn.0045cc60
push ecx
push edx
push eax
call fcn.00451280
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x14c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jle 0x45c57b
mov edx, dword [esp + 0x8c]
add edi, edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0x18], edi
lea eax, [edx + edx]
mov dword [esp + 0x24], ecx
mov dword [esp + 0xb4], eax
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x208]
mov eax, 1
lea ecx, [ebx + 4]
mov ebx, dword [esp + 0x54]
mov edx, dword [edi + 4]
mov dword [esp + 0x140], eax
shl eax, cl
lea ecx, [ebx*8]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi]
mov edi, dword [esp + 0x30]
sub ecx, edi
lea esi, [eax - 1]
shl ecx, 2
neg eax
cmp esi, ecx
jge 0x45c5bb
mov ecx, esi
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x5c]
lea edi, [ecx*8]
sub edx, edi
shl edx, 2
cmp esi, edx
jl 0x45c5d5
mov esi, edx
or ecx, 0xffffffff
mov dword [esp + 0x6c], esi
sub ecx, ebx
shl ecx, 5
cmp eax, ecx
jle 0x45c5e7
mov ecx, eax
mov dword [esp + 0x68], ecx
mov ecx, 0xfffffff8
sub ecx, edi
shl ecx, 2
cmp eax, ecx
jg 0x45c5fb
mov eax, ecx
mov ecx, dword [esp + 0x20c]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x70], eax
test ecx, 0x20000
je 0x45c645
push 0
push fcn.0045cc60
test ecx, 0x20000000
je 0x45c630
lea edx, [esp + 0x6c]
push edx
call fcn.00451320
add esp, 0xc
jmp 0x45c645
mov ecx, dword [ebp + 0x50]
mov edx, dword [ebp + 0x4c]
lea eax, [esp + 0x6c]
push eax
push ecx
push edx
call fcn.00451280
add esp, 0x14
cmp esi, dword [ebp + 0x10]
jg 0x45c6c0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], esi
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
jmp 0x45c6c0
mov eax, dword [esp + 0x20c]
test ah, 8
je 0x45c6a0
test eax, 0x40000
je 0x45c6a0
mov eax, dword [esp + 0x88]
push fcn.0045cc60
lea edx, [esp + 0x68]
push 0xff
push edx
push eax
push eax
call fcn.004510b0
mov eax, dword [esp + 0x220]
add esp, 0x14
test ah, ah
jns 0x45c6c0
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp + 0x24]
push 0
lea eax, [esp + 0x68]
push fcn.0045cc60
push eax
push ecx
push edx
call fcn.00451280
add esp, 0x14
cmp dword [esp + 0x10], 5
je 0x45c729
test dword [esp + 0x20c], 0x80000
je 0x45c729
mov eax, dword [ebp + 0xd8]
test eax, eax
lea eax, [esp + 0xb0]
jne 0x45c6ec
lea eax, [esp + 0x88]
mov ecx, dword [eax]
mov edx, dword [esp + 0xfc]
cmp ecx, edx
jne 0x45c707
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x100]
cmp edx, eax
je 0x45c729
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
lea eax, [esp + 0x64]
push 0xff
push eax
push ecx
push edx
call fcn.0045cc60
add esp, 0x10
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x74]
mov ecx, dword [ebp + 0x10]
add eax, edi
cmp eax, ecx
mov dword [esp + 0x34], eax
jge 0x45cc47
mov eax, dword [ebp + 0xd8]
mov ebx, dword [esp + 0x100]
test eax, eax
je 0x45c7a1
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0xb4]
mov edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx], edx
mov edx, esi
sub edx, ebx
mov dword [ecx + 0x20], eax
mov dword [ecx + 4], edx
mov dword [ecx + 0x24], esi
cdq
sub eax, edx
mov edx, dword [esp + 0x40]
sar eax, 1
add edx, eax
mov eax, esi
mov dword [esp + 0x40], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 1
add edx, eax
mov dword [esp + 0x38], edx
jmp 0x45c7df
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0xfc]
mov ecx, edx
sub ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov esi, ecx
sub esi, ebx
mov dword [eax + 4], esi
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
add esi, edx
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
mov dword [ecx - 0x100], eax
mov eax, dword [esp + 0x48]
mov dword [ecx - 0x104], edx
lea edx, [edi*4]
mov dword [eax], edx
mov eax, dword [esp + 0x1c4]
test eax, eax
je 0x45c81f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x20]
or eax, edx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov esi, 4
inc eax
add edx, esi
add ebx, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x44]
mov edx, 8
add edi, edx
add ebx, edx
add ecx, edx
mov edx, dword [esp + 0x10]
dec edx
cmp eax, esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jb 0x45c037
mov eax, dword [esp + 0x20]
mov ecx, 0x46d314
shr eax, 2
shl eax, 3
sub ecx, eax
mov ebx, dword [esp + 0x34]
xor edx, edx
mov dl, byte [ecx]
mov ecx, dword [esp + 0x40]
sub edx, 2
mov eax, ecx
shl edx, 4
and eax, 0xf
add ebx, edx
sar ecx, 3
mov edx, dword [eax*4 + 0x4715d8]
mov dword [esp + 0x34], ebx
add ecx, edx
mov edx, dword [esp + 0x38]
mov eax, edx
mov ebx, ecx
and eax, 0xf
and ecx, 1
sar edx, 3
mov esi, dword [eax*4 + 0x4715d8]
mov eax, dword [ebp + 0xc4]
add edx, esi
mov esi, dword [ebp + 0xd0]
mov edi, edx
add eax, 0x40
sar edi, 1
mov dword [esp + 0x28], eax
mov eax, edi
shr esi, 1
imul eax, esi
add eax, dword [ebp + 0xb0]
and edx, 1
sar ebx, 1
lea ecx, [edx + ecx*2]
add eax, ebx
mov dword [esp + 0x18], ecx
sub ecx, 0
mov dword [esp + 0x58], ebx
je 0x45c93d
dec ecx
je 0x45c924
dec ecx
mov ecx, dword [ebp + 0x94]
push ecx
push esi
mov esi, dword [esp + 0x30]
push eax
push esi
je 0x45c91c
call dword [0x4e2a40]
jmp 0x45c938
call dword [0x4e2a34]
jmp 0x45c938
mov ecx, dword [ebp + 0x94]
push ecx
push esi
mov esi, dword [esp + 0x30]
push eax
push esi
call dword [0x4e2a38]
add esp, 0x10
mov eax, esi
mov ecx, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xbc]
mov esi, dword [esp + 0x2c]
shr ecx, 1
push ecx
push eax
push edx
push esi
call dword [0x4e29f8]
mov eax, dword [ebp + 0x188]
mov ecx, dword [ebp + 0x16c]
mov edx, dword [ebp + 0x180]
mov ebx, dword [ebp + 0x154]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x168]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x15c]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x158]
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
add ebx, 0x100
call dword [0x4e29c0]
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
je 0x45c9cd
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea eax, [esi + 0x80]
push esi
push eax
call dword [0x4e29d0]
jmp 0x45c9e5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea eax, [esi + 0x80]
push esi
push eax
call dword [0x4e29e4]
add esp, 0x10
test eax, eax
jle 0x45ca5e
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
or al, 2
push ecx
mov dword [esp + 0x24], eax
lea eax, [esi + 0x80]
push eax
call fcn.0043f5d0
shl eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x45ca33
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push edx
push eax
lea eax, [esi + 0x80]
push eax
push ebx
call dword [0x4e29d8]
jmp 0x45ca4b
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esi + 0x80]
push edx
push eax
push ebx
call dword [0x4e29dc]
add esp, 0x10
push 0x10
push ebx
push esi
call dword [0x4e2b04]
mov ebx, dword [esp + 0x38]
jmp 0x45ca6e
push 0x10
push 0x471ec0
push esi
xor ebx, ebx
call dword [0x4e2b04]
imul eax, dword [esp + 0x48]
xor edx, edx
add esp, 0xc
div dword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x34]
add ecx, ebx
add eax, ecx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
mov dword [esp + 0x34], eax
jge 0x45cc47
mov eax, dword [ebp + 0xd0]
mov ecx, dword [ebp + 0xb4]
shr eax, 1
imul edi, eax
mov ebx, dword [ebp + 0xc4]
mov edx, dword [ebp + 0x94]
add edi, ecx
mov ecx, dword [esp + 0x58]
add edi, ecx
mov ecx, dword [esp + 0x18]
add ebx, 0x40
sub ecx, 0
je 0x45caeb
push edx
push eax
push edi
dec ecx
push ebx
je 0x45cae0
dec ecx
je 0x45cad8
call dword [0x4e2a40]
jmp 0x45cae6
call dword [0x4e2a34]
jmp 0x45cae6
call dword [0x4e2a38]
add esp, 0x10
mov edi, ebx
mov edx, dword [ebp + 0xd0]
mov eax, dword [ebp + 0xc0]
shr edx, 1
push edx
push edi
push eax
push esi
call dword [0x4e29f8]
mov ecx, dword [ebp + 0x188]
mov edx, dword [ebp + 0x184]
mov edi, dword [ebp + 0x16c]
mov eax, dword [ebp + 0x168]
mov ebx, dword [ebp + 0x154]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x15c]
mov dword [esp + 0x4c], edx
mov edx, dword [ebp + 0x158]
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
add ebx, 0x100
call dword [0x4e29c0]
mov eax, dword [esp + 0x28]
add esp, 0x14
test eax, eax
push edi
je 0x45cb73
mov eax, dword [esp + 0x14]
push eax
lea eax, [esi + 0x80]
push esi
push eax
call dword [0x4e29d0]
jmp 0x45cb86
mov ecx, dword [esp + 0x14]
lea eax, [esi + 0x80]
push ecx
push esi
push eax
call dword [0x4e29e4]
add esp, 0x10
test eax, eax
jle 0x45cbf9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x80]
or ecx, 1
push edx
push eax
mov dword [esp + 0x28], ecx
call fcn.0043f5d0
mov edi, eax
mov eax, dword [esp + 0x1c]
add esp, 8
shl edi, 4
test eax, eax
je 0x45cbd9
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esi + 0x80]
push ecx
push eax
push ebx
call dword [0x4e29d8]
add esp, 0x10
push 0x10
push ebx
jmp 0x45cc02
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
lea eax, [esi + 0x80]
push eax
push ebx
call dword [0x4e29dc]
add esp, 0x10
push 0x10
push ebx
jmp 0x45cc02
push 0x10
xor edi, edi
push 0x471ec0
push esi
call dword [0x4e2b04]
imul eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
mov edx, ecx
add esp, 0xc
and edx, 3
shl edx, 3
or edx, 2
mov bl, byte [edx*8 + 0x4764ec]
xor edx, edx
div dword [esp + 0x30]
sub ebx, 3
mov dword [ebp + 0x160], ecx
shl ebx, 4
add edi, ebx
mov edx, eax
mov eax, dword [esp + 0x34]
add edx, edi
add eax, edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e0
ret