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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x46fd4f
sub esp, 0x94
nop
mov eax, dword [esp + 0x98]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x14
jne 0x46fd1d
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x46fd0e
nop
mov ecx, dword [esp + 0x9c]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x46f99c
xor edx, edx
xor ebx, ebx
jmp 0x46f69a
mov ebp, dword [esp + 0x20]
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x9c]
mov ecx, ebp
mov ebx, eax
mov eax, dword [esp + 0x98]
cmp dword [ecx + 0x28], edx
jle 0x46f98d
mov ebp, dword [eax + 0x24]
cmp dword [eax + 0x28], ebx
jbe 0x46fd48
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], ebx
nop
lea ecx, [ebp + ebx*8]
mov ecx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00436740
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x20]
cmp dword [eax + 0x28], ebx
jbe 0x46fd41
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
nop
lea edx, [ecx + ebx*8]
mov edx, dword [edx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00436740
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
nop
test eax, eax
je 0x46f740
lea ecx, [eax + 3]
mov dword [esp + 0x8c], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx edx, byte [eax + 2]
or edx, ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
nop
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x46f771
lea edx, [ecx + 3]
mov dword [esp + 0x54], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ebx, byte [ecx + 2]
or ebx, edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
lea esi, [esp + 0x54]
cmp dword [esi + 4], ebx
je 0x46f96b
xor edx, edx
test dl, dl
jne 0x46f907
xor edx, edx
test dl, dl
je 0x46f8f7
nop
movzx edx, byte [ecx]
test dl, 1
je 0x46f7d5
mov eax, dword [esp + 0x28]
inc eax
mov ecx, dword [esp + 0x98]
cmp dword [ecx + 0x28], eax
jg 0x46f681
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov dword [esp], ecx
call fcn.0046c2c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46f8ee
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
nop
test ecx, ecx
je 0x46f824
lea edx, [ecx + 3]
mov dword [esp + 0x5c], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or ecx, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046c2c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x46f8e3
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
nop
test ecx, ecx
je 0x46f893
lea edx, [ecx + 3]
mov dword [esp + 0x84], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or ecx, edx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x14]
cmp ecx, ebx
je 0x46f8b9
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x28]
jmp 0x46f681
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46f7b1
mov eax, dword [esp + 0x9c]
jmp 0x46f8a9
mov edx, eax
mov eax, dword [esp + 0x9c]
jmp 0x46f8a1
mov edx, ecx
mov ecx, eax
jmp 0x46f82c
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x28]
jmp 0x46f681
nop
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00436780
nop
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00436780
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
sete dl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
jmp 0x46f7a0
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00402010
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
jmp 0x46f796
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov dword [esp], ecx
call fcn.0046c6d0
mov eax, dword [esp + 4]
test eax, eax
je 0x46fcff
nop
movzx ecx, word [eax + 4]
test cx, cx
jne 0x46fce4
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x98]
xor ebp, ebp
xor esi, esi
jmp 0x46f9f9
mov edi, dword [esp + 0x1c]
lea ebp, [edi + 1]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x98]
mov esi, eax
mov eax, edi
movzx edi, word [eax + 4]
cmp ebp, edi
jge 0x46fcd5
mov edi, dword [ebx + 0x24]
cmp dword [ebx + 0x28], esi
jbe 0x46fd33
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x24], esi
nop
lea eax, [edi + esi*8]
mov eax, dword [eax]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00436740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
cmp ecx, edx
jae 0x46fd2c
mov dword [esp + 0x4c], eax
shl ecx, 4
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + ecx + 4]
mov dword [esp + 0x2c], ebx
mov ecx, dword [edx + ecx]
nop
mov ebp, dword [esp + 0x9c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.00436740
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
nop
test eax, eax
je 0x46faa4
lea ecx, [eax + 3]
mov dword [esp + 0x7c], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx edx, byte [eax + 2]
or edx, ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
nop
mov ecx, dword [esp + 0x4c]
test ecx, ecx
je 0x46fad5
lea edx, [ecx + 3]
mov dword [esp + 0x74], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ebx, byte [ecx + 2]
or ebx, edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
lea esi, [esp + 0x74]
cmp dword [esi + 4], ebp
je 0x46fcb3
xor edx, edx
test dl, dl
jne 0x46fc59
xor edx, edx
test dl, dl
je 0x46fc49
nop
movzx edx, byte [ecx]
test dl, 1
je 0x46fb36
mov eax, dword [esp + 0x24]
inc eax
mov ecx, dword [esp + 0x98]
cmp dword [ecx + 0x28], eax
jg 0x46f9db
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov dword [esp], ecx
call fcn.0046c2c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x46fc40
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
nop
test ecx, ecx
je 0x46fb85
lea edx, [ecx + 3]
mov dword [esp + 0x6c], edx
movzx edx, byte [ecx + 1]
shl edx, 8
movzx ecx, byte [ecx + 2]
or ecx, edx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0046c2c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x46fbe8
mov edx, dword [esp + 0x18]
cmp ecx, edx
je 0x46fbc5
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
jmp 0x46f9db
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46fb12
jmp 0x46fbb5
nop
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [esp + 0x9c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00436740
mov eax, dword [esp + 8]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
nop
test eax, eax
je 0x46fc33
lea ecx, [eax + 3]
mov dword [esp + 0x64], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx eax, byte [eax + 2]
or eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
jmp 0x46fbad
mov edx, ecx
mov ecx, eax
jmp 0x46fb8d
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x24]
jmp 0x46f9db
nop
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
call fcn.00436780
nop
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 8]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00436780
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
sete dl
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
jmp 0x46fb01
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.00402010
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
jmp 0x46faf7
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
nop
mov edx, dword [eax + 8]
movzx ecx, cx
add edx, eax
test ecx, ecx
jl 0x46fd3a
cmp ecx, 0x10000
jbe 0x46f9c2
jmp 0x46fd3a
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
mov byte [esp + 0xa0], 1
add esp, 0x94
ret
mov byte [esp + 0xa0], 0
add esp, 0x94
ret
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.0044d880
jmp fcn.0046f620