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

Disassembly:
sub esp, 0x54
mov ecx, dword [esp + 0x60]
push ebx
push ebp
push esi
mov ebp, dword [ecx]
mov esi, dword [esp + 0x70]
add ebp, esi
mov dword [esp + 0xc], 0
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
mov al, byte [ebp]
and al, 0xf
mov dword [esp + 0x14], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0
cmp al, 0xc
je 0x4642dc
lea eax, [esp + 0x10]
push eax
push esi
push ecx
call fcn.00467ee0
mov edi, dword [esp + 0x78]
mov esi, eax
add esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
mov ebx, dword [esp + 0x74]
push eax
push edi
push ebx
mov dword [esp + 0x28], 0
call fcn.00467ee0
mov ecx, eax
mov eax, dword [esp + 0x28]
push esi
push ebp
add eax, ecx
push eax
push edi
push ebx
call fcn.00462af0
add esp, 0x2c
xor eax, eax
cmp byte [ebx + 0x23], al
mov ecx, 3
cmovne eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov eax, dword [edi]
mov al, byte [ebx + eax]
and al, 0xf
cmp al, 0xc
je 0x46431b
lea eax, [esp + 0x10]
push eax
push ebx
push edi
call fcn.00467ee0
push 0
push 0
push dword [esp + 0x24]
add eax, ebx
push eax
push edi
call fcn.00462af0
mov ecx, dword [edi]
add esp, 0x20
mov al, byte [ecx + ebx]
and al, 0xfc
or al, 0xc
mov byte [ecx + ebx], al
mov ebp, dword [esp + 0x70]
lea eax, [esp + 0x10]
push eax
push esi
push ebp
call fcn.00467ee0
add esp, 0xc
test eax, eax
je 0x46480e
lea ebx, [eax + esi]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x10]
add esi, ebx
push eax
push dword [esp + 0x70]
mov dword [esp + 0x68], esi
push edi
call fcn.00467ee0
add esp, 0xc
test eax, eax
je 0x464801
mov ecx, dword [esp + 0x6c]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
cmp ebx, esi
jae 0x4647dc
nop word [eax + eax]
mov eax, dword [ebp]
mov dword [esp + 0x20], ebx
mov al, byte [ebx + eax]
and al, 0xf
mov byte [esp + 0x74], al
cmp al, 7
jb 0x46480e
cmp al, 0xa
ja 0x46480e
lea eax, [esp + 0x24]
push eax
push ebx
push ebp
call fcn.00467ee0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x46480e
mov eax, dword [esp + 0x24]
add eax, ecx
add ebx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], ebx
cmp ebx, esi
jae 0x46480e
lea eax, [esp + 0x48]
push eax
push ebx
push ebp
call fcn.00467ee0
mov edx, eax
add esp, 0xc
mov dword [esp + 0x40], edx
test edx, edx
je 0x46480e
mov eax, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x58], eax
lea ecx, [eax + ebx]
mov dword [esp + 0x5c], ecx
cmp ecx, esi
ja 0x46480e
mov ebx, dword [edi + 0x28]
add ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], ebx
cmp esi, ebx
jae 0x4645b0
mov ebp, dword [edi]
mov dword [esp + 0x30], esi
mov bl, byte [esi + ebp]
and bl, 0xf
cmp bl, 7
jb 0x464801
cmp bl, 0xa
ja 0x464801
lea eax, [esp + 0x14]
push eax
push esi
push edi
call fcn.00467ee0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x464801
mov eax, dword [esp + 0x14]
add eax, esi
mov esi, dword [esp + 0x28]
add eax, ecx
mov dword [esp + 0x34], eax
cmp eax, esi
jae 0x464801
lea ecx, [esp + 0x2c]
push ecx
push eax
push edi
call fcn.00467ee0
add esp, 0xc
mov dword [esp + 0x44], eax
test eax, eax
je 0x464801
add eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
cmp eax, esi
ja 0x464801
cmp bl, 7
je 0x4644b6
cmp bl, 0xa
je 0x4644b6
xor esi, esi
jmp 0x4644bb
mov esi, 1
mov al, byte [esp + 0x74]
cmp al, 7
je 0x464519
cmp al, 0xa
je 0x464519
mov edx, dword [esp + 0x1c]
xor ecx, ecx
add edx, ebp
mov ebp, dword [esp + 0x70]
add edx, dword [esp + 0x18]
mov eax, dword [ebp]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x20]
push esi
push dword [esp + 0x18]
push edx
push ecx
push dword [esp + 0x34]
push eax
call fcn.00463b60
add esp, 0x18
test eax, eax
jne 0x4645a4
mov eax, dword [esp + 0x54]
mov esi, eax
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
cmp eax, ebx
jb 0x464426
jmp 0x4645ac
mov edx, dword [esp + 0x1c]
mov ecx, 1
mov eax, dword [esp + 0x3c]
add edx, ebp
mov ebp, dword [esp + 0x70]
add eax, dword [esp + 0x20]
add edx, dword [esp + 0x18]
add eax, dword [ebp]
test esi, esi
je 0x4644e2
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x14]
jne 0x4644fe
mov esi, ecx
sub esi, 4
jb 0x464561
nop dword [eax]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x464566
add eax, 4
add edx, 4
sub esi, 4
jae 0x464550
cmp esi, 0xfffffffc
je 0x46459a
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x464593
cmp esi, 0xfffffffd
je 0x46459a
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x464593
cmp esi, 0xfffffffe
je 0x46459a
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x464593
cmp esi, 0xffffffff
je 0x46459a
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x46459a
xor eax, eax
jmp 0x4644f6
mov eax, 1
jmp 0x4644f6
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x38]
mov al, byte [eax + ecx]
and al, 0xf
cmp esi, ebx
jae 0x464676
test al, al
jne 0x464658
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
add ebx, dword [esp + 0x44]
add ebx, dword [esp + 0x14]
add ebx, dword [esp + 0x1c]
mov esi, ebx
neg esi
mov eax, esi
adc ecx, ecx
neg ecx
or eax, ecx
je 0x464641
mov edx, dword [edi + 4]
xor eax, eax
mov ebp, edx
add ebp, esi
adc eax, ecx
js 0x464616
jg 0x464600
cmp ebp, dword [edi + 8]
jbe 0x464616
lea eax, [esi + edx]
push eax
push edi
call fcn.00462b90
add esp, 8
cmp byte [edi + 0x23], 0
jne 0x46463d
mov edx, dword [edi + 4]
mov ecx, dword [edi]
sub edx, ebx
sub edx, dword [esp + 0x30]
mov ebp, esi
push edx
mov edx, dword [esp + 0x34]
lea eax, [ecx + ebx]
add eax, edx
push eax
lea eax, [ecx + edx]
push eax
call fcn.004e73f0
add dword [edi + 4], ebp
add esp, 0xc
add dword [edi + 0x28], esi
mov ebp, dword [esp + 0x70]
cmp byte [edi + 0x23], 0
je 0x4647c8
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x54
ret
mov esi, dword [edi + 0x28]
push ecx
push ebp
push dword [esp + 0x3c]
mov dword [edi + 0x28], 0
push edi
call fcn.00464230
add esp, 0x10
jmp 0x4647c1
test al, al
je 0x4647c8
mov ecx, dword [esp + 0x10]
cmp al, 0xc
je 0x464725
mov esi, dword [esp + 0x48]
add esi, ecx
add esi, edx
mov eax, esi
or eax, 0
je 0x4646e6
mov edx, dword [edi + 4]
xor eax, eax
mov ecx, edx
add ecx, esi
adc eax, eax
test eax, eax
jb 0x4646c2
ja 0x4646af
cmp ecx, dword [edi + 8]
jbe 0x4646c2
lea eax, [esi + edx]
push eax
push edi
call fcn.00462b90
add esp, 8
cmp byte [edi + 0x23], 0
jne 0x4646e2
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
lea eax, [ecx + esi]
add eax, ebx
push eax
call fcn.004e73f0
add dword [edi + 4], esi
add esp, 0xc
add dword [edi + 0x28], esi
mov ecx, dword [esp + 0x10]
cmp byte [edi + 0x23], 0
jne 0x46464b
mov eax, dword [ebp]
add eax, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [edi]
add eax, ebx
push eax
call fcn.004e73f0
mov eax, dword [ebp]
add eax, dword [esp + 0x44]
push dword [esp + 0x64]
push eax
mov eax, dword [edi]
add eax, dword [esp + 0x24]
add eax, ebx
push eax
call fcn.004e73f0
add esp, 0x18
jmp 0x4647c8
lea esi, [ecx + 1]
mov eax, esi
or eax, 0
je 0x46477c
mov edx, dword [edi + 4]
xor eax, eax
mov ecx, edx
add ecx, esi
adc eax, eax
test eax, eax
jb 0x464758
ja 0x464745
cmp ecx, dword [edi + 8]
jbe 0x464758
lea eax, [esi + edx]
push eax
push edi
call fcn.00462b90
add esp, 8
cmp byte [edi + 0x23], 0
jne 0x464778
mov ecx, dword [edi]
mov eax, dword [edi + 4]
sub eax, ebx
push eax
lea eax, [ecx + ebx]
push eax
lea eax, [ecx + esi]
add eax, ebx
push eax
call fcn.004e73f0
add dword [edi + 4], esi
add esp, 0xc
add dword [edi + 0x28], esi
mov ecx, dword [esp + 0x10]
cmp byte [edi + 0x23], 0
jne 0x46464b
mov eax, dword [ebp]
add eax, dword [esp + 0x20]
push ecx
push eax
mov eax, dword [edi]
add eax, ebx
push eax
call fcn.004e73f0
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
add eax, ecx
push dword [esp + 0x44]
push ebp
mov byte [eax + ebx], 0
lea eax, [ecx + ebx]
mov esi, dword [edi + 0x28]
push eax
push edi
mov dword [edi + 0x28], 0
call fcn.00464230
add esp, 0x1c
test eax, eax
jne 0x464813
add dword [edi + 0x28], esi
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
cmp ebx, esi
jb 0x464380
mov ecx, dword [esp + 0x6c]
cmp dword [edi + 0x28], 0
je 0x4647ec
push ecx
push edi
call fcn.00462010
add esp, 8
xor eax, eax
mov ecx, 3
cmp byte [edi + 0x23], al
pop edi
pop esi
pop ebp
cmovne eax, ecx
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x54
ret
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret