Function at 0x4f6b00
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d9e6d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x44]
call fcn.00558060
xor ebx, ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18c], ebx
call fcn.00558060
mov al, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
or ebp, 0xffffffff
mov edi, 0x619c18
mov ecx, ebp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov dword [esp + 0x50], esp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x19c], 1
push ecx
push 0x619c18
mov ecx, edx
call fcn.004017b0
push ebx
lea ecx, [esp + 0x40]
call fcn.00542e70
push 0xff
lea ecx, [esp + 0x88]
push 0x609488
push ecx
mov byte [esp + 0x198], 2
call fcn.005bcf3d
mov al, byte [esp + 0x1f]
push ecx
mov edx, esp
lea edi, [esp + 0x94]
mov ecx, ebp
mov dword [esp + 0x50], esp
mov byte [edx], al
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x98]
push ecx
mov ecx, edx
call fcn.004017b0
sub esp, 0x10
lea edx, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
push 0x60af04
mov byte [esp + 0x1b4], 3
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x57]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
push 0x60cf40
mov byte [esp + 0x1c4], 4
call fcn.00404ee0
mov byte [esp + 0x1bc], 5
sub esp, 0x10
lea edx, [esp + 0x5b]
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
push 0x619c18
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x1dc], 6
mov esi, esp
mov dword [esp + 0xa0], esp
push ecx
mov ecx, esp
mov dword [esp + 0x68], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x1ec], 7
mov esi, esp
mov dword [esp + 0x74], esp
push ecx
mov ecx, esp
mov dword [esp + 0x78], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
add esp, 8
lea eax, [esp + 0xd0]
mov ecx, 0x619a58
mov byte [esp + 0x1ec], 2
push eax
call fcn.00543d00
mov edx, dword [0x5e5150]
mov cx, word [eax]
push edx
add eax, 4
mov word [esp + 0x30], cx
push ebx
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x198], 8
call fcn.004120f0
mov eax, dword [esp + 0x78]
mov byte [esp + 0x18c], 2
cmp eax, ebx
je 0x4f6d03
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f6cfa
cmp al, 0xff
je 0x4f6cfa
dec al
mov byte [ecx], al
jmp 0x4f6d03
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.00551f50
cmp ax, 2
jne 0x4f6d60
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4f6d37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f6d2e
cmp al, 0xff
je 0x4f6d2e
dec al
mov byte [ecx], al
jmp 0x4f6d37
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x18c], 0
call fcn.005581a0
mov dword [esp + 0x18c], ebp
jmp 0x4f7579
lea eax, [esp + 0x60]
lea ecx, [esp + 0x2c]
push eax
call fcn.00542fb0
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4f6d7a
mov eax, 0x5e514c
mov edi, eax
mov ecx, ebp
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x64]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4f6dc4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f6dbb
cmp al, 0xff
je 0x4f6dbb
dec al
mov byte [ecx], al
jmp 0x4f6dc4
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x84]
push ecx
call fcn.005bd3b2
add esp, 4
mov byte [esp + 0x1c], al
mov dword [esp + 0x40], ebp
jmp case.default.0x4f700c
xor ebx, ebx
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 6
push 0x60e0a0
call fcn.00558100
push esi
call fcn.00560f40
mov ecx, dword [0x619a64]
add esp, 8
call fcn.005482f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60dfc0
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60e098
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60e090
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60e088
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 6
push 0x60df90
call fcn.00558100
mov ecx, dword [0x619a64]
call fcn.005484f0
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x84]
and ebp, 0xff
push ebp
push 0x609488
push edx
call fcn.005bcf3d
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea eax, [esp + 0x2f]
mov ecx, esp
mov dword [esp + 0x64], esp
lea edx, [esp + 0x98]
push eax
mov byte [esp + 0x1a4], 9
push edx
call fcn.00404ee0
push ecx
mov byte [esp + 0x1a4], 0xa
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x60df58
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x1a4], 2
call fcn.00548740
mov eax, dword [esp + 0x40]
cmp ax, bx
jge 0x4f6f62
mov edi, 0x60e080
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x84]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4f6f7b
movsx ecx, ax
push ecx
lea edx, [esp + 0x88]
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 6
push 0x60dc58
call fcn.00558100
sub esp, 0x10
lea eax, [esp + 0x3b]
mov ecx, esp
mov dword [esp + 0x64], esp
lea edx, [esp + 0x98]
push eax
push edx
mov byte [esp + 0x1a8], 0xb
call fcn.00404ee0
push ecx
mov byte [esp + 0x1a4], 0xc
mov ecx, esp
mov dword [esp + 0x6c], esp
push 6
push 0x60e078
call fcn.00558100
mov ecx, dword [0x619a64]
mov byte [esp + 0x1a4], 2
call fcn.00548740
mov ecx, dword [0x619a64]
call fcn.00548950
push 0xa
mov esi, eax
call fcn.00401520
add esp, 4
cmp si, 4
je 0x4f752c
movsx eax, si
cmp eax, 3
ja case.default.0x4f700c
jmp dword [eax*4 + 0x4f75a0]
push 0xff
lea eax, [esp + 0x88]
push 0x609488
push eax
call fcn.005bcf3d
push ecx
mov cl, byte [esp + 0x2b]
mov ebp, esp
lea edi, [esp + 0x94]
xor eax, eax
mov dword [esp + 0x24], esp
mov byte [ebp], cl
or ecx, 0xffffffff
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x4f7088
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x94]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea eax, [esp + 0x33]
mov ecx, esp
mov dword [esp + 0x70], esp
push eax
push 0x60af04
mov byte [esp + 0x1b4], 0xd
call fcn.00404ee0
sub esp, 0x10
lea edx, [esp + 0x8b]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
push 0x60cf40
mov byte [esp + 0x1c4], 0xe
call fcn.00404ee0
sub esp, 0x10
lea eax, [esp + 0x8f]
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
push 0x619c18
mov byte [esp + 0x1d4], 0xf
call fcn.00404ee0
sub esp, 0x10
mov byte [esp + 0x1dc], 0x10
mov esi, esp
mov dword [esp + 0x98], esp
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
sub esp, 8
mov byte [esp + 0x1ec], 0x11
mov esi, esp
mov dword [esp + 0x88], esp
push ecx
mov ecx, esp
mov dword [esp + 0x8c], esp
push 6
push 0x60df70
call fcn.00558100
push esi
call fcn.00560f40
add esp, 8
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1ec], 2
push ecx
mov ecx, 0x619a58
call fcn.00543d00
mov dx, word [eax]
mov edi, dword [0x5e5150]
lea esi, [eax + 4]
mov word [esp + 0x2c], dx
mov byte [esp + 0x18c], 0x12
mov eax, dword [esi + 8]
mov ebp, eax
cmp edi, ebp
jae 0x4f7192
mov ebp, edi
lea ecx, [esp + 0x30]
cmp ecx, esi
jne 0x4f7206
cmp dword [esp + 0x38], ebp
jae 0x4f71a5
call fcn.005bc820
lea ecx, [esp + 0x30]
call fcn.00412310
mov eax, dword [esp + 0x38]
sub eax, ebp
cmp eax, edi
jae 0x4f71ba
mov edi, eax
test edi, edi
jbe 0x4f71f4
mov edx, dword [esp + 0x34]
sub eax, edi
add ebp, edx
push eax
lea ecx, [edi + ebp]
push ecx
push ebp
call fcn.005bcf90
mov esi, dword [esp + 0x44]
add esp, 0xc
sub esi, edi
lea ecx, [esp + 0x30]
push 0
push esi
call fcn.004018c0
test al, al
je 0x4f71f4
push esi
lea ecx, [esp + 0x34]
call fcn.004018a0
push 0
push 0
lea ecx, [esp + 0x38]
call fcn.00421610
jmp 0x4f728f
test ebp, ebp
jbe 0x4f7253
cmp ebp, eax
jne 0x4f7253
mov eax, dword [esi + 4]
test eax, eax
jne 0x4f721a
mov eax, 0x5e514c
cmp byte [eax - 1], 0xfe
jae 0x4f7253
push 1
lea ecx, [esp + 0x34]
call fcn.00401850
mov eax, dword [esi + 4]
test eax, eax
jne 0x4f7237
mov eax, 0x5e514c
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x38], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x3c], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4f728f
push 1
push ebp
lea ecx, [esp + 0x38]
call fcn.004018c0
test al, al
je 0x4f728f
mov esi, dword [esi + 4]
test esi, esi
jne 0x4f726f
mov esi, 0x5e514c
mov edi, dword [esp + 0x34]
mov ecx, ebp
mov eax, ecx
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, dword [esp + 0x34]
mov dword [esp + 0x38], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x78]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x18c], 2
je 0x4f72be
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f72b5
cmp al, 0xff
je 0x4f72b5
dec al
mov byte [ecx], al
jmp 0x4f72be
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
call fcn.00551f50
cmp ax, 1
jne 0x4f6dde
lea edx, [esp + 0x60]
lea ecx, [esp + 0x2c]
push edx
call fcn.00542fb0
mov edi, dword [eax + 4]
xor ebx, ebx
cmp edi, ebx
jne 0x4f72fc
mov edi, 0x5e514c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x84]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x64]
and ecx, 3
cmp eax, ebx
rep movsb byte es:[edi], byte [esi]
je 0x4f7345
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f733c
cmp al, 0xff
je 0x4f733c
dec al
mov byte [ecx], al
jmp 0x4f7345
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x64], ebx
push ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.005bd3b2
add esp, 4
mov byte [esp + 0x1c], al
jmp 0x4f6dde
inc ebp
cmp ebp, 0xff
jle 0x4f73bb
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x19c], 0x13
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x60df48
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x19c], 2
call fcn.00543af0
jmp case.default.0x4f700c
mov al, byte [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
inc al
mov byte [esp + 0x1c], al
jmp case.default.0x4f700c
mov al, byte [esp + 0x1c]
test al, al
jne 0x4f7422
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x19c], 0x14
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x60df48
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x19c], 2
call fcn.00543af0
jmp case.default.0x4f700c
mov al, byte [esp + 0x1c]
mov dword [esp + 0x40], 0xffffffff
dec al
mov byte [esp + 0x1c], al
jmp case.default.0x4f700c
movsx ax, byte [0x60dbdc]
mov dl, byte [esp + 0x1c]
push eax
push 0x60dbdd
lea ecx, [esp + 0x4c]
mov byte [0x60dbe0], dl
call fcn.00558600
lea ecx, [esp + 0x20]
lea edx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00558070
call fcn.00503c80
add esp, 8
cmp ax, bx
jle 0x4f74e9
push 2
lea ecx, [esp + 0x24]
call fcn.00558380
cmp al, 0xfb
jne 0x4f74b8
push 3
lea ecx, [esp + 0x24]
call fcn.00558380
movzx si, al
push 4
lea ecx, [esp + 0x24]
shl esi, 8
call fcn.00558380
movzx ax, al
add esi, eax
mov dword [esp + 0x40], esi
jmp case.default.0x4f700c
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x19c], 0x16
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x60df68
jmp 0x4f739f
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 6
push 0x6094cc
call fcn.00558100
push ecx
mov byte [esp + 0x19c], 0x15
mov ecx, esp
mov dword [esp + 0x58], esp
push 6
push 0x609440
call fcn.00558100
mov ecx, 0x619a58
mov byte [esp + 0x19c], 2
call fcn.00543af0
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4f7551
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4f7548
cmp al, 0xff
je 0x4f7548
dec al
mov byte [ecx], al
jmp 0x4f7551
push ecx
call fcn.005bc500
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x18c], 0
call fcn.005581a0
mov dword [esp + 0x18c], 0xffffffff
lea ecx, [esp + 0x44]
call fcn.005581a0
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
mov ax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x180
ret