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

Disassembly:
push 0xffffffffffffffff
push 0x4b133a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push ebp
mov dword [esp + 0x40], ecx
push esi
push edi
lea ecx, [esp + 0x2c]
call fcn.0050d46e
xor edi, edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x114], edi
call fcn.0050d46e
lea ecx, [esp + 0x34]
mov byte [esp + 0x114], 1
call fcn.0050d46e
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 2
call fcn.0050d46e
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 3
call fcn.0050d46e
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 4
call fcn.004c5a38
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 5
call fcn.0050d46e
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 6
call fcn.0050d46e
push edi
lea ecx, [esp + 0xfc]
mov byte [esp + 0x118], 7
call fcn.004b3b78
lea ecx, [esp + 0x60]
mov byte [esp + 0x114], 8
call fcn.004af1d8
lea eax, [esp + 0x34]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [0x4de8b0]
lea edx, [esp + 0x30]
mov bl, 9
push ecx
push edx
lea ecx, [eax + 0xc5c]
mov byte [esp + 0x120], bl
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
call fcn.004c9298
mov esi, dword [esp + 0x120]
mov ecx, dword [esi + 4]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0bd0
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73fc
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
mov edx, dword [esi + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0be4
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
mov ebp, dword [esp + 0x11c]
mov edx, dword [0x4de8b0]
xor ecx, ecx
mov eax, dword [ebp + 0x18]
cmp eax, dword [edx + 0xcb0]
setne cl
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d73f8
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
mov eax, dword [ebp + 0x18]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed0
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
mov ecx, dword [esi]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d2984
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x11c], 0xa
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004c5ab8
mov eax, dword [0x4de8b0]
mov ecx, dword [eax + 0xcb0]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x20]
call fcn.004c5c48
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x11c], 0xb
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004c5ab8
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x11c], 0xc
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceac4
call fcn.0050d630
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], bl
call fcn.004c5ab8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004c5a98
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x118], 0xd
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], bl
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 + 0x2c]
call fcn.00470bf8
push eax
push edi
lea ecx, [esp + 0x34]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4de2c8
call fcn.0050d618
mov ecx, dword [esi]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x44]
xor ecx, esi
mov esi, dword [esp + 0x60]
push ecx
mov edx, esp
mov dword [esp + 0x124], esp
push ecx
push 2
push eax
push edx
mov ecx, esi
mov byte [esp + 0x140], 0xe
call fcn.004f53d8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], bl
push ecx
mov ecx, esi
call fcn.004fa798
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x118], 0xf
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], bl
call fcn.0050d468
mov edx, dword [0x4de8b0]
push 1
mov eax, dword [edx + 0x110]
lea ecx, [edx + 0x110]
push 1
call dword [eax + 4]
push edi
lea ecx, [esp + 0x18]
call fcn.0050d492
mov cl, byte [esp + 0x2b]
mov esi, eax
mov byte [esp + 0x38], cl
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x3c]
push edi
mov dword [esp + 0x18], edi
call dword [fcn.004b4614]
test al, al
je 0x4fa33d
mov ecx, edi
mov edi, dword [esp + 0x3c]
mov edx, ecx
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 + 0x3c]
mov dword [esp + 0x40], eax
mov byte [ecx + eax], 0
lea edx, [esp + 0xf8]
push 1
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x120], 0x10
call fcn.004af268
and eax, 0xff
xor esi, esi
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x114], bl
je 0x4fa392
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fa389
cmp al, 0xff
je 0x4fa389
dec al
mov byte [ecx], al
jmp 0x4fa392
push ecx
call fcn.0050d474
add esp, 4
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.0050d48c
cmp edi, esi
je 0x4fa400
push 0x4d13a0
lea ecx, [esp + 0xfc]
call fcn.004b5078
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00477a28
add esp, 8
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x118], 0x11
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x114], bl
call fcn.0050d468
push 0x4d13ac
lea ecx, [esp + 0xfc]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov edi, eax
jmp 0x4fa42c
mov edx, dword [esp + 0x14]
push 0x4d85a8
push edx
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x4fa41e
push 0x4d13c0
jmp 0x4fa423
push 0x4d13b4
lea ecx, [esp + 0x50]
call fcn.0050d47a
mov eax, dword [0x4de8b0]
push ebp
add eax, 0xc5c
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x54]
push edi
call fcn.004fb3a8
mov ebx, dword [esp + 0x124]
cmp ebx, esi
je 0x4fa480
lea edx, [esp + 0x4c]
mov ecx, ebx
push edx
call fcn.0050d5e8
lea eax, [esp + 0x50]
lea ecx, [ebx + 4]
push eax
call fcn.0050d5e8
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xe8]
mov byte [esp + 0x114], 0x12
cmp eax, esi
je 0x4fa4b0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fa4a7
cmp al, 0xff
je 0x4fa4a7
dec al
mov byte [ecx], al
jmp 0x4fa4b0
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xe8], esi
cmp eax, esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
je 0x4fa4ed
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4fa4e4
cmp al, 0xff
je 0x4fa4e4
dec al
mov byte [ecx], al
jmp 0x4fa4ed
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc4], esi
cmp eax, esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
je 0x4fa61a
mov ecx, dword [esp + 0x9c]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xa0], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xbc]
dec eax
mov dword [esp + 0xbc], eax
je 0x4fa556
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
cmp ecx, eax
jne 0x4fa60d
mov eax, dword [esp + 0xa0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xa0], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xc0]
add esp, 4
cmp eax, esi
jne 0x4fa5e2
lea ecx, [esp + 0x38]
call fcn.004952b8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x94], eax
push edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], ebx
call fcn.0050d474
add esp, 4
jmp 0x4fa60d
mov ecx, dword [esp + 0xa0]
mov eax, dword [ecx]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x9c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x98], edx
cmp dword [esp + 0xbc], esi
jne 0x4fa511
cmp dword [esp + 0x8c], esi
je 0x4fa6d7
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x8c]
add ecx, 4
dec eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], eax
je 0x4fa64d
mov eax, ecx
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jne 0x4fa6ca
mov ecx, dword [esp + 0x70]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x70], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x90]
add esp, 4
cmp eax, esi
jne 0x4fa6ae
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x84]
xor edx, edx
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], esi
call fcn.0050d474
add esp, 4
jmp 0x4fa6ca
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x68], edx
cmp dword [esp + 0x8c], esi
jne 0x4fa627
lea ecx, [esp + 0xf8]
mov byte [esp + 0x114], 7
call fcn.004b4098
lea ecx, [esp + 0x50]
mov byte [esp + 0x114], 0x13
call fcn.0050d468
lea ecx, [esp + 0x4c]
mov byte [esp + 0x114], 5
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x114], 4
call fcn.004c5a78
lea ecx, [esp + 0x14]
mov byte [esp + 0x114], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x114], 2
call fcn.0050d468
lea ecx, [esp + 0x34]
mov byte [esp + 0x114], 1
call fcn.0050d468
lea ecx, [esp + 0x30]
mov byte [esp + 0x114], 0
call fcn.0050d468
lea ecx, [esp + 0x2c]
mov dword [esp + 0x114], 0xffffffff
call fcn.0050d468
mov ecx, dword [esp + 0x10c]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108
ret 0xc