Function at 0x40dd84
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0x4c
call fcn.00417baf
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.00417baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48421e
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.00417baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x484226
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.00417baf
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.00417baf
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.00417baf
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.00417baf
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.00417baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48422e
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.00417baf
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.00417baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x4841de
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 0x40dea9
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00417baf
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48422e
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.00417baf
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, 0x2a
call fcn.00417bc1
cmp dword [ebp - 0x30], esp
je 0x40e0a0
push 6
call fcn.00417bb5
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.00417ba3
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 0x40e171
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e16f
imul eax, dword [edi]
jmp 0x40e164
mov ecx, eax
cmp ecx, 4
jle 0x40e17b
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.00417ba3
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 0x40e1ce
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e1cc
imul eax, dword [edi]
jmp 0x40e1c1
mov ecx, eax
cmp ecx, 0xa
jle 0x40e1d8
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.00417ba9
add esp, 4
pop eax
test eax, eax
je 0x40e21c
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp word [ebx], 0x5a4d
jne 0x40e21c
mov eax, 1
jmp 0x40e21e
xor eax, eax
test eax, eax
je 0x40ea9c
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.0040199a
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.00417baf
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 0x40e556
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, 0x2b
call fcn.00417bc1
cmp dword [ebp - 0x38], esp
je 0x40e616
push 6
call fcn.00417bb5
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.00417ba3
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 0x40e952
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e950
imul eax, dword [edi]
jmp 0x40e945
mov ecx, eax
cmp ecx, 8
jle 0x40e95c
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 0x40e91e
pop edi
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.00417ba3
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 0x40ea0a
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40ea08
imul eax, dword [edi]
jmp 0x40e9fd
mov ecx, eax
cmp ecx, 0x80
jle 0x40ea17
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.00417ba9
add esp, 4
pop eax
test eax, eax
je 0x40ea6a
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 0x4550
jne 0x40ea6a
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 0x40ea6a
mov eax, 1
jmp 0x40ea6c
xor eax, eax
test eax, eax
je 0x40ea9c
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 0x40eab4
cmp dword [ebp - 0x14], 0
je 0x40eab4
xor eax, eax
jmp 0x40eab9
mov eax, 1
test eax, eax
je 0x40eacb
mov eax, 0
jmp 0x40f259
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x4183d0
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x30], eax
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40eaff
mov eax, 0x484170
push eax
push 1
mov ebx, 0x419b90
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40eb25
push ebx
call fcn.00417ba9
add esp, 4
mov ebx, dword [0x4a85b8]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x4a85b8]
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.0040199a
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0x44
push 1
mov ebx, 0x4183d0
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40eb83
mov eax, 0x484170
push eax
push 1
mov ebx, 0x419b90
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40eba9
push ebx
call fcn.00417ba9
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, 0x418030
call fcn.00417bbb
add esp, 0x28
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x418000
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4a85b8]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
push 0
mov ebx, 0x419a10
call fcn.00417bbb
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push 0x80000301
push 0
push 0xa
push reloc.WS2_32.dll_closesocket
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 2
mov ebx, 0x4199f0
call fcn.00417bbb
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, 0x418050
call fcn.00417bbb
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, 0x4181f0
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.0040243c
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x419760
call fcn.00417bbb
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.0040f33b
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ed00
push ebx
call fcn.00417ba9
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40ed74
mov dword [ebp - 0x1c], 1
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x419760
call fcn.00417bbb
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.0040fa1a
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ed6e
push ebx
call fcn.00417ba9
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.0040fc57
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x419490
call fcn.00417bbb
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40edbc
push ebx
call fcn.00417ba9
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 0x40ee40
mov ebx, dword [ebp - 0x24]
call fcn.00401a57
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40edf5
push 4
call fcn.00417bb5
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ee08
push 1
call fcn.00417bb5
add esp, 4
add ebx, eax
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
push pe_nt_image_headers32
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x4182c0
call fcn.00417bbb
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x40edc7
add esp, 8
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jge 0x40ee62
lea eax, [ebp - 0x18]
push eax
call fcn.004077fe
mov eax, 0
jmp 0x40f259
cmp dword [0x4a8634], 0
je 0x40ee83
cmp dword [0x4a85e8], 0
je 0x40ee83
mov eax, 1
jmp 0x40ee85
xor eax, eax
test eax, eax
je 0x40f1fe
call fcn.0040ffe4
lea eax, [ebp - 0x24]
push eax
call fcn.00407205
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.00401004
push 2
mov ebx, 0x4182c0
call fcn.00417bbb
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [0x4a8638]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x418030
call fcn.00417bbb
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 [0x4a863c]
and eax, 0xff
push eax
push 5
push dword [ebp - 0x2c]
call fcn.0041067e
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.0040abf4
cmp dword [0x4a8640], 0
je 0x40ef63
cmp dword [0x4a85b4], 0
jle 0x40ef63
mov eax, 1
jmp 0x40ef65
xor eax, eax
test eax, eax
je 0x40f008
mov dword [ebp - 0x30], esp
mov eax, 0x2c
call fcn.00417bc1
cmp dword [ebp - 0x30], esp
je 0x40ef8c
push 6
call fcn.00417bb5
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, 0x41a420
call fcn.00417bbb
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4a85b4]
push 2
mov ebx, 0x418030
call fcn.00417bbb
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x29
push dword [ebp - 0x2c]
call fcn.0040199a
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.0040abf4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 0xd
push dword [ebp - 0x2c]
call fcn.0040199a
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.0040abf4
mov eax, dword [0x4a8638]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4a8644]
push 2
mov ebx, 0x418050
call fcn.00417bbb
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x15
push dword [ebp - 0x2c]
call fcn.0040199a
mov dword [ebp - 0x30], eax
mov eax, dword [0x4a8638]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0x41a420
call fcn.00417bbb
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.0040abf4
cmp dword [0x4a8640], 0
je 0x40f0da
cmp dword [0x4a85b4], 0
jle 0x40f0da
mov eax, 1
jmp 0x40f0dc
xor eax, eax
test eax, eax
je 0x40f13f
push 0x45
push dword [ebp - 0x2c]
call fcn.0040199a
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4a85bc]
call fcn.00401a57
mov eax, 0
cmp eax, ecx
jl 0x40f115
push 1
call fcn.00417bb5
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.0040230a
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.0040abf4
push 1
push dword [ebp + 8]
call fcn.004106a7
mov dword [ebp - 0x30], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004106a7
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.004106f3
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x41a440
call fcn.00417bbb
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x1b
push dword [ebp - 0x2c]
call fcn.0040199a
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.0040abf4
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0041071c
push dword [ebp - 0x20]
push 0xffffffff
call fcn.004107d4
cmp dword [ebp - 0x1c], 0
jne 0x40f21e
lea eax, [ebp - 0x18]
push eax
call fcn.004077fe
mov eax, 0x484153
test eax, eax
je 0x40f23a
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00417baf
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 0x40f24b
push ebx
call fcn.00417ba9
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, 1
jmp 0x40f259
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00417ba9
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00417ba9
add esp, 4
pop ebx
call fcn.00417ba9
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00417ba9
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.00417ba9
add esp, 4
pop ebx
call fcn.00417ba9
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 0x40f2db
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f2d7
imul eax, dword [ebx]
jmp 0x40f2cc
mov ecx, eax
test ecx, ecx
je 0x40f303
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00417ba9
add esp, 4
pop ebx
call fcn.00417ba9
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f2e1
call fcn.00417ba9
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00417ba9
add esp, 4
pop ebx
call fcn.00417ba9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f334
push ebx
call fcn.00417ba9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8