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

Disassembly:
mov ecx, dword [0x58f5c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x466b82
sub esp, 0x98
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
lea edx, [0x4b6fa0]
mov dword [esp], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x68]
mov dword [esp + 8], ebp
call fcn.0040fed0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x46665f
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x6c], ecx
lea edx, [0x4b6fa0]
mov dword [esp], edx
mov edx, dword [esp + 0xa4]
mov dword [esp + 4], edx
lea ebx, [esp + 0x68]
mov dword [esp + 8], ebx
call fcn.00410400
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
je 0x466650
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x466641
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], dl
mov dword [esp], ecx
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call fcn.00466010
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
call fcn.00465030
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
call fcn.00465030
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x46618b
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46619a
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00401510
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp], ecx
call fcn.00401510
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x4661d8
test eax, eax
je 0x466270
test ecx, ecx
je 0x4661dc
test eax, eax
jne 0x4661eb
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004654c0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401e00
mov eax, dword [esp + 8]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
mov edx, dword [esp + 4]
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004654c0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401e00
mov eax, dword [esp + 0x20]
cmp dword [esp + 8], eax
jne 0x466632
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466632
movzx eax, byte [esp + 0x15]
test al, al
je 0x46666e
cmp al, 0x10
jbe 0x466623
cmp al, 0x15
ja 0x4664d4
cmp al, 0x12
jbe 0x46641f
cmp al, 0x13
jne 0x466304
mov eax, dword [esp + 0x9c]
movzx ecx, word [eax + 0x22]
mov edx, dword [esp + 0xa0]
cmp word [edx + 0x22], cx
jne 0x4662f5
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x4662f5
mov dword [esp], eax
call fcn.00401990
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call fcn.00401990
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
xor ecx, ecx
jmp 0x466aa4
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
cmp al, 0x14
jne 0x4663a9
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00401e00
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x8c], ebx
mov dword [esp], edx
call fcn.00401e00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x46639a
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x46639a
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x28], ecx
jne 0x46638b
mov dword [esp + 0x3c], ecx
xor ebx, ebx
jmp 0x4668d5
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4663e1
xor eax, eax
jmp 0x466411
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00466030
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x11
je 0x466477
cmp al, 0x12
jne 0x46666e
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x24], ecx
je 0x466447
xor eax, eax
jmp 0x466469
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00466030
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
je 0x4664c4
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x4664c6
xor eax, eax
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x17
ja 0x46655e
cmp al, 0x16
jne 0x466520
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00466030
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00466030
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xa8], al
add esp, 0x98
ret
cmp al, 0x18
je 0x466614
cmp al, 0x19
jne 0x46660f
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa0]
cmp dword [edx + 0x28], ecx
jne 0x466600
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00401e00
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x8c], ebx
mov dword [esp], edx
call fcn.00401e00
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x4665f1
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4665f1
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x3c], ecx
xor edx, edx
jmp 0x4666d3
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
cmp al, 0x1a
jne 0x46666e
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
call fcn.0043fd10
lea eax, [0x4ce3ac]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.00440520
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00440240
call fcn.0043fef0
call fcn.0043fd70
lea eax, [0x4cdf5d]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0043e340
mov ebx, dword [esp + 0x24]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jge 0x4668ad
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x88], ecx
mov ebx, dword [esp + 0xa0]
mov ebp, dword [ebx + 0x24]
mov dword [esp + 0x84], ebp
lea esi, [edx + edx*2]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + esi*4]
mov dword [esp], edi
call fcn.00401e00
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x8c], ebp
mov dword [esp], ebx
call fcn.00401e00
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x46689e
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x46689e
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
je 0x46688f
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.00401eb0
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x8c], ebp
mov dword [esp], ebx
call fcn.00401eb0
mov eax, dword [esp + 0x34]
cmp dword [esp + 8], eax
jne 0x466880
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466880
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [esp + 0x84]
lea ebp, [ebx + eax*4 + 8]
cmp dword [ebp], edx
jne 0x466871
mov ecx, dword [ecx + eax*4]
mov dword [esp], ecx
call fcn.00401c70
movzx eax, byte [esp + 4]
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + ecx*4]
mov dword [esp], ecx
call fcn.00401c70
movzx eax, byte [esp + 0x16]
cmp byte [esp + 4], al
je 0x4666c1
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov ebp, dword [esp + 0x28]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xa0]
cmp ebx, ecx
jge 0x466a8a
mov dword [esp + 0x28], ebx
mov ecx, dword [eax + 0x24]
mov dword [esp + 0x80], ecx
lea ebp, [ecx + ebx*8]
mov dword [esp + 0x58], ebp
mov esi, dword [edx + 0x24]
mov dword [esp + 0x7c], esi
lea edi, [esi + ebx*8]
mov dword [esp + 0x44], edi
lea edx, [ecx + ebx*8]
mov edx, dword [edx]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.00465220
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00465220
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call fcn.00401e00
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.00401e00
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x466a7b
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466a7b
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.00465a10
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call fcn.00465a10
mov eax, dword [esp + 0x38]
cmp dword [esp + 8], eax
jne 0x466a6c
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.004043e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466a6c
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x80]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00465500
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x7c]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00465500
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4668bc
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
mov edx, dword [esp + 0x30]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jge 0x466ae9
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x466a99
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.00401a30
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call fcn.00401a30
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
xor ecx, ecx
jmp 0x466b2e
mov edx, dword [esp + 0x2c]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jge 0x466b73
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x54]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [eax + ecx*4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0xa4]
mov dword [esp + 8], ebx
call fcn.00466030
movzx eax, byte [esp + 0xc]
test al, al
jne 0x466b23
mov byte [esp + 0xa8], 0
add esp, 0x98
ret
mov byte [esp + 0xa8], 1
add esp, 0x98
ret
call fcn.0046c370
jmp fcn.00466030