Function at 0x40ab52
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
push 0x4c
call fcn.00425014
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.00425014
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x498eb4
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.00425014
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x498ebc
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.00425014
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.00425014
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.00425014
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.00425014
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.00425014
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x498ec4
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.00425014
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.00425014
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x498e74
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 0x40ac77
pop ebx
add ebx, 4
push ebx
push 0x208
call fcn.00425014
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x498ec4
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.00425014
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, 0x20
call fcn.00425026
cmp dword [ebp - 0x30], esp
je 0x40ae6e
push 6
call fcn.0042501a
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.00425008
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 0x40af3f
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40af3d
imul eax, dword [edi]
jmp 0x40af32
mov ecx, eax
cmp ecx, 4
jle 0x40af49
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.00425008
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 0x40af9c
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40af9a
imul eax, dword [edi]
jmp 0x40af8f
mov ecx, eax
cmp ecx, 0xa
jle 0x40afa6
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.0042500e
add esp, 4
pop eax
test eax, eax
je 0x40afea
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x44]
cmp word [ebx], 0x5a4d
jne 0x40afea
mov eax, 1
jmp 0x40afec
xor eax, eax
test eax, eax
je 0x40b86a
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.0040145e
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.00425014
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 0x40b324
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, 0x21
call fcn.00425026
cmp dword [ebp - 0x38], esp
je 0x40b3e4
push 6
call fcn.0042501a
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.00425008
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 0x40b720
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40b71e
imul eax, dword [edi]
jmp 0x40b713
mov ecx, eax
cmp ecx, 8
jle 0x40b72a
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 0x40b6ec
pop edi
add edi, 4
push ebx
push edi
push 4
mov eax, 2
call fcn.00425008
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 0x40b7d8
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x40b7d6
imul eax, dword [edi]
jmp 0x40b7cb
mov ecx, eax
cmp ecx, 0x80
jle 0x40b7e5
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.0042500e
add esp, 4
pop eax
test eax, eax
je 0x40b838
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x4c], ebx
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx], 0x4550
jne 0x40b838
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 0x40b838
mov eax, 1
jmp 0x40b83a
xor eax, eax
test eax, eax
je 0x40b86a
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 0x40b882
cmp dword [ebp - 0x14], 0
je 0x40b882
xor eax, eax
jmp 0x40b887
mov eax, 1
test eax, eax
je 0x40b899
mov eax, 0
jmp 0x40c027
push 0x80000101
push 0
push 0x43
push 1
mov ebx, 0x425850
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x30], eax
push getpeername
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x40b8cd
mov eax, 0x498e06
push eax
push 1
mov ebx, 0x427230
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40b8f3
push ebx
call fcn.0042500e
add esp, 4
mov ebx, dword [0x5b99f8]
add ebx, 8
mov dword [ebp - 0x38], ebx
mov ebx, dword [0x5b99f8]
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.0040145e
mov dword [ebp - 0x40], eax
push 0x80000101
push 0
push 0x44
push 1
mov ebx, 0x425850
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x40b951
mov eax, 0x498e06
push eax
push 1
mov ebx, 0x427230
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40b977
push ebx
call fcn.0042500e
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, 0x425490
call fcn.00425020
add esp, 0x28
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x425460
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [0x5b99f8]
add ebx, 0xc
mov dword [ebp - 0x34], ebx
push 0
mov ebx, 0x4270b0
call fcn.00425020
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, 0x427090
call fcn.00425020
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, 0x4254b0
call fcn.00425020
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, 0x425670
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
fld qword [ebp - 0x5c]
call fcn.004011bb
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x426e00
call fcn.00425020
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.0040c109
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bace
push ebx
call fcn.0042500e
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40bb42
mov dword [ebp - 0x1c], 1
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x426e00
call fcn.00425020
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.00409891
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40bb3c
push ebx
call fcn.0042500e
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.0040a543
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x426ac0
call fcn.00425020
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40bb8a
push ebx
call fcn.0042500e
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 0x40bc0e
mov ebx, dword [ebp - 0x24]
call fcn.004011e2
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x40bbc3
push 4
call fcn.0042501a
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x40bbd6
push 1
call fcn.0042501a
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, 0x425740
call fcn.00425020
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov byte [ebx], al
pop ebx
pop ecx
jmp 0x40bb95
add esp, 8
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jge 0x40bc30
lea eax, [ebp - 0x18]
push eax
call fcn.0040790b
mov eax, 0
jmp 0x40c027
cmp dword [0x5b9a78], 0
je 0x40bc51
cmp dword [0x5b9a4c], 0
je 0x40bc51
mov eax, 1
jmp 0x40bc53
xor eax, eax
test eax, eax
je 0x40bfcc
call fcn.0040c246
lea eax, [ebp - 0x24]
push eax
call fcn.00407312
mov dword [ebp - 0x2c], eax
mov ebx, 6
call fcn.0040ab4a
push 2
mov ebx, 0x425740
call fcn.00425020
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov eax, dword [0x5b9a7c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x425490
call fcn.00425020
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 [0x5b9a80]
and eax, 0xff
push eax
push 5
push dword [ebp - 0x2c]
call fcn.0040c8e0
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.00409388
cmp dword [0x5b9a84], 0
je 0x40bd31
cmp dword [0x5b9a14], 0
jle 0x40bd31
mov eax, 1
jmp 0x40bd33
xor eax, eax
test eax, eax
je 0x40bdd6
mov dword [ebp - 0x30], esp
mov eax, 0x22
call fcn.00425026
cmp dword [ebp - 0x30], esp
je 0x40bd5a
push 6
call fcn.0042501a
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, 0x427ba0
call fcn.00425020
add esp, 0x1c
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x5b9a14]
push 2
mov ebx, 0x425490
call fcn.00425020
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x29
push dword [ebp - 0x2c]
call fcn.0040145e
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.00409388
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
push 0xd
push dword [ebp - 0x2c]
call fcn.0040145e
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.00409388
mov eax, dword [0x5b9a7c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [0x5b9a88]
push 2
mov ebx, 0x4254b0
call fcn.00425020
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x15
push dword [ebp - 0x2c]
call fcn.0040145e
mov dword [ebp - 0x30], eax
mov eax, dword [0x5b9a7c]
cwde
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x28]
push 2
mov ebx, 0x427ba0
call fcn.00425020
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.00409388
cmp dword [0x5b9a84], 0
je 0x40bea8
cmp dword [0x5b9a14], 0
jle 0x40bea8
mov eax, 1
jmp 0x40beaa
xor eax, eax
test eax, eax
je 0x40bf0d
push 0x45
push dword [ebp - 0x2c]
call fcn.0040145e
mov dword [ebp - 0x30], eax
mov ebx, dword [0x5b9a18]
call fcn.004011e2
mov eax, 0
cmp eax, ecx
jl 0x40bee3
push 1
call fcn.0042501a
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x34], ebx
push dword [ebp - 0x34]
call fcn.004026c3
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.00409388
push 1
push dword [ebp + 8]
call fcn.0040948c
mov dword [ebp - 0x30], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040948c
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.0040c909
mov dword [ebp - 0x44], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 0x44]
push 2
mov ebx, 0x427bc0
call fcn.00425020
add esp, 0x1c
mov dword [ebp - 0x28], eax
push 0x1b
push dword [ebp - 0x2c]
call fcn.0040145e
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.00409388
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call fcn.0040aa92
push dword [ebp - 0x20]
push 0xffffffff
call fcn.0040a900
cmp dword [ebp - 0x1c], 0
jne 0x40bfec
lea eax, [ebp - 0x18]
push eax
call fcn.0040790b
mov eax, 0x498dba
test eax, eax
je 0x40c008
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00425014
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 0x40c019
push ebx
call fcn.0042500e
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
mov eax, 1
jmp 0x40c027
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0x38
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042500e
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042500e
add esp, 4
pop ebx
call fcn.0042500e
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042500e
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.0042500e
add esp, 4
pop ebx
call fcn.0042500e
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 0x40c0a9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c0a5
imul eax, dword [ebx]
jmp 0x40c09a
mov ecx, eax
test ecx, ecx
je 0x40c0d1
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042500e
add esp, 4
pop ebx
call fcn.0042500e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c0af
call fcn.0042500e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.0042500e
add esp, 4
pop ebx
call fcn.0042500e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40c102
push ebx
call fcn.0042500e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8