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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
movzx ebx, byte [ecx]
mov esi, ecx
mov eax, 6
mov bh, bl
movzx edi, bl
add bh, 0xfa
movzx ecx, bh
cmp bh, 6
cmovb eax, ecx
cmp al, 3
je 0x492309
movzx eax, al
cmp eax, 5
jne 0x4926f9
mov eax, dword [0x94bccc]
test eax, eax
je 0x492365
cmp bh, 6
jb 0x4926be
mov eax, ebx
add al, 0xfd
cmp al, 2
ja 0x4922e0
cmp al, 1
jne 0x4926be
test bl, bl
je 0x4926be
cmp edi, 1
jne 0x4926a4
mov ecx, dword [esi + 8]
lea eax, [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
call dword [ecx + 0xc]
add esp, 0xc
jmp 0x4926be
movzx edx, byte [esi + 2]
mov byte [esp + 0xb], dl
mov eax, dword [0x94bccc]
test eax, eax
je 0x4924f5
cmp bh, 6
jb 0x4926e1
add bl, 0xfd
cmp bl, 2
ja 0x492338
cmp bl, 1
jne 0x4926e1
test edi, edi
je 0x4926e1
cmp edi, 1
jne 0x4926c3
mov ecx, dword [esi + 8]
lea eax, [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
mov ebx, edx
call dword [ecx + 0xc]
mov edx, ebx
add esp, 0xc
jmp 0x4926e1
movzx eax, byte [0x94a518]
test al, al
je 0x4922c7
movzx eax, al
cmp eax, 1
je 0x49239b
cmp eax, 2
je 0x4923eb
mov ecx, 0x94a510
call fcn.007d3740
test al, al
je 0x4922c7
movzx eax, al
cmp eax, 2
je 0x4923eb
mov eax, dword [0x94a510]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x4922c7
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x4923db
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp + 4]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
test al, al
je 0x4922c7
mov eax, dword [0x94a510]
mov dword [esp + 4], edi
mov edx, dword [eax + 0x20]
test edx, edx
je 0x492743
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esp + 0x44], 0x8280a4
mov dword [esp + 0x48], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x4c], 0x93d1f8
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
lea edx, [esp + 0x5c]
movlps qword [esp + 0x64], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x44]
mov dword [esp + 0x30], edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x34], 0x81c698
mov dword [esp + 0x38], edx
lea edx, [esp + 0x38]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov eax, dword [0x94bfb8]
mov edi, dword [esp + 4]
cmp eax, 2
jne 0x4922c7
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x4924c1
mov eax, dword [ecx + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0x70], edx
push eax
push edx
mov dword [esp + 0x14], ecx
call dword [ecx + 0x28]
add esp, 8
test al, al
je 0x4922c7
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x74]
mov eax, dword [esp + 0x14]
call dword [eax + 0x2c]
add esp, 8
jmp 0x4922c7
movzx eax, byte [0x94a50c]
test al, al
je 0x49231e
movzx eax, al
cmp eax, 1
je 0x492534
cmp eax, 2
je 0x49258d
mov ecx, 0x94a504
mov byte [esp + 4], dl
call fcn.007d3740
test al, al
je 0x4926ef
movzx edx, byte [esp + 4]
movzx eax, al
cmp eax, 2
je 0x49258d
mov eax, dword [0x94a504]
mov ecx, dword [0x94bfb8]
cmp ecx, 2
jne 0x49231e
mov byte [esp + 4], dl
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x492578
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 8]
dec ecx
and ecx, 0xfffffff8
lea edx, [ecx + edx + 8]
mov ecx, dword [esp + 0xc]
push eax
push edx
call dword [ecx + 0x14]
add esp, 8
movzx edx, byte [esp + 4]
test al, al
je 0x49231e
mov eax, dword [0x94a504]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x492757
lea ecx, [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x44], 0x82805c
mov dword [esp + 0x48], 2
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0xb]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x38]
movlps qword [esp + 0x64], xmm0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x78], 0x484880
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x50], 1
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], 0x81c698
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ecx
mov eax, dword [0x94bfb8]
cmp eax, 2
jne 0x49269a
cmp dword [0x94bcc0], 0
mov edx, dword [str.SetGlobalDefaultErrora_global_default_trace_dispatcher_has_already_been_set]
mov ecx, dword [0x94bcc8]
je 0x49266f
mov eax, dword [ecx + 8]
dec eax
and eax, 0xfffffff8
lea edx, [eax + edx + 8]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], edx
push eax
push edx
mov dword [esp + 0xc], ecx
call dword [ecx + 0x28]
add esp, 8
test al, al
je 0x49269a
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call dword [eax + 0x2c]
add esp, 8
movzx edx, byte [esp + 0xb]
jmp 0x49231e
test dword [esi + 4], 0x7fffffff
je 0x4926be
push dword [esi + 8]
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov byte [esi], 3
jmp 0x4926e7
test dword [esi + 4], 0x7fffffff
je 0x4926e1
push dword [esi + 8]
push 0
push dword [0x94bf18]
mov ebx, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, ebx
mov byte [esi], 0xa
mov byte [esi + 1], dl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esp + 4]
jmp 0x49231e
lea ecx, [esp + 0x44]
lea eax, [esp + 0x5c]
mov dword [esp + 0x10], 0x8280cc
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 0
mov edx, 0x8280d4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0x484270
mov dword [esp + 0x1c], 1
call fcn.007c1b50
mov ecx, 0x8a6758
mov edx, 0x22
push 0x82806c
call fcn.007c2000
mov ecx, 0x8a6758
mov edx, 0x22
push 0x828028
call fcn.007c2000
int3