Function at 0x46e5a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51717c
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.0046e530
lea eax, [esp + 0x2c]
mov byte [ebp + 0x9c], 0
push eax
mov ecx, ebp
call fcn.0046e3b0
mov dword [esp + 0x78], 0
cmp dword [esp + 0x3c], 0
jne 0x46e605
mov byte [esp + 0x17], 0
jmp 0x46e948
push 0x34
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x78], 1
test esi, esi
je 0x46e637
push 0x34
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.0045ea90
mov edi, eax
jmp 0x46e639
xor edi, edi
mov byte [esp + 0x78], 0
test edi, edi
je 0x46e647
lea esi, [edi + 8]
jmp 0x46e649
xor esi, esi
mov dword [esp + 0x28], esi
test esi, esi
je 0x46e658
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x78], 2
lea eax, [esp + 0x2c]
push ecx
push 3
push 1
push 0x80000000
push eax
lea ecx, [edi + 0x18]
call fcn.0046fb00
test al, al
jne 0x46e681
mov byte [esp + 0x17], al
jmp 0x46e938
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 3
lea eax, [esp + 0x17]
push eax
push 0x84
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0
call fcn.00445680
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0
mov ecx, esi
mov eax, dword [esi]
push 0x84
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x46e908
cmp dword [esp + 0x24], 0x84
jne 0x46e908
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov eax, edi
mov edx, ebx
sub eax, ebx
push ecx
add eax, 0xfffffff0
lea ecx, [esp + 0x48]
push eax
call fcn.0046e010
add esp, 8
mov byte [esp + 0x78], 4
cmp dword [esp + 0x54], 0
je 0x46e8f3
lea edx, [edi - 0x10]
mov edi, 0xc
lea eax, [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x46e8f3
add eax, 4
add edx, 4
sub edi, 4
jae 0x46e736
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], ecx
movzx ecx, byte [ebx + 4]
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 7]
shl ecx, 8
or ecx, eax
or dword [ebp + 8], ecx
movzx eax, byte [ebx + 8]
movzx ecx, byte [ebx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [ebp], 0
mov dword [ebp + 4], ecx
movzx eax, byte [ebx + 0xc]
movzx ecx, byte [ebx + 0xd]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xf]
shl ecx, 8
or ecx, eax
or dword [ebp], ecx
movzx ecx, byte [ebx + 0x10]
movzx eax, byte [ebx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], ecx
movzx eax, byte [ebx + 0x14]
movzx ecx, byte [ebx + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x17]
shl ecx, 8
or ecx, eax
or dword [ebp + 0x10], ecx
movzx eax, byte [ebx + 0x18]
shl eax, 0x18
mov dword [ebp + 0x18], eax
movzx edx, byte [ebx + 0x19]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x18], edx
movzx ecx, byte [ebx + 0x1a]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x18], ecx
movzx eax, byte [ebx + 0x1b]
or eax, ecx
mov byte [esp + 0x17], 1
mov dword [ebp + 0x18], eax
movzx eax, byte [ebx + 0x1c]
shl eax, 0x18
mov dword [ebp + 0x1c], eax
movzx edx, byte [ebx + 0x1d]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x1c], edx
movzx ecx, byte [ebx + 0x1e]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x1c], ecx
movzx eax, byte [ebx + 0x1f]
or eax, ecx
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx + 0x20]
shl eax, 0x18
mov dword [ebp + 0x20], eax
movzx edx, byte [ebx + 0x21]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x20], edx
movzx ecx, byte [ebx + 0x22]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x20], ecx
movzx eax, byte [ebx + 0x23]
or eax, ecx
mov dword [ebp + 0x20], eax
movdqu xmm0, xmmword [ebx + 0x24]
movdqu xmmword [ebp + 0x24], xmm0
movdqu xmm0, xmmword [ebx + 0x34]
movdqu xmmword [ebp + 0x34], xmm0
movdqu xmm0, xmmword [ebx + 0x44]
movdqu xmmword [ebp + 0x44], xmm0
movdqu xmm0, xmmword [ebx + 0x54]
movdqu xmmword [ebp + 0x54], xmm0
movdqu xmm0, xmmword [ebx + 0x64]
movdqu xmmword [ebp + 0x64], xmm0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.004048e0
jmp 0x46e90d
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.004048e0
jmp 0x46e90d
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 2
test ebx, ebx
je 0x46e938
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 0
test esi, esi
je 0x46e948
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x46e964
push dword [esp + 0x2c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov al, byte [esp + 0x17]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00505b1e
add esp, 0x68
ret