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

Disassembly:
push 0xffffffffffffffff
push 0x4b1ab7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.0050d46e
xor ebx, ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x128], ebx
call fcn.0050d46e
lea ecx, [esp + 0x60]
mov byte [esp + 0x128], 1
call fcn.0050d46e
lea ecx, [esp + 0x14]
mov byte [esp + 0x128], 2
call fcn.0050d46e
lea ecx, [esp + 0x18]
mov byte [esp + 0x128], 3
call fcn.0050d46e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 4
call fcn.004c5a38
lea ecx, [esp + 0x48]
mov byte [esp + 0x128], 5
call fcn.0050d46e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x128], 6
call fcn.0050d46e
push ebx
lea ecx, [esp + 0x110]
mov byte [esp + 0x12c], 7
xor esi, esi
mov dword [esp + 0x48], ebx
call fcn.004b3b78
push ebx
lea ecx, [esp + 0x100]
mov byte [esp + 0x12c], 8
call fcn.004b3b78
lea ecx, [esp + 0x64]
mov byte [esp + 0x128], 9
call fcn.004af1d8
mov edx, dword [0x4de8b0]
push ebx
lea eax, [esp + 0x44]
push ebx
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [edx + 0x110]
mov byte [esp + 0x138], 0xa
call fcn.00479dc8
mov eax, dword [ebp + 0x54]
mov ecx, dword [eax + 0x20]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
mov eax, dword [ebp + 0x54]
cmp dword [eax + 0x58], 1
jne 0x4ff188
mov edx, dword [eax + 0x24]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0eb8
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
mov eax, dword [ebp + 0x48]
mov edi, dword [esp + 0x130]
cmp eax, ebx
je 0x4ff1ac
mov ecx, dword [ebp + 0x4c]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x4ff1ac
mov eax, dword [eax + edi*4]
mov dword [esp + 0x44], eax
mov esi, dword [eax + 0x28]
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d7398
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x130], 0xb
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0xa
call fcn.004c5ab8
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x4d0b08
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x130], 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x130], 0xa
call fcn.004c5ab8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.004c5a98
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 0xd
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 0xa
call fcn.0050d468
mov edx, dword [0x4de8b0]
push 1
push 1
mov eax, dword [edx + 0x110]
lea ecx, [edx + 0x110]
call dword [eax + 4]
push 1
push 1
push 1
lea ecx, [esp + 0x24]
call fcn.00470bf8
push eax
push ebx
lea ecx, [esp + 0x2c]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x4d8880
call fcn.0050d618
mov eax, dword [ebp + 0x54]
mov byte [esp + 0x140], 0xe
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x58]
xor ecx, edi
push ecx
mov edx, esp
mov dword [esp + 0x138], esp
push ecx
push 0xa
push eax
push edx
mov ecx, ebp
call fcn.004f53d8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x144], 0xa
push ecx
mov ecx, ebp
call fcn.004fa798
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x12c], 0xf
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 0xa
call fcn.0050d468
mov edx, dword [0x4de8b0]
push 1
push ebx
mov eax, dword [edx + 0x110]
lea ecx, [edx + 0x110]
call dword [eax + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
push ebx
lea ecx, [esp + 0x18]
call fcn.0050d492
mov cl, byte [esp + 0x3f]
mov esi, eax
mov byte [esp + 0x1c], cl
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x20]
push ebx
call dword [fcn.004b4614]
test al, al
je 0x4ff3b0
mov edi, dword [esp + 0x20]
mov ecx, ebx
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 + 0x20]
mov dword [esp + 0x24], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x10c]
push 1
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0x134], 0x10
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x128], 0xa
mov ebx, eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ff404
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4ff3fb
cmp al, 0xff
je 0x4ff3fb
dec al
mov byte [ecx], al
jmp 0x4ff404
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0050d48c
test ebx, ebx
je 0x4ff4c0
push 0x4d0ddc
lea ecx, [esp + 0x110]
call fcn.004b5078
push eax
lea ecx, [esp + 0x100]
call fcn.004b4218
lea ecx, [esp + 0xfc]
call fcn.004b4318
cmp eax, 1
je 0x4ff4b9
lea ecx, [esp + 0xfc]
call fcn.004b4318
cmp eax, 2
je 0x4ff4b9
push 0x4d13a0
lea ecx, [esp + 0x110]
xor ebx, ebx
call fcn.004b5078
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x12c], 0x11
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x128], 0xa
call fcn.0050d468
mov ecx, dword [esp + 0x48]
push 0x4d85a8
push ecx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x4ff4ce
push 0x4d13c0
jmp 0x4ff4c5
mov ebx, 1
jmp 0x4ff4ce
push 0x4d13b4
lea ecx, [esp + 0x4c]
call fcn.0050d47a
mov edx, dword [0x4de8b0]
push 0
add edx, 0x110
lea eax, [esp + 0x18]
push edx
push eax
push ebx
mov ecx, ebp
call fcn.004fb4a8
push 0x4d85a8
lea ecx, [esp + 0x18]
call fcn.0050d47a
test ebx, ebx
je 0x4ff53a
lea ecx, [esp + 0xfc]
push ecx
call fcn.00477948
mov ecx, dword [ebp + 0x54]
mov edi, dword [esp + 0x48]
add esp, 4
mov edx, dword [ecx + 0x38]
add edx, eax
mov dword [ecx + 0x38], edx
mov edx, dword [ebp + 0x54]
mov ecx, dword [0x4de8b0]
mov eax, dword [edx + 0x38]
test edi, edi
mov dword [ecx + 0xcbc], eax
je 0x4ff53a
mov ecx, 0x17
xor eax, eax
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x134]
xor edi, edi
cmp esi, edi
je 0x4ff57c
lea edx, [esp + 0x48]
mov ecx, esi
push edx
call fcn.0050d5e8
lea eax, [esp + 0x4c]
lea ecx, [esi + 4]
push eax
call fcn.0050d5e8
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0xec]
mov byte [esp + 0x128], 0x12
cmp ecx, edi
je 0x4ff5aa
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4ff5a1
cmp al, 0xff
je 0x4ff5a1
dec al
mov byte [ecx], al
jmp 0x4ff5aa
push ecx
call fcn.0050d474
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xec], edi
cmp ecx, edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], edi
je 0x4ff5e5
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x4ff5dc
cmp al, 0xff
je 0x4ff5dc
dec al
mov byte [ecx], al
jmp 0x4ff5e5
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc8], edi
cmp eax, edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd0], edi
je 0x4ff712
mov ecx, dword [esp + 0xa0]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xa4], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xc0]
dec eax
mov dword [esp + 0xc0], eax
je 0x4ff64e
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
cmp edx, eax
jne 0x4ff705
mov eax, dword [esp + 0xa4]
mov ecx, eax
add eax, 4
mov dword [esp + 0xa4], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xc4]
add esp, 4
cmp eax, edi
jne 0x4ff6da
lea ecx, [esp + 0x1c]
call fcn.004952b8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x98], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x9c], ecx
push eax
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], esi
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], esi
call fcn.0050d474
add esp, 4
jmp 0x4ff705
mov ecx, dword [esp + 0xa4]
mov eax, dword [ecx]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0xa0], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x9c], edx
cmp dword [esp + 0xc0], edi
jne 0x4ff609
mov eax, dword [esp + 0x90]
mov byte [esp + 0x128], 9
cmp eax, edi
je 0x4ff7ef
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x90]
add ecx, 4
dec eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x90], eax
je 0x4ff74f
cmp ecx, dword [esp + 0x6c]
jne 0x4ff7e2
mov ecx, dword [esp + 0x74]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x74], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x94]
add esp, 4
cmp eax, edi
jne 0x4ff7c6
lea ecx, [esp + 0x1c]
call fcn.004952b8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x70], edx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x68], eax
push edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
call fcn.0050d474
add esp, 4
jmp 0x4ff7e2
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x6c], edx
cmp dword [esp + 0x90], edi
jne 0x4ff729
lea ecx, [esp + 0xfc]
mov byte [esp + 0x128], 8
call fcn.004b4098
lea ecx, [esp + 0x10c]
mov byte [esp + 0x128], 7
call fcn.004b4098
lea ecx, [esp + 0x4c]
mov byte [esp + 0x128], 0x13
call fcn.0050d468
lea ecx, [esp + 0x48]
mov byte [esp + 0x128], 5
call fcn.0050d468
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 4
call fcn.004c5a78
lea ecx, [esp + 0x18]
mov byte [esp + 0x128], 3
call fcn.0050d468
lea ecx, [esp + 0x14]
mov byte [esp + 0x128], 2
call fcn.0050d468
lea ecx, [esp + 0x60]
mov byte [esp + 0x128], 1
call fcn.0050d468
lea ecx, [esp + 0x40]
mov byte [esp + 0x128], 0
call fcn.0050d468
lea ecx, [esp + 0x34]
mov dword [esp + 0x128], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x120]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x11c
ret 8