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

Disassembly:
push 0xffffffffffffffff
push 0x4e54c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x58], ebp
mov al, byte [esp + 0x60]
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov edi, 0x50a140
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x58], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
push 0x50a140
lea ecx, [esp + 0x7c]
call fcn.004069a0
mov edi, 0x50a140
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4e9898]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x50a140
lea ecx, [esp + 0x7c]
call fcn.00432da0
mov ecx, dword [esp + 0x78]
xor edx, edx
dec ecx
cmp eax, ecx
lea ecx, [esp + 0x3c]
sete dl
mov dword [esp + 0x18], edx
call fcn.004d2eb2
lea eax, [esp + 0x3c]
push 0x2a
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x60], 3
call fcn.0040a850
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004d38eb
call fcn.00419200
add esp, 0xc
cmp eax, ebp
jbe 0x49b021
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebp
jle 0x49b021
mov ecx, dword [esp + 0x40]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0x10]
push edx
call fcn.004d35f2
mov eax, dword [esp + 0x10]
push 0x50a140
push eax
mov byte [esp + 0x60], 4
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x49b006
mov ecx, dword [esp + 0x10]
push 0x517348
push ecx
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x49b006
mov dl, byte [esp + 0x60]
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.00406ab0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.00406740
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 5
call fcn.004a0b50
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 4
call fcn.00406ab0
xor ebp, ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call fcn.004d387d
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x49af6c
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x49b02d
xor ebx, ebx
jmp 0x49b036
mov ebx, dword [esp + 0x24]
sub ebx, eax
sar ebx, 4
xor edi, edi
cmp ebx, ebp
jle 0x49b0d8
jmp 0x49b046
mov eax, dword [esp + 0x20]
mov dl, byte [eax + ebp]
lea esi, [eax + ebp]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.00406ab0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x2c]
push eax
push 0
push esi
call fcn.00406540
lea eax, [ebx - 1]
mov byte [esp + 0x58], 6
cmp edi, eax
jne 0x49b085
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49b14b
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49b092
mov eax, 0x4e9894
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.004069a0
cmp eax, dword [0x4e9898]
je 0x49b24c
mov ecx, dword [esp + 0x34]
push 1
add ecx, eax
mov byte [esp + 0x5c], 3
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x30]
call fcn.00406ab0
inc edi
add ebp, 0x10
cmp edi, ebx
jl 0x49b042
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d2ee5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49b10b
push 0
mov ecx, esi
call fcn.0040a340
add esi, 0x10
cmp esi, edi
jne 0x49b0f7
mov esi, dword [esp + 0x20]
push esi
call fcn.004d35e7
mov ecx, dword [esp + 0x68]
xor esi, esi
add esp, 4
cmp ecx, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
je 0x49b2e7
mov al, byte [ecx - 1]
test al, al
je 0x49b2dd
cmp al, 0xff
je 0x49b2dd
dec al
mov byte [ecx - 1], al
jmp 0x49b2e7
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49b158
mov eax, 0x4e9894
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.004069a0
cmp eax, dword [0x4e9898]
je 0x49b20b
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x68]
cmp edx, eax
jne 0x49b20b
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00406ab0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d2ee5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49b1cd
push 0
mov ecx, esi
call fcn.0040a340
add esi, 0x10
cmp esi, edi
jne 0x49b1b9
mov esi, dword [esp + 0x20]
push esi
call fcn.004d35e7
add esp, 4
xor eax, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x5c], al
call fcn.00406ab0
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00406ab0
jmp 0x49b317
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00406ab0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d2ee5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49b28f
push 0
mov ecx, esi
call fcn.0040a340
add esi, 0x10
cmp esi, edi
jne 0x49b23a
jmp 0x49b28b
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00406ab0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d2ee5
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49b28f
push 0
mov ecx, esi
call fcn.0040a340
add esi, 0x10
cmp esi, edi
jne 0x49b27b
mov esi, dword [esp + 0x20]
push esi
call fcn.004d35e7
add esp, 4
xor eax, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x5c], al
call fcn.00406ab0
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00406ab0
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], esi
cmp ecx, esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
je 0x49b317
mov al, byte [ecx - 1]
test al, al
je 0x49b30d
cmp al, 0xff
je 0x49b30d
dec al
mov byte [ecx - 1], al
jmp 0x49b317
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret