Function at 0x4127e4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x20
push 0
push 0
dec ecx
jne 0x4127ed
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x412806
add esp, 0xfffffff0
call fcn.00402934
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 [0x4080b0]
call fcn.00403e7c
xor eax, eax
push ebp
push 0x413728
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 0x412856
mov dword [ebp + 8], 2
call fcn.00412210
xor ecx, ecx
push ebp
push 0x4136d5
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.00411dac
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 [0x549d48]
call fcn.00411a5c
lea edx, [ebp - 0xb8]
mov eax, dword [0x549d2c]
call fcn.00406ab4
push dword [ebp - 0xb8]
push 0x41375c
push dword [ebp - 0x20]
lea eax, [ebp - 0xb4]
mov edx, 3
call fcn.00403728
mov eax, dword [ebp - 0xb4]
call fcn.00403868
push eax
call fcn.0041135c
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x4136b2
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 0x14], 0
je 0x41297d
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call sub.KERNEL32.dll_WaitForSingleObject
xor ecx, ecx
push ebp
push 0x41362d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xc0]
mov eax, dword [0x549d40]
call fcn.00406ab4
push dword [ebp - 0xc0]
push 0x41375c
push dword [ebp - 0x20]
lea eax, [ebp - 0xbc]
mov edx, 3
call fcn.00403728
mov eax, dword [ebp - 0xbc]
call fcn.00403868
push eax
call fcn.004118c8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
call fcn.00412794
mov ebx, eax
xor bl, 1
mov eax, dword [ebp - 4]
mov byte [eax + 5], bl
xor ecx, ecx
push ebp
push 0x413609
push dword fs:[ecx]
mov dword fs:[ecx], esp
test bl, bl
je 0x412e13
test byte [ebp + 0xc], 2
jne 0x412b75
test byte [ebp + 0xf], 0x80
jne 0x412b75
cmp byte [0x549c1c], 0
je 0x412a28
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0040a898
jmp 0x412a7d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 8]
lea edx, [ebp - 0x70]
mov eax, edi
call fcn.004095cc
mov edi, dword [ebp - 0x50]
cmp byte [ebp - 0x70], 0
je 0x412a68
mov eax, edi
sub eax, esi
cmp eax, 6
jae 0x412a68
mov ax, word [ebp - 0x6e]
add eax, 0xffffff3e
sub ax, 2
jb 0x412a68
add eax, 0xfffffffa
sub ax, 2
jb 0x412a68
sub ax, 3
jne 0x412a2e
sub edi, esi
cmp edi, 6
jb 0x412a7d
mov byte [ebp - 0xb0], 1
mov byte [ebp - 0x88], 1
cmp byte [ebp - 0xb0], 0
je 0x412ab5
cmp byte [ebp - 0x88], 0
je 0x412ab5
cmp byte [0x549bfc], 0
jne 0x412b75
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0xc]
call fcn.00412610
test al, al
je 0x412b75
or dword [ebp + 0xc], 2
cmp byte [ebp - 0xb0], 0
je 0x412ad2
cmp byte [ebp - 0x88], 0
je 0x412ad2
mov dword [ebp - 0x30], 0x770004
test byte [ebp + 0xd], 2
je 0x412b75
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004095cc
cmp byte [ebp - 0x6a], 0
je 0x412b75
cmp dword [ebp - 0x68], 0
je 0x412b75
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x68]
call fcn.0040a898
mov ebx, 0xa
cmp byte [ebp - 0xb0], 0
je 0x412b5c
cmp byte [ebp - 0x88], 0
jne 0x412b5c
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x68]
call fcn.004095cc
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 0x412b5c
cmp dword [ebp - 0x68], 0
je 0x412b5c
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x68]
call fcn.0040a898
dec ebx
jne 0x412b0d
cmp byte [ebp - 0xb0], 0
je 0x412b75
cmp byte [ebp - 0x88], 0
je 0x412b75
mov esi, dword [ebp - 0x68]
and dword [ebp + 0xc], 0xfffffffd
test byte [ebp + 0xc], 2
je 0x412e13
test byte [ebp + 0xc], 0x10
jne 0x412df3
cmp dword [ebp - 0xc], 0
je 0x412df3
lea edx, [ebp - 0xec]
mov eax, dword [0x549d10]
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 0x412be9
test byte [ebp + 0xc], 0x80
je 0x412be9
mov eax, dword [ebp - 0xc]
call fcn.00411db8
mov ebx, eax
jmp 0x412beb
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x412bfc
test ebx, ebx
je 0x412dd3
xor edx, edx
mov eax, 0x1000
call fcn.00411dac
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 [0x54a218]
mov dword [eax], fcn.00411b54
lea ecx, [ebp - 0x24]
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x549d44]
call fcn.00411a5c
push 4
lea edx, [ebp - 0xf4]
mov eax, dword [0x549d40]
call fcn.00406ab4
push dword [ebp - 0xf4]
push 0x41375c
push dword [ebp - 0x24]
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.00403728
mov eax, dword [ebp - 0xf0]
call fcn.00403868
push eax
call fcn.00411534
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412cea
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 0x412cdc
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 0x412cea
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 0x412d8e
push ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00411f18
test al, al
je 0x412d8e
mov eax, dword [ebp - 4]
mov byte [eax + 0x38], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x37], 0
je 0x412d4d
lea edx, [ebp - 0xfc]
mov eax, dword [0x549d10]
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 0x412d73
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.004120ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x412d7d
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 0x31], 1
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x412e13
cmp dword [ebp - 0x18], 0
je 0x412d9d
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 0x412dba
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
jmp 0x4136dc
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
jmp 0x4136dc
mov dword [ebp - 0x30], 0x770002
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
call fcn.00402ee4
jmp 0x4136dc
xor eax, eax
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x4135dc
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x4130c1
mov edx, esi
mov eax, 0x2000
call fcn.00411dac
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.004095cc
cmp byte [ebp - 0x69], 0
je 0x412ed5
mov eax, dword [ebp - 0x5c]
cmp eax, 1
jne 0x412e87
cmp word [ebp - 0x6e], 0xeb
je 0x412e7f
mov byte [ebx], 0xf
mov al, byte [ebp - 0x6e]
and al, 0xf
add al, 0x80
mov byte [ebx + 1], al
add ebx, 6
jmp 0x412ec7
mov byte [ebx], 0xe9
add ebx, 5
jmp 0x412ec7
cmp eax, 2
jne 0x412eae
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.004025d4
mov eax, ebx
add eax, dword [ebp - 0x10]
inc eax
mov ebx, eax
jmp 0x412ec7
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.004025d4
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 0x412eee
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.004025d4
mov eax, dword [ebp - 0x10]
add ebx, eax
mov edi, dword [ebp - 0x50]
mov eax, edi
sub eax, esi
cmp eax, 6
jb 0x412e4d
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 [0x549d40]
call fcn.00406ab4
push dword [ebp - 0x104]
push 0x41375c
push dword [ebp - 0x20]
lea eax, [ebp - 0x100]
mov edx, 3
call fcn.00403728
mov eax, dword [ebp - 0x100]
call fcn.00403868
push eax
call fcn.00411534
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x413156
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 0x413156
xor edx, edx
mov eax, 0x5c
call fcn.00411dac
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
test byte [ebp + 0xd], 8
je 0x413039
mov byte [eax + 0x16], 0xff
mov byte [eax + 0x17], 0x25
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x3c]
add edx, 0x1000
mov dword [eax + 0x18], edx
jmp 0x41306a
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 0x41308c
mov edx, dword [ebp - 0x18]
mov dword [eax + 8], edx
jmp 0x413091
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 0x413156
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 0x41314d
mov eax, dword [esi + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
xor edx, edx
call fcn.00411dac
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.004025d4
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 0x4133e5
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 0x413220
mov edx, ebx
mov eax, 0x549ea4
mov ecx, 0x50
call fcn.004025d4
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, 0x549ef4
mov ecx, 0x2b
call fcn.004025d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add ebx, 0x19
mov dword [ebx], eax
mov dword [ebp - 0x10], 0x5a
jmp 0x41338d
mov edx, ebx
mov eax, 0x549f20
mov ecx, 0x9a
call fcn.004025d4
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, 0x549fbc
mov ecx, 0x34
call fcn.004025d4
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, 0x54a04c
mov ecx, 0x22
call fcn.004025d4
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 0x41338f
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 0x4134d4
test byte [ebp + 0xd], 4
je 0x4134d4
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x18]
add esi, 0xa
mov ebx, esi
mov edx, ebx
mov eax, 0x549ff0
mov ecx, 0x5a
call fcn.004025d4
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, 0x54a04c
mov ecx, 0x22
call fcn.004025d4
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 0x4135b1
cmp byte [0x549c08], 0
jne 0x4135b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
xor ecx, ecx
mov edx, 6
call fcn.0040ae3c
test al, al
jne 0x4135bf
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 0x4135bf
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 0x4135bf
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00413f58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4135e3
cmp dword [ebp - 0x1c], 0
je 0x4135db
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 0x41372f
lea eax, [ebp - 0x104]
mov edx, 8
call fcn.00403438
lea eax, [ebp - 0xc0]
mov edx, 4
call fcn.00403438
lea eax, [ebp - 0xb0]
mov edx, dword [0x4080b0]
call fcn.00403f40
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00403438
ret