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

Disassembly:
mov ecx, dword [0xbd5718]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x47005a
sub esp, 0xe4
nop
lea eax, [0xb693c0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b6a0
nop
lea eax, [0xbb7494]
mov dword [esp], eax
call fcn.00476f00
mov eax, dword [esp + 4]
test eax, eax
je 0x46fa4a
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call fcn.004608b0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x4569a0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xd4], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xd0]
mov dword [esp], ecx
call fcn.0043a320
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46f885
mov ecx, dword [esp + 0x3c]
cmp ecx, 0xffffffff
jne 0x46f87a
mov edx, 4
jmp 0x46f87d
lea edx, [ecx + 1]
mov dword [esp], edx
call fcn.00456c80
nop
lea eax, [0xb693a8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b6a0
mov eax, dword [0xbd5718]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x3c]
mov dword [0xbb7498], ecx
movzx edx, byte [esp + 0xe8]
test dl, dl
jne 0x46f90a
cmp ecx, 0xffffffff
jne 0x46f8e9
mov ebx, 4
jmp 0x46f8ec
lea ebx, [ecx + 1]
lea eax, [0xbb7494]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00476f40
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46f922
lea eax, [0x897b60]
mov dword [esp], eax
call fcn.00470cd0
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46f97f
movzx ecx, byte [0xbb7490]
test cl, cl
jne 0x46f935
xor ecx, ecx
xor edx, edx
jmp 0x46f943
call fcn.0045d070
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], edx
mov eax, dword [0xbd567c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045d1f0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0045d1a0
movzx eax, byte [esp + 0xe8]
test al, al
jne 0x46f9e0
mov ecx, dword [0xbd55f8]
cmp ecx, 1
je 0x46f991
cmp ecx, 2
jne 0x46f9e0
movzx ecx, byte [0xbb7490]
test cl, cl
jne 0x46f9a2
xor ecx, ecx
xor edx, edx
jmp 0x46f9b0
call fcn.0045d070
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov edx, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x70], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045d440
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.0045d1a0
movzx eax, byte [esp + 0xe8]
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
nop
mov ebp, dword [0xbd5718]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x46fa0f
movzx ecx, byte [ebp + 0x69]
test cl, cl
je 0x46fa0f
mov dword [ebp + 8], 0xfffffade
nop
lea eax, [0xb693a8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044ba00
nop
nop
lea eax, [0xbb7cf8]
mov dword [esp], eax
call fcn.0040a7e0
mov eax, dword [0xbb46f8]
mov dword [esp + 0xb4], eax
jmp 0x46fa79
nop
lea eax, [0xb693c0]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044ba00
add esp, 0xe4
ret
mov dword [eax + 0x1a8], edx
mov eax, dword [eax + 0xb0]
test eax, eax
je 0x46fa9f
mov ecx, dword [0xbd5a38]
mov edx, dword [eax + 0xb0]
test ecx, ecx
je 0x46fa6d
call fcn.004721d0
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x46fa6d
mov eax, dword [0xbb7d70]
jmp 0x46faba
mov dword [eax + 0x1a8], edx
mov dword [esp + 0xb4], eax
mov eax, dword [eax + 0x198]
test eax, eax
je 0x46fae1
mov ecx, dword [0xbd5a38]
mov edx, dword [esp + 0xb4]
test ecx, ecx
je 0x46faa7
call fcn.004721d0
mov dword [edi], edx
mov ecx, dword [eax + 0x1a8]
mov dword [edi + 4], ecx
jmp 0x46faa7
nop
nop
lea eax, [0xbb7cf8]
mov dword [esp], eax
call fcn.0040aa00
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [0x456850]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xcc], eax
lea ecx, [esp + 0xc4]
mov dword [esp], ecx
call fcn.00470cd0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x3c]
xor ebx, ebx
xor ebp, ebp
jmp 0x46fb60
mov eax, dword [esp + 0xe0]
add eax, 0x24
mov ecx, dword [esp + 0x6c]
dec ecx
test ecx, ecx
jle 0x46fc8a
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0xac], ebx
mov dword [esp + 0xe0], eax
lea edi, [esp + 0x88]
mov esi, eax
call fcn.00472926
mov ecx, dword [esp + 0x88]
test byte [ecx], al
mov eax, 0xaaaaaaab
mov ebx, dword [esp + 0x3c]
mul ebx
shr edx, 1
lea edx, [edx + edx*2]
sub ebx, edx
lea ecx, [ecx + ebx*4 + 0xec]
mov dword [esp], ecx
call fcn.00476e70
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x46fbd6
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x44]
jmp 0x46fb51
mov eax, dword [esp + 0xa4]
movzx ecx, byte [esp + 0xa8]
mov dword [esp], eax
mov byte [esp + 4], cl
call fcn.00460290
movzx eax, byte [esp + 8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [esp + 0x98]
movzx esi, byte [esp + 0xa9]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0xac]
mov dword [esp], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x44]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov byte [esp + 0x1c], al
xchg esi, eax
mov byte [esp + 0x1d], al
xchg esi, eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x24], eax
call fcn.0045fda0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
jmp 0x46fb51
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.0045b2c0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46fcb4
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
and ecx, 1
mov dword [eax + ecx*4 + 0x1a0], edx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0045ba40
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0045c2d0
mov eax, dword [esp + 0x3c]
mov ecx, eax
and eax, 1
mov dword [esp + 0x60], eax
lea edx, [eax + eax*4]
shl edx, 5
mov dword [esp + 0x6c], edx
lea ebx, [0xbb6f38]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.0045f000
mov eax, dword [esp + 0x6c]
lea ecx, [0xbb71c8]
add eax, ecx
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.00460b00
mov eax, dword [esp + 0x60]
imul ecx, eax, 0xa8
lea edx, [0xbb7078]
add ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.004607d0
lea eax, [0x4567f0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x54]
mov dword [esp], ecx
call fcn.00470cd0
mov eax, dword [0xbd5718]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [0xbb501c]
mov edx, ecx
shl ecx, 2
mov ebx, dword [0xbb5020]
sub ebx, edx
mov dword [esp + 0x6c], ebx
mov edx, ebx
neg ebx
sar ebx, 0x1f
and ecx, ebx
add ecx, dword [0xbb5018]
mov dword [esp + 0xdc], ecx
mov eax, dword [eax + 0x18]
mov dword [esp + 0xb0], eax
xor ebx, ebx
jmp 0x46fdce
test byte [ebp], al
lea eax, [ebp + 0x910]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004603f0
mov eax, dword [esp + 0x5c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x6c]
cmp ebx, edx
jge 0x46fdee
mov dword [esp + 0x5c], ebx
mov ebp, dword [ecx + ebx*4]
mov esi, dword [esp + 0x3c]
cmp esi, 0xffffffff
jne 0x46fde9
mov edi, 4
jmp 0x46fda0
lea edi, [esi + 1]
jmp 0x46fda0
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0xbd5718]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x46fe2f
movzx eax, byte [ebx + 0x69]
test al, al
je 0x46fe23
mov dword [ebx + 8], 0xfffffade
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46fe39
movzx eax, byte [esp + 0xe8]
test al, al
jmp 0x46fe39
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46fe91
nop
lea eax, [0xb693c4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b6a0
call fcn.0045b930
movzx eax, byte [0xbb7491]
test al, al
je 0x46ff1b
mov byte [0xbb7491], 0
movzx eax, byte [0xbb74b4]
mov byte [0xbd5e20], al
jmp 0x46ff1b
nop
lea eax, [0xb693a8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b6a0
nop
mov dword [esp + 0xb8], 0
mov byte [esp + 0xbc], 0
lea eax, [0x456770]
mov dword [esp + 0xb8], eax
mov byte [esp + 0xbc], 0x22
lea eax, [0x897b68]
mov dword [esp + 0xc0], eax
lea eax, [esp + 0xb8]
mov dword [esp], eax
call fcn.00470cd0
nop
lea eax, [0xb693a8]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044ba00
mov eax, dword [esp + 0x60]
lea ecx, [0xbb6f2c]
lea eax, [ecx + eax*4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0x12
call fcn.0044b6a0
lea eax, [0x456610]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
movzx eax, byte [esp + 0xe8]
mov byte [esp + 0x50], al
lea ecx, [esp + 0x48]
mov dword [esp], ecx
call fcn.00470cd0
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46ffa5
mov ecx, dword [0xbd5718]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov edx, dword [0xbb5018]
mov ebx, dword [0xbb5020]
mov ecx, dword [ecx + 0x18]
xor ebp, ebp
jmp 0x47001e
lea eax, [0xb693c0]
mov dword [esp], eax
mov byte [esp + 4], 1
mov dword [esp + 8], 0
call fcn.0044ba00
movzx eax, byte [esp + 0xe8]
test al, al
je 0x46fff6
lea eax, [0xbb4b20]
mov dword [esp], eax
call fcn.00456f20
nop
lea eax, [0xb693c4]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.0044ba00
add esp, 0xe4
ret
mov esi, dword [edx + ebp*4]
mov word [esi + 0x934], 0
mov dword [esi + 0x938], 0
mov dword [esi + 0x93c], 0
inc ebp
cmp ebp, ebx
jl 0x46fffd
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
nop
mov ebp, dword [0xbd5718]
mov ebp, dword fs:[ebp]
mov ebp, dword [ebp]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x46ffa5
movzx ecx, byte [ebp + 0x69]
test cl, cl
je 0x46ffa5
mov dword [ebp + 8], 0xfffffade
jmp 0x46ffa5
call fcn.00470dc0
jmp fcn.0046f7a0