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

Disassembly:
push 0xffffffffffffffff
push 0x48edec
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.0046b7e0
lea eax, [esp + 0x2c]
mov byte [ebp + 0x9c], 0
push eax
mov ecx, ebp
call fcn.0046b760
mov dword [esp + 0x78], 0
cmp dword [esp + 0x3c], 0
jne 0x46b8b5
mov byte [esp + 0x17], 0
jmp 0x46bbf8
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 0x46b8e7
push 0x34
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov ecx, esi
call fcn.00424180
mov edi, eax
jmp 0x46b8e9
xor edi, edi
mov byte [esp + 0x78], 0
test edi, edi
je 0x46b8f7
lea esi, [edi + 8]
jmp 0x46b8f9
xor esi, esi
mov dword [esp + 0x28], esi
test esi, esi
je 0x46b908
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.004291a0
test al, al
jne 0x46b931
mov byte [esp + 0x17], al
jmp 0x46bbe8
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.004233c0
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 0x46bbb8
cmp dword [esp + 0x24], 0x84
jne 0x46bbb8
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.00424e70
add esp, 8
mov byte [esp + 0x78], 4
cmp dword [esp + 0x54], 0
je 0x46bba3
lea edx, [edi - 0x10]
mov edi, 0xc
lea eax, [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x46bba3
add eax, 4
add edx, 4
sub edi, 4
jae 0x46b9e6
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.00402eb0
jmp 0x46bbbd
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.00402eb0
jmp 0x46bbbd
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 2
test ebx, ebx
je 0x46bbe8
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 0x46bbf8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x46bc14
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.0047ff74
add esp, 0x68
ret