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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4708c0
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
cmp eax, ecx
je 0x470804
nop
nop
movzx edx, byte [eax + 0xf]
and edx, 0x1f
movzx ebx, byte [ecx + 0xf]
and ebx, 0x1f
cmp edx, ebx
jne 0x4707fb
cmp edx, 1
jb 0x46ffbf
cmp edx, 0x10
jbe 0x4707f2
cmp edx, 0x18
je 0x4707f2
cmp edx, 0x1a
je 0x4707f2
cmp edx, 0x13
ja 0x4703dd
cmp edx, 0x11
je 0x47036f
cmp edx, 0x12
je 0x47025f
cmp edx, 0x13
jne 0x470256
movzx edx, word [ecx + 0x22]
cmp word [eax + 0x22], dx
jne 0x47024d
movzx edx, word [eax + 0x20]
cmp word [ecx + 0x20], dx
jne 0x47024d
xor edx, edx
jmp 0x470026
mov ebx, dword [esp + 0x1c]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x6c]
mov eax, ebx
mov ecx, dword [esp + 0x70]
nop
nop
movzx ebx, byte [eax + 0xf]
and ebx, 0x1f
cmp ebx, 0x13
jne 0x470872
movzx ebx, word [eax + 0x20]
movzx ebp, bx
cmp edx, ebp
jge 0x470170
nop
nop
nop
movzx esi, byte [eax + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x470166
mov esi, 0x34
test bx, bx
jne 0x470149
xor ebx, ebx
xor ebp, ebp
cmp edx, ebp
jae 0x470864
nop
mov ebx, dword [ebx + edx*4]
test ebx, ebx
je 0x470140
lea ebp, [0x8bd620]
nop
nop
movzx esi, byte [ecx + 0xf]
and esi, 0x1f
cmp esi, 0x13
jne 0x47084a
nop
movzx esi, byte [ecx + 0xc]
xchg esi, eax
test al, 1
xchg esi, eax
je 0x470136
mov esi, 0x34
movzx edi, word [ecx + 0x20]
test di, di
jne 0x47010c
xor esi, esi
xor edi, edi
cmp edx, esi
jae 0x47083c
mov dword [esp + 0x1c], edx
nop
mov esi, dword [edi + edx*4]
test esi, esi
je 0x470106
lea edi, [0x8bd620]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
test al, al
jne 0x470015
mov byte [esp + 0x78], 0
add esp, 0x68
ret
xor esi, esi
xor edi, edi
jmp 0x4700d3
nop
movzx edi, di
add esi, ecx
test edi, edi
jl 0x470843
cmp edi, 0x100000
ja 0x470843
mov dword [esp + 0x34], eax
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x34]
jmp 0x4700b9
mov esi, 0x24
jmp 0x4700ac
xor ebx, ebx
xor ebp, ebp
jmp 0x470085
nop
lea ebx, [esi + eax]
test ebp, ebp
jl 0x47086b
cmp ebp, 0x100000
jbe 0x47006b
jmp 0x47086b
mov esi, 0x24
jmp 0x47005e
xor edx, edx
jmp 0x470185
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov ebx, dword [esp + 0x6c]
mov eax, ebx
mov ecx, dword [esp + 0x70]
nop
nop
movzx ebx, byte [eax + 0xf]
and ebx, 0x1f
cmp ebx, 0x13
jne 0x470822
nop
movzx ebx, word [eax + 0x22]
and ebx, 0x7fff
test bx, bx
jne 0x47021d
xor ebx, ebx
cmp edx, ebx
jge 0x470214
mov dword [esp + 0x18], edx
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0046dbd0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], ebx
call fcn.0046dbd0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
test al, al
jne 0x470174
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 1
add esp, 0x68
ret
nop
movzx ebp, word [eax + 0x20]
add ebx, ebp
movzx ebx, bx
test ebx, ebx
jl 0x47081b
movzx ebp, bp
cmp ebp, ebx
ja 0x47081b
cmp ebx, 0x100000
ja 0x47081b
sub ebx, ebp
jmp 0x4701a9
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
nop
nop
cmp dword [ecx + 0x24], 3
je 0x47030c
xor edx, edx
test dl, dl
jne 0x470303
nop
nop
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x12
jne 0x4708a6
nop
mov edx, dword [ecx + 0x24]
nop
movzx ebx, byte [eax + 0xf]
and ebx, 0x1f
cmp ebx, 0x12
jne 0x47088c
cmp dword [eax + 0x24], edx
je 0x4702ab
xor eax, eax
mov byte [esp + 0x78], al
add esp, 0x68
ret
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0046d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
jmp 0x4702a3
mov byte [esp + 0x78], 1
add esp, 0x68
ret
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0046d580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx edx, byte [esp + 0x14]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
jmp 0x47026d
nop
nop
nop
nop
mov edx, dword [ecx + 0x28]
cmp dword [eax + 0x28], edx
je 0x470385
xor eax, eax
mov byte [esp + 0x78], al
add esp, 0x68
ret
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0046d580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
jmp 0x47037d
cmp edx, 0x15
jbe 0x470707
lea ebx, [edx - 0x16]
cmp ebx, 1
jbe 0x4706a9
cmp edx, 0x19
jne 0x470256
mov edx, dword [ecx + 0x28]
cmp dword [eax + 0x28], edx
jne 0x4706a0
mov edx, dword [eax + 0x20]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
nop
test edx, edx
je 0x470437
lea ebx, [edx + 3]
mov dword [esp + 0x48], ebx
movzx ebx, byte [edx + 1]
shl ebx, 8
movzx edx, byte [edx + 2]
or ebx, edx
mov dword [esp + 0x4c], ebx
mov edx, dword [ecx + 0x20]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
test edx, edx
je 0x470467
lea ebx, [edx + 3]
mov dword [esp + 0x58], ebx
movzx ebx, byte [edx + 1]
shl ebx, 8
movzx edx, byte [edx + 2]
or ebx, edx
mov dword [esp + 0x5c], ebx
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
lea esi, [esp + 0x58]
cmp dword [esi + 4], ebx
jne 0x470697
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.00402010
movzx eax, byte [esp + 0xc]
test al, al
je 0x470697
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x70]
xor ebx, ebx
jmp 0x4704c9
mov ebp, dword [esp + 0x20]
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov eax, edi
mov ecx, ebp
mov edx, esi
cmp ebx, ecx
jge 0x47068e
mov ebp, dword [eax + 0x24]
cmp dword [eax + 0x28], ebx
jbe 0x470814
lea esi, [ebx + ebx*2]
mov edi, dword [edx + 0x24]
cmp dword [edx + 0x28], ebx
jbe 0x47080d
mov edx, dword [ebp + esi*4]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
nop
test edx, edx
je 0x47051d
lea eax, [edx + 3]
mov dword [esp + 0x60], eax
movzx eax, byte [edx + 1]
shl eax, 8
movzx edx, byte [edx + 2]
or eax, edx
mov dword [esp + 0x64], eax
mov eax, dword [edi + esi*4]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
nop
test eax, eax
je 0x47054d
lea edx, [eax + 3]
mov dword [esp + 0x50], edx
movzx edx, byte [eax + 1]
shl edx, 8
movzx eax, byte [eax + 2]
or edx, eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
lea ebx, [esp + 0x50]
cmp dword [ebx + 4], edx
jne 0x470685
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
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
je 0x470685
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + eax*4 + 4]
lea esi, [0x8bd620]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
movzx edx, byte [esp + 0x74]
mov byte [esp + 0x10], dl
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
test al, al
je 0x47067c
movzx eax, byte [esp + 0x74]
test al, al
jne 0x470614
xor ecx, ecx
test cl, cl
jne 0x47060b
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov edx, dword [edx + ecx*4 + 8]
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + ecx*4 + 8]
cmp edx, ecx
je 0x4704b0
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.0046c240
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + edx*4]
mov dword [esp], ebp
call fcn.0046c240
mov eax, dword [esp + 0x24]
cmp dword [esp + 8], eax
je 0x470662
mov eax, 1
mov ecx, eax
movzx eax, byte [esp + 0x74]
jmp 0x4705e2
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00402010
movzx eax, byte [esp + 0xc]
xor eax, 1
jmp 0x470659
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 1
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0046d580
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
mov byte [esp + 0x78], al
add esp, 0x68
ret
cmp edx, 0x14
jne 0x47072c
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x47071a
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x470723
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 1
add esp, 0x68
ret
nop
nop
nop
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4707e9
lea ebx, [0x8bd620]
nop
nop
nop
mov ebp, dword [ecx + 0x20]
test ebp, ebp
je 0x4707e0
lea esi, [0x8bd620]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
test al, al
jne 0x470784
xor eax, eax
mov byte [esp + 0x78], al
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0046d580
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x70]
mov dword [esp], edx
call fcn.0046d580
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x30]
mov dword [esp], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x10], al
call fcn.0046fe10
movzx eax, byte [esp + 0x14]
jmp 0x47077c
xor ebp, ebp
xor esi, esi
jmp 0x470754
xor edx, edx
xor ebx, ebx
jmp 0x470740
mov byte [esp + 0x78], 1
add esp, 0x68
ret
mov byte [esp + 0x78], 0
add esp, 0x68
ret
mov byte [esp + 0x78], 1
add esp, 0x68
ret
call fcn.004287c0
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8adea8]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8adea0]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004287c0
ud2
call fcn.004288c0
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ade98]
mov dword [esp + 4], eax
call fcn.00429580
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ade90]
mov dword [esp + 4], eax
call fcn.00429580
ud2
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8ade88]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.0044d880
jmp fcn.0046ff70