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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6373c0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x1c], eax
call fcn.0049f4f0
mov edi, eax
add esp, 4
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call fcn.0049e010
mov dword [esp + 0x98], 0
cmp dword [esp + 0x4c], 0
jne 0x49c954
mov dword [esp + 0x20], 0
jmp 0x49c962
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
movzx eax, ax
mov dword [esp + 0x20], eax
push ebx
call fcn.004182c0
mov edx, dword [eax]
add esp, 4
lea ecx, [esp + 0x54]
push ecx
push 0x68e08a
push 0x68e070
mov ecx, eax
call dword [edx + 0x2c]
cmp byte [esi + 4], 0
mov edi, dword [esp + 0x1c]
mov eax, edi
mov dword [esp + 0x14], eax
jne 0x49c998
mov ecx, esi
call fcn.0049f2a0
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 4], 0
jne 0x49c9a9
mov ecx, ebx
call fcn.0049f2a0
cmp dword [esi], 0
jne 0x49c9b5
cmp dword [ebx], 0
je 0x49ca06
jmp 0x49c9ba
cmp dword [ebx], 0
jne 0x49ca06
cmp byte [esi + 4], 0
jne 0x49c9c7
mov ecx, esi
call fcn.0049f2a0
mov ax, word [esi + 6]
cmp ax, word [esp + 0x82]
jne 0x49c9da
mov byte [edi], 0x2b
jmp 0x49c9f8
cmp byte [esi + 4], 0
jne 0x49c9e7
mov ecx, esi
call fcn.0049f2a0
mov ax, word [esi + 6]
cmp ax, word [esp + 0x80]
jne 0x49ca06
mov byte [edi], 0x2d
lea eax, [edi + 1]
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0049f240
mov edi, dword [ebp + 0x18]
and edi, 0xe00
cmp edi, 0x400
jne 0x49ca1e
mov edi, 8
jmp 0x49ca34
cmp edi, 0x800
jne 0x49ca2d
mov edi, 0x10
jmp 0x49ca34
neg edi
sbb edi, edi
and edi, 0xa
cmp byte [esi + 4], 0
mov dword [ebp + 0x18], edi
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
jne 0x49ca4e
mov ecx, esi
call fcn.0049f2a0
cmp byte [ebx + 4], 0
jne 0x49ca5b
mov ecx, ebx
call fcn.0049f2a0
cmp dword [esi], 0
jne 0x49ca8e
cmp dword [ebx], 0
jne 0x49ca93
test edi, edi
je 0x49cb32
cmp edi, 0xa
je 0x49cb32
mov eax, 8
mov ecx, 0x16
cmp edi, eax
cmove ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x49cb3a
cmp dword [ebx], 0
jne 0x49ca65
cmp byte [esi + 4], 0
jne 0x49caa0
mov ecx, esi
call fcn.0049f2a0
mov ax, word [esi + 6]
cmp ax, word [esp + 0x54]
jne 0x49ca65
mov ecx, esi
mov byte [esp + 0x12], 1
call fcn.0049f240
push ebx
push esi
call fcn.0049fa10
add esp, 8
test al, al
je 0x49cb1d
cmp byte [esi + 4], 0
jne 0x49cad2
mov ecx, esi
call fcn.0049f2a0
mov ax, word [esi + 6]
cmp ax, word [esp + 0x86]
je 0x49cafb
cmp byte [esi + 4], 0
jne 0x49caed
mov ecx, esi
call fcn.0049f2a0
mov ax, word [esi + 6]
cmp ax, word [esp + 0x84]
jne 0x49cb1d
test edi, edi
je 0x49cb04
cmp edi, 0x10
jne 0x49cb1d
mov edi, 0x10
mov ecx, esi
mov dword [ebp + 0x18], edi
mov byte [esp + 0x12], 0
call fcn.0049f240
jmp 0x49ca76
test edi, edi
jne 0x49ca6d
mov edi, 8
mov dword [ebp + 0x18], edi
jmp 0x49ca76
mov dword [esp + 0x18], 0xa
mov al, byte [esp + 0x12]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov word [esp + 0x24], 0
mov dword [esp + 0x38], 0xf
mov byte [esp + 0x24], al
mov dword [esp + 0x34], 1
mov byte [esp + 0x98], 1
xor edi, edi
jmp 0x49cb80
cmp byte [esi + 4], 0
jne 0x49cbc7
mov ecx, dword [esi]
test ecx, ecx
je 0x49cbbd
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x49cba2
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x49cba2
movzx eax, word [edx]
jmp 0x49cbaa
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x49cbbd
mov word [esi + 6], ax
jmp 0x49cbc3
mov dword [esi], 0
mov byte [esi + 4], 1
cmp byte [ebx + 4], 0
jne 0x49cc0e
mov ecx, dword [ebx]
test ecx, ecx
je 0x49cc04
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x49cbe9
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x49cbe9
movzx eax, word [edx]
jmp 0x49cbf1
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x49cc04
mov word [ebx + 6], ax
jmp 0x49cc0a
mov dword [ebx], 0
mov byte [ebx + 4], 1
mov ecx, dword [esi]
test ecx, ecx
jne 0x49cca7
cmp dword [ebx], ecx
jne 0x49ccb0
test edi, edi
je 0x49cc3d
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp byte [eax + edi], 0
jle 0x49ce28
inc edi
mov al, byte [esp + 0x12]
cmp dword [esp + 0x50], 0x10
lea edx, [esp + 0x3c]
cmovae edx, dword [esp + 0x3c]
test al, al
je 0x49ce40
test edi, edi
je 0x49ce2f
mov cl, byte [edx]
cmp cl, 0x7f
je 0x49ce2f
dec edi
je 0x49cc84
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax + edi]
jne 0x49ce40
test edi, edi
jne 0x49cc9e
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp cl, byte [eax]
jl 0x49ce40
cmp byte [edx + 1], 0
jle 0x49cc57
inc edx
jmp 0x49cc57
cmp dword [ebx], 0
jne 0x49cc20
cmp byte [esi + 4], 0
jne 0x49ccf5
test ecx, ecx
je 0x49cceb
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
test edx, edx
je 0x49ccd0
mov eax, dword [ecx + 0x2c]
cmp dword [eax], 0
jle 0x49ccd0
movzx eax, word [edx]
jmp 0x49ccd8
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx eax, ax
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x49cceb
mov word [esi + 6], ax
jmp 0x49ccf1
mov dword [esi], 0
mov byte [esi + 4], 1
mov cx, word [esp + 0x54]
lea eax, [esp + 0x54]
test cx, cx
je 0x49cd21
movzx edx, word [esi + 6]
movzx ecx, cx
lea ebx, [ebx]
cmp cx, dx
je 0x49cd21
movzx ecx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x49cd10
lea ecx, [esp + 0x54]
sub eax, ecx
sar eax, 1
cmp eax, dword [esp + 0x18]
jae 0x49cd87
cmp byte [esp + 0x13], 0
mov ecx, dword [esp + 0x14]
mov al, byte [eax + 0x68e070]
mov byte [ecx], al
jne 0x49cd46
cmp al, 0x30
je 0x49cd5b
mov eax, dword [esp + 0x1c]
add eax, 0x1f
cmp ecx, eax
jae 0x49cd5b
inc ecx
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], 1
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
cmp ecx, 0x10
lea eax, [esp + 0x24]
cmovae eax, edx
mov byte [esp + 0x12], 1
cmp byte [eax + edi], 0x7f
je 0x49cdd5
cmp ecx, 0x10
lea eax, [esp + 0x24]
cmovae eax, edx
inc byte [eax + edi]
jmp 0x49cdd5
cmp dword [esp + 0x38], 0x10
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
cmp byte [eax + edi], 0
je 0x49cc20
mov eax, dword [esp + 0x20]
test ax, ax
je 0x49cc20
cmp byte [esi + 4], 0
jne 0x49cdbd
mov ecx, esi
call fcn.0049f2a0
mov eax, dword [esp + 0x20]
cmp word [esi + 6], ax
jne 0x49cc20
push 0
push 1
lea ecx, [esp + 0x2c]
call fcn.0042b2a0
inc edi
mov ecx, dword [esi]
test ecx, ecx
je 0x49ce19
mov eax, dword [ecx + 0x1c]
cmp dword [eax], 0
je 0x49cdfe
mov edx, dword [ecx + 0x2c]
mov eax, dword [edx]
test eax, eax
jle 0x49cdfe
dec eax
mov dword [edx], eax
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 2]
mov dword [ecx], eax
movzx eax, word [edx]
jmp 0x49ce06
mov eax, dword [ecx]
call dword [eax + 0x1c]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
je 0x49ce19
mov byte [esi + 4], 0
jmp 0x49cb80
mov dword [esi], 0
mov byte [esi + 4], 1
jmp 0x49cb80
xor al, al
jmp 0x49cc41
cmp byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
jne 0x49ce44
mov byte [eax], 0x30
inc eax
jmp 0x49ce44
mov eax, dword [esp + 0x1c]
mov byte [eax], 0
mov byte [esp + 0x98], 0
cmp dword [esp + 0x38], 0x10
jb 0x49ce62
push dword [esp + 0x24]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x49ce95
push dword [esp + 0x3c]
call fcn.004c56c2
add esp, 4
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret