Function at 0x412764
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x41276d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x412786
add esp, 0xfffffff0
call fcn.00402938
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0xb0]
mov edx, dword [0x407fb0]
call fcn.00403e64
xor eax, eax
push ebp
push 0x413689
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1c], edx
cmp dword [ebp + 8], 2
jae 0x4127d6
mov dword [ebp + 8], 2
call fcn.00412190
xor ecx, ecx
push ebp
push 0x413636
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dword [edi], ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x30], edx
test byte [ebp + 0xd], 4
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x34], al
test byte [ebp + 0xc], 0x20
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x35], al
test byte [ebp + 0xd], 1
setne al
mov edx, dword [ebp - 4]
mov byte [edx + 0x36], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
xor edx, edx
mov eax, 0x4000
call fcn.00411d2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x2000
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov byte [eax], 0xff
mov byte [eax + 1], 0x25
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov dword [eax + 2], edx
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 8], eax
mov esi, eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], edi
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [0x47dd24]
call fcn.004119dc
lea edx, [ebp - 0xb8]
mov eax, dword [0x47dd08]
call fcn.00406ab4
push dword [ebp - 0xb8]
push 0x4136bc
push dword [ebp - 0x20]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.0040372c
mov eax, dword [ebp - 0xb4]
call fcn.0040386c
push eax
call fcn.004112dc
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x413613
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x4128fd
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x41358e
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xc0]
mov eax, dword [0x47dd1c]
call fcn.00406ab4
push dword [ebp - 0xc0]
push 0x4136bc
push dword [ebp - 0x20]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.0040372c
mov eax, dword [ebp - 0xbc]
call fcn.0040386c
push eax
call fcn.00411848
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.00412714
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x41356a
push dword fs:[ecx]
mov dword fs:[ecx], esp
test bl, bl
je 0x412d93
test byte [ebp + 0xc], 2
jne 0x412af5
test byte [ebp + 0xf], 0x80
jne 0x412af5
cmp byte [0x47dc0c], 0
je 0x4129a8
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040a798
jmp 0x4129fd
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
lea edx, [ebp - 0x70]
mov eax, edi
call fcn.004094cc
mov edi, dword [ebp - 0x50]
cmp byte [ebp - 0x70], 0
je 0x4129e8
mov eax, edi
sub eax, esi
cmp eax, 6
jae 0x4129e8
mov ax, word [ebp - 0x6e]
add eax, 0xffffff3e
sub ax, 2
jb 0x4129e8
add eax, 0xfffffffa
sub ax, 2
jb 0x4129e8
sub ax, 3
jne 0x4129ae
sub edi, esi
cmp edi, 6
jb 0x4129fd
mov byte [ebp - 0xb0], 1
mov byte [ebp - 0x88], 1
cmp byte [ebp - 0xb0], 0
je 0x412a35
cmp byte [ebp - 0x88], 0
je 0x412a35
cmp byte [0x47dbec], 0
jne 0x412af5
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.00412590
test al, al
je 0x412af5
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xb0], 0
je 0x412a52
cmp byte [ebp - 0x88], 0
je 0x412a52
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x412af5
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004094cc
cmp byte [ebp - 0x6a], 0
je 0x412af5
cmp dword [ebp - 0x68], 0
je 0x412af5
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x68]
call fcn.0040a798
mov ebx, 0xa
cmp byte [ebp - 0xb0], 0
je 0x412adc
cmp byte [ebp - 0x88], 0
jne 0x412adc
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x68]
call fcn.004094cc
push esi
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0x70]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
cmp byte [ebp - 0x6a], 0
je 0x412adc
cmp dword [ebp - 0x68], 0
je 0x412adc
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x68]
call fcn.0040a798
dec ebx
jne 0x412a8d
cmp byte [ebp - 0xb0], 0
je 0x412af5
cmp byte [ebp - 0x88], 0
je 0x412af5
mov esi, dword [ebp - 0x68]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x412d93
test byte [ebp + 0xc], 0x10
jne 0x412d73
cmp dword [ebp - 0xc], 0
je 0x412d73
lea edx, [ebp - 0xec]
mov eax, dword [0x47dcec]
call fcn.00406ab4
mov eax, dword [ebp - 0xec]
lea ecx, [ebp - 0xe8]
mov dl, 1
call fcn.00406ae8
mov eax, dword [ebp - 0xe8]
push eax
call sub.KERNEL32.dll_GetModuleHandleW
cmp eax, dword [ebp - 0xc]
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0x37], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x412b69
test byte [ebp + 0xc], 0x80
je 0x412b69
mov eax, dword [ebp - 0xc]
call fcn.00411d38
mov ebx, eax
jmp 0x412b6b
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x412b7c
test ebx, ebx
je 0x412d53
xor edx, edx
mov eax, 0x1000
call fcn.00411d2c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x2c]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x2c]
add eax, 6
mov edx, dword [ebp - 0x2c]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 6], eax
lea eax, [ebp - 0x44]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [0x47e200]
mov dword [eax], fcn.00411ad4
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x47dd20]
call fcn.004119dc
push 4
lea edx, [ebp - 0xf4]
mov eax, dword [0x47dd1c]
call fcn.00406ab4
push dword [ebp - 0xf4]
push 0x4136bc
push dword [ebp - 0x24]
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.0040372c
mov eax, dword [ebp - 0xf0]
call fcn.0040386c
push eax
call fcn.004114b4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412c6a
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x412c5c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
jmp 0x412c6a
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412d0e
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00411e98
test al, al
je 0x412d0e
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x412ccd
lea edx, [ebp - 0xfc]
mov eax, dword [0x47dcec]
call fcn.00406ab4
mov eax, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf8]
mov dl, 1
call fcn.00406ae8
mov eax, dword [ebp - 0xf8]
push eax
call sub.KERNEL32.dll_LoadLibraryW
xor eax, eax
push ebp
push 0x412cf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x2c]
call fcn.0041206c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412cfd
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x412d93
cmp dword [ebp - 0x18], 0
je 0x412d1d
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_CloseHandle
push 0x8000
push 0
mov eax, dword [ebp - 0x2c]
push eax
call sub.KERNEL32.dll_VirtualFree
cmp dword [ebp - 0x30], 0
jne 0x412d3a
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
jmp 0x41363d
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
jmp 0x41363d
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
call fcn.00402ee8
jmp 0x41363d
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x41353d
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x413022
mov edx, esi
mov eax, 0x2000
call fcn.00411d2c
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov edi, esi
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
lea edx, [ebp - 0x70]
mov eax, edi
call fcn.004094cc
cmp byte [ebp - 0x69], 0
je 0x412e55
mov eax, dword [ebp - 0x5c]
cmp eax, 1
jne 0x412e07
cmp word [ebp - 0x6e], 0xeb
je 0x412dff
mov byte [ebx], 0xf
mov al, byte [ebp - 0x6e]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x412e47
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x412e47
cmp eax, 2
jne 0x412e2e
mov eax, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 3
mov edx, ebx
mov eax, edi
inc eax
call fcn.004025d8
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x412e47
mov eax, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [ebp - 0x10]
call fcn.004025d8
mov eax, dword [ebp - 0x10]
add ebx, eax
mov edx, dword [ebp - 0x68]
mov eax, ebx
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x412e6e
mov eax, dword [ebp - 0x50]
sub eax, edi
mov dword [ebp - 0x10], eax
mov edx, ebx
mov eax, edi
mov ecx, dword [ebp - 0x10]
call fcn.004025d8
mov eax, dword [ebp - 0x10]
add ebx, eax
mov edi, dword [ebp - 0x50]
mov eax, edi
sub eax, esi
cmp eax, 6
jb 0x412dcd
mov byte [ebx], 0xe9
add ebx, 5
sub edi, ebx
sub ebx, 4
mov dword [ebx], edi
mov eax, dword [ebp - 4]
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 - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
mov dword [ebx], eax
lea eax, [ebp - 0x44]
push eax
push 0x20
push 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
push eax
call sub.KERNEL32.dll_VirtualProtect
lea eax, [ebp - 0x44]
push eax
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
add eax, 0x1000
push eax
call sub.KERNEL32.dll_VirtualProtect
push 4
lea edx, [ebp - 0x104]
mov eax, dword [0x47dd1c]
call fcn.00406ab4
push dword [ebp - 0x104]
push 0x4136bc
push dword [ebp - 0x20]
lea eax, [ebp - 0x100]
mov edx, 3
call fcn.0040372c
mov eax, dword [ebp - 0x100]
call fcn.0040386c
push eax
call fcn.004114b4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4130b7
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4130b7
xor edx, edx
mov eax, 0x5c
call fcn.00411d2c
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
lea eax, [ebp - 0x10]
push eax
push 4
push 0x5c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 0x1c]
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 - 4]
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 - 4]
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3c]
add ecx, 0x1000
mov dword [ecx], edx
cmp byte [ebp - 0x31], 0
jne 0x412fed
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x412ff2
xor edx, edx
mov dword [eax + 8], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0xc], ecx
xor edx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
add edx, 0x1000
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x4130b7
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.dll_MapViewOfFile
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi]
mov eax, dword [esi]
mov eax, dword [esi + eax*8 + 0x14]
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [esi + 4]
cmp eax, dword [esi]
jne 0x4130ae
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.00411d2c
mov ebx, eax
lea eax, [ebp - 0x44]
push eax
push 4
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
push eax
push ebx
call sub.KERNEL32.dll_VirtualProtect
mov ecx, dword [esi + 4]
shl ecx, 3
add ecx, 0x1c
mov edx, ebx
mov eax, dword [edi]
call fcn.004025d8
mov eax, dword [esi + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [edi]
mov dword [ebp - 0x28], eax
mov dword [edi], ebx
push 0x8000
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.KERNEL32.dll_VirtualFree
mov eax, dword [esi + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
test byte [ebp + 0xc], 1
jne 0x413346
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x1000
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0x2000
add eax, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
add eax, 0xcb0
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
add esi, 0xa
mov ebx, esi
test byte [ebp + 0xd], 4
jne 0x413181
mov edx, ebx
mov eax, 0x47de98
mov ecx, 0x50
call fcn.004025d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, esi
add edx, 7
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, esi
add edx, 0xc
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, esi
add edx, 0x11
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
sub eax, esi
sub eax, 0x50
add esi, 0x4c
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
add ebx, 0x50
mov edx, ebx
mov eax, 0x47dee8
mov ecx, 0x2b
call fcn.004025d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add ebx, 0x19
mov dword [ebx], eax
mov dword [ebp - 0x10], 0x5a
jmp 0x4132ee
mov edx, ebx
mov eax, 0x47df14
mov ecx, 0x9a
call fcn.004025d8
mov eax, dword [ebp + 8]
add eax, 0xb
shl eax, 2
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 - 4]
mov eax, dword [eax + 0x20]
mov edx, esi
add edx, 0x23
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, esi
add edx, 0x28
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
add esi, 0x2d
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, 0xc
shl eax, 2
mov edx, ebx
add edx, 0x34
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xb
shl eax, 2
mov edx, ebx
add edx, 0x66
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
shl eax, 2
mov edx, ebx
add edx, 0x6d
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 9
shl eax, 2
mov edx, ebx
add edx, 0x74
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 8
shl eax, 2
mov edx, ebx
add edx, 0x7b
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 5
shl eax, 2
mov edx, ebx
add edx, 0x82
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 4
shl eax, 2
mov edx, ebx
add edx, 0x89
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x90
mov dword [edx], eax
mov eax, dword [ebp - 4]
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 - 4]
mov dword [eax + 0x10], ebx
add ebx, 0x9a
mov edx, ebx
mov eax, 0x47dfb0
mov ecx, 0x34
call fcn.004025d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, ebx
add edx, 0x19
mov dword [edx], eax
mov ax, word [ebp + 8]
add ax, 0xc
shl eax, 2
add ax, 0x10
add ebx, 0x32
mov word [ebx], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
add eax, 0xfdc
mov ebx, eax
mov edx, ebx
mov eax, 0x47e040
mov ecx, 0x22
call fcn.004025d8
mov ax, word [ebp + 8]
add ax, 0xd
shl eax, 2
add ax, 0x10
add ebx, 0x20
mov word [ebx], ax
mov dword [ebp - 0x10], 0xa4
xor ebx, ebx
lea edx, [ebx + ebx*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
add eax, edx
mov byte [eax], 0xe8
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
lea edx, [ecx + edx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x18]
add ecx, dword [ebp - 0x10]
sub ecx, edx
sub ecx, 5
mov dword [eax + 1], ecx
inc ebx
cmp ebx, 0x32c
jne 0x4132f0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, 0xcb0
call fcn.00404e54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov edx, 0xcb0
call fcn.00404e54
jmp 0x413435
test byte [ebp + 0xd], 4
je 0x413435
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
add esi, 0xa
mov ebx, esi
mov edx, ebx
mov eax, 0x47dfe4
mov ecx, 0x5a
call fcn.004025d8
mov eax, dword [ebp + 8]
add eax, 0xb
shl eax, 2
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
shl eax, 2
mov edx, esi
add edx, 0x2d
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 0xa
shl eax, 2
add esi, 0x34
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, 9
shl eax, 2
mov edx, ebx
add edx, 0x3b
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 5
shl eax, 2
mov edx, ebx
add edx, 0x42
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 4
shl eax, 2
mov edx, ebx
add edx, 0x49
mov dword [edx], eax
mov eax, dword [ebp + 8]
add eax, 7
shl eax, 2
mov edx, ebx
add edx, 0x50
mov dword [edx], eax
mov eax, dword [ebp - 4]
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 - 4]
mov dword [eax + 0x10], ebx
add ebx, 0x5a
mov edx, ebx
mov eax, 0x47e040
mov ecx, 0x22
call fcn.004025d8
mov ax, word [ebp + 8]
add ax, 0xd
shl eax, 2
add ax, 0x10
add ebx, 0x20
mov word [ebx], ax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], edx
mov edx, dword [ebp - 4]
mov ecx, dword [eax + 0x16]
mov dword [edx + 0x44], ecx
mov cx, word [eax + 0x1a]
mov word [edx + 0x48], cx
mov edx, dword [ebp - 4]
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 - 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
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 - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x413512
cmp byte [0x47dbf8], 0
jne 0x413512
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.0040ad3c
test al, al
jne 0x413520
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
cmp eax, dword [edx]
jne 0x413520
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
add eax, 4
mov ax, word [eax]
mov edx, dword [ebp - 4]
add edx, 0x4a
add edx, 4
cmp ax, word [edx]
jne 0x413520
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00413eb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413544
cmp dword [ebp - 0x1c], 0
je 0x41353c
mov eax, dword [ebp - 0x1c]
push eax
call sub.KERNEL32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413690
lea eax, [ebp - 0x104]
mov edx, 8
call fcn.0040343c
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.0040343c
lea eax, [ebp - 0xb0]
mov edx, dword [0x407fb0]
call fcn.00403f28
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040343c
ret