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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x46f619
sub esp, 0xbc
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.004595e6
mov ecx, dword [esp + 0xc0]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x46f03e
mov dword [esp], ecx
mov eax, dword [esp + 0xc4]
mov dword [esp + 4], eax
call fcn.00470710
lea edi, [esp + 0x94]
lea esi, [esp + 8]
call fcn.00459a9c
lea edi, [esp + 0xc8]
lea esi, [esp + 0x94]
call fcn.00459a9c
add esp, 0xbc
ret
mov dword [esp], ecx
call fcn.0046eee0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc4]
test edx, edx
jl 0x46f600
cmp edx, eax
jge 0x46f600
shl edx, 4
mov ebx, dword [ecx + edx + 4]
mov dword [esp + 0x58], ebx
mov ebp, dword [ecx + edx + 0xc]
mov dword [esp + 0x54], ebp
mov ecx, dword [ecx + edx]
nop
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00456390
mov eax, dword [esp + 8]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
test eax, eax
je 0x46f0cb
lea ecx, [eax + 3]
mov dword [esp + 0x8c], ecx
movzx ecx, byte [eax + 1]
shl ecx, 8
movzx eax, byte [eax + 2]
or ecx, eax
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], ecx
nop
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.004563d0
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
movzx ecx, word [eax + 0x20]
test cx, cx
jne 0x46f592
xor ecx, ecx
lea eax, [0x4bfe40]
mov dword [esp], eax
mov dword [esp + 4], 0
inc ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.00441bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
cmp ecx, 1
jb 0x46f554
mov edx, 1
lea ebp, [0x4e9384]
mov dword [eax], ebp
mov esi, dword [0x579ba0]
test esi, esi
jne 0x46f535
mov esi, dword [esp + 0xc0]
mov dword [eax + 4], esi
mov ebx, esi
mov esi, dword [esp + 0x70]
movzx ebp, byte [esi + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x46f52b
mov ebp, 0x34
mov edi, ebp
movzx ebp, word [esi + 0x20]
test bp, bp
jne 0x46f50f
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], edi
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
jmp 0x46f1c9
mov edx, dword [esp + 0x50]
inc edx
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov esi, dword [esp + 0x50]
cmp esi, ebp
jge 0x46f266
mov ebp, dword [edi + esi*4]
mov dword [esp + 0x7c], ebp
lea esi, [edx + 1]
cmp ecx, esi
jb 0x46f222
mov dword [esp + 0x40], esi
lea esi, [eax + edx*8]
lea ebp, [0x4e9384]
mov dword [esi], ebp
mov esi, dword [0x579ba0]
lea ebp, [eax + edx*8 + 4]
test esi, esi
jne 0x46f20d
mov esi, dword [esp + 0x7c]
mov dword [ebp], esi
jmp 0x46f1b0
mov edx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x7c]
call fcn.004593e0
mov eax, esi
mov edi, edx
jmp 0x46f1b0
lea ebx, [0x4bfe40]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00441c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x68]
mov ecx, edx
mov edx, dword [esp + 0x40]
jmp 0x46f1e7
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x78], eax
mov ebp, dword [esp + 0x70]
movzx esi, word [ebp + 0x22]
and esi, 0x7fff
test si, si
jne 0x46f4e8
xor esi, esi
mov dword [esp + 0x3c], esi
lea eax, [0x4bfe40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call fcn.00441bc0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x70]
movzx edx, byte [ecx + 0xc]
test dl, 1
je 0x46f4de
mov edx, 0x34
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
test bp, bp
jne 0x46f49c
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x64], ebx
mov esi, dword [esp + 0x3c]
xor ebp, ebp
xor edi, edi
jmp 0x46f2fd
inc ebp
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x64]
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x38], edi
cmp edx, ebp
jle 0x46f384
mov ecx, dword [ebx + ebp*4]
lea ebx, [edi + 1]
cmp esi, ebx
jb 0x46f33d
mov dword [esp + 0x38], ebx
lea edx, [eax + edi*8]
lea ebx, [0x4e9384]
mov dword [edx], ebx
mov edx, dword [0x579ba0]
lea edi, [eax + edi*8 + 4]
test edx, edx
jne 0x46f330
mov dword [edi], ecx
jmp 0x46f2e8
mov edx, eax
mov eax, ecx
call fcn.004593e0
mov eax, edx
jmp 0x46f2e8
mov dword [esp + 0x50], ebp
mov dword [esp + 0x6c], ecx
lea ecx, [0x4bfe40]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.00441c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
jmp 0x46f30f
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], eax
mov dword [esp], ecx
call fcn.0046fa70
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], al
call fcn.00473090
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
lea eax, [0x4b2940]
mov dword [esp], eax
call fcn.0040b0e0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.00456410
mov eax, dword [0x579ba0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x46f48a
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
lea ecx, [0x4e9384]
mov edx, dword [esp + 0x84]
cmp ecx, edx
jne 0x46f5a4
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0x13
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xec], eax
add esp, 0xbc
ret
mov edi, dword [esp + 0x88]
mov eax, ecx
call fcn.004593e0
mov eax, edi
jmp 0x46f440
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
mov ebx, esi
lea esi, [edx + ecx]
cmp ebp, 0x100000
ja 0x46f5c9
movzx edx, bx
cmp ebp, edx
jb 0x46f5c0
sub ebp, edx
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
add ebp, esi
mov edx, ebx
mov ebx, ebp
jmp 0x46f2d6
mov edx, 0x24
jmp 0x46f2bf
movzx edi, word [ebp + 0x20]
add esi, edi
movzx esi, si
cmp esi, 0x100000
ja 0x46f5de
movzx edi, di
cmp esi, edi
jb 0x46f5d5
sub esi, edi
jmp 0x46f287
movzx ebp, bp
add esi, edi
cmp ebp, 0x100000
ja 0x46f5ea
mov edi, esi
mov esi, dword [esp + 0x70]
jmp 0x46f198
mov ebp, 0x24
jmp 0x46f185
lea edi, [eax + 4]
mov ebx, eax
mov eax, dword [esp + 0xc0]
call fcn.004593e0
mov eax, ebx
mov esi, dword [esp + 0xc0]
jmp 0x46f16b
lea edx, [0x4bfe40]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
call fcn.00441c70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, edx
mov edx, ecx
mov ecx, ebx
jmp 0x46f14b
movzx edx, cx
cmp edx, 0x100000
ja 0x46f5f6
mov ecx, edx
jmp 0x46f116
mov dword [esp], edx
lea eax, [0x4c1880]
mov dword [esp + 4], eax
lea eax, [0x4bfe40]
mov dword [esp + 8], eax
call fcn.00408870
mov eax, edx
mov ecx, ebp
call fcn.00459500
mov edx, ebp
mov ebx, 0x100000
call fcn.004594e0
mov eax, edi
mov ecx, esi
call fcn.00459500
mov edx, esi
mov ebx, 0x100000
call fcn.004594e0
mov edx, ebp
mov ebx, 0x100000
call fcn.004594e0
mov ebx, 0x100000
call fcn.004594e0
lea eax, [0x4b2700]
mov dword [esp], eax
lea eax, [0x4e7a0c]
mov dword [esp + 4], eax
call fcn.00430030
nop
call fcn.00457e80
jmp fcn.0046efc0