Function at 0x40bf55
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0x4c
call fcn.00416b4c
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x13
rep stosd dword es:[edi], eax
add ebx, 0x38
push ebx
push 0x10
call fcn.00416b4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48272f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add ebx, 0xc
push ebx
push 0x1c
call fcn.00416b4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x482737
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
push 0x14
call fcn.00416b4c
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 4
push ebx
push 0x1c
call fcn.00416b4c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x7c
call fcn.00416b4c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x1f
rep stosd dword es:[edi], eax
add ebx, 0x78
push ebx
push 0x80
call fcn.00416b4c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
pop ebx
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00416b4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48273f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push ebx
mov ebx, edi
mov ecx, 0x80
push ecx
push ebx
push 0x28
call fcn.00416b4c
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
push ebx
push 0x10
call fcn.00416b4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4826ff
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ebx
pop ecx
add ebx, 4
dec ecx
jne 0x40c07a
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00416b4c
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48273f
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov eax, 1
cpuid
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], esp
mov eax, 0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 0x40
mov eax, dword [ebp - 8]
push eax
push 0x40
call fcn.00416b4c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push dword [ebp + 8]
push 0xffffffff
mov eax, 0x21
call fcn.00416b5e
cmp dword [ebp - 0x30], esp
je 0x40c271
push 6
call fcn.00416b52
add esp, 4
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00416b40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40c342
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40c340
imul eax, dword [edi]
jmp 0x40c335
mov ecx, eax
cmp ecx, 4
jle 0x40c34c
mov ecx, 4
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 2
mov eax, 2
call fcn.00416b40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40c39f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40c39d
imul eax, dword [edi]
jmp 0x40c392
mov ecx, eax
cmp ecx, 0xa
jle 0x40c3a9
mov ecx, 0xa
mov esi, ebx
shl ecx, 1
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x14
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.00416b46
add esp, 4
pop eax
test eax, eax
je 0x40c3ed
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp word [ebx], 0x5a4d
jne 0x40c3ed
mov eax, 1
jmp 0x40c3ef
xor eax, eax
test eax, eax
je 0x40cc6d
mov ebx, dword [ebp - 8]
add ebx, 0x48
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
push dword [ebx]
push dword [ebp + 8]
call fcn.00402c91
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esp
mov eax, 0
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
push 0xf8
mov eax, dword [ebp - 0xc]
push eax
push 0x16f8
call fcn.00416b4c
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 4
pop ebx
add ebx, 4
push ebx
mov ecx, 0x80
mov ebx, dword [ebx]
add ebx, 8
push ebx
push ecx
mov ebx, dword [ebx]
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop ebx
add ebx, 4
dec ecx
jne 0x40c727
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x34]
push 0xffffffff
mov eax, 0x22
call fcn.00416b5e
cmp dword [ebp - 0x38], esp
je 0x40c7e7
push 6
call fcn.00416b52
add esp, 4
push eax
mov ebx, dword [ebp - 0x40]
push ebx
mov edi, dword [ebp - 0x44]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x14
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 0x80
pop edi
add edi, 4
pop ebx
add ebx, 0xe0
pop edi
add edi, 4
push edi
mov edi, dword [edi]
mov ecx, 0x80
add edi, 8
push ebx
push edi
push ecx
mov edi, dword [edi]
push ebx
push edi
push 1
mov eax, 2
call fcn.00416b40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40cb23
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40cb21
imul eax, dword [edi]
jmp 0x40cb16
mov ecx, eax
cmp ecx, 8
jle 0x40cb2d
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
pop ecx
pop edi
pop ebx
add edi, 4
add ebx, 0x28
dec ecx
jne 0x40caef
pop edi
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.00416b40
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x40cbdb
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40cbd9
imul eax, dword [edi]
jmp 0x40cbce
mov ecx, eax
cmp ecx, 0x80
jle 0x40cbe8
mov ecx, 0x80
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x200
call fcn.00416b46
add esp, 4
pop eax
test eax, eax
je 0x40cc3b
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 0x4550
jne 0x40cc3b
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp word [ebx], 0x10b
jne 0x40cc3b
mov eax, 1
jmp 0x40cc3d
xor eax, eax
test eax, eax
je 0x40cc6d
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 8]
add ebx, 0x4c
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx + 8]
add ebx, 0x18
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x40cc85
cmp dword [ebp - 0x14], 0
je 0x40cc85
xor eax, eax
jmp 0x40cc8a
mov eax, 1
test eax, eax
je 0x40cc9c
mov eax, 0
jmp 0x40d42a
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x417350
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ccd0
mov eax, 0x482494
push eax
push 1
mov ebx, 0x418b20
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ccf6
push ebx
call fcn.00416b46
add esp, 4
mov ebx, dword [0x4a61f8]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x4a61f8]
add ebx, 0x10
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
mov ebx, dword [ebp - 0x38]
push dword [ebx]
call fcn.00402c91
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0x44
push 1
mov ebx, 0x417350
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x44], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40cd54
mov eax, 0x482494
push eax
push 1
mov ebx, 0x418b20
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40cd7a
push ebx
call fcn.00416b46
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x48]
push 0x80000301
push 0
push dword [ebp - 0x40]
push 0x80000301
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x416fc0
call fcn.00416b58
add esp, 0x28
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x416f90
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4a61f8]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
push 0
mov ebx, 0x4189a0
call fcn.00416b58
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push 0x80000301
push 0
push 0xa
push 0x80000003
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x418980
call fcn.00416b58
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
mov ebx, dword [ebp - 0x34]
push dword [ebx]
push 0x80000301
push 0
push dword [ebp - 0x30]
push 0x80000301
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x416fe0
call fcn.00416b58
add esp, 0x34
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fstp qword [ebp - 0x4c]
push 0x80000601
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
mov ebx, 0x417180
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.00402a0e
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x4186f0
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
push eax
call fcn.0040d50c
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ced1
push ebx
call fcn.00416b46
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40cf45
mov dword [ebp - 0x1c], 1
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x4186f0
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x30], eax
push 1
push 0
push 1
push 1
push 1
push 0
push 0x1000
push 1
lea eax, [ebp - 0x30]
push eax
call fcn.0040dbeb
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40cf3f
push ebx
call fcn.00416b46
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push 1
push 0xffffffff
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
call fcn.0040de28
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x418420
call fcn.00416b58
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40cf8d
push ebx
call fcn.00416b46
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
xor ecx, ecx
lea eax, [ebp - 0x28]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 0x1000
jg 0x40d011
mov ebx, dword [ebp - 0x24]
call fcn.00401237
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40cfc6
push 4
call fcn.00416b52
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40cfd9
push 1
call fcn.00416b52
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x417240
call fcn.00416b58
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x40cf98
add esp, 8
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jge 0x40d033
lea eax, [ebp - 0x18]
push eax
call fcn.00409466
mov eax, 0
jmp 0x40d42a
cmp dword [0x4a6230], 0
je 0x40d054
cmp dword [0x4a61d4], 0
je 0x40d054
mov eax, 1
jmp 0x40d056
xor eax, eax
test eax, eax
je 0x40d3cf
call fcn.0040e1cf
lea eax, [ebp - 0x24]
push eax
call fcn.00403e36
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.0040a172
push 2
mov ebx, 0x417240
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [0x4a6234]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x416fc0
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
mov eax, dword [0x4a6238]
and eax, 0xff
push eax
push 5
push dword [ebp - 0x2c]
call fcn.0040e869
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x28]
push dword [ebp - 0x3c]
call fcn.00403e5a
cmp dword [0x4a623c], 0
je 0x40d134
cmp dword [0x4a6240], 0
jle 0x40d134
mov eax, 1
jmp 0x40d136
xor eax, eax
test eax, eax
je 0x40d1d9
mov dword [ebp - 0x30], esp
mov eax, 0x23
call fcn.00416b5e
cmp dword [ebp - 0x30], esp
je 0x40d15d
push 6
call fcn.00416b52
add esp, 4
mov dword [ebp - 0x34], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 0x34]
push 2
mov ebx, 0x4192b0
call fcn.00416b58
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4a6240]
push 2
mov ebx, 0x416fc0
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x29
push dword [ebp - 0x2c]
call fcn.00402c91
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.00403e5a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 0xd
push dword [ebp - 0x2c]
call fcn.00402c91
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.00403e5a
mov eax, dword [0x4a6234]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4a6244]
push 2
mov ebx, 0x416fe0
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x15
push dword [ebp - 0x2c]
call fcn.00402c91
mov dword [ebp - 0x30], eax
mov eax, dword [0x4a6234]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0x4192b0
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.00403e5a
cmp dword [0x4a623c], 0
je 0x40d2ab
cmp dword [0x4a6240], 0
jle 0x40d2ab
mov eax, 1
jmp 0x40d2ad
xor eax, eax
test eax, eax
je 0x40d310
push 0x45
push dword [ebp - 0x2c]
call fcn.00402c91
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4a6248]
call fcn.00401237
mov eax, 0
cmp eax, ecx
jl 0x40d2e6
push 1
call fcn.00416b52
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.0040e086
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call fcn.00403e5a
push 1
push dword [ebp + 8]
call fcn.0040e892
mov dword [ebp - 0x30], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e892
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
push 1
push dword [ebp - 0x34]
push dword [ebp + 8]
push dword [ebp - 0x30]
call fcn.0040e8de
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x4192d0
call fcn.00416b58
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x1b
push dword [ebp - 0x2c]
call fcn.00402c91
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x28]
push dword [ebp - 0x30]
call fcn.00403e5a
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0040e907
push dword [ebp - 0x20]
push 0xffffffff
call fcn.0040e9bf
cmp dword [ebp - 0x1c], 0
jne 0x40d3ef
lea eax, [ebp - 0x18]
push eax
call fcn.00409466
mov eax, 0x48251e
test eax, eax
je 0x40d40b
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00416b4c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40d41c
push ebx
call fcn.00416b46
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, 1
jmp 0x40d42a
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
call fcn.00416b46
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
add ebx, 0x78
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
call fcn.00416b46
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40d4ac
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40d4a8
imul eax, dword [ebx]
jmp 0x40d49d
mov ecx, eax
test ecx, ecx
je 0x40d4d4
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
call fcn.00416b46
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40d4b2
call fcn.00416b46
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00416b46
add esp, 4
pop ebx
call fcn.00416b46
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40d505
push ebx
call fcn.00416b46
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8