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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov ebx, dword [ebp + 0xc]
mov edi, edx
mov dword [esp + 0x18], ecx
cmp byte [ebx + 0xe6], 0
je 0x48ff26
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0x20]
mov ecx, dword [eax + 0x24]
cmp esi, ecx
jbe 0x48ffae
inc ecx
mov dword [eax + 0x24], ecx
movzx eax, byte [ebx + 0xe1]
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test al, al
mov dword [esp + 0x10], esi
mov byte [esp + 7], al
jne 0x48ff4a
cmp byte [ebx + 0x20], 6
jb 0x49035f
lea edx, [ebx + 0x20]
mov dword [esp + 0x4c], edx
mov eax, dword [0x94bccc]
test eax, eax
je 0x490169
movzx eax, byte [edx]
mov ecx, eax
add cl, 0xfa
cmp cl, 6
jb 0x490353
mov ecx, eax
add cl, 0xfd
cmp cl, 2
ja 0x48ff82
cmp cl, 1
jne 0x490353
movzx eax, al
test eax, eax
je 0x490353
cmp eax, 1
jne 0x490339
mov ecx, dword [ebx + 0x28]
lea eax, [ebx + 0x34]
push dword [ebx + 0x30]
push dword [ebx + 0x2c]
push eax
call dword [ecx + 0xc]
add esp, 0xc
jmp 0x490353
mov eax, dword [0x94bccc]
cmp eax, 3
ja 0x490138
movzx eax, byte [0x94a428]
test al, al
je 0x490138
movzx eax, al
cmp eax, 1
je 0x48fff2
cmp eax, 2
je 0x490036
mov ecx, 0x94a420
call fcn.007d3740
test al, al
je 0x490138
movzx eax, al
cmp eax, 2
je 0x490036
mov eax, dword [0x94a420]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x490138
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x490026
mov edi, dword [ecx + 8]
dec edi
and edi, 0xfffffff8
lea edx, [edi + edx + 8]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x490138
mov eax, dword [0x94a420]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4903a7
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x34], 0x827aa8
mov dword [esp + 0x38], 2
mov dword [esp + 0x44], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edx
lea edx, [esp + 0xc]
movlps qword [esp + 0x70], xmm0
mov dword [esp + 0x78], 0
mov dword [esp + 0x28], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], fcn.00412930
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x40], 1
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x24], 0x81c698
mov dword [esp + 0x80], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x490138
cmp dword [0x94bcc0], 0
mov edi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x490120
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
lea ebx, [esp + 0x50]
push ebx
push edi
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x490138
push ebx
push edi
call dword [esi + 0x2c]
add esp, 8
mov eax, dword [esp + 0x18]
mov word [eax], 0x101
mov dword [eax + 4], 0xb
mov dword [eax + 8], 0x81c308
mov dword [eax + 0xc], str.too_many_resetsassertion_failed:_self.max_stream_id___last_processed_id
mov dword [eax + 0x10], 0xf
mov dword [eax + 0x14], 0
jmp 0x490396
movzx eax, byte [0x94a4e8]
test al, al
je 0x48ff5e
movzx eax, al
cmp eax, 1
je 0x4901a7
cmp eax, 2
je 0x4901ff
mov ecx, 0x94a4e0
mov dword [esp + 8], edx
call fcn.007d3740
test al, al
je 0x49039e
mov edx, dword [esp + 8]
movzx eax, al
cmp eax, 2
je 0x4901ff
mov eax, dword [0x94a4e0]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x48ff5e
mov dword [esp + 8], edx
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x4901eb
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp + 0x14]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
mov edx, dword [esp + 8]
test al, al
je 0x48ff5e
mov eax, dword [0x94a4e0]
mov dword [esp + 8], edx
mov edx, dword [eax + 0x20]
test edx, edx
je 0x4903bb
mov esi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 0x68], 0x827f94
mov dword [esp + 0x6c], 3
mov dword [esp + 0x78], 0
lea ecx, [eax + 0x1c]
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], edx
lea edx, [esp + 0xc]
movlps qword [esp + 0x88], xmm0
mov dword [esp + 0x90], 0
mov dword [esp + 0x34], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x38], 0x4903d0
mov dword [esp + 0x3c], edx
lea edx, [esp + 7]
mov dword [esp + 0x40], 0x484270
mov dword [esp + 0x44], edx
lea edx, [esp + 0x34]
mov dword [esp + 0x48], 0x408c80
mov dword [esp + 0x70], edx
lea edx, [esp + 0x80]
mov dword [esp + 0x74], 3
mov dword [esp + 0x28], edx
lea edx, [esp + 0x68]
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x30], 0x81c698
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 1
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x490328
cmp dword [0x94bcc0], 0
mov edi, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov esi, dword [0x94bcc8]
je 0x49030c
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea edi, [eax + edi + 8]
lea eax, [esp + 0x50]
push eax
push edi
call dword [esi + 0x28]
add esp, 8
test al, al
je 0x490328
lea eax, [esp + 0x50]
push eax
push edi
call dword [esi + 0x2c]
add esp, 8
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 8]
jmp 0x48ff5e
test dword [ebx + 0x24], 0x7fffffff
je 0x490353
push dword [ebx + 0x28]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov word [ebx + 0x20], 0x200
mov dword [ebx + 0x24], edi
mov dword [ebx + 0x28], esi
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov dword [ebx + 0x40], 0
test eax, eax
je 0x490377
push ecx
call dword [eax + 4]
add esp, 4
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov dword [ebx + 0x50], 0
test eax, eax
je 0x49038f
push ecx
call dword [eax + 4]
add esp, 4
mov eax, dword [esp + 0x18]
mov byte [eax], 3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [esp + 8]
jmp 0x48ff5e
mov ecx, 0x8a6758
mov edx, 0x22
push 0x827a54
call fcn.007c2000
mov ecx, 0x8a6758
mov edx, 0x22
push 0x827f68
call fcn.007c2000
int3