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

Disassembly:
sub esp, 0x90
mov eax, dword [0x63727c]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
push esi
push edi
xor edi, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
cmp ebx, edi
je 0x4ff654
cmp byte [ebx], 0
je 0x4ff654
xor esi, esi
jmp 0x4ff659
mov esi, 1
mov dword [esp + 0x18], esi
cmp ebx, edi
je 0x4ff691
mov ecx, str.:memory:
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4ff688
test dl, dl
je 0x4ff684
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4ff688
add eax, 2
add ecx, 2
test dl, dl
jne 0x4ff668
xor eax, eax
jmp 0x4ff68d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x4ff6aa
cmp esi, edi
je 0x4ff69b
cmp byte [ebp + 0x48], 2
je 0x4ff6aa
mov eax, dword [esp + 0xb4]
test al, al
js 0x4ff6b1
xor ebp, ebp
jmp 0x4ff6be
mov eax, dword [esp + 0xb4]
or dword [esp + 0xb0], 2
mov ebp, 1
mov dword [esp + 0x2c], ebp
test eax, 0x100
je 0x4ff6e2
cmp ebp, edi
jne 0x4ff6d1
cmp esi, edi
je 0x4ff6e2
and eax, 0xfffffeff
or eax, 0x200
mov dword [esp + 0xb4], eax
cmp dword [0x633cb0], edi
je 0x4ff787
mov eax, dword [0x641778]
cmp eax, edi
je 0x4ff701
push eax
call dword [0x633d0c]
add esp, 4
lea edx, [esp + 0x10]
push edx
mov eax, 0x30
call fcn.004bbb80
mov eax, dword [0x641778]
add esp, 4
cmp eax, edi
je 0x4ff726
push eax
call dword [0x633d14]
add esp, 4
mov esi, dword [esp + 0x10]
cmp esi, edi
je 0x4ff7e7
push 0x30
push edi
push esi
call fcn.00586030
mov eax, dword [esp + 0x30]
add esp, 0xc
mov byte [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 0x20], esi
mov dword [esi + 0x24], 1
cmp dword [esp + 0x18], edi
jne 0x4ff95c
test ebp, ebp
je 0x4ff76e
test byte [esp + 0xb4], 0x40
je 0x4ff95c
test dword [esp + 0xb4], 0x20000
je 0x4ff95c
test ebx, ebx
jne 0x4ff79a
xor eax, eax
jmp 0x4ff7ae
push 0x30
call dword [0x633cdc]
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
jmp 0x4ff72a
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ff7a0
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx + 8]
lea edi, [eax + 1]
inc esi
cmp esi, edi
mov eax, esi
jg 0x4ff7c1
mov eax, edi
cdq
push edx
push eax
call fcn.004bbc40
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [esp + 0x20], eax
mov byte [edx + 9], 1
test eax, eax
jne 0x4ff7f1
mov eax, edx
push eax
call fcn.004acb60
add esp, 4
mov eax, 7
jmp 0x4ffd08
test ebp, ebp
je 0x4ff819
mov ecx, dword [esp + 0x20]
push edi
push ebx
push ecx
call fcn.00588f30
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x2c]
add esp, 0xc
cmp dword [0x633cb4], 0
jne 0x4ff855
xor eax, eax
jmp 0x4ff860
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
push ebp
push esi
mov byte [ebp], 0
mov edx, dword [edi + 0x24]
push ebx
push edi
call edx
mov esi, eax
add esp, 0x10
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4ff80c
push ebp
call fcn.004acb60
mov eax, dword [esp + 0x14]
push eax
call fcn.004acb60
add esp, 8
mov eax, esi
jmp 0x4ffd08
push 4
call dword [0x633d04]
add esp, 4
push eax
mov dword [esp + 0x24], eax
call fcn.004ac8c0
add esp, 4
cmp dword [0x633cb4], 0
jne 0x4ff87e
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x4ff88f
push 2
call dword [0x633d04]
add esp, 4
mov esi, eax
mov dword [esp + 0x18], eax
push esi
call fcn.004ac8c0
mov eax, dword [0x6417ac]
add esp, 4
mov ebx, eax
mov dword [esp + 0x14], ebx
test eax, eax
je 0x4ff939
jmp 0x4ff8b0
mov esi, dword [ebx]
mov ecx, dword [esi + 0xa8]
mov eax, ebp
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4ff8e0
test dl, dl
je 0x4ff8dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4ff8e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4ff8c0
xor eax, eax
jmp 0x4ff8e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4ff8ed
cmp dword [esi], edi
je 0x4ff8fc
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x14], eax
mov ebx, eax
test eax, eax
jne 0x4ff8b0
jmp 0x4ff935
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x14]
sub eax, 1
js 0x4ff92b
mov ecx, dword [ecx + 0x10]
mov edx, eax
shl edx, 4
lea ecx, [ecx + edx + 4]
mov edx, dword [ecx]
test edx, edx
je 0x4ff923
cmp dword [edx + 4], ebx
je 0x4ffae1
dec eax
sub ecx, 0x10
test eax, eax
jge 0x4ff914
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ebx
inc dword [ebx + 0x40]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4ff947
push esi
call dword [0x633d14]
add esp, 4
push ebp
call fcn.004acb60
add esp, 4
test ebx, ebx
jne 0x4ffbd8
mov ebx, dword [esp + 0x34]
cmp dword [0x633cb0], 0
je 0x4ffb22
mov eax, dword [0x641778]
test eax, eax
je 0x4ff97c
push eax
call dword [0x633d0c]
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x54
call fcn.004bbb80
mov eax, dword [0x641778]
add esp, 4
test eax, eax
je 0x4ff9a1
push eax
call dword [0x633d14]
add esp, 4
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4ff9b6
push 0x54
push 0
push ebp
call fcn.00586030
add esp, 0xc
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4ffd21
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
push 0x4e6120
push edx
push 0x54
push ebx
push ebp
push eax
call fcn.004fec60
add esp, 0x18
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4ffd29
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x28]
mov dword [eax + 0x80], ecx
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x84], edx
call fcn.004fe820
mov eax, dword [ebp]
push eax
lea esi, [esp + 0x3c]
mov edi, 0x64
call fcn.004b0ec0
xor esi, esi
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, esi
jne 0x4ffd29
mov eax, dword [ebp]
mov cl, byte [esp + 0xb0]
mov byte [ebp + 0x10], cl
mov dword [ebp + 4], ebx
lea ecx, [eax + 0xb0]
mov dword [eax + 0xb4], ebp
mov eax, dword [eax + 0x3c]
mov dword [ecx], fcn.004bf730
mov edx, dword [eax]
cmp edx, esi
je 0x4ffa6b
mov edx, dword [edx + 0x28]
push ecx
push 0xf
push eax
call edx
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [eax + 4], ebp
mov edi, dword [ebp]
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
cmp byte [edi + 0xe], 0
je 0x4ffa86
or word [ebp + 0x16], 1
movzx eax, byte [esp + 0x49]
movzx ecx, byte [esp + 0x48]
shl eax, 8
or eax, ecx
shl eax, 8
lea ebx, [ebp + 0x20]
mov dword [ebx], eax
cmp eax, 0x200
jb 0x4ffb34
cmp eax, 0x10000
ja 0x4ffb34
lea edx, [eax - 1]
test eax, edx
jne 0x4ffb34
mov al, byte [esp + 0x4c]
or word [ebp + 0x16], 2
mov ecx, dword [esp + 0x6c]
bswap ecx
test ecx, ecx
setne dl
mov byte [ebp + 0x11], dl
mov ecx, dword [esp + 0x78]
bswap ecx
test ecx, ecx
setne dl
mov byte [ebp + 0x12], dl
jmp 0x4ffb4c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4ffaf3
push eax
call dword [0x633d14]
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ffb05
push eax
call dword [0x633d14]
add esp, 4
push ebp
call fcn.004acb60
mov edx, dword [esp + 0x14]
push edx
call fcn.004acb60
add esp, 8
mov eax, 0x13
jmp 0x4ffd08
push 0x54
call dword [0x633cdc]
add esp, 4
mov ebp, eax
jmp 0x4ff9a5
mov dword [ebx], esi
cmp dword [esp + 0x34], esi
je 0x4ffb4a
cmp dword [esp + 0x2c], esi
jne 0x4ffb4a
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x12], 0
xor al, al
movzx esi, al
push esi
push ebx
call fcn.004fe8d0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x4ffd29
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
sub eax, esi
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x40], 1
cmp byte [ecx + 9], 0
je 0x4ffbd4
cmp dword [0x633cb4], 0
jne 0x4ffb8a
xor esi, esi
jmp 0x4ffbb6
push 2
call dword [0x633d04]
add esp, 4
cmp dword [0x633cb4], 0
mov esi, eax
je 0x4ffbb6
push 0
call dword [0x633d04]
add esp, 4
mov dword [ebp + 0x38], eax
test eax, eax
je 0x4ffd21
push esi
call fcn.004ac8c0
mov edx, dword [0x6417ac]
push esi
mov dword [ebp + 0x44], edx
mov dword [0x6417ac], ebp
call fcn.004ac900
add esp, 8
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
cmp byte [edi + 9], 0
je 0x4ffc5a
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x14]
xor edx, edx
test esi, esi
jle 0x4ffc5a
mov ecx, dword [eax + 0x10]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
je 0x4ffc01
cmp byte [eax + 9], 0
jne 0x4ffc0b
inc edx
add ecx, 0x10
cmp edx, esi
jl 0x4ffbf5
jmp 0x4ffc5a
cmp dword [eax + 0x1c], 0
je 0x4ffc1a
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x1c], 0
jne 0x4ffc11
mov edx, dword [edi + 4]
cmp edx, dword [eax + 4]
jae 0x4ffc31
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], 0
mov dword [eax + 0x1c], edi
jmp 0x4ffc5a
cmp dword [eax + 0x18], 0
je 0x4ffc47
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 4], edx
jae 0x4ffc47
mov eax, ecx
cmp dword [eax + 0x18], 0
jne 0x4ffc37
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
test ecx, ecx
je 0x4ffc57
mov dword [ecx + 0x1c], edi
mov dword [eax + 0x18], edi
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x30]
mov dword [edx], edi
jne 0x4ffd2d
mov esi, dword [esp + 0x10]
cmp byte [esi + 9], 0
mov ebx, dword [esi + 4]
je 0x4ffc99
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x4ffc88
mov edi, esi
call fcn.004b2140
cmp byte [esi + 9], 0
je 0x4ffc99
add dword [esi + 0xc], 0xffffffff
jne 0x4ffc99
call fcn.004b2120
cmp dword [ebx + 0x30], 0
jne 0x4ffcd4
mov edx, dword [esi + 4]
mov eax, dword [edx]
mov esi, dword [eax + 0xd4]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x18]
mov dword [esi + 0x10], 0xfffff830
cdq
push edx
push eax
push 0
push 0x1f4000
call fcn.005897d0
mov ecx, dword [esi + 0x2c]
push eax
push ecx
call dword [0x633d34]
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov eax, dword [eax + 0x3c]
mov ecx, dword [eax]
test ecx, ecx
je 0x4ffcf2
mov ecx, dword [ecx + 0x28]
add edx, 4
push edx
push 0x1e
push eax
call ecx
add esp, 0xc
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4ffd04
push eax
call dword [0x633d14]
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00584447
add esp, 0x90
ret
mov dword [esp + 0x1c], 7
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4ffd42
mov eax, dword [ebx]
test eax, eax
je 0x4ffd42
push eax
xor eax, eax
call fcn.004fe9f0
add esp, 4
push ebx
call fcn.004acb60
mov eax, dword [esp + 0x14]
push eax
call fcn.004acb60
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [ecx], 0
jmp 0x4ffcf2