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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x550014]
xor ecx, ebp
mov dword [esp + 0xa8], ecx
mov word [esp + 0x60], 0xffff
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
test eax, eax
je 0x468b16
xor ecx, ecx
nop dword [eax + eax]
movzx edx, word [esi + ecx*2]
inc word [esp + edx*2 + 0x80]
inc ecx
cmp eax, ecx
jne 0x468320
movzx esi, word [esp + 0x9e]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
test si, si
jne 0x46843f
cmp word [esp + 0x9c], 0
jne 0x468477
cmp word [esp + 0x9a], 0
jne 0x468486
cmp word [esp + 0x98], 0
jne 0x468495
cmp word [esp + 0x96], 0
jne 0x4684a4
cmp word [esp + 0x94], 0
jne 0x4684b3
cmp word [esp + 0x92], 0
jne 0x4684c2
cmp word [esp + 0x90], 0
jne 0x4684d4
cmp word [esp + 0x8e], 0
jne 0x4684e6
cmp word [esp + 0x8c], 0
jne 0x4684f8
cmp word [esp + 0x8a], 0
jne 0x46850a
cmp word [esp + 0x88], 0
jne 0x46851c
cmp word [esp + 0x86], 0
jne 0x46852e
cmp word [esp + 0x84], 0
jne 0x468540
cmp word [esp + 0x82], 0
jne 0x468552
mov esi, dword [ebp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
mov dword [esi], ecx
mov ecx, 0x140
mov dword [eax], ecx
mov eax, dword [esi]
lea edx, [eax + 4]
mov dword [esi], edx
mov dword [eax], ecx
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
jmp 0x468aa9
mov dword [esp + 0xc], esi
mov ecx, 0xf
cmp edx, ecx
mov dword [esp + 0x1c], ecx
cmovae edx, ecx
mov ecx, edx
xor edx, edx
inc edx
mov bl, 1
cmp word [esp + edx*2 + 0x80], 0
jne 0x46856a
inc edx
cmp dword [esp + 0x1c], edx
jne 0x468456
mov edx, dword [esp + 0x1c]
jmp 0x46856a
mov ecx, 0xe
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 0xd
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 0xc
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 0xb
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 0xa
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 9
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 8
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 7
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 6
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 5
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 4
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 3
mov dword [esp + 0xc], 0
jmp 0x468448
mov ecx, 2
mov dword [esp + 0xc], 0
jmp 0x468448
xor ecx, ecx
test edx, edx
setne cl
xor edx, edx
inc edx
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
cmp ecx, edx
cmovbe ecx, edx
mov dword [esp + 0x14], ecx
movzx ecx, word [esp + 0x82]
xor esi, esi
dec esi
cmp ecx, 2
ja 0x468b25
movzx edx, word [esp + 0x84]
mov dword [esp + 0x54], ecx
lea ecx, [edx + ecx*2]
cmp ecx, 4
ja 0x468b25
movzx edi, word [esp + 0x86]
mov dword [esp + 0x18], edi
lea ecx, [edi + ecx*2]
cmp ecx, 8
ja 0x468b25
mov dword [esp + 0x2c], edx
movzx edi, word [esp + 0x88]
lea ecx, [edi + ecx*2]
cmp ecx, 0x10
jg 0x468b25
movzx edx, word [esp + 0x8a]
mov dword [esp + 0x3c], edx
lea ecx, [edx + ecx*2]
mov edx, 0x20
sub edx, ecx
js 0x468b25
mov dword [esp + 0x28], edi
add edx, edx
movzx ecx, word [esp + 0x8c]
sub edx, ecx
js 0x468b25
add edx, edx
movzx edi, word [esp + 0x8e]
mov dword [esp + 0x24], edi
sub edx, edi
js 0x468b25
add edx, edx
movzx edi, word [esp + 0x90]
sub edx, edi
js 0x468b20
add edx, edx
movzx esi, word [esp + 0x92]
mov dword [esp + 0x50], esi
sub edx, esi
js 0x468b20
add edx, edx
movzx esi, word [esp + 0x94]
sub edx, esi
js 0x468b20
mov dword [esp + 0x4c], esi
add edx, edx
movzx esi, word [esp + 0x96]
mov dword [esp + 0x34], esi
sub edx, esi
js 0x468b20
mov dword [esp + 0x38], ecx
add edx, edx
movzx esi, word [esp + 0x98]
sub edx, esi
js 0x468b20
add edx, edx
movzx ecx, word [esp + 0x9a]
sub edx, ecx
js 0x468b20
mov dword [esp + 0x20], edi
add edx, edx
movzx edi, word [esp + 0x9c]
mov dword [esp + 0x30], edi
sub edx, edi
js 0x468b20
add edx, edx
movzx edi, word [esp + 0xc]
cmp edx, edi
jb 0x468b20
mov edi, 0xffffffff
jne 0x468b29
mov edx, dword [esp + 0x54]
mov edi, dword [esp + 0x2c]
add edi, edx
mov word [esp + 0x62], 0
mov word [esp + 0x64], dx
mov edx, dword [esp + 0x18]
add edx, edi
mov word [esp + 0x66], di
mov edi, dword [esp + 0x28]
add edi, edx
mov word [esp + 0x68], dx
mov edx, dword [esp + 0x3c]
add edx, edi
mov word [esp + 0x6a], di
mov edi, dword [esp + 0x38]
add edi, edx
mov word [esp + 0x6c], dx
mov edx, dword [esp + 0x24]
add edx, edi
mov word [esp + 0x6e], di
mov edi, dword [esp + 0x20]
add edi, edx
mov word [esp + 0x70], dx
mov edx, dword [esp + 0x50]
add edx, edi
mov word [esp + 0x72], di
mov edi, dword [esp + 0x4c]
add edi, edx
mov word [esp + 0x74], dx
mov edx, dword [esp + 0x34]
add edx, edi
mov word [esp + 0x76], di
add esi, edx
mov word [esp + 0x78], dx
add ecx, esi
mov word [esp + 0x7a], si
mov edx, dword [esp + 0x30]
add edx, ecx
mov word [esp + 0x7c], cx
mov word [esp + 0x7e], dx
test eax, eax
mov ebx, dword [ebp + 0xc]
je 0x4687a3
xor ecx, ecx
jmp 0x468785
inc ecx
cmp eax, ecx
je 0x4687a3
movzx edx, word [ebx + ecx*2]
test edx, edx
je 0x468780
movzx esi, word [esp + edx*2 + 0x60]
lea edi, [esi + 1]
mov word [esp + edx*2 + 0x60], di
mov edx, dword [ebp + 0x1c]
mov word [edx + esi*2], cx
jmp 0x468780
mov eax, dword [ebp + 8]
test eax, eax
je 0x4687e7
cmp eax, 1
mov ebx, dword [esp + 0x10]
jne 0x468acc
cmp dword [esp + 0x14], 0xa
ja 0x468afd
mov al, 1
mov dword [esp + 0x40], eax
mov edi, 0x101
mov dword [esp + 0x34], 0x53c36e
mov dword [esp + 0x30], 0x53c330
mov dword [esp + 0x44], 0
jmp 0x46880b
mov edi, 0x14
mov dword [esp + 0x44], 0
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], 0
mov ebx, dword [esp + 0x10]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x14]
shl eax, cl
mov dword [esp + 0x48], eax
dec eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
xor eax, eax
dec eax
mov dword [esp + 0x58], eax
xor edx, edx
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x4c], edi
nop word cs:[eax + eax]
mov eax, ebx
mov dword [esp + 0x18], ecx
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x1c]
movzx esi, word [eax + edx*2]
movzx ecx, si
lea eax, [ecx + 1]
cmp eax, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], edx
jae 0x4689a7
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
mov edx, 0xffffffff
mov ecx, dword [esp + 0xc]
shl edx, cl
mov ebx, 1
mov ecx, dword [esp + 0x20]
shl ebx, cl
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
shr eax, cl
mov dword [esp + 0x54], edx
lea ecx, [edx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + eax + 2]
mov eax, ebx
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
nop dword [eax]
mov edx, edi
mov byte [ecx + eax*4 - 2], dl
mov edx, dword [esp + 0xc]
mov byte [ecx + eax*4 - 1], dl
mov word [ecx + eax*4], si
add ebx, dword [esp + 0x54]
mov eax, ebx
jne 0x4688d0
mov ebx, dword [esp + 0x10]
mov ecx, ebx
dec cl
mov edx, 1
shl edx, cl
mov eax, dword [esp + 0x2c]
mov ecx, edx
shr edx, 1
test ecx, eax
jne 0x4688fd
mov edx, eax
lea eax, [ecx - 1]
and eax, edx
add eax, ecx
cmp ecx, 1
mov ecx, eax
mov eax, 0
cmovb ecx, eax
mov eax, ecx
dec word [esp + ebx*2 + 0x80]
mov ecx, dword [ebp + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
je 0x4689cd
mov edx, dword [esp + 0x28]
inc edx
cmp ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
jbe 0x468850
mov eax, dword [esp + 0x2c]
and eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x58]
je 0x468850
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], edx
test ecx, ecx
cmove ecx, dword [esp + 0x14]
mov eax, ebx
sub eax, ecx
xor edx, edx
inc edx
mov esi, ecx
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x1c]
cmp ebx, ecx
mov dword [esp + 0x18], esi
jae 0x468a79
sub ecx, esi
mov eax, ecx
mov ecx, ebx
movzx esi, word [esp + ecx*2 + 0x80]
sub edx, esi
jle 0x4689ec
add edx, edx
inc ecx
cmp ecx, dword [esp + 0x1c]
jb 0x46898d
jmp 0x468b0f
cmp edi, ecx
ja 0x468a82
sub ecx, edi
mov eax, dword [esp + 0x34]
mov al, byte [eax + ecx*2]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
movzx eax, word [eax + ecx*2]
mov dword [esp + 0x38], eax
jmp 0x468885
cmp ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
je 0x468a95
mov eax, dword [ebp + 0x1c]
movzx eax, word [eax + edx*2 + 2]
movzx ebx, word [ecx + eax*2]
jmp 0x46893a
sub ecx, dword [esp + 0x18]
xor edx, edx
inc edx
mov dword [esp + 0x20], ecx
shl edx, cl
mov ecx, dword [esp + 0x48]
add ecx, edx
cmp ecx, 0x535
setae dl
mov dword [esp + 0x48], ecx
cmp ecx, 0x251
setae cl
test byte [esp + 0x40], dl
jne 0x468afd
mov dword [esp + 0x10], ebx
and cl, byte [esp + 0x44]
jne 0x468afd
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
lea edx, [edx + eax*4]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
mov byte [ecx + esi*4], al
mov ecx, dword [ebx]
mov eax, ebx
mov ebx, dword [esp + 0x14]
mov byte [ecx + esi*4 + 1], bl
mov ecx, dword [eax]
mov dword [esp + 0x24], edx
sub edx, ecx
shr edx, 2
mov word [ecx + esi*4 + 2], dx
mov dword [esp + 0x58], esi
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
jmp 0x468850
mov dword [esp + 0x20], eax
jmp 0x4689f9
mov al, 0x60
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], 0
jmp 0x468885
test eax, eax
jne 0x468b3d
mov ecx, dword [esp + 0x48]
shl ecx, 2
mov eax, dword [ebp + 0x14]
add dword [eax], ecx
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor edi, edi
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.0049b033
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
mov dword [esp + 0x34], 0x53c3ec
mov dword [esp + 0x30], 0x53c3ac
cmp eax, 2
sete al
mov dword [esp + 0x44], eax
jne 0x468b02
mov dword [esp + 0x40], 0
cmp dword [esp + 0x14], 9
jbe 0x46880b
xor edi, edi
inc edi
jmp 0x468ab4
mov dword [esp + 0x40], 0
jmp 0x46880b
mov ecx, eax
jmp 0x4689f0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
jmp 0x468347
xor edi, edi
dec edi
jmp 0x468ab4
mov edi, esi
jmp 0x468ab4
cmp dword [ebp + 8], 0
sete dl
or dl, bl
je 0x4686cf
jmp 0x468ab4
mov ecx, eax
mov eax, dword [esp + 0x24]
mov byte [eax + ecx*4], 0x40
mov edx, dword [esp + 0xc]
mov byte [eax + ecx*4 + 1], dl
mov word [eax + ecx*4 + 2], 0
jmp 0x468a9d