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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4dc
mov eax, dword [0x5b0008]
xor eax, esp
mov dword [esp + 0x4d8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x20]
push esi
mov dword [esp + 0x40], ecx
xor esi, esi
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
add eax, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x48], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], eax
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], edi
cmp ecx, eax
jge 0x468d58
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
add edx, eax
mov dword [esp + 0x64], edx
nop dword [eax]
nop dword [eax + eax]
mov dword [esp + 0x2c], eax
cmp dword [ebp + 0x14], edx
jge 0x468d1d
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x60], edx
mov edi, 0x10
mov dword [esp + 0x7c], ecx
cmp edx, edi
mov dword [esp + 0x78], eax
cmovl edi, edx
cmp dword [ebp + 0x20], 0x10
mov edx, 0x10
mov dword [esp + 0x58], edi
cmovl edx, dword [ebp + 0x20]
mov dword [esp + 0x38], edx
lea edx, [edi + eax]
mov edi, dword [esp + 0x38]
add edi, ecx
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], edi
push ecx
mov eax, edi
mov dword [esp + 0x84], edx
lea ecx, [esp + 0xac]
mov dword [esp + 0x88], eax
mov eax, dword [ebx]
push ecx
push dword [esp + 0x48]
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xa8]
add eax, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x50], eax
inc esi
xor edx, edx
mov dword [esp + 0x28], esi
xor edi, edi
mov dword [esp + 0x18], ecx
mov byte [eax], 0
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], 1
mov dword [esp + 0x20], 1
mov ebx, eax
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
test ebx, ebx
jle 0x468a96
movzx edx, word [ecx]
movzx ebx, di
test eax, eax
jne 0x468a15
inc eax
mov edi, edx
mov dword [esp + 0x30], eax
jmp 0x468a68
mov edi, ebx
cmp dx, bx
jne 0x468a23
inc eax
mov dword [esp + 0x30], eax
jmp 0x468a68
mov eax, dword [esp + 0x10]
mov ecx, edx
mov edi, dword [esp + 0x1c]
test edi, edi
movzx eax, ax
cmovne ecx, eax
movzx ecx, cx
mov eax, ecx
mov dword [esp + 0x10], eax
xor eax, eax
test edi, edi
cmovne eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
cmp dx, cx
jne 0x468a7e
mov eax, ecx
inc edi
mov ecx, dword [esp + 0x18]
movzx eax, ax
mov dword [esp + 0x1c], edi
mov edi, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
add ecx, 2
dec edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], edx
test edx, edx
jg 0x468a02
jmp 0x468a92
mov edx, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], eax
mov edi, ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], edx
movzx ecx, ax
movzx eax, di
cmovle ecx, eax
movzx eax, cx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
movzx eax, ax
movzx ecx, di
cmovle ecx, eax
cmp dword [esp + 0x44], 0
movzx eax, cx
je 0x468ace
mov edx, dword [esp + 0x4c]
cmp ax, dx
je 0x468af7
mov ebx, dword [esp + 0x50]
mov edx, eax
mov edi, dword [esp + 0xc]
mov ecx, 1
shr eax, 8
mov dword [esp + 0x44], ecx
or byte [ebx], 2
mov byte [edi + esi], dl
mov byte [edi + esi + 1], al
add esi, 2
mov dword [esp + 0x4c], edx
jmp 0x468aff
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x20], 0
jne 0x468cf2
mov al, byte [ebx]
or al, 8
cmp dword [esp + 0x34], 0
mov byte [ebx], al
je 0x468b4d
cmp dword [esp + 0x24], 0
mov ecx, dword [esp + 0x18]
je 0x468b29
cmp cx, word [esp + 0x54]
je 0x468b59
or al, 4
movzx ecx, cx
mov byte [ebx], al
mov eax, ecx
shr eax, 8
mov byte [edi + esi], cl
mov byte [edi + esi + 1], al
add esi, 2
mov dword [esp + 0x24], 1
mov dword [esp + 0x54], ecx
jmp 0x468b59
or al, 0x10
mov dword [esp + 0x24], 0
mov byte [ebx], al
push dword [esp + 0x34]
push ecx
push edx
push dword [esp + 0x44]
lea edx, [edi + esi]
push dword [esp + 0x68]
lea ecx, [esp + 0xbc]
call fcn.00468d80
add esp, 0x14
test eax, eax
jne 0x468c8e
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
add edi, edi
cmp edi, 0x40
jle 0x468c2e
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x88]
mov eax, dword [ebp + 0x18]
mov byte [ebx], 0x20
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x94], eax
lea ecx, [esp + 0xac]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], eax
mov eax, dword [ebx]
push ecx
push dword [esp + 0x48]
mov ecx, ebx
call dword [eax + 0x14]
push dword [ebx + 0x98]
mov esi, dword [esp + 0x10]
mov ecx, ebx
mov edx, dword [ebx]
push edi
mov edi, dword [esp + 0x30]
lea eax, [edi + 2]
add eax, esi
push eax
lea eax, [esp + 0xb4]
push eax
call dword [edx + 0x40]
mov edx, eax
mov dword [esp + 0x44], 0
sar eax, 8
movzx ecx, al
mov eax, edx
shl eax, 8
or ecx, eax
mov dword [esp + 0x24], 0
mov word [esi + edi], cx
lea esi, [edi + 2]
add esi, edx
jmp 0x468cf2
mov esi, dword [esp + 0x28]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x98]
push eax
mov eax, dword [esp + 0x10]
mov byte [ebx], 1
add eax, esi
mov ebx, dword [esp + 0x18]
mov ecx, ebx
push eax
push dword [esp + 0x48]
mov edx, dword [ebx]
call dword [edx + 0x14]
add esi, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], 0
jmp 0x468cf2
cmp eax, 0x80
jle 0x468cf0
sub eax, dword [esp + 0x6c]
add edi, dword [esp + 0x28]
dec eax
add esi, eax
lea eax, [esp + 0xa8]
push esi
push edi
push eax
call fcn.0051a200
or byte [ebx], 0x40
lea eax, [edi + 2]
mov ebx, dword [esp + 0x20]
add esp, 0xc
mov ecx, ebx
push dword [ebx + 0x9c]
mov edx, dword [ebx]
push esi
push eax
lea eax, [esp + 0xb4]
push eax
call dword [edx + 0x40]
mov esi, dword [esp + 0x28]
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 0x468cf6
add esi, eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
add eax, 0x10
mov ecx, dword [ebp + 0x18]
sub edx, 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x60], edx
cmp eax, dword [esp + 0x64]
jl 0x468944
mov edi, dword [esp + 0xc]
cmp esi, 0x578
jle 0x468d3d
push dword [esp + 0x70]
mov eax, dword [ebx]
mov ecx, ebx
push esi
push edi
call dword [eax + 0x34]
add dword [ebx + 0x60], esi
add dword [ebx + 0x5c], esi
xor esi, esi
mov ecx, dword [ebp + 0x18]
sub dword [ebp + 0x20], 0x10
add ecx, 0x10
mov edx, dword [esp + 0x64]
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x18], ecx
cmp ecx, dword [esp + 0x74]
jl 0x468930
add dword [ebx + 0x60], esi
mov eax, esi
add dword [ebx + 0x5c], esi
mov ecx, dword [esp + 0x4e4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00518799
mov esp, ebp
pop ebp
ret 0x1c