Function at 0x40dcdc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0x4c
call fcn.0042085a
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.0042085a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48d639
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.0042085a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48d641
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.0042085a
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.0042085a
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.0042085a
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.0042085a
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.0042085a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48d649
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.0042085a
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.0042085a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48d609
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 0x40de01
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.0042085a
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x48d649
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.0042085a
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.0042086c
cmp dword [ebp - 0x30], esp
je 0x40dff8
push 6
call fcn.00420860
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.0042084e
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 0x40e0c9
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e0c7
imul eax, dword [edi]
jmp 0x40e0bc
mov ecx, eax
cmp ecx, 4
jle 0x40e0d3
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.0042084e
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 0x40e126
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e124
imul eax, dword [edi]
jmp 0x40e119
mov ecx, eax
cmp ecx, 0xa
jle 0x40e130
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.00420854
add esp, 4
pop eax
test eax, eax
je 0x40e174
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp word [ebx], 0x5a4d
jne 0x40e174
mov eax, 1
jmp 0x40e176
xor eax, eax
test eax, eax
je 0x40e9f4
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.00401db8
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.0042085a
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 0x40e4ae
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.0042086c
cmp dword [ebp - 0x38], esp
je 0x40e56e
push 6
call fcn.00420860
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.0042084e
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 0x40e8aa
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e8a8
imul eax, dword [edi]
jmp 0x40e89d
mov ecx, eax
cmp ecx, 8
jle 0x40e8b4
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 0x40e876
pop edi
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.0042084e
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 0x40e962
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40e960
imul eax, dword [edi]
jmp 0x40e955
mov ecx, eax
cmp ecx, 0x80
jle 0x40e96f
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.00420854
add esp, 4
pop eax
test eax, eax
je 0x40e9c2
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 0x4550
jne 0x40e9c2
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 0x40e9c2
mov eax, 1
jmp 0x40e9c4
xor eax, eax
test eax, eax
je 0x40e9f4
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 0x40ea0c
cmp dword [ebp - 0x14], 0
je 0x40ea0c
xor eax, eax
jmp 0x40ea11
mov eax, 1
test eax, eax
je 0x40ea23
mov eax, 0
jmp 0x40f1b1
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x421070
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x30], eax
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40ea57
mov eax, 0x48d425
push eax
push 1
mov ebx, 0x422850
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ea7d
push ebx
call fcn.00420854
add esp, 4
mov ebx, dword [0x4b25c0]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x4b25c0]
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.00401db8
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0x44
push 1
mov ebx, 0x421070
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40eadb
mov eax, 0x48d425
push eax
push 1
mov ebx, 0x422850
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40eb01
push ebx
call fcn.00420854
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, 0x420cd0
call fcn.00420866
add esp, 0x28
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x420ca0
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4b25c0]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
push 0
mov ebx, 0x4226d0
call fcn.00420866
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, 0x4226b0
call fcn.00420866
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, 0x420cf0
call fcn.00420866
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, 0x420e90
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.00401b35
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x422420
call fcn.00420866
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.0040f293
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ec58
push ebx
call fcn.00420854
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40eccc
mov dword [ebp - 0x1c], 1
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x422420
call fcn.00420866
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.0040f972
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ecc6
push ebx
call fcn.00420854
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.0040fbaf
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x422150
call fcn.00420866
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ed14
push ebx
call fcn.00420854
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 0x40ed98
mov ebx, dword [ebp - 0x24]
call fcn.004010fa
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40ed4d
push 4
call fcn.00420860
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40ed60
push 1
call fcn.00420860
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, 0x420f60
call fcn.00420866
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x40ed1f
add esp, 8
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jge 0x40edba
lea eax, [ebp - 0x18]
push eax
call fcn.004085e4
mov eax, 0
jmp 0x40f1b1
cmp dword [0x4b2638], 0
je 0x40eddb
cmp dword [0x4b2634], 0
je 0x40eddb
mov eax, 1
jmp 0x40eddd
xor eax, eax
test eax, eax
je 0x40f156
call fcn.0040ff3c
lea eax, [ebp - 0x24]
push eax
call fcn.00402fb4
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.004092f0
push 2
mov ebx, 0x420f60
call fcn.00420866
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [0x4b263c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x420cd0
call fcn.00420866
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 [0x4b2640]
and eax, 0xff
push eax
push 5
push dword [ebp - 0x2c]
call fcn.004105d6
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.00402fd8
cmp dword [0x4b2644], 0
je 0x40eebb
cmp dword [0x4b2610], 0
jle 0x40eebb
mov eax, 1
jmp 0x40eebd
xor eax, eax
test eax, eax
je 0x40ef60
mov dword [ebp - 0x30], esp
mov eax, 0x2c
call fcn.0042086c
cmp dword [ebp - 0x30], esp
je 0x40eee4
push 6
call fcn.00420860
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, 0x423120
call fcn.00420866
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4b2610]
push 2
mov ebx, 0x420cd0
call fcn.00420866
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x29
push dword [ebp - 0x2c]
call fcn.00401db8
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.00402fd8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 0xd
push dword [ebp - 0x2c]
call fcn.00401db8
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.00402fd8
mov eax, dword [0x4b263c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x4b2648]
push 2
mov ebx, 0x420cf0
call fcn.00420866
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x15
push dword [ebp - 0x2c]
call fcn.00401db8
mov dword [ebp - 0x30], eax
mov eax, dword [0x4b263c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0x423120
call fcn.00420866
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.00402fd8
cmp dword [0x4b2644], 0
je 0x40f032
cmp dword [0x4b2610], 0
jle 0x40f032
mov eax, 1
jmp 0x40f034
xor eax, eax
test eax, eax
je 0x40f097
push 0x45
push dword [ebp - 0x2c]
call fcn.00401db8
mov dword [ebp - 0x30], eax
mov ebx, dword [0x4b2614]
call fcn.004010fa
mov eax, 0
cmp eax, ecx
jl 0x40f06d
push 1
call fcn.00420860
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.0040bf29
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.00402fd8
push 1
push dword [ebp + 8]
call fcn.004105ff
mov dword [ebp - 0x30], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004105ff
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.0041064b
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x423140
call fcn.00420866
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x1b
push dword [ebp - 0x2c]
call fcn.00401db8
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.00402fd8
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.00410674
push dword [ebp - 0x20]
push 0xffffffff
call fcn.0041072c
cmp dword [ebp - 0x1c], 0
jne 0x40f176
lea eax, [ebp - 0x18]
push eax
call fcn.004085e4
mov eax, 0x48d428
test eax, eax
je 0x40f192
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042085a
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 0x40f1a3
push ebx
call fcn.00420854
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, 1
jmp 0x40f1b1
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00420854
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00420854
add esp, 4
pop ebx
call fcn.00420854
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00420854
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.00420854
add esp, 4
pop ebx
call fcn.00420854
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 0x40f233
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40f22f
imul eax, dword [ebx]
jmp 0x40f224
mov ecx, eax
test ecx, ecx
je 0x40f25b
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00420854
add esp, 4
pop ebx
call fcn.00420854
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40f239
call fcn.00420854
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00420854
add esp, 4
pop ebx
call fcn.00420854
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40f28c
push ebx
call fcn.00420854
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8