Function at 0x4081a6
Capabilities:
Query environment variable
Terminate process

Disassembly:
push 0x4167b2
push 0x41686c
jmp fcn.00401b2c
mov edi, 0x416eae
mov esi, 0x4169cd
call fcn.00401a79
push 0x416eae
cmp dword [0x416be8], 0
je fcn.00401b2c
mov byte [edi - 1], 0x20
call fcn.00401a80
jmp fcn.00401b2c
mov edi, dword [0x416b64]
call fcn.00401e9e
mov esi, dword [0x416b48]
call fcn.00401a79
cmp edi, dword [0x416bf4]
jae 0x401926
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x2c], eax
mov esi, dword [0x416b4c]
call fcn.00401a79
cmp edi, dword [0x416bf4]
jae 0x401926
mov edx, dword [0x416c48]
mov ebp, dword [0x416b5c]
mov dword [0x416c50], 0
cmp byte [0x416ca7], 4
je 0x401bc2
cmp byte [0x416ca7], 5
jne 0x401c80
bt dword [0x416c40], 0
jb 0x401c80
cmp edx, ebp
je 0x401c80
mov al, byte [edx]
test al, al
je 0x401be0
cmp al, 0x80
je 0x401be0
add edx, 0xc
cmp al, 0xc0
jb 0x401bc2
add edx, 4
jmp 0x401bc2
mov esi, edi
sub esi, ebx
xchg dword [edx + 4], esi
test al, al
je 0x401c0e
or dword [edx + 4], 0x80000000
add edx, 0xc
mov ecx, dword [esi]
add esi, 4
rep movsb byte es:[edi], byte [esi]
mov byte [edi], 0
inc edi
cmp edi, dword [0x416bf4]
jae 0x401926
jmp 0x401bc2
mov ecx, dword [0x416c50]
mov eax, ecx
inc eax
mov dword [0x416c50], eax
xchg dword [edx + 4], eax
shl ecx, 2
add ecx, dword [0x416b5c]
mov dword [ecx], eax
add edx, 0x20
test esi, esi
je 0x401c63
cmp byte [0x416ca7], 5
jne 0x401bf5
bt dword [0x416c40], 0
jb 0x401bf5
mov esi, dword [esi]
add esi, dword [0x416c70]
lodsb al, byte [esi]
cmp edi, dword [0x416bf4]
jae 0x401926
stosb byte es:[edi], al
test al, al
jne 0x401c4c
jmp 0x401bc2
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
cmp edi, dword [0x416bf4]
jae 0x401926
jmp 0x401bc2
mov edx, dword [0x416bf4]
mov ebp, dword [0x416b38]
sub ebp, dword [0x416bb4]
add ebp, edx
cmp edx, ebp
je 0x401d2f
mov eax, dword [edx + 0x18]
test eax, eax
je 0x401ce6
cmp eax, dword [0x416b34]
jb 0x401cbf
cmp eax, dword [0x416b60]
ja 0x401cbf
sub eax, dword [0x416b34]
dec eax
mov dword [edx + 0x18], eax
jmp 0x401ce6
mov esi, eax
mov eax, edi
sub eax, ebx
or eax, 0x80000000
mov dword [edx + 0x18], eax
movzx ecx, byte [esi - 1]
lea eax, [edi + ecx + 1]
cmp edi, dword [0x416bf4]
jae 0x401926
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x401cf6
sub eax, dword [0x416b34]
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0x14]
test eax, eax
je 0x401d0a
cmp eax, dword [0x416c48]
mov eax, dword [eax + 4]
jae 0x401d0a
xor eax, eax
mov dword [edx + 0x14], eax
mov ax, word [0x416b56]
cmp ax, word [edx + 0x10]
je 0x401d1d
and byte [edx + 8], 0xfe
cmp ax, word [edx + 0x12]
je 0x401d27
and byte [edx + 8], 0xf7
add edx, 0x20
jmp 0x401c94
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x24], eax
add eax, 0x38
mov dword [ebx - 0x20], eax
mov ecx, dword [0x416b38]
sub ecx, dword [0x416bb4]
mov dword [ebx - 0x1c], ecx
add eax, ecx
mov dword [ebx - 0x18], eax
mov ecx, dword [0x416b60]
sub ecx, dword [0x416b34]
mov dword [ebx - 0x14], ecx
add eax, ecx
mov dword [ebx - 0x10], eax
mov eax, dword [0x416c50]
shl eax, 2
mov dword [ebx - 4], eax
call fcn.00401ebf
mov esi, dword [0x416bb4]
mov ebp, edi
cmp esi, dword [0x416bf4]
je 0x401de8
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, ecx
cmp eax, 1
jne 0x401d7c
mov eax, dword [esi + 4]
sub eax, dword [0x416b64]
add eax, dword [0x416b74]
cmp byte [esi + 0x1a], 0
je 0x401dab
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [esi]
sub eax, dword [0x416b34]
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
xor edx, edx
sub eax, dword [esi + 8]
sbb edx, dword [esi + 0xc]
stosd dword es:[edi], eax
mov eax, edx
stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x401ddc
cmp eax, dword [0x416c48]
mov eax, dword [eax + 4]
jae 0x401ddc
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x18]
and eax, 0x1ffff
stosd dword es:[edi], eax
jmp 0x401d7c
mov edx, edi
mov eax, dword [0x416c00]
sub eax, dword [0x416b64]
add eax, dword [0x416b74]
stosd dword es:[edi], eax
mov ecx, edi
sub ecx, ebx
sub ecx, dword [ebx - 0x24]
mov dword [ebx - 0xc], ecx
add ecx, dword [ebx - 0x10]
mov dword [ebx - 8], ecx
sub edx, 0x1c
cmp edx, ebp
jb 0x401e2d
test byte [edx + 0x1a], 1
jne 0x401e0c
cmp eax, dword [edx]
jb 0x401e21
mov eax, dword [edx]
jmp 0x401e0c
mov dword [edx], 0
or byte [edx + 0x1a], 2
jmp 0x401e0c
mov edx, dword [0x416b50]
call fcn.004013a4
jb 0x401944
mov edx, dword [0x416b64]
mov ecx, dword [edx + 0x14]
add ecx, 0x38
call fcn.004013c3
mov edx, dword [0x416bf4]
mov ecx, dword [0x416b38]
sub ecx, dword [0x416bb4]
call fcn.004013c3
mov edx, dword [0x416b34]
mov ecx, dword [0x416b60]
sub ecx, edx
call fcn.004013c3
mov edx, ebp
mov ecx, edi
sub ecx, edx
call fcn.004013c3
mov edx, dword [0x416b5c]
mov ecx, dword [0x416c50]
shl ecx, 2
call fcn.004013c3
call fcn.004013f9
ret
mov dword [0x416c00], edi
cmp dword [0x416b4c], 0
jne 0x408300
mov esi, dword [0x416b48]
mov edi, dword [0x416b5c]
lodsb al, byte [esi]
cmp edi, dword [0x416bf8]
jae 0x401926
stosb byte es:[edi], al
or al, al
jne 0x4081c5
dec edi
mov eax, edi
dec eax
cmp eax, dword [0x416b5c]
jb 0x4081f4
cmp byte [eax], 0x5c
je 0x4081f4
cmp byte [eax], 0x2f
je 0x4081f4
cmp byte [eax], 0x2e
jne 0x4081da
mov edi, eax
lea eax, [edi + 9]
cmp eax, dword [0x416bf8]
jae 0x401926
cmp dword [0x416c88], 0
jne 0x4082cd
cmp byte [0x416ca7], 2
je 0x40829d
jb 0x40826d
cmp byte [0x416ca7], 4
je 0x408283
cmp byte [0x416ca7], 5
je 0x40828a
cmp byte [0x416ca7], 3
jne 0x408299
cmp word [0x416c62], 1
je 0x40825f
cmp word [0x416c62], 0xa
jae 0x408266
bt dword [0x416c40], 8
jae 0x40829d
mov eax, 0x6c6c642e
jmp 0x4082a2
mov eax, 0x7379732e
jmp 0x4082a2
mov eax, 0x6966652e
jmp 0x4082a2
mov eax, 0x6e69622e
bt dword [0x416c40], 0
jae 0x4082a2
mov eax, 0x6d6f632e
jmp 0x4082a2
mov eax, 0x6a626f2e
jmp 0x4082a2
mov eax, 0x6f2e
bt dword [0x416c40], 0
jae 0x4082a2
xor eax, eax
jmp 0x4082a2
mov eax, 0x6578652e
xchg dword [edi], eax
scasd eax, dword es:[edi]
mov byte [edi], 0
scasb al, byte es:[edi]
mov esi, edi
stosd dword es:[edi], eax
sub edi, 9
xor eax, eax
mov ebx, 0x416cae
mov al, byte [esi]
or al, al
je 0x4082c5
xlatb
cmp al, byte [esi]
je 0x4082c4
sub byte [edi], 0x20
inc esi
inc edi
cmp byte [edi], 0
jne 0x4082b6
jmp 0x4082dd
mov al, 0x2e
stosb byte es:[edi], al
mov esi, dword [0x416c88]
lodsb al, byte [esi]
stosb byte es:[edi], al
test al, al
jne 0x4082d6
dec edi
mov esi, edi
lea ecx, [esi + 1]
sub ecx, dword [0x416b5c]
mov edi, dword [0x416bf8]
dec edi
std
rep movsb byte es:[edi], byte [esi]
cld
inc edi
mov dword [0x416bf8], edi
mov dword [0x416b4c], edi
cmp dword [0x416b50], 0
je 0x408355
mov ecx, dword [0x416b38]
sub ecx, dword [0x416bb4]
mov edi, dword [0x416bf4]
sub edi, 8
mov dword [edi], ecx
or dword [edi + 4], 0xffffffff
sub edi, ecx
cmp edi, dword [0x416c00]
jbe 0x401926
mov dword [0x416bf4], edi
mov esi, dword [0x416b38]
sub esi, 0x20
cmp esi, dword [0x416bb4]
jb 0x408355
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x20
jmp 0x40833e
mov edi, dword [0x416c00]
cmp byte [0x416ca7], 4
je 0x40a1ab
cmp byte [0x416ca7], 5
jne 0x40837f
bt dword [0x416c40], 0
jae 0x40a93c
mov eax, edi
sub eax, dword [0x416b64]
mov dword [0x416b6c], eax
cmp edi, dword [0x416bdc]
jne 0x40839a
mov edi, dword [0x416bd8]
mov dword [0x416c00], edi
sub edi, dword [0x416b64]
mov dword [0x416b68], edi
mov dword [0x416b70], 0
mov edx, dword [0x416b4c]
call fcn.004013a4
jb 0x401944
cmp byte [0x416ca7], 3
jne 0x4083e9
mov edx, dword [0x416b64]
mov ecx, dword [0x416c54]
sub edx, ecx
add dword [0x416b70], ecx
call fcn.004013c3
cmp byte [0x416ca7], 2
jne 0x4083f7
call fcn.00408a0f
call fcn.0040840f
call fcn.004013f9
cmp dword [0x416b50], 0
jne 0x401b48
ret
sub edi, dword [0x416b64]
mov dword [0x416b68], edi
call fcn.0040a295
mov edi, dword [0x416b5c]
mov ebx, edi
mov ecx, 0xa
imul ecx, dword [0x416c50]
add ecx, 5
lea eax, [edi + ecx*4]
cmp eax, dword [0x416bf8]
jae 0x401926
xor eax, eax
rep stosd dword es:[edi], eax
mov word [ebx], 0x14c
test dword [0x416c40], 8
je 0x40a1fc
mov word [ebx], 0x8664
mov word [ebx + 0x12], 0x104
bt dword [0x416c40], 0
jae 0x40a210
or byte [ebx + 0x12], 0x80
push ebx
call fcn.004016ac
pop ebx
mov dword [ebx + 4], eax
mov eax, dword [0x416c50]
mov word [ebx + 2], ax
mov esi, dword [0x416c48]
xor eax, eax
xor ecx, ecx
cmp esi, dword [0x416b5c]
je 0x40a300
mov dl, byte [esi]
or dl, dl
je 0x40a24e
cmp dl, 0xc0
jae 0x40a260
cmp dl, 0x80
jae 0x40a286
add esi, 0xc
jmp 0x40a22d
mov edx, eax
shl edx, 8
mov dword [esi], edx
inc eax
inc ecx
mov word [esi + 0x1e], cx
add esi, 0x20
jmp 0x40a22d
mov edx, eax
shl edx, 8
mov dl, byte [esi]
mov dword [esi], edx
mov edx, dword [esi + 8]
add esi, 0x10
inc eax
cmp byte [edx + 0xb], 2
jne 0x40a22d
mov edx, dword [edx + 0x14]
cmp byte [edx], 0xc0
jae 0x40a22d
cmp byte [edx], 0x80
jb 0x40a22d
inc eax
jmp 0x40a22d
mov edx, eax
shl edx, 8
mov dl, byte [esi]
mov dword [esi], edx
add esi, 0xc
inc eax
jmp 0x40a22d
mov dword [ebx + 0xc], eax
mov ebp, edi
sub ebp, ebx
push ebp
lea edi, [ebx + 0x14]
mov esi, dword [0x416c48]
cmp esi, dword [0x416b5c]
je 0x40a433
mov al, byte [esi]
or al, al
je 0x40a32f
add esi, 0xc
cmp al, 0xc0
jb 0x40a311
add esi, 4
jmp 0x40a311
push esi
push edi
mov esi, dword [esi + 4]
or esi, esi
je 0x40a341
mov ecx, dword [esi]
add esi, 4
rep movsb byte es:[edi], byte [esi]
jmp 0x40a34a
mov al, 0x2e
stosb byte es:[edi], al
mov eax, 0x74616c66
stosd dword es:[edi], eax
pop edi
pop esi
mov eax, dword [esi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
test al, 0x80
jne 0x40a36a
mov eax, dword [esi + 8]
sub eax, dword [0x416b64]
add eax, ebp
mov dword [edi + 0x14], eax
mov ebx, dword [0x416b64]
mov edx, dword [0x416b68]
add ebx, edx
add edx, ebp
xor ecx, ecx
add esi, 0x20
cmp esi, dword [0x416b5c]
je 0x40a3ca
mov al, byte [esi]
or al, al
je 0x40a3ca
cmp al, 0x80
jb 0x40a39a
cmp al, 0xc0
jb 0x40a3c5
add esi, 0x10
jmp 0x40a37f
lea eax, [ebx + 0xa]
cmp eax, dword [0x416bf4]
ja 0x401926
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
shr eax, 8
mov dword [ebx + 4], eax
movzx ax, byte [esi]
mov word [ebx + 8], ax
add ebx, 0xa
inc ecx
add esi, 0xc
jmp 0x40a37f
cmp ecx, 0x10000
jb 0x40a415
bt dword [0x416c40], 0
jae 0x40195c
mov word [edi + 0x20], 0xffff
or dword [edi + 0x24], 0x1000000
mov dword [edi + 0x18], edx
push esi
push edi
push ecx
lea esi, [ebx - 1]
add ebx, 0xa
lea edi, [ebx - 1]
imul ecx, ecx, 0xa
std
rep movsb byte es:[edi], byte [esi]
cld
pop ecx
inc esi
inc ecx
mov dword [esi], ecx
xor eax, eax
mov dword [esi + 4], eax
mov word [esi + 8], ax
pop edi
pop esi
jmp 0x40a41f
mov word [edi + 0x20], cx
jcxz 0x40a41f
mov dword [edi + 0x18], edx
sub ebx, dword [0x416b64]
mov dword [0x416b68], ebx
add edi, 0x28
jmp 0x40a311
mov edx, dword [0x416b5c]
mov ebx, dword [0x416b68]
add ebp, ebx
mov dword [edx + 8], ebp
add ebx, dword [0x416b64]
mov edi, ebx
mov ecx, dword [edx + 0xc]
imul ecx, ecx, 9
xor eax, eax
shr ecx, 1
jae 0x40a45a
stosw word es:[edi], ax
rep stosd dword es:[edi], eax
mov edx, edi
stosd dword es:[edi], eax
mov esi, dword [0x416c48]
cmp esi, dword [0x416b5c]
je 0x40a5a6
mov al, byte [esi]
cmp al, 0xc0
jae 0x40a4ae
cmp al, 0x80
jae 0x40a49d
or al, al
je 0x40a484
add esi, 0xc
jmp 0x40a465
call fcn.0040a5f0
movzx eax, word [esi + 0x1e]
mov word [ebx + 0xc], ax
mov byte [ebx + 0x10], 3
add esi, 0x20
add ebx, 0x12
jmp 0x40a465
call fcn.0040a5f0
mov byte [ebx + 0x10], 2
add esi, 0xc
add ebx, 0x12
jmp 0x40a465
call fcn.0040a5f0
mov eax, dword [esi + 0xc]
mov dword [0x416b78], eax
mov eax, dword [esi + 8]
test byte [eax + 8], 1
je 0x40a4f2
mov cx, word [0x416b56]
cmp cx, word [eax + 0x10]
jne 0x40a4f2
mov cl, byte [eax + 0xb]
or cl, cl
je 0x40a59b
test dword [0x416c40], 8
jne 0x40a4ff
cmp cl, 2
je 0x40a508
jmp 0x401acc
mov eax, dword [eax + 0x18]
mov dword [0x416be8], eax
jmp 0x401a4a
cmp cl, 4
jne 0x401acc
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x80
je 0x40a55e
cmp byte [ecx], 0
jne 0x401acc
mov cx, word [ecx + 0x1e]
mov word [ebx + 0xc], cx
cmp dword [eax + 4], 0
je 0x40a53b
cmp dword [eax + 4], 0xffffffff
jne 0x401a40
bt dword [eax], 0x1f
jae 0x401a40
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov al, 2
cmp byte [esi], 0xc0
je 0x40a550
inc al
cmp byte [esi], 0xc1
je 0x40a550
mov al, 0x69
mov byte [ebx + 0x10], al
add esi, 0x10
add ebx, 0x12
jmp 0x40a465
bt dword [0x416c40], 0
jae 0x401acc
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x401acc
mov byte [ebx + 0x10], 0x69
mov byte [ebx + 0x11], 1
add ebx, 0x12
mov ecx, dword [eax + 0x14]
mov ecx, dword [ecx]
shr ecx, 8
mov dword [ebx], ecx
mov byte [ebx + 4], 3
add esi, 0x10
add ebx, 0x12
jmp 0x40a465
mov word [ebx + 0xc], 0xffff
jmp 0x40a521
mov eax, edi
sub eax, edx
mov dword [edx], eax
sub edi, dword [0x416b64]
mov dword [0x416b68], edi
mov dword [0x416b70], 0
mov edx, dword [0x416b4c]
call fcn.004013a4
jb 0x401944
mov edx, dword [0x416b5c]
pop ecx
add dword [0x416b70], ecx
call fcn.004013c3
jb 0x401944
jmp 0x4083f7
push edi
call fcn.0040a295
mov esi, dword [0x416c48]
mov edi, dword [0x416b5c]
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
test dword [0x416c40], 8
je 0x40a96a
mov ecx, 2
rep stosd dword es:[edi], eax
mov al, byte [esi]
or al, al
je 0x40a97c
cmp al, 0xc0
jb 0x40a977
add esi, 4
add esi, 0xc
jmp 0x40a96a
mov ebx, esi
mov ebp, esi
add esi, 0x20
xor ecx, ecx
xor edx, edx
cmp esi, dword [0x416b5c]
je 0x40a9ab
mov al, byte [esi]
or al, al
je 0x40a9ab
cmp al, 0xc0
jae 0x40a9a6
cmp al, 0x80
jae 0x40a9a1
or byte [ebx + 0x14], 0x40
add esi, 0xc
jmp 0x40a987
add esi, 0x10
jmp 0x40a987
mov eax, edi
xchg dword [ebx + 4], eax
stosd dword es:[edi], eax
test dword [0x416c40], 8
jne 0x40a9f2
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0040a9c8
jmp 0x40a9fd
call fcn.0040a9c8
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, esi
add esi, 0x20
cmp ebx, dword [0x416b5c]
jne 0x40a987
inc dx
je 0x40195c
mov dword [0x416c5c], edx
mov esi, dword [0x416c48]
cmp esi, dword [0x416b5c]
je 0x40ab88
mov al, byte [esi]
or al, al
je 0x40aa45
cmp al, 0xc0
jae 0x40aa4a
cmp al, 0x80
jae 0x40ab46
add esi, 0xc
jmp 0x40aa22
add esi, 0x20
jmp 0x40aa22
mov eax, dword [esi + 0xc]
mov dword [0x416b78], eax
cmp byte [esi], 0xc0
jne 0x4019b4
mov ebx, dword [esi + 8]
test byte [ebx + 8], 1
je 0x40aaa1
mov ax, word [0x416b56]
cmp ax, word [ebx + 0x10]
jne 0x40aaa1
mov dl, byte [ebx + 0xb]
or dl, dl
je 0x40aabd
mov eax, dword [ebx + 0x14]
cmp byte [eax], 0
jne 0x401acc
mov eax, dword [eax + 4]
test dword [0x416c40], 8
jne 0x40aaae
cmp dl, 2
jne 0x401acc
mov dx, word [eax + 0xe]
jmp 0x40aac1
mov eax, dword [ebx + 0x18]
mov dword [0x416be8], eax
jmp 0x401a4a
cmp dl, 4
jne 0x401acc
mov dx, word [eax + 6]
jmp 0x40aac1
mov dx, 0xfff1
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x416c40], 8
jne 0x40aaf3
call fcn.0040ab29
stosd dword es:[edi], eax
xor eax, eax
mov al, byte [ebx + 0xa]
stosd dword es:[edi], eax
mov eax, edx
shl eax, 0x10
mov al, 0x10
cmp byte [ebx + 0xa], 0
je 0x40aaee
or al, 1
jmp 0x40aaf0
or al, 2
stosd dword es:[edi], eax
jmp 0x40ab17
mov eax, edx
shl eax, 0x10
mov al, 0x10
cmp byte [ebx + 0xa], 0
je 0x40ab04
or al, 1
jmp 0x40ab06
or al, 2
stosd dword es:[edi], eax
call fcn.0040ab29
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
mov al, byte [ebx + 0xa]
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
inc ecx
mov eax, ecx
shl eax, 8
mov al, 0xc0
mov dword [esi], eax
add esi, 0x10
jmp 0x40aa22
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x416c40], 8
jne 0x40ab65
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
stosd dword es:[edi], eax
mov eax, 0x10
stosd dword es:[edi], eax
jmp 0x40ab76
mov eax, 0x10
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
inc ecx
mov eax, ecx
shl eax, 8
mov al, pe_nt_image_headers32
mov dword [esi], eax
add esi, 0xc
jmp 0x40aa22
mov edx, edi
mov ebx, dword [0x416b5c]
xor al, al
stosb byte es:[edi], al
add edi, 0x10
mov dword [edx + 1], edx
add ebx, 0x10
test dword [0x416c40], 8
je 0x40abab
add ebx, 8
cmp ebx, edx
je 0x40ac0e
test dword [0x416c40], 8
jne 0x40abe2
cmp byte [ebx + 0xd], 0
je 0x40abcb
mov byte [ebx + 0xd], 0
mov eax, 0x6c65722e
stosd dword es:[edi], eax
mov esi, edi
sub esi, edx
xchg dword [ebx], esi
add ebx, 0x10
or esi, esi
je 0x40ac00
lodsd eax, dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
jmp 0x40abab
cmp byte [ebx + 5], 0
je 0x40abf5
mov byte [ebx + 5], 0
mov eax, 0x6c65722e
stosd dword es:[edi], eax
mov al, 0x61
stosb byte es:[edi], al
mov esi, edi
sub esi, edx
xchg dword [ebx], esi
add ebx, 0x18
jmp 0x40abd4
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
jmp 0x40abab
mov dword [edx + 9], edi
mov ebx, dword [0x416b64]
mov eax, edi
sub eax, dword [0x416b5c]
test dword [0x416c40], 8
jne 0x40ac4d
mov dword [ebx + 0x20], eax
mov eax, dword [0x416c5c]
inc ax
je 0x40195c
mov word [ebx + 0x32], ax
inc ax
je 0x40195c
mov word [ebx + 0x30], ax
jmp 0x40ac6d
mov dword [ebx + 0x28], eax
mov eax, dword [0x416c5c]
inc ax
je 0x40195c
mov word [ebx + 0x3e], ax
inc ax
je 0x40195c
mov word [ebx + 0x3c], ax
xor eax, eax
mov ecx, 0xa
rep stosd dword es:[edi], eax
test dword [0x416c40], 8
je 0x40ac89
mov ecx, 6
rep stosd dword es:[edi], eax
mov esi, ebp
xor ecx, ecx
mov ebx, edi
mov eax, dword [esi + 4]
mov eax, dword [eax]
stosd dword es:[edi], eax
mov eax, 1
cmp dword [esi + 0xc], 0
je 0x40aca6
test byte [esi + 0x14], 0x80
je 0x40aca8
mov al, 8
stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
and al, 0x3f
call fcn.0040ad43
xor eax, eax
call fcn.0040ad43
mov eax, dword [esi + 8]
mov dword [0x416c68], eax
sub eax, dword [0x416b64]
call fcn.0040ad43
mov eax, dword [esi + 0xc]
call fcn.0040ad43
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
call fcn.0040ad43
xor eax, eax
call fcn.0040ad43
inc ecx
add esi, 0x20
xchg dword [esp], edi
mov ebp, edi
cmp esi, dword [0x416b5c]
je 0x40ad5a
mov al, byte [esi]
or al, al
je 0x40ad5a
cmp al, 0x80
jb 0x40ad0c
cmp al, 0xc0
jb 0x40ad3e
add esi, 0x10
jmp 0x40acf1
test dword [0x416c40], 8
jne 0x40ad26
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
mov al, byte [esi]
stosd dword es:[edi], eax
jmp 0x40ad3e
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
movzx eax, byte [esi]
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
shr eax, 8
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esi, 0xc
jmp 0x40acf1
cmp edi, ebp
xchg dword [esp], edi
je 0x40ade0
mov eax, dword [ebx]
sub eax, 4
test dword [0x416c40], 8
je 0x40ad73
dec eax
stosd dword es:[edi], eax
test dword [0x416c40], 8
jne 0x40ad87
mov eax, 9
jmp 0x40ad8c
mov eax, 4
stosd dword es:[edi], eax
xor al, al
call fcn.0040ad43
call fcn.0040ad43
mov eax, ebp
sub eax, dword [0x416b64]
call fcn.0040ad43
mov eax, dword [esp]
sub eax, ebp
call fcn.0040ad43
mov eax, dword [0x416c5c]
stosd dword es:[edi], eax
mov eax, ecx
stosd dword es:[edi], eax
inc ecx
test dword [0x416c40], 8
jne 0x40add1
mov eax, 4
stosd dword es:[edi], eax
mov al, 8
stosd dword es:[edi], eax
jmp 0x40ade0
mov eax, 8
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
mov al, 0x18
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
cmp esi, dword [0x416b5c]
jne 0x40ac8d
pop eax
mov ebx, dword [0x416b64]
sub eax, ebx
mov dword [0x416b68], eax
mov ecx, 0x20
test dword [0x416c40], 8
je 0x40ae10
mov ecx, 0x28
add dword [ebx + ecx], eax
mov eax, 1
stosd dword es:[edi], eax
mov al, 2
stosd dword es:[edi], eax
xor al, al
call fcn.0040ad43
call fcn.0040ad43
mov eax, dword [0x416b68]
call fcn.0040ad43
mov eax, dword [edx + 1]
sub eax, dword [0x416b5c]
call fcn.0040ad43
mov eax, dword [0x416c5c]
inc eax
stosd dword es:[edi], eax
mov eax, dword [0x416c50]
inc eax
stosd dword es:[edi], eax
test dword [0x416c40], 8
jne 0x40ae65
mov eax, 4
stosd dword es:[edi], eax
mov al, 0x10
stosd dword es:[edi], eax
jmp 0x40ae74
mov eax, 8
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
mov al, 0x18
stosd dword es:[edi], eax
xor al, al
stosd dword es:[edi], eax
mov al, 9
stosd dword es:[edi], eax
mov al, 3
stosd dword es:[edi], eax
xor al, al
call fcn.0040ad43
call fcn.0040ad43
mov eax, dword [edx + 1]
sub eax, dword [0x416b5c]
add eax, dword [0x416b68]
call fcn.0040ad43
mov eax, dword [edx + 9]
sub eax, dword [edx + 1]
call fcn.0040ad43
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov al, 1
call fcn.0040ad43
xor eax, eax
call fcn.0040ad43
mov eax, 0x626174
mov dword [edx + 1], 0x6d79732e
mov dword [edx + 5], eax
mov dword [edx + 9], 0x7274732e
mov dword [edx + 0xd], eax
mov dword [0x416c70], edx
mov dword [0x416b70], 0
mov edx, dword [0x416b4c]
call fcn.004013a4
jb 0x401944
call fcn.0040840f
mov ecx, edi
mov edx, dword [0x416b5c]
sub ecx, edx
add dword [0x416b70], ecx
call fcn.004013c3
jb 0x401944
jmp 0x4083fc