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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4ac
mov eax, dword [0x55800c]
xor eax, esp
mov dword [esp + 0x4a8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], ecx
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 + 0x38], ebx
mov dword [esp + 0x44], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x70], ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], edi
cmp eax, ecx
jge 0x4646a8
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
add ecx, edx
mov dword [esp + 0x68], ecx
nop dword [eax]
nop dword [eax + eax]
mov dword [esp + 0x40], edx
cmp dword [ebp + 0x14], ecx
jge 0x464591
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, 0x10
mov eax, ecx
cmp dword [esp + 0x10], eax
cmovl eax, dword [esp + 0x10]
cmp dword [ebp + 0x20], ecx
mov dword [esp + 0x30], 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 + 0x84]
push eax
movzx eax, byte [ebx + 0x10]
shr eax, 3
imul eax, edx
add eax, dword [esp + 0x5c]
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]
xor edx, edx
mov byte [eax], 0
lea ecx, [esp + 0x98]
mov dword [esp + 0x4c], eax
add esp, 0x20
mov eax, dword [esp + 0x1c]
xor ebx, ebx
imul eax, dword [esp + 0x30]
xor edi, edi
mov dword [esp + 0x70], esi
inc esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 1
mov dword [esp + 0x28], 1
mov dword [esp + 0x18], edx
test eax, eax
jle 0x46432d
movzx edx, word [ecx]
movzx eax, di
mov ecx, edx
mov edi, dword [esp + 0x24]
test edi, edi
cmovne ecx, eax
movzx eax, cx
mov dword [esp + 0x20], eax
cmp dx, ax
jne 0x4642c5
inc edi
mov dword [esp + 0x24], edi
jmp 0x4642f5
mov eax, dword [esp + 0x18]
test ebx, ebx
movzx eax, ax
mov ecx, edx
cmovne ecx, eax
xor eax, eax
test ebx, ebx
movzx ecx, cx
mov edi, ecx
cmovne eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
cmp dx, cx
jne 0x464312
mov eax, edi
inc ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
dec edx
add ecx, 2
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
movzx edi, ax
test edx, edx
jg 0x4642a1
jmp 0x464326
mov dword [esp + 0x28], eax
xor edi, edi
mov eax, ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
movzx edi, ax
mov eax, dword [esp + 0x18]
cmp edx, ebx
movzx ecx, ax
movzx eax, di
cmovle ecx, eax
movzx eax, cx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
movzx eax, ax
movzx ecx, di
cmovle ecx, eax
cmp dword [esp + 0x50], 0
movzx eax, cx
je 0x464361
cmp ax, word [esp + 0x48]
je 0x464388
mov ebx, dword [esp + 0x2c]
mov ecx, 1
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
or byte [ebx], 2
mov byte [edi + esi], al
shr eax, 8
mov byte [edi + esi + 1], al
add esi, 2
jmp 0x464390
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x28], 0
jne 0x46456c
mov cl, byte [ebx]
mov edx, dword [esp + 0x5c]
mov al, cl
or al, 8
mov byte [ebx], al
test edx, edx
je 0x4643e0
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x20]
je 0x4643bd
cmp ax, word [esp + 0x60]
je 0x4643ed
movzx eax, ax
or cl, 0xc
mov byte [ebx], cl
mov byte [edi + esi], al
mov dword [esp + 0x60], eax
shr eax, 8
mov byte [edi + esi + 1], al
add esi, 2
mov dword [esp + 0x34], 1
jmp 0x4643ed
or cl, 0x18
mov dword [esp + 0x34], 0
mov byte [ebx], cl
push edx
push ecx
push dword [esp + 0x50]
lea edx, [edi + esi]
push dword [esp + 0x28]
lea ecx, [esp + 0x88]
push dword [esp + 0x40]
call fcn.004646d0
add esp, 0x14
test eax, eax
jne 0x46450a
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x3c]
add edi, edi
mov eax, dword [esp + 0x2c]
push dword [esp + 0x1c]
lea edx, [ebx + 0x10]
push dword [esp + 0x34]
cmp edi, 0x40
jle 0x4644be
mov byte [eax], 0x20
lea eax, [esp + 0x80]
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 + 0x50]
add eax, dword [esp + 0x5c]
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 esi, dword [esp + 0x34]
lea eax, [ebx + 0x88]
add esp, 0x20
mov ecx, ebx
push eax
push edi
mov edi, dword [esp + 0x40]
lea eax, [edi + 2]
add eax, esi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00463950
mov edx, eax
mov dword [esp + 0x50], 0
sar eax, 8
movzx ecx, al
mov eax, edx
shl eax, 8
or ecx, eax
mov dword [esp + 0x34], 0
mov word [esi + edi], cx
lea esi, [edi + 2]
add esi, edx
jmp 0x464570
mov esi, dword [esp + 0x40]
mov byte [eax], 1
mov ecx, dword [ebx + 0x40]
mov eax, dword [esp + 0x1c]
push ecx
imul ecx, dword [ebp + 0x18]
add eax, esi
push eax
movzx eax, byte [edx]
shr eax, 3
imul eax, dword [esp + 0x50]
add eax, dword [esp + 0x5c]
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
mov dword [esp + 0x50], 0
add esi, edi
mov dword [esp + 0x34], 0
jmp 0x464570
cmp eax, 0x80
jle 0x46456a
sub eax, dword [esp + 0x70]
add edi, dword [esp + 0x38]
dec eax
add esi, eax
lea eax, [esp + 0x78]
push esi
push edi
push eax
call fcn.004cd830
or byte [ebx], 0x40
add esp, 0xc
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
lea eax, [ebx + 0xc0]
push eax
push esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x84]
push eax
call fcn.00463950
mov esi, dword [esp + 0x38]
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 0x464570
add esi, eax
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
sub dword [esp + 0x10], 0x10
add edx, 0x10
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], edx
cmp edx, dword [esp + 0x68]
jl 0x4641f4
mov eax, dword [ebp + 0x18]
cmp esi, 0x578
jle 0x46468d
mov edx, dword [ebx + 0xfc]
mov ecx, dword [ebx + 0x100]
mov dword [esp + 0x10], edx
lea eax, [edx + esi]
cmp eax, ecx
jle 0x4645e4
mov dword [esp + 0x10], edx
test edx, edx
je 0x4645e4
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 0x4645e8
mov edx, dword [esp + 0x10]
cmp esi, ecx
jle 0x464669
mov edx, dword [esp + 0x44]
cmp dword [edx + 8], 0xffffffff
je 0x464682
test esi, esi
je 0x464682
cmp byte [edx + 0x18], 0
mov ecx, esi
je 0x46465c
mov eax, dword [edx + 0x10]
cmp byte [eax + 0x21], 0
je 0x46465c
cmp byte [edx + 0x68], 0
je 0x464633
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 0x464682
lea eax, [esp + 0x64]
mov dword [esp + 0x64], 0
push eax
push esi
push edi
mov ecx, edx
call fcn.00486620
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
push ecx
push eax
mov ecx, edx
call fcn.004860d0
jmp 0x464682
push ecx
mov eax, edi
mov ecx, edx
push eax
call fcn.004860d0
jmp 0x464682
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 + 0x68]
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x18], eax
cmp eax, dword [esp + 0x74]
jl 0x4641e0
add dword [ebx + 0x60], esi
mov eax, esi
add dword [ebx + 0x5c], esi
mov ecx, dword [esp + 0x4b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cbf27
mov esp, ebp
pop ebp
ret 0x1c