Function at 0x463690
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 0x463e4f
cmp ebx, dword [esi + 4]
jl 0x463e4f
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 8]
cmp eax, ecx
jg 0x463e4f
cmp eax, dword [esi + 0xc]
jl 0x463e4f
mov ecx, dword [esi + 0xdc]
test ecx, ecx
jne 0x46372d
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 0x46375d
push esi
push 0
push eax
push ebx
call fcn.004588e0
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 0x463780
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 [0x4ee5f8]
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 [fcn.004ee5c0]
add esp, 0x14
test ebx, ebx
je 0x46381a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4ee5d0]
jmp 0x463832
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4ee5e4]
add esp, 0x10
test eax, eax
jle 0x4638b2
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.00447480
add esp, 8
shl eax, 4
test ebx, ebx
mov dword [esp + 0x38], eax
je 0x463887
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [ebp + 0x80]
push edx
push eax
push edi
call dword [0x4ee5d8]
jmp 0x46389f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [ebp + 0x80]
push ecx
push eax
push edi
call dword [0x4ee5dc]
add esp, 0x10
push 0x10
push edi
push ebp
call dword [0x4ee704]
mov edi, dword [esp + 0x44]
jmp 0x4638c2
push 0x10
push 0x407e70
push ebp
xor edi, edi
call dword [0x4ee704]
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 0x463778
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 + 0x407e6c]
mov ecx, dword [eax*4 + 0x407e6c]
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 0x4639d8
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 0x4639e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x50]
mov edi, dword [esi + 0x78]
mov ebx, dword [esi + 0x18]
cmp edi, ebx
jge 0x463a0c
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 0x463a38
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 0x463a67
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, 0x4032c4
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 0x463e4f
mov eax, dword [esp + 0x30]
mov edx, eax
and edx, 3
sar eax, 1
add eax, dword [edx*4 + 0x4075e8]
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 + 0x4075e8]
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 0x463b39
dec ecx
je 0x463b20
dec ecx
mov ecx, dword [esi + 0x94]
push ecx
push edi
mov edi, dword [esp + 0x34]
push eax
push edi
je 0x463b18
call dword [fcn.004ee640]
jmp 0x463b34
call dword [fcn.004ee634]
jmp 0x463b34
mov ecx, dword [esi + 0x94]
push ecx
push edi
mov edi, dword [esp + 0x34]
push eax
push edi
call dword [fcn.004ee638]
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 [0x4ee5f8]
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 [fcn.004ee5c0]
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
push ebx
je 0x463bc1
mov edx, dword [esp + 0x1c]
lea eax, [ebp + 0x80]
push edx
push ebp
push eax
call dword [0x4ee5d0]
jmp 0x463bd4
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4ee5e4]
add esp, 0x10
test eax, eax
jle 0x463c47
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.00447480
mov ebx, eax
mov eax, dword [esp + 0x3c]
add esp, 8
shl ebx, 4
test eax, eax
je 0x463c27
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push eax
push edi
call dword [0x4ee5d8]
add esp, 0x10
push 0x10
push edi
jmp 0x463c50
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
push ecx
lea eax, [ebp + 0x80]
push edx
push eax
push edi
call dword [0x4ee5dc]
add esp, 0x10
push 0x10
push edi
jmp 0x463c50
push 0x10
xor ebx, ebx
push 0x407e70
push ebp
call dword [0x4ee704]
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 0x463e4f
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 0x463cd5
push ebx
push ecx
push eax
dec edx
push edi
je 0x463cca
dec edx
je 0x463cc2
call dword [fcn.004ee640]
jmp 0x463cd0
call dword [fcn.004ee634]
jmp 0x463cd0
call dword [fcn.004ee638]
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 [0x4ee5f8]
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 [fcn.004ee5c0]
mov eax, dword [esp + 0x48]
add esp, 0x14
test eax, eax
push edi
je 0x463d5d
mov eax, dword [esp + 0x1c]
push eax
lea eax, [ebp + 0x80]
push ebp
push eax
call dword [0x4ee5d0]
jmp 0x463d70
mov ecx, dword [esp + 0x1c]
lea eax, [ebp + 0x80]
push ecx
push ebp
push eax
call dword [0x4ee5e4]
add esp, 0x10
test eax, eax
jle 0x463de3
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.00447480
mov edi, eax
mov eax, dword [esp + 0x3c]
add esp, 8
shl edi, 4
test eax, eax
je 0x463dc3
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [ebp + 0x80]
push ecx
push eax
push ebx
call dword [0x4ee5d8]
add esp, 0x10
push 0x10
push ebx
jmp 0x463dec
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
lea eax, [ebp + 0x80]
push eax
push ebx
call dword [0x4ee5dc]
add esp, 0x10
push 0x10
push ebx
jmp 0x463dec
push 0x10
xor edi, edi
push 0x407e70
push ebp
call dword [0x4ee704]
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 + 0x47c104]
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 0x463e4f
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