Function at 0x49e9d0
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
call fcn.004c332c
test byte [ebx + 0x60], 0x20
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
jne 0x49ef62
xor esi, esi
mov dword [esp + 0x14], esi
cmp dword [ebx + 0xa0], esi
je 0x49ea2a
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0xac]
push eax
call fcn.0048279a
xor esi, esi
push edi
mov ecx, ebx
mov dword [edi + 0xbc], esi
mov dword [edi + 0xb8], esi
call fcn.0049cb8d
movzx eax, word [ebx + 0x80]
or word [esp + 0x2c], ax
mov word [edi + 0x18], ax
mov eax, dword [edi + 0xc]
mov ecx, eax
and ecx, 0x800
mov dword [esp + 0x28], esi
and eax, 0x600
add ecx, ecx
or ecx, eax
mov eax, dword [esp + 0x20]
and eax, 0xffffe9ff
or ecx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, ebx
push eax
call fcn.0049e0c4
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
mov dword [esp + 0x24], esi
push ecx
mov esi, dword [eax + 0x74]
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 + 0xf0]
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 + 0x104]
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], 1
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
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
xor eax, eax
push eax
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]
xor esi, esi
movzx eax, ax
mov dword [ecx + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x54], edi
mov edi, ecx
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x44], eax
mov ecx, ebx
push edi
call fcn.0049cb8d
test eax, eax
je 0x49ec10
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
je 0x49ebb7
mov ecx, ebx
call fcn.004ad217
test eax, eax
jne 0x49ef62
push eax
push edi
mov ecx, ebx
call fcn.00488421
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004cbf9f
push 0x4263ac
mov ecx, esi
call fcn.004cbb8f
jmp 0x49ebe0
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov edx, eax
mov ecx, edi
call fcn.00482c19
mov ecx, dword [edi + 0x10]
mov esi, dword [esp + 0x10]
mov ax, word [ecx + 0x22]
add word [ecx + 0x20], ax
mov ecx, esi
call fcn.004cbf9f
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x190]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, dword [edi + 0x10]
call fcn.00463c3f
mov ecx, edi
call fcn.004a21c9
jmp 0x49ef62
mov eax, dword [0x4d6258]
mov dword [edi + 0xd0], ebx
cmp dword [eax + 0x70], esi
jne 0x49ec3a
cmp dword [eax + 0x6c], esi
je 0x49ef6d
mov ecx, dword [edi + 0x1a0]
push dword [ecx + 4]
push ebx
call fcn.004bb96e
jmp 0x49ec4f
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x9c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
jne 0x49ec91
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
je 0x49eca0
mov ecx, edi
mov dword [esp + 0x14], 1
call fcn.004b83a4
test byte [ebx + 0x60], 0x80
je 0x49ecad
mov ecx, edi
call fcn.00486c5a
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
je 0x49ecd7
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x16c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test dword [edi + 0xc], 0x4000
je 0x49ecf5
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x108]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, edi
call fcn.004b82f3
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
jne 0x49ed26
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x16c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx + 0x60]
test eax, 0x10000
je 0x49ed3a
mov ecx, edi
call fcn.004a202f
mov eax, dword [ebx + 0x60]
test dword [edi + 0xc], 0x600
je 0x49ed86
test eax, 0x800
je 0x49ed86
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
cmp eax, 8
je 0x49ed7f
mov eax, dword [ebx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
cmp eax, 8
je 0x49ed86
mov eax, dword [edi + 0x1c]
test byte [eax + 0x68], 2
jne 0x49ed86
mov ecx, edi
call fcn.00487ff8
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 eax, dword [ebx]
push edi
mov esi, dword [eax + 0x178]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.004cbf9f
push 0x432abc
mov ecx, esi
call fcn.004cbb8f
mov ecx, esi
call fcn.004cbf9f
push 0x432b00
mov ecx, esi
call fcn.004cbb8f
mov ecx, esi
call fcn.004cbf9f
mov dword [edi + 0xb8], 1
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x80]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov esi, 0x10000
test dword [ebx + 0x60], esi
je 0x49ee25
mov edx, 0x432b48
mov ecx, edi
call fcn.004a2111
mov ecx, edi
call fcn.004b8326
mov eax, dword [ebx + 0x60]
test esi, eax
je 0x49ee42
mov edx, 0x432b5c
mov ecx, edi
call fcn.004a2111
mov eax, dword [ebx + 0x60]
test al, al
jns 0x49ee4d
mov ecx, edi
call fcn.00486d9c
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x180]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x17c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
mov ecx, edi
call fcn.004b836e
cmp dword [esp + 0x14], 0
je 0x49ef4d
mov eax, dword [ebx]
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
je 0x49eee3
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004cbf9f
push 0x7d
mov ecx, esi
call fcn.00463bf0
mov ecx, esi
call fcn.00463c3f
call fcn.004cbf9f
push 0x432b70
mov ecx, esi
call fcn.004cbb8f
mov ax, word [esi + 0x22]
mov ecx, esi
add word [esi + 0x20], ax
call fcn.004cbf9f
push 0x7b
mov ecx, esi
call fcn.00463bf0
jmp 0x49eeef
mov edx, 0x42b990
mov ecx, edi
call fcn.004b83d7
test dword [ebx + 0x60], 0x1000
je 0x49ef18
push edi
mov ecx, ebx
call fcn.0049f129
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004cbf9f
push 0x432bd4
mov ecx, esi
call fcn.004cbb8f
jmp 0x49ef46
mov eax, dword [ebx]
mov esi, dword [eax + 0x11c]
mov ecx, esi
call dword [0x4d8248]
mov ecx, ebx
call esi
test eax, eax
je 0x49ef3a
push edi
mov ecx, ebx
call fcn.0049ef82
jmp 0x49ef46
mov edx, 0x432ba8
mov ecx, edi
call fcn.004b8257
mov ecx, edi
call fcn.004b8437
mov eax, dword [ebx]
push edi
mov esi, dword [eax + 0x184]
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, 0xca
mov ecx, 0x432a98
call fcn.004ca0da
int3