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

Disassembly:
push 0xffffffffffffffff
push 0x10143b22
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1019c828]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
mov esi, dword [eax + 0x64]
mov eax, dword [eax + 0x20]
mov eax, dword [eax + 0xe8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push eax
call edx
test al, al
je 0x10048d4e
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x34], vtable.V4CSilArcFilter.0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x38], 1
lea ecx, [esp + 0x28]
lea eax, [esp + 0x34]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xb8], 1
mov dword [esp + 0x8c], 0x101554ac
mov byte [esp + 0x90], 1
mov dword [esp + 0x94], ebx
mov dword [esp + 0x2c], eax
call fcn.10032260
lea eax, [esp + 0x28]
lea edx, [esp + 0x88]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edx
call fcn.10032260
mov ebp, dword [esp + 0xcc]
mov ecx, dword [ebp + 4]
push ecx
lea edx, [esp + 0x7c]
push esi
push edx
call fcn.100443e0
mov edi, dword [ebp + 4]
mov eax, dword [esp + 0xc8]
push edi
push esi
push eax
call fcn.10045340
add esp, 0x18
cmp eax, ebx
jne 0x10048d74
mov edi, 1
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0xbc]
push edi
push ecx
push esi
push edx
call fcn.10044c80
add esp, 0x10
test al, al
je 0x10048ccb
mov edx, dword [ebp + 4]
fldz
lea eax, [esp + 0x28]
fstp qword [esp + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
push edx
push esi
call fcn.10044290
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push 0
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0xd8]
push ecx
push edx
push esi
push eax
call fcn.100449b0
fld qword [esp + 0xec]
fcomp qword [esp + 0x58]
add esp, 0x2c
fnstsw ax
test ah, 5
jp 0x10048cd8
add edi, 1
add ebx, 1
cmp edi, 4
jl 0x10048c62
jmp 0x10048ce0
lea eax, [ebx + 1]
cmp eax, 0xffffffff
jne 0x10048d55
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebp, eax
jbe 0x10048cfe
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
lea esi, [esp + 0x14]
mov edi, ecx
jbe 0x10048d0a
call ebx
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.10047950
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
je 0x10048d31
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
cmp eax, esi
je 0x10048d4e
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x100490cb
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ebp + 4]
push eax
push esi
push ecx
call fcn.100481a0
add esp, 0x14
xor ebx, ebx
jmp 0x10048d9f
fld qword [esp + 0xc0]
lea edx, [esp + 0x14]
push edx
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
push ecx
fstp dword [esp]
push eax
mov eax, dword [esp + 0xc8]
push edi
push esi
push eax
call fcn.10047dc0
add esp, 0x18
xor edi, edi
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
mov eax, dword [esp + 0x1c]
jne 0x10048db1
xor edx, edx
jmp 0x10048db8
mov edx, eax
sub edx, ecx
sar edx, 2
cmp edi, edx
jge 0x10048dec
cmp ecx, ebx
je 0x10048dc9
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10048dd3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, eax
cmp esi, ebx
jne 0x10048e79
add edi, 1
jmp 0x10048da1
cmp ecx, eax
mov edi, eax
jbe 0x10048e00
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov esi, ecx
jbe 0x10048e14
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp esi, edi
je 0x10048e40
sub eax, edi
sar eax, 2
cmp eax, ebx
lea edx, [eax*4]
lea ebp, [edx + esi]
jle 0x10048e3c
push edx
push edi
push edx
push esi
call dword [sym.imp.MSVCR80.dll_memmove_s]
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x10048e55
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
je 0x10048d4e
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x100490cb
mov eax, dword [esi]
sub eax, ebx
je 0x10048ffb
sub eax, 1
je 0x10048f6e
sub eax, 1
je 0x10048efd
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
mov ebp, ecx
jbe 0x10048ead
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
lea esi, [esp + 0x14]
mov edi, eax
jbe 0x10048ebd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.10047950
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x10048f57
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
cmp eax, ebx
jmp 0x10048d43
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add esp, 4
cmp ecx, eax
mov ebp, eax
jbe 0x10048f22
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
lea esi, [esp + 0x14]
mov edi, ecx
jbe 0x10048f32
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
lea edx, [esp + 0x3c]
push edx
mov ecx, eax
call fcn.10047950
mov eax, dword [esp + 0x60]
cmp eax, ebx
je 0x10048f57
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
cmp eax, ebx
jmp 0x10048d43
mov eax, dword [esi + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x70], ecx
mov edx, dword [esi + 0x18]
push 0x30
mov dword [esp + 0x78], edx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0xb4], 3
je 0x10048fb9
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x70]
push edx
push ecx
push esi
mov ecx, eax
call fcn.10046450
mov ebx, eax
mov byte [ebx + 0x10], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov ebp, eax
jbe 0x10048fd9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
lea esi, [esp + 0x14]
mov edi, ecx
jbe 0x10048fe9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
push edi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x3c]
push edx
jmp 0x10049090
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x88]
push ecx
mov ecx, dword [esp + 0xc4]
lea edx, [esi + 0x10]
push edx
lea eax, [esi + 4]
push eax
push ecx
call fcn.10030d80
push 0x30
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x18
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0xb4], 2
je 0x10049053
lea edx, [esp + 0x78]
push edx
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0x70]
push ecx
push edx
push esi
mov ecx, eax
call fcn.10046450
mov ebx, eax
mov byte [ebx + 0x10], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov ebp, eax
jbe 0x10049073
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
lea esi, [esp + 0x14]
mov edi, ecx
jbe 0x10049083
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push esi
lea eax, [esp + 0x1c]
push edi
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.10047950
mov eax, dword [esp + 0x60]
xor esi, esi
cmp eax, esi
je 0x100490ac
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], esi
je 0x100490c9
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret