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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0x1c]
push edi
mov dword [esp + 0x18], ebx
call fcn.004c332c
cmp dword [ebx + 0xa0], 0
je 0x49fad8
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov edi, dword [ebp + 8]
push eax
mov ecx, dword [edi + 0xac]
call fcn.0048279a
jmp 0x49fadb
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
xor ecx, ecx
inc ecx
cmp eax, 0xe
je 0x49fb14
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
xor ecx, ecx
cmp eax, 0xd
je 0x49fb13
and dword [esp + 0x10], ecx
inc ecx
jmp 0x49fb18
inc ecx
mov dword [esp + 0x10], ecx
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xb8], ecx
movzx eax, word [ebx + 0x80]
or word [esp + 0x2c], ax
mov dword [esp + 0x28], ecx
mov ecx, ebx
push edi
mov word [edi + 0x18], ax
mov dword [esp + 0x28], 2
call fcn.0049cb8d
mov ax, word [edi + 0x18]
or word [esp + 0x2c], ax
mov eax, dword [edi + 0xc]
mov ecx, eax
and ecx, 0x800
and eax, 0x600
add ecx, ecx
or ecx, eax
mov eax, dword [esp + 0x20]
and eax, 0xffffe9ff
or ecx, eax
mov eax, dword [ebx]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x20]
push ecx
mov esi, dword [eax + 0x1a8]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov esi, dword [eax + 0xfc]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov esi, dword [eax + 0x100]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004c3b8b
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov esi, dword [eax + 0x124]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x28], 3
mov esi, dword [eax + 0xf0]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x18]
push eax
push 1
push edi
call fcn.004a1f8a
mov eax, dword [ebx]
mov edi, dword [esp + 0x30]
mov esi, dword [eax + 0x144]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, dword [ebp + 8]
movzx eax, ax
and dword [ecx + 0x3c], 0
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x44], eax
mov dword [ecx + 0x54], edi
test dword [ebx + 0x60], 0x300
je 0x49fc60
push ecx
mov ecx, ebx
call fcn.004a218f
mov eax, dword [ebx]
movzx edi, word [ebx + 0x80]
shr edi, 1
and edi, 1
mov esi, dword [eax + 0x14]
mov ecx, esi
mov dword [esp + 0x14], edi
call dword [0x4d8248]
mov ecx, ebx
call esi
cmp eax, 0xe
jne 0x49fc8d
or edi, 8
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
mov esi, dword [eax + 0x1c]
mov ecx, esi
mov edi, dword [edi + 0x1c]
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x88]
mov ebx, eax
mov edi, dword [ecx]
mov ecx, ebx
call fcn.004438f2
push 0xc
pop ecx
mov esi, eax
call fcn.00442720
mov ecx, dword [esp + 0x14]
push eax
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax], esi
mov dword [eax + 4], ebx
call fcn.004cb875
cmp dword [esp + 0x10], 0
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
jne 0x49fd39
push edi
mov ecx, ebx
call fcn.0049cb8d
test eax, eax
je 0x49fd39
push 1
push edi
mov ecx, ebx
call fcn.0049cbdb
test eax, eax
je 0x49fd03
push edi
mov ecx, ebx
call fcn.004a4261
mov eax, dword [0x4d6258]
cmp dword [eax + 0x70], 0
jne 0x49fd2c
cmp dword [eax + 0x6c], 0
je 0x49ff8a
mov ecx, dword [edi + 0x1a0]
push dword [ecx + 4]
push ebx
call fcn.004bb96e
jmp 0x49ff7f
mov eax, dword [ebx]
mov esi, dword [eax + 0x9c]
jmp 0x49ff72
mov eax, dword [0x4d6258]
mov dword [edi + 0xd0], ebx
cmp dword [eax + 0x70], 0
je 0x49fd61
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x9c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
jmp 0x49fd70
mov ecx, dword [edi + 0x1a0]
push dword [ecx + 4]
push ebx
call fcn.004bb96e
cmp dword [esp + 0x10], 0
jne 0x49ff7f
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x18c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x98]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x128]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, edi
call fcn.004b82f3
test dword [edi + 0xc], 0x10000
je 0x49fdf0
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
jne 0x49fdf0
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004b83a4
jmp 0x49fdf5
and dword [esp + 0x18], 0
mov eax, dword [ebx + 0x60]
test al, al
jns 0x49fe06
mov ecx, edi
call fcn.00486c5a
mov eax, dword [ebx + 0x60]
test eax, 0x10000
je 0x49fe14
mov ecx, edi
call fcn.004a202f
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test dword [ebx + 0x60], 0x10000
je 0x49fe3e
mov edx, 0x432b48
mov ecx, edi
call fcn.004a2111
cmp dword [esp + 0x18], 0
je 0x49fe6d
xor edx, edx
mov ecx, edi
call fcn.00488f32
mov edx, 0x432c80
mov ecx, edi
call fcn.004b83d7
mov edx, 0x42ebf0
mov ecx, edi
call fcn.004b8257
mov ecx, edi
call fcn.004b8437
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x94]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x174]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
and dword [edi + 0xb8], 0
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x7c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, edi
call fcn.004b8326
mov eax, dword [ebx + 0x60]
test eax, 0x10000
je 0x49fef7
mov edx, 0x432b5c
mov ecx, edi
call fcn.004a2111
mov eax, dword [ebx + 0x60]
test eax, 0x300
je 0x49ff05
mov ecx, edi
call fcn.004b82f3
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x84]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx + 0x60]
test eax, 0x800
je 0x49ff2e
mov ecx, edi
call fcn.004880be
mov eax, dword [ebx + 0x60]
test al, al
jns 0x49ff3c
mov ecx, edi
call fcn.00486d9c
mov eax, dword [ebx + 0x60]
test eax, 0x300
je 0x49ff63
mov ecx, edi
call fcn.004b8326
mov eax, dword [ebx + 0x60]
mov ecx, ebx
shr eax, 9
and eax, 1
push eax
push edi
call fcn.004a0b6c
mov ecx, edi
call fcn.004b836e
mov ecx, edi
call fcn.004b836e
mov eax, dword [ebx]
mov esi, dword [eax + 0x184]
push edi
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x432a68
mov edx, 0x47e
mov ecx, 0x432a98
call fcn.004ca0da
int3