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

Disassembly:
push 0xffffffffffffffff
push 0x4a8122
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
xor ebx, ebx
call fcn.0050d46e
lea ecx, [esp + 0x18]
mov dword [esp + 0x110], ebx
call fcn.0050d46e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 1
call fcn.0050d46e
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 2
call fcn.0050d46e
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 3
call fcn.0050d46e
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 4
call fcn.0050d46e
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 5
call fcn.004c5a38
push ebx
lea eax, [esp + 0x48]
push ebx
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x120], 6
call fcn.00479dc8
mov edx, dword [esi + 0xec]
lea eax, [esp + 0x18]
push edx
push 0x4d15d4
push eax
call fcn.0050d5e2
add esp, 8
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x118], 7
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0e14
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 6
call fcn.004c5ab8
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x118], 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 6
call fcn.004c5ab8
push ecx
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x118], 9
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 6
call fcn.004c5ab8
mov eax, dword [esi + 0xe8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x2c]
call fcn.004c5c48
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d85a8
call fcn.0050d630
push ecx
mov byte [esp + 0x118], 0xa
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ec0
call fcn.0050d630
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 6
call fcn.004c5ab8
mov ecx, dword [esi + 0xec]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d0eb8
call fcn.0050d630
lea ecx, [esp + 0x2c]
call fcn.004c5c48
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.004c5a98
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 0xb
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 6
call fcn.0050d468
push 0x4d1598
lea ecx, [esp + 0x40]
call fcn.0050d47a
mov eax, dword [esi]
push 1
push 1
mov ecx, esi
call dword [eax + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x2c]
call fcn.00470bf8
push eax
push ebx
lea ecx, [esp + 0x34]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4d1560
call fcn.0050d630
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x120], esp
push edx
mov byte [esp + 0x130], 0xc
call fcn.0050d618
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
mov byte [esp + 0x130], 6
call fcn.0047b1a8
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 0xd
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 6
call fcn.0050d468
mov edx, dword [esi]
push 1
push ebx
mov ecx, esi
call dword [edx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.0050d48c
mov edi, 0x4d1554
or ecx, 0xffffffff
xor eax, eax
push 0x4d1554
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0050d690
mov esi, eax
cmp esi, ebx
jl 0x492454
push esi
push 0x4d1550
lea ecx, [esp + 0x24]
call fcn.0050d7bc
cmp eax, ebx
jl 0x492454
sub eax, esi
add esi, edi
sub eax, edi
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0050d6b4
lea ecx, [esp + 0x4c]
mov byte [esp + 0x110], 0xe
call fcn.004af1d8
push ebx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 0xf
call fcn.004b3b78
push ebx
lea ecx, [esp + 0xe8]
mov byte [esp + 0x114], 0x10
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 0x11
call fcn.0050d492
mov cl, byte [esp + 0x43]
mov esi, eax
mov byte [esp + 0x2c], cl
xor edx, edx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 0xfffffffd
jbe 0x49208d
call dword [0x4b460c]
mov edx, dword [esp + 0x30]
xor edi, edi
cmp edx, edi
je 0x492087
mov al, byte [edx - 1]
test al, al
je 0x492087
cmp al, 0xff
je 0x492087
cmp ebp, edi
jne 0x4920b6
dec al
push edi
lea ecx, [esp + 0x30]
mov byte [edx - 1], al
call dword [fcn.004b461c]
jmp 0x4920e5
mov ebx, dword [esp + 0x38]
jmp 0x49208f
xor edi, edi
cmp ebp, edi
jne 0x4920a1
push 1
lea ecx, [esp + 0x30]
call dword [fcn.004b461c]
jmp 0x4920e5
cmp ebx, 0x1f
ja 0x4920aa
cmp ebx, ebp
jae 0x4920c5
push 1
lea ecx, [esp + 0x30]
call dword [fcn.004b461c]
push ebp
lea ecx, [esp + 0x30]
call dword [0x4b4608]
mov edx, dword [esp + 0x30]
mov ecx, ebp
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
xor edi, edi
mov byte [eax + ebp], 0
lea ecx, [esp + 0xf4]
push 1
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x58]
mov byte [esp + 0x11c], 0x12
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x110], 0x11
mov ebx, eax
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x492139
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x492130
cmp al, 0xff
je 0x492130
dec al
mov byte [ecx], al
jmp 0x492139
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.0050d48c
cmp ebx, edi
je 0x4921e8
push 0x4d13a0
lea ecx, [esp + 0xf8]
call fcn.004b5078
push eax
lea ecx, [esp + 0xe8]
call fcn.004b4218
lea ecx, [esp + 0xe4]
call fcn.004b4318
cmp eax, 4
jne 0x4921e8
lea eax, [esp + 0xe4]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x114], 0x13
call fcn.0050d5e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x110], 0x11
call fcn.0050d468
mov edx, dword [esp + 0x18]
push 0x4d85a8
push edx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x4921d1
mov ebx, 1
jmp 0x4921e8
mov ecx, dword [esp + 0x118]
xor ebx, ebx
cmp ecx, edi
je 0x4921e8
lea eax, [esp + 0x18]
push eax
call fcn.0050d5e8
lea ecx, [esp + 0xe4]
mov byte [esp + 0x110], 0x10
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x110], 0xf
call fcn.004b4098
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x110], 0x14
cmp eax, edi
je 0x492240
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x492237
cmp al, 0xff
je 0x492237
dec al
mov byte [ecx], al
jmp 0x492240
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xd4], edi
cmp eax, edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], edi
je 0x49227d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x492274
cmp al, 0xff
je 0x492274
dec al
mov byte [ecx], al
jmp 0x49227d
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb0], edi
cmp eax, edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
je 0x492399
mov ecx, dword [esp + 0x88]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x8c], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
dec eax
mov dword [esp + 0xa8], eax
je 0x4922e6
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
cmp ecx, eax
jne 0x49238c
mov eax, dword [esp + 0x8c]
mov ecx, eax
add eax, 4
mov dword [esp + 0x8c], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xac]
add esp, 4
cmp eax, edi
jne 0x492361
xor edx, edx
xor eax, eax
mov dword [esp + 0x88], edx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0xa0]
xor ecx, ecx
xor esi, esi
push edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa0], esi
call fcn.0050d474
add esp, 4
jmp 0x49238c
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x84], edx
cmp dword [esp + 0xa8], edi
jne 0x4922a1
cmp dword [esp + 0x78], edi
je 0x492443
mov ebp, 4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x78]
add ecx, ebp
dec eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x78], eax
je 0x4923c7
mov eax, ecx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jne 0x492439
mov ecx, dword [esp + 0x5c]
mov eax, ecx
add ecx, ebp
mov dword [esp + 0x5c], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x7c]
add esp, 4
cmp eax, edi
jne 0x49241d
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x70]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], esi
call fcn.0050d474
add esp, 4
jmp 0x492439
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x54], edx
cmp dword [esp + 0x78], edi
jne 0x4923a8
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 6
call fcn.0050d468
lea ecx, [esp + 0x24]
mov byte [esp + 0x110], 5
call fcn.004c5a78
lea ecx, [esp + 0x44]
mov byte [esp + 0x110], 4
call fcn.0050d468
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x110], 2
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x110], 1
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x110], 0
call fcn.0050d468
lea ecx, [esp + 0x3c]
mov dword [esp + 0x110], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x104
ret 4