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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x3c]
push 0x44
push ebp
push eax
mov dword [esp + 0x1c], ebp
call fcn.004a3fe0
call fcn.0046ee20
mov ebx, dword [esp + 0x94]
push ebx
push dword [esp + 0x9c]
movzx eax, ax
mov dword [esp + 0x2c], eax
call fcn.0046ed20
add esp, 0x14
mov esi, eax
mov dword [esp + 0x14], esi
cmp dword [esp + 0x98], ebp
je 0x46e402
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push ebp
push dword [esp + 0x94]
call fcn.0046d1d0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x46e4e3
test ebx, ebx
jne 0x46e2d9
push 1
push eax
push 0x3f6
push 1
call fcn.0043bfb0
add esp, 0x10
lea edi, [ebp + 1]
jmp 0x46e4e3
call fcn.0046ee20
movzx edi, ax
push 0
mov dword [esp + 0x18], edi
call fcn.0046f020
push ebx
push esi
call fcn.0046ed20
add esp, 0xc
test eax, eax
je 0x46e3dc
push eax
call fcn.0046ee90
add esp, 4
test ax, ax
je 0x46e3dc
call fcn.0046ee30
mov esi, eax
mov ax, word [esi + 4]
mov word [esp + 0x1c], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x4baf8d
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
test eax, eax
jne 0x46e344
call fcn.0042b3e0
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
test ecx, ecx
je 0x46e381
test dword [ecx], 0xfffbffff
je 0x46e381
mov eax, dword [esi]
push ecx
push 6
push esi
mov eax, dword [eax + 0x94]
call eax
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46e3af
mov eax, dword [esi]
push dword [esp + 0x10]
push esi
mov eax, dword [eax + 0x34]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x46e3af
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov eax, dword [eax + 0x90]
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x46e3cc
call fcn.0046ef70
mov ecx, dword [esp + 0x14]
movzx eax, cx
push eax
call fcn.0046f020
add esp, 4
test edi, edi
jne 0x46e4e3
call fcn.0046ee30
mov ebp, eax
mov dword [esp + 0x40], ebp
jmp 0x46e4e3
movzx eax, di
push eax
call fcn.0046f020
push 1
push 0
push 0x3f7
push 1
call fcn.0043bfb0
add esp, 0x14
mov edi, 1
jmp 0x46e4e3
push 0
push esi
call fcn.0046cbc0
add esp, 8
test eax, eax
jne 0x46e430
push 1
push eax
push 0x3ed
push 1
call fcn.0043bfb0
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
cmp word [eax + 0x22], 2
jne 0x46e4f6
push dword [esp + 0x94]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x44]
push eax
push 0
push dword [esp + 0x94]
call fcn.0046d1d0
mov edi, eax
add esp, 0x14
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0x40], eax
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x46e49b
mov ecx, dword [esp + 0x7c]
movzx esi, bx
inc ebx
mov ax, word [ecx + esi*4 + 2]
movzx edx, word [ecx + esi*4]
mov word [ecx + esi*4], ax
mov eax, dword [esp + 0x7c]
mov word [eax + esi*4 + 2], dx
cmp bx, word [esp + 0x7a]
jb 0x46e472
mov esi, dword [esp + 0x14]
test edi, edi
jne 0x46e4e3
push dword [esp + 0xbc]
push dword [esp + 0x14]
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x4baf8d
push edi
push esi
push dword [esp + 0xac]
call fcn.0046ddd0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x46e4e3
call fcn.0046ee30
mov ebp, eax
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46e552
push eax
call fcn.00425800
add esp, 4
jmp 0x46e552
push dword [esp + 0xbc]
push 0
push dword [esp + 0x98]
push dword [esp + 0xc4]
push 1
push 1
push 0x4baf8d
push 0
push esi
push ebx
call fcn.0046ddd0
mov edi, eax
add esp, 0x28
test edi, edi
jne 0x46e714
call fcn.0046ee30
push dword [esp + 0x94]
mov ebp, eax
lea eax, [esp + 0x40]
push edi
push eax
push dword [esp + 0x90]
push ebp
call fcn.0046d1d0
add esp, 0x14
mov edi, eax
test edi, edi
jne 0x46e714
mov eax, dword [esp + 0x3c]
movzx eax, word [eax + 4]
push eax
call fcn.0046f020
mov eax, dword [esp + 0xa0]
movaps xmm0, xmmword [0x4c16f0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb8]
push 0x4c199c
push 4
mov dword [esp + 0x68], eax
movups xmmword [esp + 0x6c], xmm0
mov dword [esp + 0x7c], edi
call fcn.004229d0
push eax
lea ecx, [esp + 0x4c]
push edi
mov dword [eax], ecx
call fcn.00425340
mov ecx, dword [esp + 0x54]
mov ebx, eax
push ebx
push 0x94
push ecx
mov edx, dword [ecx]
mov dword [esp + 0x34], ebx
mov ecx, dword [edx + 0x94]
call ecx
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x46e70b
cmp word [esp + 0x7a], ax
jne 0x46e612
lea edi, [eax + 1]
jmp 0x46e62b
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0xbc]
call eax
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x40]
push ebx
push 0x94
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x94]
call eax
add esp, 0xc
test edi, edi
jne 0x46e70b
test byte [esp + 0x78], 4
je 0x46e70b
push edi
call fcn.00422fe0
mov esi, eax
add esp, 4
xor eax, eax
cmp ax, word [esp + 0x7a]
jae 0x46e700
nop
mov ecx, dword [esp + 0x7c]
movzx edx, di
movzx eax, word [ecx + edx*4]
lea ebx, [ecx + edx*4]
mov ecx, dword [esp + 0x3c]
push esi
push 0x66
push eax
mov edx, dword [ecx]
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x46e6e7
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x66
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
test eax, eax
jne 0x46e6e7
push esi
call fcn.004237d0
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x14
test eax, eax
jne 0x46e6e7
mov ecx, dword [esp + 0x40]
movzx eax, word [ebx + 2]
push esi
push 0x67
mov edx, dword [ecx]
push eax
push ecx
mov eax, dword [edx + 0x48]
call eax
add esp, 0x10
push esi
call fcn.004237d0
inc edi
add esp, 4
cmp di, word [esp + 0x7a]
jb 0x46e670
mov ebx, dword [esp + 0x14]
push esi
call fcn.00425800
add esp, 4
xor edi, edi
push ebx
call fcn.00425800
add esp, 4
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x46e725
push eax
call fcn.00434080
add esp, 4
test ebp, ebp
je 0x46e73b
movzx eax, word [ebp + 4]
push eax
call fcn.0046f020
add esp, 4
call fcn.0046ef70
mov eax, dword [esp + 0x18]
movzx eax, ax
push eax
call fcn.0046f020
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret