Function at 0x4f4864
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1f
push 0
push 0
dec ecx
jne 0x4f486d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4f4887
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 [0x4edf08]
call fcn.0040b298
xor eax, eax
push ebp
push 0x4f57d8
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 0x4f48d4
mov dword [ebp + 8], 2
call fcn.004f3e40
xor ecx, ecx
push ebp
push 0x4f5788
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.004f3998
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.004f3638
lea edx, [ebp - 0xb4]
mov eax, dword [0x5f4388]
call fcn.004ec4a0
push dword [ebp - 0xb4]
push 0x4f5810
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.004f3190
mov dword [ebp - 0x5c], eax
xor ecx, ecx
push ebp
push 0x4f5765
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x5c], 0
je 0x4f49fb
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x4f56da
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xbc]
mov eax, dword [0x5f439c]
call fcn.004ec4a0
push dword [ebp - 0xbc]
push 0x4f5810
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.004f3624
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
call fcn.004f4814
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 0x4c]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x4f56b6
push dword fs:[ecx]
mov dword fs:[ecx], esp
test bl, bl
je 0x4f4e97
test byte [ebp + 0xc], 2
jne 0x4f4bf6
test byte [ebp + 0xf], 0x80
jne 0x4f4bf6
cmp byte [0x5f429b], 0
je 0x4f4aa3
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.004f083c
jmp 0x4f4afe
mov eax, dword [ebp - 0x4c]
mov edi, dword [eax + 8]
lea edx, [ebp - 0xac]
mov eax, edi
call fcn.004ef558
mov edi, dword [ebp - 0x8c]
cmp byte [ebp - 0xac], 0
je 0x4f4aef
mov eax, edi
sub eax, esi
cmp eax, 6
jae 0x4f4aef
movzx eax, word [ebp - 0xaa]
add eax, 0xffffff3e
sub ax, 2
jb 0x4f4aef
add eax, 0xfffffffa
sub ax, 2
jb 0x4f4aef
sub ax, 3
jne 0x4f4aa9
sub edi, esi
cmp edi, 6
jb 0x4f4afe
mov byte [ebp - 0x48], 1
mov byte [ebp - 0x20], 1
cmp byte [ebp - 0x48], 0
je 0x4f4b30
cmp byte [ebp - 0x20], 0
je 0x4f4b30
cmp byte [0x5f4298], 0
jne 0x4f4bf6
lea ecx, [ebp - 0x80]
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x54]
call fcn.004f4690
test al, al
je 0x4f4bf6
or dword [ebp + 0xc], 2
cmp byte [ebp - 0x48], 0
je 0x4f4b47
cmp byte [ebp - 0x20], 0
je 0x4f4b47
mov dword [ebp - 0x70], 0x770004
test byte [ebp + 0xd], 2
je 0x4f4bf6
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
call fcn.004ef558
cmp byte [ebp - 0xa6], 0
je 0x4f4bf6
cmp dword [ebp - 0xa4], 0
je 0x4f4bf6
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xa4]
call fcn.004f083c
mov ebx, 0xa
cmp byte [ebp - 0x48], 0
je 0x4f4be0
cmp byte [ebp - 0x20], 0
jne 0x4f4be0
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0xa4]
call fcn.004ef558
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 0x4f4be0
cmp dword [ebp - 0xa4], 0
je 0x4f4be0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 0xa4]
call fcn.004f083c
dec ebx
jne 0x4f4b8b
cmp byte [ebp - 0x48], 0
je 0x4f4bf6
cmp byte [ebp - 0x20], 0
je 0x4f4bf6
mov esi, dword [ebp - 0xa4]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x4f4e97
test byte [ebp + 0xc], 0x10
jne 0x4f4e77
cmp dword [ebp - 0x54], 0
je 0x4f4e77
lea edx, [ebp - 0xe8]
mov eax, dword [0x5f436c]
call fcn.004ec4a0
mov eax, dword [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
mov dl, 1
call fcn.004ec4d4
mov eax, dword [ebp - 0xe4]
push eax
call sub.kernel32.dll_GetModuleHandleW_1
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 0x4f4c6a
test byte [ebp + 0xc], 0x80
je 0x4f4c6a
mov eax, dword [ebp - 0x54]
call fcn.004f39a4
mov ebx, eax
jmp 0x4f4c6c
xor ebx, ebx
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x37], 0
je 0x4f4c7d
test ebx, ebx
je 0x4f4e57
xor edx, edx
mov eax, 0x1000
call fcn.004f3998
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 sub.kernel32.dll_VirtualProtect
mov eax, dword [0x5f8ce8]
mov dword [eax], fcn.004f3738
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0x6c]
mov eax, dword [0x5f43a0]
call fcn.004f3638
push 4
lea edx, [ebp - 0xf0]
mov eax, dword [0x5f439c]
call fcn.004ec4a0
push dword [ebp - 0xf0]
push 0x4f5810
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.004f3288
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f4d6e
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4f4d60
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 sub.kernel32.dll_UnmapViewOfFile
jmp 0x4f4d6e
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f4e12
push ebx
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x54]
call fcn.004f3b30
test al, al
je 0x4f4e12
mov eax, dword [ebp - 0x4c]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x37], 0
je 0x4f4dd1
lea edx, [ebp - 0xf8]
mov eax, dword [0x5f436c]
call fcn.004ec4a0
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xf4]
mov dl, 1
call fcn.004ec4d4
mov eax, dword [ebp - 0xf4]
push eax
call sub.kernel32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x4f4df7
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.004f3ca8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f4e01
mov esi, dword [ebp - 0x6c]
mov byte [ebp - 0x71], 1
xor eax, eax
mov dword [ebp - 0x70], eax
jmp 0x4f4e97
cmp dword [ebp - 0x60], 0
je 0x4f4e21
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0x8000
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_VirtualFree_1
cmp dword [ebp - 0x70], 0
jne 0x4f4e3e
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f578f
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f578f
mov dword [ebp - 0x70], 0x770002
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
call fcn.0040954c
jmp 0x4f578f
xor eax, eax
mov dword [ebp - 0x64], eax
xor ecx, ecx
push ebp
push 0x4f5689
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 5], 0
je 0x4f514f
mov edx, esi
mov eax, 0x2000
call fcn.004f3998
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.004ef558
cmp byte [ebp - 0xa5], 0
je 0x4f4f76
mov eax, dword [ebp - 0x98]
cmp eax, 1
jne 0x4f4f1f
cmp word [ebp - 0xaa], 0xeb
je 0x4f4f17
mov byte [ebx], 0xf
movzx eax, byte [ebp - 0xaa]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x4f4f65
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x4f4f65
cmp eax, 2
jne 0x4f4f49
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 0x4f4f65
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 0x4f4f92
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 0x4f4ed1
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 sub.kernel32.dll_VirtualProtect
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 sub.kernel32.dll_VirtualProtect
push 4
lea edx, [ebp - 0x100]
mov eax, dword [0x5f439c]
call fcn.004ec4a0
push dword [ebp - 0x100]
push 0x4f5810
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.004f3288
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x4f51f0
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x4f51f0
xor edx, edx
mov eax, 0x5c
call fcn.004f3998
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 sub.kernel32.dll_VirtualProtect
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 0x4f511a
mov edx, dword [ebp - 0x60]
mov dword [eax + 8], edx
jmp 0x4f511f
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 0x4f51f0
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_MapViewOfFile
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 0x4f51e7
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.004f3998
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 sub.kernel32.dll_VirtualProtect
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 sub.kernel32.dll_VirtualFree_1
mov eax, dword [esi + 8]
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0xc], eax
test byte [ebp + 0xc], 1
jne 0x4f548a
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 0x4f52ba
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 0x4f5432
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 0x4f5434
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 0x4f5581
test byte [ebp + 0xd], 4
je 0x4f5581
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 0x4f565e
cmp byte [0x5f4299], 0
jne 0x4f565e
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.004f0d54
test al, al
jne 0x4f566c
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 0x4f566c
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 0x4f566c
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
call fcn.004f5e20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f5690
cmp dword [ebp - 0x64], 0
je 0x4f5688
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f57df
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 [0x4edf08]
call fcn.0040b374
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409e6c
ret