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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548178
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ac020]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5ac020]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.0048f930
test eax, eax
je 0x48fe48
xor eax, eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [esp + 0x50], 1
lea eax, [esp + 0x24]
push 1
push ebx
push 0x57faa0
push eax
call fcn.00401a00
add esp, 0x10
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 8
lea ecx, [edi + 0x104]
cmovae eax, dword [esp + 0x28]
push esi
push eax
call fcn.00420330
test eax, eax
jne 0x48fc8e
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x24], vtable.cafx::tstring_ex_wchar_t__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x3c], 8
jb 0x48fc72
push dword [esp + 0x28]
call fcn.0051d3d0
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jmp 0x48fe48
push 3
push ebx
lea eax, [esp + 0x2c]
push 0x57faa0
push eax
call fcn.00401a00
add esp, 0x10
lea eax, [esp + 0x28]
cmp dword [esp + 0x3c], 8
lea ecx, [edi + 0x10c]
cmovae eax, dword [esp + 0x28]
push esi
push eax
call fcn.00420330
test eax, eax
je 0x48fe37
mov ecx, dword [edi + 0x104]
call fcn.00419e10
mov ecx, dword [edi + 0x108]
mov esi, eax
test ecx, ecx
je 0x48fced
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [edi + 0x108], 0
mov dword [edi + 0x108], esi
mov ecx, dword [edi + 0x10c]
call fcn.00419e10
mov ecx, dword [edi + 0x110]
mov esi, eax
test ecx, ecx
je 0x48fd1a
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [edi + 0x110], 0
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov dword [edi + 0x110], esi
mov esi, 0x56c344
mov eax, esi
cmovne eax, ecx
lea ecx, [edi + 0x114]
push eax
call fcn.00401fc0
mov ecx, dword [esp + 0x20]
mov eax, esi
test ecx, ecx
cmovne eax, ecx
lea ecx, [edi + 0x12c]
push eax
call fcn.00401fc0
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x144]
test eax, eax
cmovne esi, eax
push esi
call fcn.00401fc0
push 0
mov ecx, edi
call fcn.0048fe70
push 1
mov ecx, edi
mov dword [edi + 0xec], eax
call fcn.0048fe70
mov ecx, dword [edi + 0x1ac]
mov dword [edi + 0xf0], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [edi + 0xf4], eax
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [edi + 0xf8], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [edi + 0xfc], eax
mov eax, dword [ecx + 8]
mov eax, dword [eax]
mov dword [edi + 0x100], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0xe4], eax
test al, 4
je 0x48fdd0
mov dword [edi + 0xe8], 4
jmp 0x48fdec
test al, 2
je 0x48fde0
mov dword [edi + 0xe8], 2
jmp 0x48fdec
movzx eax, al
and eax, 1
mov dword [edi + 0xe8], eax
push 1
push 1
push 2
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
mov ecx, edi
push dword [esp + 0x3c]
call fcn.004c7640
test eax, eax
je 0x48fe37
mov ecx, dword [edi + 0x78]
sub esp, 0xc
push edi
call fcn.004913e0
mov ecx, edi
call fcn.004900a0
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004021a0
mov eax, 1
jmp 0x48fe4a
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.004021a0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004ffcef
mov esp, ebp
pop ebp
ret 0x2c