Function at 0x4f483c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x4f4845
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4f485f
add esp, 0xfffffff0
call fcn.00408534
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x4d], dl
mov dword [ebp - 0x4c], eax
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x48]
mov edx, dword [0x4edee0]
call fcn.0040b298
xor eax, eax
push ebp
push 0x4f57b0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x1c], edx
cmp dword [ebp + 8], 2
jae 0x4f48ac
mov dword [ebp + 8], 2
call fcn.004f3e18
xor ecx, ecx
push ebp
push 0x4f5760
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [edi], ebx
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x30], edx
test byte [ebp + 0xd], 4
setne al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x34], al
test byte [ebp + 0xc], 0x20
setne al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x35], al
test byte [ebp + 0xd], 1
setne al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x28], edx
xor edx, edx
mov eax, 0x4000
call fcn.004f3970
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
add eax, 0x2000
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
mov byte [eax], 0xff
mov byte [eax + 1], 0x25
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x1c]
mov dword [eax + 2], edx
mov edx, dword [ebp - 0x4c]
mov eax, ebx
mov dword [edx + 8], eax
mov esi, eax
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x14], edi
mov byte [ebp - 0x71], 0
lea ecx, [ebp - 4]
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov eax, dword [0x5f43a4]
call fcn.004f3610
lea edx, [ebp - 0xb4]
mov eax, dword [0x5f4388]
call fcn.004ec478
push dword [ebp - 0xb4]
push 0x4f57e8
push dword [ebp - 4]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.0040a6b4
mov eax, dword [ebp - 0xb0]
call fcn.0040a7fc
push eax
call fcn.004f3168
mov dword [ebp - 0x5c], eax
xor ecx, ecx
push ebp
push 0x4f573d
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x5c], 0
je 0x4f49d3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00415138
xor ecx, ecx
push ebp
push 0x4f56b2
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xbc]
mov eax, dword [0x5f439c]
call fcn.004ec478
push dword [ebp - 0xbc]
push 0x4f57e8
push dword [ebp - 4]
lea eax, [ebp - 0xb8]
mov edx, 3
call fcn.0040a6b4
mov eax, dword [ebp - 0xb8]
call fcn.0040a7fc
push eax
call fcn.004f35fc
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
call fcn.004f47ec
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 0x4c]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x4f568e
push dword fs:[ecx]
mov dword fs:[ecx], esp
test bl, bl
je 0x4f4e6f
test byte [ebp + 0xc], 2
jne 0x4f4bce
test byte [ebp + 0xf], 0x80
jne 0x4f4bce
cmp byte [0x5f429b], 0
je 0x4f4a7b
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.004f0814
jmp 0x4f4ad6
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax + 8]
lea edx, [ebp - 0xac]
mov eax, edi
call fcn.004ef530
mov edi, dword [ebp - 0x8c]
cmp byte [ebp - 0xac], 0
je 0x4f4ac7
mov eax, edi
sub eax, esi
cmp eax, 6
jae 0x4f4ac7
movzx eax, word [ebp - 0xaa]
add eax, 0xffffff3e
sub ax, 2
jb 0x4f4ac7
add eax, 0xfffffffa
sub ax, 2
jb 0x4f4ac7
sub ax, 3
jne 0x4f4a81
sub edi, esi
cmp edi, 6
jb 0x4f4ad6
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x20], 1
cmp byte [ebp - 0x48], 0
je 0x4f4b08
cmp byte [ebp - 0x20], 0
je 0x4f4b08
cmp byte [0x5f4298], 0
jne 0x4f4bce
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x54]
call fcn.004f4668
test al, al
je 0x4f4bce
or dword [ebp + 0xc], 2
cmp byte [ebp - 0x48], 0
je 0x4f4b1f
cmp byte [ebp - 0x20], 0
je 0x4f4b1f
mov dword [ebp - 0x70], 0x770004
test byte [ebp + 0xd], 2
je 0x4f4bce
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.004ef530
cmp byte [ebp - 0xa6], 0
je 0x4f4bce
cmp dword [ebp - 0xa4], 0
je 0x4f4bce
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xa4]
call fcn.004f0814
mov ebx, 0xa
cmp byte [ebp - 0x48], 0
je 0x4f4bb8
cmp byte [ebp - 0x20], 0
jne 0x4f4bb8
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0xa4]
call fcn.004ef530
push esi
lea esi, [ebp - 0xe0]
lea edi, [ebp - 0xac]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
cmp byte [ebp - 0xa6], 0
je 0x4f4bb8
cmp dword [ebp - 0xa4], 0
je 0x4f4bb8
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xa4]
call fcn.004f0814
dec ebx
jne 0x4f4b63
cmp byte [ebp - 0x48], 0
je 0x4f4bce
cmp byte [ebp - 0x20], 0
je 0x4f4bce
mov esi, dword [ebp - 0xa4]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x4f4e6f
test byte [ebp + 0xc], 0x10
jne 0x4f4e4f
cmp dword [ebp - 0x54], 0
je 0x4f4e4f
lea edx, [ebp - 0xe8]
mov eax, dword [0x5f436c]
call fcn.004ec478
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
mov dl, 1
call fcn.004ec4ac
mov eax, dword [ebp - 0xe4]
push eax
call fcn.00414e18
cmp eax, dword [ebp - 0x54]
sete al
mov edx, dword [ebp - 0x4c]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x37], 0
je 0x4f4c42
test byte [ebp + 0xc], 0x80
je 0x4f4c42
mov eax, dword [ebp - 0x54]
call fcn.004f397c
mov ebx, eax
jmp 0x4f4c44
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x37], 0
je 0x4f4c55
test ebx, ebx
je 0x4f4e2f
xor edx, edx
mov eax, 0x1000
call fcn.004f3970
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x6c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x6c]
add eax, 6
mov edx, dword [ebp - 0x6c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x6c]
mov dword [edx + 6], eax
lea eax, [ebp - 0x84]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00415118
mov eax, dword [0x5f8ce4]
mov dword [eax], fcn.004f3710
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x5f43a0]
call fcn.004f3610
push 4
lea edx, [ebp - 0xf0]
mov eax, dword [0x5f439c]
call fcn.004ec478
push dword [ebp - 0xf0]
push 0x4f57e8
push dword [ebp - 8]
lea eax, [ebp - 0xec]
mov edx, 3
call fcn.0040a6b4
mov eax, dword [ebp - 0xec]
call fcn.0040a7fc
push eax
call fcn.004f3260
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f4d46
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call fcn.00415028
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4f4d38
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
push eax
call fcn.004150f0
jmp 0x4f4d46
mov eax, dword [ebp - 0x60]
push eax
call fcn.00414c08
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f4dea
push ebx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x54]
call fcn.004f3b08
test al, al
je 0x4f4dea
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x37], 0
je 0x4f4da9
lea edx, [ebp - 0xf8]
mov eax, dword [0x5f436c]
call fcn.004ec478
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.004ec4ac
mov eax, dword [ebp - 0xf4]
push eax
call fcn.00415000
xor eax, eax
push ebp
push 0x4f4dcf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x6c]
call fcn.004f3c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4dd9
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 0x71], 1
xor eax, eax
mov dword [ebp - 0x70], eax
jmp 0x4f4e6f
cmp dword [ebp - 0x60], 0
je 0x4f4df9
mov eax, dword [ebp - 0x60]
push eax
call fcn.00414c08
push 0x8000
push 0
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00415110
cmp dword [ebp - 0x70], 0
jne 0x4f4e16
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f5767
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f5767
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f5767
xor eax, eax
mov dword [ebp - 0x64], eax
xor ecx, ecx
push ebp
push 0x4f5661
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 5], 0
je 0x4f5127
mov edx, esi
mov eax, 0x2000
call fcn.004f3970
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x3c], eax
mov edi, esi
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x3c]
lea edx, [ebp - 0xac]
mov eax, edi
call fcn.004ef530
cmp byte [ebp - 0xa5], 0
je 0x4f4f4e
mov eax, dword [ebp - 0x98]
cmp eax, 1
jne 0x4f4ef7
cmp word [ebp - 0xaa], 0xeb
je 0x4f4eef
mov byte [ebx], 0xf
movzx eax, byte [ebp - 0xaa]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x4f4f3d
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x4f4f3d
cmp eax, 2
jne 0x4f4f21
mov eax, dword [ebp - 0x8c]
sub eax, edi
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
sub ecx, 3
mov edx, ebx
mov eax, edi
inc eax
call fcn.00407034
mov eax, ebx
add eax, dword [ebp - 0x58]
inc eax
mov ebx, eax
jmp 0x4f4f3d
mov eax, dword [ebp - 0x8c]
sub eax, edi
mov dword [ebp - 0x58], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [ebp - 0x58]
call fcn.00407034
mov eax, dword [ebp - 0x58]
add ebx, eax
mov edx, dword [ebp - 0xa4]
mov eax, ebx
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x4f4f6a
mov eax, dword [ebp - 0x8c]
sub eax, edi
mov dword [ebp - 0x58], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [ebp - 0x58]
call fcn.00407034
mov eax, dword [ebp - 0x58]
add ebx, eax
mov edi, dword [ebp - 0x8c]
mov eax, edi
sub eax, esi
cmp eax, 6
jb 0x4f4ea9
mov byte [ebx], 0xe9
add ebx, 5
sub edi, ebx
sub ebx, 4
mov dword [ebx], edi
mov eax, dword [ebp - 0x4c]
mov ebx, dword [eax + 0x3c]
add ebx, 0x1000
sub ebx, 6
mov byte [ebx], 0xff
inc ebx
mov byte [ebx], 0x25
inc ebx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
mov dword [ebx], eax
lea eax, [ebp - 0x84]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
push eax
call fcn.00415118
lea eax, [ebp - 0x84]
push eax
push 4
push 0x1000
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
push eax
call fcn.00415118
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x5f439c]
call fcn.004ec478
push dword [ebp - 0x100]
push 0x4f57e8
push dword [ebp - 4]
lea eax, [ebp - 0xfc]
mov edx, 3
call fcn.0040a6b4
mov eax, dword [ebp - 0xfc]
call fcn.0040a7fc
push eax
call fcn.004f3260
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f51c8
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call fcn.00415028
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4f51c8
xor edx, edx
mov eax, 0x5c
call fcn.004f3970
mov edx, dword [ebp - 0x64]
mov dword [edx], eax
lea eax, [ebp - 0x58]
push eax
push 4
push 0x5c
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
push eax
call fcn.00415118
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [eax], 2
mov dword [eax + 4], 8
mov dword [eax + 0xc], esi
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
mov cx, word [edx + 4]
mov word [eax + 0x14], cx
mov edx, dword [eax + 0x10]
mov dword [eax + 0x16], edx
mov dx, word [eax + 0x14]
mov word [eax + 0x1a], dx
lea edx, [eax + 0x16]
mov byte [edx], 0xe9
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x3c]
add edx, 0x1000
sub edx, 6
mov ecx, dword [eax + 0xc]
add ecx, 5
sub edx, ecx
lea ecx, [eax + 0x16]
inc ecx
mov dword [ecx], edx
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x3c]
add ecx, 0x1000
mov dword [ecx], edx
cmp byte [ebp - 0x71], 0
jne 0x4f50f2
mov edx, dword [ebp - 0x60]
mov dword [eax + 8], edx
jmp 0x4f50f7
xor edx, edx
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x60]
mov dword [edx + 0xc], ecx
xor edx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x3c]
add edx, 0x1000
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x3c]
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x4f51c8
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call fcn.00415028
mov dword [ebp - 0x64], eax
mov edi, dword [ebp - 0x64]
mov esi, dword [edi]
mov eax, dword [esi]
mov eax, dword [esi + eax*8 + 0x14]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jne 0x4f51bf
mov eax, dword [esi + 4]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, 0x1c
xor edx, edx
call fcn.004f3970
mov ebx, eax
lea eax, [ebp - 0x84]
push eax
push 4
mov eax, dword [esi + 4]
add eax, eax
add eax, eax
add eax, eax
add eax, eax
add eax, 0x1c
push eax
push ebx
call fcn.00415118
mov ecx, dword [esi + 4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
add ecx, 0x1c
mov edx, ebx
mov eax, dword [edi]
call fcn.00407034
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x68], eax
mov dword [edi], ebx
push 0x8000
push 0
mov eax, dword [ebp - 0x68]
push eax
call fcn.00415110
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
test byte [ebp + 0xc], 1
jne 0x4f5462
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
add eax, 0x1000
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
add eax, 0x2000
add eax, 4
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
add eax, 0xcb0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x18]
add esi, 0xa
mov ebx, esi
test byte [ebp + 0xd], 4
jne 0x4f5292
mov edx, ebx
mov eax, str.WVRQPS
mov ecx, 0x50
call fcn.00407034
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
mov edx, esi
add edx, 7
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, esi
add edx, 0xc
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
mov edx, esi
add edx, 0x11
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
sub eax, esi
sub eax, 0x50
add esi, 0x4c
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], ebx
add ebx, 0x50
mov edx, ebx
mov eax, 0x5f4555
mov ecx, 0x2b
call fcn.00407034
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
add ebx, 0x19
mov dword [ebx], eax
mov dword [ebp - 0x58], 0x5a
jmp 0x4f540a
mov edx, ebx
mov eax, 0x5f4580
mov ecx, 0x9a
call fcn.00407034
mov eax, dword [ebp + 8]
add eax, 0xb
add eax, eax
add eax, eax
add eax, 0x10
mov edx, esi
add edx, 0x11
mov dword [edx], eax
mov eax, dword [ebp + 8]
inc eax
mov edx, esi
add edx, 0x16
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
mov edx, esi
add edx, 0x23
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, esi
add edx, 0x28
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
add esi, 0x2d
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, 0xc
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x34
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xb
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x66
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x6d
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 9
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x74
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 8
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x7b
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 5
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x82
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 4
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x89
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x90
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
sub eax, ebx
sub eax, 0x9a
mov edx, ebx
add edx, 0x96
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], ebx
add ebx, 0x9a
mov edx, ebx
mov eax, 0x5f461a
mov ecx, 0x34
call fcn.00407034
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, ebx
add edx, 0x19
mov dword [edx], eax
movzx eax, word [ebp + 8]
add ax, 0xc
add eax, eax
add eax, eax
add ax, 0x10
add ebx, 0x32
mov word [ebx], ax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
add eax, 0xfdc
mov ebx, eax
mov edx, ebx
mov eax, 0x5f46a8
mov ecx, 0x22
call fcn.00407034
movzx eax, word [ebp + 8]
add ax, 0xd
add eax, eax
add eax, eax
add ax, 0x10
add ebx, 0x20
mov word [ebx], ax
mov dword [ebp - 0x58], 0xa4
xor ebx, ebx
lea edx, [ebx + ebx*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x20]
add eax, edx
mov byte [eax], 0xe8
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x20]
lea edx, [ecx + edx]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x18]
add ecx, dword [ebp - 0x58]
sub ecx, edx
sub ecx, 5
mov dword [eax + 1], ecx
inc ebx
cmp ebx, 0x32c
jne 0x4f540c
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
mov edx, 0xcb0
call fcn.00415b28
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x28]
mov edx, 0xcb0
call fcn.00415b28
jmp 0x4f5559
test byte [ebp + 0xd], 4
je 0x4f5559
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x18]
add esi, 0xa
mov ebx, esi
mov edx, ebx
mov eax, 0x5f464e
mov ecx, 0x5a
call fcn.00407034
mov eax, dword [ebp + 8]
add eax, 0xb
add eax, eax
add eax, eax
add eax, 0x10
mov edx, esi
add edx, 0x11
mov dword [edx], eax
mov eax, dword [ebp + 8]
inc eax
mov edx, esi
add edx, 0x16
mov dword [edx], eax
mov eax, esi
add eax, 0x5a
mov edx, esi
add edx, 0x23
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xb
add eax, eax
add eax, eax
mov edx, esi
add edx, 0x2d
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
add eax, eax
add eax, eax
add esi, 0x34
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, 9
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x3b
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 5
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x42
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 4
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x49
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
add eax, eax
add eax, eax
mov edx, ebx
add edx, 0x50
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
sub eax, ebx
sub eax, 0x5a
mov edx, ebx
add edx, 0x56
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x10], ebx
add ebx, 0x5a
mov edx, ebx
mov eax, 0x5f46a8
mov ecx, 0x22
call fcn.00407034
movzx eax, word [ebp + 8]
add ax, 0xd
add eax, eax
add eax, eax
add ax, 0x10
add ebx, 0x20
mov word [ebx], ax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x16]
mov dword [edx + 0x44], ecx
mov cx, word [eax + 0x1a]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x4a], ecx
mov cx, word [eax + 0x14]
mov word [edx + 0x4e], cx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov dword [eax + edx*8 + 0x1c], ecx
mov ecx, dword [eax + edx*8 + 0x18]
mov dword [eax + edx*8 + 0x20], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x1c]
mov edx, dword [eax + edx*8 + 0x18]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov edx, dword [eax + edx*8 + 0x10]
mov dword [edx], ecx
inc dword [eax]
mov eax, dword [ebp - 0x4c]
mov byte [eax + 4], 1
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 5], 0
jne 0x4f5636
cmp byte [0x5f4299], 0
jne 0x4f5636
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.004f0d2c
test al, al
jne 0x4f5644
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
add edx, 0x4a
cmp eax, dword [edx]
jne 0x4f5644
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
add eax, 4
movzx eax, word [eax]
mov edx, dword [ebp - 0x4c]
add edx, 0x4a
add edx, 4
cmp ax, word [edx]
jne 0x4f5644
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
call fcn.004f5df8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5668
cmp dword [ebp - 0x64], 0
je 0x4f5660
mov eax, dword [ebp - 0x64]
push eax
call fcn.004150f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f57b7
lea eax, [ebp - 0x100]
mov edx, 8
call fcn.00409e6c
lea eax, [ebp - 0xbc]
mov edx, 4
call fcn.00409e6c
lea eax, [ebp - 0x48]
mov edx, dword [0x4edee0]
call fcn.0040b374
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e6c
ret