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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4010c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x38], edi
mov ecx, dword [edi]
mov al, byte [edi + 0x9f]
mov byte [ebp - 9], al
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx + 0x20]
and eax, 0x4000
or eax, 0
je 0x49a693
cmp byte [ebx + 0x2b], 0
jne 0x49a693
mov edx, dword [ebx + 0x3c]
call fcn.004a2c91
mov ecx, dword [ecx + 0x10]
mov edx, eax
mov esi, dword [ebx + 0x30]
add edx, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + edx*8]
mov dword [ebp - 0x20], eax
jmp 0x49a52a
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 0x10], ecx
je 0x49a327
mov ecx, dword [ebx]
mov eax, dword [esi + 8]
test ecx, ecx
jne 0x49a2fc
neg eax
sbb eax, eax
jmp 0x49a307
test eax, eax
je 0x49a30b
mov edx, eax
call fcn.0045c824
test eax, eax
je 0x49a324
push dword [ebp + 0x14]
mov edx, esi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0049a1a0
pop ecx
pop ecx
test eax, eax
je 0x49a524
mov eax, dword [ebp - 0x20]
cmp byte [edi + 0x9f], 0
push eax
je 0x49a33e
mov edx, dword [esi + 8]
mov ecx, dword [ebp - 0x18]
call fcn.004901ec
jmp 0x49a34b
push dword [esi + 8]
xor edx, edx
mov ecx, edi
call fcn.004903e5
pop ecx
mov ebx, eax
pop ecx
test ebx, ebx
je 0x49a498
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
push esi
call fcn.004996d2
add esp, 0xc
test eax, eax
jne 0x49a498
cmp dword [ebp - 0x10], eax
je 0x49a37d
mov edx, dword [ebp - 0x10]
jmp 0x49a386
mov eax, dword [esi + 0x24]
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
cmp dword [esi + 0x14], ecx
jle 0x49a3f6
mov eax, dword [ebp - 0x14]
movsx eax, word [eax + 0x20]
cmp dword [edx + ecx*4], eax
jne 0x49a3a3
or dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x16c], 0
je 0x49a3ed
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49a3bf
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
jmp 0x49a3c3
movzx eax, word [ebx + 0x20]
push dword [ebp - 0x34]
mov edx, dword [ebx]
movsx ecx, ax
mov eax, dword [ebx + 4]
add ecx, ecx
push dword [eax + ecx*8]
mov ecx, edi
call fcn.0048fb92
mov edx, dword [ebp - 0x2c]
sub eax, 2
neg eax
pop ecx
sbb eax, eax
pop ecx
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x24], eax
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, dword [esi + 0x14]
jl 0x49a393
push dword [ebx]
mov edx, dword [ebp - 0x34]
mov ecx, edi
push 0
push dword [ebx + 0x14]
call fcn.0048fe11
mov eax, dword [ebp + 8]
add esp, 0xc
inc dword [edi + 0x28]
test eax, eax
je 0x49a42f
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, edi
push 0xffffffffffffffff
push eax
push dword [ebp - 0x2c]
push esi
push dword [ebp - 0x30]
push ebx
call fcn.004998c3
add esp, 0x1c
cmp dword [ebp + 0xc], 0
je 0x49a47e
cmp dword [edi + 0x78], 0
mov eax, edi
cmovne eax, dword [edi + 0x78]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x49a461
mov eax, dword [eax]
cmp eax, dword [esi + 0x1c]
jne 0x49a456
cmp byte [esi + 0x19], 8
je 0x49a47e
cmp eax, dword [esi + 0x20]
jne 0x49a461
cmp byte [esi + 0x1a], 8
je 0x49a47e
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
mov ecx, edi
push 1
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
push esi
push dword [ebp - 0x30]
push ebx
call fcn.004998c3
add esp, 0x1c
cmp dword [ebp - 0x10], 0
je 0x49a521
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
call fcn.004594d9
jmp 0x49a521
cmp byte [ebp - 9], 0
je 0x49a693
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x57], 0
jne 0x49a693
test ebx, ebx
jne 0x49a521
mov ecx, edi
call fcn.004a5717
mov edx, dword [esi + 0x14]
mov ebx, eax
and dword [ebp - 0x28], 0
lea eax, [edx + 1]
add eax, dword [ebx + 0x6c]
mov dword [ebp - 0x24], eax
test edx, edx
jle 0x49a509
lea edi, [esi + 0x24]
mov dx, word [edi]
mov ecx, dword [esi]
call fcn.00490d7b
mov ecx, dword [ebp + 8]
push 0
push dword [ebp - 0x24]
inc ecx
cwde
add eax, ecx
mov ecx, ebx
push eax
push 0x32
pop edx
call fcn.004746eb
mov eax, dword [ebp - 0x28]
lea edi, [edi + 8]
add esp, 0xc
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [esi + 0x14]
jl 0x49a4d3
mov edi, dword [ebp - 0x38]
movzx eax, byte [esi + 0x18]
mov edx, 0x9e
push 0
push 0xffffffffffffffff
push eax
mov ecx, ebx
call fcn.004746eb
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov esi, dword [esi + 4]
mov eax, dword [ebp - 0x20]
test esi, esi
jne 0x49a2dd
mov ecx, ebx
call fcn.00499fde
mov esi, eax
jmp 0x49a68b
and dword [ebp - 0x20], 0
and dword [ebp - 0x10], 0
cmp dword [ebp + 0x10], 0
je 0x49a567
push dword [ebp + 0x14]
mov edx, esi
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.0049a1e1
pop ecx
pop ecx
test eax, eax
je 0x49a688
cmp byte [esi + 0x18], 0
jne 0x49a58b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x49a58b
cmp dword [edi + 0x78], eax
jne 0x49a58b
cmp byte [edi + 0x14], al
je 0x49a688
lea eax, [ebp - 0x10]
mov edx, ebx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
push esi
call fcn.004996d2
add esp, 0xc
test eax, eax
je 0x49a5c0
cmp byte [ebp - 9], 0
je 0x49a693
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x57], 0
jne 0x49a693
jmp 0x49a688
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.00494f15
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x49a672
mov edx, dword [esi]
mov dword [ebx + 0x18], edx
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebx + 0x10], eax
inc dword [edx + 0x18]
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x34], eax
inc dword [edi + 0x28]
cmp dword [ebp + 0xc], 0
je 0x49a612
push 0xffffffffffffffff
push dword [ebp + 0xc]
mov edx, ebx
mov ecx, edi
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.00499cd2
add esp, 0x18
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x49a660
push 1
push ecx
push dword [ebp - 0x10]
xor eax, eax
mov edx, ebx
cmp dword [ebp + 0x10], eax
mov ecx, edi
push esi
push dword [ebp - 0x20]
setne al
push dword [ebp - 0x14]
mov al, byte [eax + esi + 0x19]
mov byte [ebp - 0x19], al
call fcn.00499cd2
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x49a660
mov al, byte [ebp - 0x19]
cmp al, 0xa
je 0x49a660
cmp al, 8
je 0x49a660
cmp dword [edi + 0x78], 0
mov eax, edi
cmovne eax, dword [edi + 0x78]
mov byte [eax + 0x15], 1
and dword [ebx + 0x10], 0
mov edx, ebx
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00495018
jmp 0x49a675
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
je 0x49a685
mov edx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.004594d9
mov ebx, dword [ebp - 0x14]
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x49a540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004caec8
leave
ret