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

Disassembly:
push 0xffffffffffffffff
push 0x744f26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
call fcn.00404760
or ebx, 0xffffffff
mov edi, 0x7a5c68
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5c68
lea ecx, [esp + 0x24]
call fcn.004047b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x174], 0
push ecx
mov ecx, ebp
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov edx, dword [eax]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x20]
mov edx, dword [eax + 8]
mov dword [esp + 0x48], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
call fcn.00404760
mov ecx, dword [0x93c98c]
mov eax, dword [ecx + 0x490]
dec eax
je 0x4fc25d
dec eax
jne 0x4fc7a7
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xf0]
mov byte [esp + 0xf0], dl
call fcn.00404760
mov edi, 0x7a5c50
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5c50
lea ecx, [esp + 0xf4]
call fcn.004047b0
lea eax, [esp + 0xec]
mov ecx, ebp
push eax
mov dword [esp + 0x178], 1
call fcn.00402b60
push 1
lea ecx, [esp + 0xf0]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fbf5e
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x160], cl
lea ecx, [esp + 0x160]
call fcn.00404760
mov edi, 0x7a5c50
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5c50
lea ecx, [esp + 0x164]
call fcn.004047b0
lea edx, [esp + 0x15c]
mov ecx, ebp
push edx
mov dword [esp + 0x178], 2
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x160]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x110]
mov byte [esp + 0x110], al
call fcn.00404760
mov edi, 0x7a5be8
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5be8
lea ecx, [esp + 0x114]
call fcn.004047b0
lea ecx, [esp + 0x10c]
mov dword [esp + 0x174], 3
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0x110]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc058
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x150]
mov byte [esp + 0x150], dl
call fcn.00404760
mov edi, 0x7a5be8
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5be8
lea ecx, [esp + 0x154]
call fcn.004047b0
lea eax, [esp + 0x14c]
mov ecx, ebp
push eax
mov dword [esp + 0x178], 4
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x150]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x6c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x130]
mov byte [esp + 0x130], al
call fcn.00404760
mov edi, 0x7a5b80
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5b80
lea ecx, [esp + 0x134]
call fcn.004047b0
lea ecx, [esp + 0x12c]
mov dword [esp + 0x174], 5
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0x130]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc152
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x100]
mov byte [esp + 0x100], dl
call fcn.00404760
mov edi, 0x7a5b80
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5b80
lea ecx, [esp + 0x104]
call fcn.004047b0
lea eax, [esp + 0xfc]
mov ecx, ebp
push eax
mov dword [esp + 0x178], 6
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0x100]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x7c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x120]
mov byte [esp + 0x120], al
call fcn.00404760
mov edi, 0x7a5b24
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5b24
lea ecx, [esp + 0x124]
call fcn.004047b0
lea ecx, [esp + 0x11c]
mov dword [esp + 0x174], 7
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0x120]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc7a7
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x140]
mov byte [esp + 0x140], dl
call fcn.00404760
mov edi, 0x7a5b24
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7a5b24
lea ecx, [esp + 0x144]
call fcn.004047b0
lea eax, [esp + 0x13c]
mov ecx, ebp
push eax
mov dword [esp + 0x178], 8
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x84], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x140]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x8c], edx
call fcn.00404760
jmp 0x4fc7a7
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xe0]
mov byte [esp + 0xe0], al
call fcn.00404760
mov edi, 0x7a5c1c
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xe0]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc2c8
mov edi, dword [esp + 0xe0]
mov ecx, esi
mov edx, ecx
mov esi, 0x7a5c1c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
call fcn.00404970
lea ecx, [esp + 0xdc]
mov dword [esp + 0x174], 9
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0xe0]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc3bb
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xb0]
mov byte [esp + 0xb0], dl
call fcn.00404760
mov edi, 0x7a5c1c
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xb0]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc36c
mov edi, dword [esp + 0xb0]
mov ecx, esi
mov eax, ecx
mov esi, 0x7a5c1c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0xb0]
call fcn.00404970
lea edx, [esp + 0xac]
mov ecx, ebp
push edx
mov dword [esp + 0x178], 0xa
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xb0]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xc0], al
call fcn.00404760
mov edi, 0x7a5bb4
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xc0]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc426
mov edi, dword [esp + 0xc0]
mov ecx, esi
mov edx, ecx
mov esi, 0x7a5bb4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc0]
call fcn.00404970
lea ecx, [esp + 0xbc]
mov dword [esp + 0x174], 0xb
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0xc0]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc519
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x90]
mov byte [esp + 0x90], dl
call fcn.00404760
mov edi, 0x7a5bb4
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x90]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc4ca
mov edi, dword [esp + 0x90]
mov ecx, esi
mov eax, ecx
mov esi, 0x7a5bb4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0x90]
call fcn.00404970
lea edx, [esp + 0x8c]
mov ecx, ebp
push edx
mov dword [esp + 0x178], 0xc
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x90]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x6c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xd0]
mov byte [esp + 0xd0], al
call fcn.00404760
mov edi, 0x7a5b4c
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xd0]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc584
mov edi, dword [esp + 0xd0]
mov ecx, esi
mov edx, ecx
mov esi, 0x7a5b4c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xd0]
call fcn.00404970
lea ecx, [esp + 0xcc]
mov dword [esp + 0x174], 0xd
push ecx
mov ecx, ebp
call fcn.00402b60
push 1
lea ecx, [esp + 0xd0]
mov esi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
test esi, esi
je 0x4fc677
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xa0], dl
call fcn.00404760
mov edi, 0x7a5b4c
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0xa0]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc628
mov edi, dword [esp + 0xa0]
mov ecx, esi
mov eax, ecx
mov esi, 0x7a5b4c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.00404970
lea edx, [esp + 0x9c]
mov ecx, ebp
push edx
mov dword [esp + 0x178], 0xe
call fcn.00402b60
add eax, 0xd0
push 1
mov dword [esp + 0x178], ebx
mov ecx, dword [eax]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0xa0]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x7c], edx
call fcn.00404760
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.00404760
mov edi, 0x7a5b24
mov ecx, ebx
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x1c], esi
call fcn.00401450
test al, al
je 0x4fc6d5
mov edi, dword [esp + 0x30]
mov ecx, esi
mov edx, ecx
mov esi, 0x7a5b24
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
mov dword [esp + 0x178], 0xf
call fcn.00402b60
push 1
lea ecx, [esp + 0x30]
mov edi, eax
mov dword [esp + 0x178], ebx
call fcn.00404760
xor esi, esi
cmp edi, esi
je 0x4fc7a7
mov al, byte [esp + 0x13]
mov edi, 0x7a5b24
mov byte [esp + 0x1c], al
mov ecx, ebx
xor eax, eax
mov dword [esp + 0x20], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], esi
push ecx
push 0x7a5b24
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], esi
call fcn.004047b0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x174], 0x10
push ecx
mov ecx, ebp
call fcn.00402b60
add eax, 0xd0
mov dword [esp + 0x174], ebx
mov edx, dword [eax]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x4fc7a7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fc79e
cmp al, 0xff
je 0x4fc79e
dec al
mov byte [ecx], al
jmp 0x4fc7a7
push ecx
call fcn.00726ea6
add esp, 4
mov eax, dword [0x93cbf0]
xor edi, edi
lea esi, [esp + 0x44]
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
cmp dword [esi - 8], ebx
jge 0x4fc7db
cmp dword [esi], ebx
jle 0x4fc7db
cmp dword [esi - 4], eax
jge 0x4fc7db
cmp dword [esi + 4], eax
jle 0x4fc7db
push edi
mov ecx, ebp
call fcn.004fc800
mov eax, dword [esp + 0x18]
inc edi
add esi, 0x10
cmp edi, 5
jl 0x4fc7bc
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x168
ret