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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [esi + 8]
test edi, edi
jne 0x49f7d5
cmp dword [esi + 0x78], edi
jne 0x49f7c9
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x49f7c9
mov byte [esi + 0x17], 1
mov ebx, esi
call fcn.0043c140
mov ebx, dword [ebp + 8]
mov edi, eax
mov ecx, dword [ebx + 4]
mov al, byte [esi + 0x13]
test al, al
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x20], edx
jne 0x49f7f7
mov ecx, 1
add dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x49f80f
sub al, 1
movzx ecx, al
mov byte [esi + 0x13], al
mov edx, dword [esi + ecx*4 + 0xa0]
mov dword [esp + 0x10], edx
mov ecx, 1
mov al, byte [esi + 0x13]
test al, al
jne 0x49f81e
add dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x2c]
jmp 0x49f82d
sub al, 1
movzx edx, al
mov byte [esi + 0x13], al
mov eax, dword [esi + edx*4 + 0xa0]
add dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x2c]
add dword [esi + 0x38], 0xffffffff
mov edx, dword [esi + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov eax, ebx
mov dword [esp + 0x20], 0x6a
mov dword [esp + 0x24], edx
call fcn.0049e3d0
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x18]
push edx
push eax
mov eax, ebx
call fcn.0049e3d0
mov ecx, dword [esp + 0x30]
mov al, byte [ecx + 0x10]
add esp, 0x10
test al, 1
je 0x49f8a4
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x36
je 0x49f895
xor edx, edx
cmp ecx, 0x39
setne dl
lea edx, [edx + edx + 0x37]
mov dword [ebp + 0xc], edx
jmp 0x49f89c
mov dword [ebp + 0xc], 0x38
mov dword [esp + 0x18], 0x6b
test al, 2
je 0x49f95c
mov eax, dword [esp + 0x10]
push 0
push 0
push eax
push 0x33
push edi
call fcn.0043c3f0
mov ebx, eax
mov eax, dword [ebp + 0xc]
add esp, 0x14
sub eax, 0x36
je 0x49f8ed
sub eax, 1
je 0x49f8de
sub eax, 2
jne 0x49f903
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
push eax
push 9
jmp 0x49f8fa
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
push 0x32
jmp 0x49f8fa
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
push 0x33
push edi
call fcn.0043c3f0
add esp, 0x14
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0
push 9
push edi
call fcn.0043c3f0
mov edx, dword [edi]
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp byte [edx + 0x57], 0
je 0x49f929
mov eax, 0x4d6798
jmp 0x49f932
mov edx, dword [edi + 0x68]
lea eax, [ebx + ebx*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x36
je 0x49f945
cmp eax, 0x39
mov eax, dword [ebp + 0x1c]
jne 0x49f949
mov eax, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x1c]
push eax
push 0x32
push edi
call fcn.0043c3f0
add esp, 0x14
mov ebx, dword [esp + 0x24]
push 0
push ebx
push 0
push 0x75
push edi
call fcn.0043c3f0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x57], 0
je 0x49f987
mov eax, 0x4be549
or edx, 0xffffffff
call fcn.0043cde0
jmp 0x49f9c0
test eax, eax
jge 0x49f991
mov eax, dword [edi + 0x6c]
sub eax, 1
mov edx, dword [edi + 0x68]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x49f9b5
push 0x4be549
or eax, 0xffffffff
mov edx, edi
call fcn.0043ced0
add esp, 4
jmp 0x49f9c0
mov dword [ecx + 0x10], 0x4be549
mov byte [ecx + 1], 0xff
mov eax, dword [esp + 0x10]
push eax
push 0
push ebx
push 0x39
push edi
call fcn.0043c3f0
mov ebx, dword [ebp + 0xc]
add esp, 0x14
cmp ebx, 0x39
mov dword [esp + 0x24], eax
jne 0x49f9e8
cmp dword [esp + 0x18], 0x6a
je 0x49f9f4
jmp 0x49fa0c
cmp ebx, 0x37
jne 0x49fa0c
cmp dword [esp + 0x18], 0x6b
jne 0x49fa0c
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push ebx
push edi
call fcn.0043c3f0
add esp, 0x14
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push eax
push ecx
push edx
push edi
call fcn.0043c3f0
mov eax, dword [edi]
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp byte [eax + 0x57], 0
je 0x49fa36
mov eax, 0x4d6798
jmp 0x49fa43
mov eax, dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + edx*4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push ebx
push edi
call fcn.0043c3f0
mov ecx, dword [esp + 0x34]
mov ecx, dword [ecx + 8]
add esp, 0x14
push esi
call fcn.004518f0
add esp, 4
test eax, eax
jne 0x49fa77
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x49fa8b
mov edx, 0xfffffffe
call fcn.0043cde0
jmp 0x49fa9f
mov ecx, dword [edi + 0x6c]
mov edx, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4 - 0x14]
mov byte [ecx + 1], 0xfe
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x49fab3
mov ecx, dword [edi + 0x68]
lea eax, [eax + eax*4]
mov word [ecx + eax*4 - 0x12], 0x80
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x3c]
add edx, dword [eax + 0x38]
mov ecx, dword [esp + 0x1c]
not ecx
jns 0x49fad2
push ecx
push edi
mov edi, eax
call fcn.0043ca00
add esp, 8
jmp 0x49fadb
mov eax, dword [eax + 0x40]
mov edx, dword [edi + 0x6c]
mov dword [eax + ecx*4], edx
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49faf8
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x49faf8
movzx eax, al
mov dword [esi + eax*4 + 0xa0], ecx
add byte [esi + 0x13], 1
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x49fb15
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x49fb15
movzx edx, al
mov dword [esi + edx*4 + 0xa0], ecx
add byte [esi + 0x13], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret