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

Disassembly:
push 0xffffffffffffffff
push 0x4e6528
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, 0x50b3f0
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 0x50b3f0
lea ecx, [esp + 0x7c]
call fcn.00407000
mov edi, 0x50b3f0
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4ea898]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x50b3f0
lea ecx, [esp + 0x7c]
call fcn.00432a80
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.004d3e62
lea eax, [esp + 0x3c]
push 0x2a
push eax
lea ecx, [esp + 0x78]
mov byte [esp + 0x60], 3
call fcn.0040b160
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.004d489b
call fcn.00418710
add esp, 0xc
cmp eax, ebp
jbe 0x49be21
mov eax, dword [esp + 0x44]
xor ebx, ebx
cmp eax, ebp
jle 0x49be21
mov ecx, dword [esp + 0x40]
lea edx, [ecx + ebx*4]
lea ecx, [esp + 0x10]
push edx
call fcn.004d45a2
mov eax, dword [esp + 0x10]
push 0x50b3f0
push eax
mov byte [esp + 0x60], 4
call fcn.004aea96
add esp, 8
test eax, eax
je 0x49be06
mov ecx, dword [esp + 0x10]
push 0x5188e8
push ecx
call fcn.004aea96
add esp, 8
test eax, eax
je 0x49be06
mov dl, byte [esp + 0x60]
mov esi, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], dl
call fcn.00407180
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.00406da0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], 5
call fcn.004a1aa0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 4
call fcn.00407180
xor ebp, ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 3
call fcn.004d482d
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x49bd6c
mov eax, dword [esp + 0x20]
cmp eax, ebp
jne 0x49be2d
xor ebx, ebx
jmp 0x49be36
mov ebx, dword [esp + 0x24]
sub ebx, eax
sar ebx, 4
xor edi, edi
cmp ebx, ebp
jle 0x49bed8
jmp 0x49be46
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.00407180
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x2c]
push eax
push 0
push esi
call fcn.00406ba0
lea eax, [ebx - 1]
mov byte [esp + 0x58], 6
cmp edi, eax
jne 0x49be85
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49bf4b
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49be92
mov eax, 0x4ea894
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0x6c]
call fcn.00407000
cmp eax, dword [0x4ea898]
je 0x49c04c
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.00407180
inc edi
add ebp, 0x10
cmp edi, ebx
jl 0x49be42
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d3e95
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49bf0b
push 0
mov ecx, esi
call fcn.0040acc0
add esi, 0x10
cmp esi, edi
jne 0x49bef7
mov esi, dword [esp + 0x20]
push esi
call fcn.004d4597
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 0x49c0e7
mov al, byte [ecx - 1]
test al, al
je 0x49c0dd
cmp al, 0xff
je 0x49c0dd
dec al
mov byte [ecx - 1], al
jmp 0x49c0e7
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x49bf58
mov eax, 0x4ea894
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea ecx, [esp + 0x6c]
call fcn.00407000
cmp eax, dword [0x4ea898]
je 0x49c00b
mov edx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x68]
cmp edx, eax
jne 0x49c00b
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00407180
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d3e95
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49bfcd
push 0
mov ecx, esi
call fcn.0040acc0
add esi, 0x10
cmp esi, edi
jne 0x49bfb9
mov esi, dword [esp + 0x20]
push esi
call fcn.004d4597
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.00407180
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00407180
jmp 0x49c117
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00407180
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d3e95
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49c08f
push 0
mov ecx, esi
call fcn.0040acc0
add esi, 0x10
cmp esi, edi
jne 0x49c03a
jmp 0x49c08b
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 3
call fcn.00407180
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 2
call fcn.004d3e95
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x58], 1
je 0x49c08f
push 0
mov ecx, esi
call fcn.0040acc0
add esi, 0x10
cmp esi, edi
jne 0x49c07b
mov esi, dword [esp + 0x20]
push esi
call fcn.004d4597
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.00407180
push 1
lea ecx, [esp + 0x74]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00407180
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.004d4597
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 0x49c117
mov al, byte [ecx - 1]
test al, al
je 0x49c10d
cmp al, 0xff
je 0x49c10d
dec al
mov byte [ecx - 1], al
jmp 0x49c117
dec ecx
push ecx
call fcn.004d4597
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