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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10ec
call fcn.004f3370
mov eax, dword [0x55800c]
xor eax, esp
mov dword [esp + 0x10e8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x20]
push esi
mov dword [esp + 0x40], eax
xor esi, esi
mov eax, dword [ebp + 0x18]
add ecx, eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x68], ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x40], edi
cmp eax, ecx
jge 0x464e3c
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
add ecx, edx
mov dword [esp + 0x60], ecx
nop
mov dword [esp + 0x38], edx
cmp dword [ebp + 0x14], ecx
jge 0x464d25
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov ecx, 0x10
mov eax, ecx
cmp dword [esp + 0x3c], eax
cmovl eax, dword [esp + 0x3c]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x2c], eax
cmovl ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], ecx
push dword [esp + 0x1c]
mov ecx, dword [ebx + 0x40]
push eax
push ecx
imul ecx, dword [ebp + 0x18]
lea eax, [esp + 0x7c]
push eax
movzx eax, byte [ebx + 0x10]
shr eax, 3
imul eax, edx
add eax, dword [esp + 0x60]
add ecx, eax
lea eax, [ebx + 0x30]
push ecx
push eax
lea eax, [ebx + 0x10]
push eax
push dword [ebx + 8]
mov eax, dword [ebx + 4]
call eax
lea eax, [edi + esi]
mov dword [esp + 0x88], esi
mov byte [eax], 0
lea ecx, [esp + 0x90]
mov dword [esp + 0x40], eax
inc esi
mov eax, dword [esp + 0x3c]
add esp, 0x20
imul eax, dword [esp + 0x2c]
xor edi, edi
xor edx, edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x18], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], eax
jle 0x464ab4
nop
mov ecx, dword [ecx]
mov eax, ecx
cmp dword [esp + 0x10], 0
cmovne eax, edx
mov edx, eax
cmp ecx, edx
jne 0x464a5d
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
jmp 0x464a84
test edi, edi
mov eax, ecx
cmovne eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
xor eax, eax
test edi, edi
cmovne eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
jne 0x464a9c
mov eax, dword [esp + 0x10]
inc edi
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x28]
add ecx, 4
cmp dword [esp + 0x28], 0
mov dword [esp + 0x24], ecx
jg 0x464a40
jmp 0x464ab4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov ebx, ecx
cmovle ebx, edx
cmovle edx, ecx
cmp dword [esp + 0x54], 0
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x64]
je 0x464ad7
cmp edx, dword [esp + 0x4c]
je 0x464b13
mov edi, dword [esp + 0x40]
mov ecx, edx
mov edx, dword [esp + 0x20]
mov eax, ecx
shr eax, 8
mov dword [esp + 0x54], 1
mov dword [esp + 0x4c], ecx
or byte [edx], 2
mov byte [edi + esi], cl
mov byte [edi + esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + esi + 2], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + esi + 3], al
add esi, 4
jmp 0x464b1b
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x18], 0
jne 0x464d04
mov cl, byte [edx]
mov al, cl
or al, 8
cmp dword [esp + 0xc], 0
mov byte [edx], al
je 0x464b7c
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x24]
je 0x464b46
cmp eax, dword [esp + 0x48]
je 0x464b89
mov dword [esp + 0x48], eax
or cl, 0xc
mov byte [edx], cl
mov ecx, dword [esp + 0x48]
mov byte [edi + esi], al
shr eax, 8
mov byte [edi + esi + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edi + esi + 2], al
mov eax, ecx
shr eax, 0x18
mov byte [edi + esi + 3], al
add esi, 4
mov dword [esp + 0x30], 1
jmp 0x464b89
or cl, 0x18
mov dword [esp + 0x30], 0
mov byte [edx], cl
push dword [esp + 0xc]
lea edx, [edi + esi]
push ecx
push dword [esp + 0x54]
lea ecx, [esp + 0x7c]
push dword [esp + 0x28]
push dword [esp + 0x3c]
call fcn.00464e60
add esp, 0x14
test eax, eax
jne 0x464ca5
mov eax, dword [esp + 0x58]
lea edx, [ebx + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x30]
lea esi, [eax*4]
mov eax, dword [esp + 0x28]
cmp esi, 0x40
jle 0x464c51
mov byte [eax], 0x20
lea eax, [esp + 0x78]
mov ecx, dword [ebx + 0x40]
push ecx
imul ecx, dword [ebp + 0x18]
push eax
movzx eax, byte [edx]
shr eax, 3
imul eax, dword [esp + 0x48]
add eax, dword [esp + 0x60]
add ecx, eax
lea eax, [ebx + 0x30]
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push dword [ebx + 8]
call eax
add esp, 0x20
lea eax, [ebx + 0x88]
mov ecx, ebx
push eax
push esi
mov esi, dword [esp + 0x3c]
lea eax, [esi + 2]
add eax, edi
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00463950
mov edx, eax
mov dword [esp + 0x54], 0
sar eax, 8
movzx ecx, al
mov eax, edx
shl eax, 8
or ecx, eax
mov dword [esp + 0x30], 0
mov word [edi + esi], cx
add esi, 2
add esi, edx
jmp 0x464d04
mov esi, dword [esp + 0x3c]
mov byte [eax], 1
mov ecx, dword [ebx + 0x40]
push ecx
imul ecx, dword [ebp + 0x18]
lea eax, [edi + esi]
push eax
movzx eax, byte [edx]
shr eax, 3
imul eax, dword [esp + 0x48]
add eax, dword [esp + 0x60]
add ecx, eax
lea eax, [ebx + 0x30]
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push dword [ebx + 8]
call eax
mov ecx, dword [esp + 0x78]
add esp, 0x20
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
lea eax, [ecx*4]
add esi, eax
jmp 0x464d04
cmp eax, 0x80
jle 0x464d02
sub eax, dword [esp + 0x68]
add edi, dword [esp + 0x34]
dec eax
add esi, eax
lea eax, [esp + 0x70]
push esi
push edi
push eax
call fcn.004cd830
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, ebx
or byte [eax], 0x40
lea eax, [ebx + 0xc0]
push eax
push esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.00463950
mov esi, dword [esp + 0x34]
mov edx, eax
sar eax, 8
add esi, 2
movzx ecx, al
mov eax, edx
shl eax, 8
or ecx, eax
add esi, edx
mov word [edi], cx
jmp 0x464d04
add esi, eax
mov edx, dword [esp + 0x38]
sub dword [esp + 0x3c], 0x10
add edx, 0x10
mov edi, dword [esp + 0x40]
mov dword [esp + 0x38], edx
cmp edx, dword [esp + 0x60]
jl 0x464994
mov eax, dword [ebp + 0x18]
cmp esi, 0x578
jle 0x464e21
mov edx, dword [ebx + 0xfc]
mov ecx, dword [ebx + 0x100]
mov dword [esp + 0xc], edx
lea eax, [edx + esi]
cmp eax, ecx
jle 0x464d78
mov dword [esp + 0xc], edx
test edx, edx
je 0x464d78
mov ecx, dword [esp + 0x44]
push edx
push dword [ebx + 0xf8]
call fcn.004862f0
add dword [ebx + 0x5c], 0xfffffff4
xor edx, edx
mov ecx, dword [ebx + 0x100]
mov dword [ebx + 0xfc], 0
jmp 0x464d7c
mov edx, dword [esp + 0xc]
cmp esi, ecx
jle 0x464dfd
mov edx, dword [esp + 0x44]
cmp dword [edx + 8], 0xffffffff
je 0x464e16
test esi, esi
je 0x464e16
cmp byte [edx + 0x18], 0
mov ecx, esi
je 0x464df0
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x464df0
cmp byte [edx + 0x68], 0
je 0x464dc7
mov eax, dword [edx + 0x64]
add eax, dword [edx + 0x6c]
push esi
push edi
push eax
call fcn.004cd830
mov eax, dword [esp + 0x50]
add esp, 0xc
add dword [eax + 0x6c], esi
jmp 0x464e16
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0
push eax
push esi
push edi
mov ecx, edx
call fcn.00486620
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
push ecx
push eax
mov ecx, edx
call fcn.004860d0
jmp 0x464e16
push ecx
mov eax, edi
mov ecx, edx
push eax
call fcn.004860d0
jmp 0x464e16
mov eax, dword [ebx + 0xf8]
push esi
add eax, edx
push edi
push eax
call fcn.004cd830
add esp, 0xc
add dword [ebx + 0xfc], esi
add dword [ebx + 0x60], esi
add dword [ebx + 0x5c], esi
xor esi, esi
mov eax, dword [ebp + 0x18]
sub dword [ebp + 0x20], 0x10
add eax, 0x10
mov ecx, dword [esp + 0x60]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
cmp eax, dword [esp + 0x6c]
jl 0x464980
add dword [ebx + 0x60], esi
mov eax, esi
add dword [ebx + 0x5c], esi
mov ecx, dword [esp + 0x10f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 0x1c