Function at 0x41fca9
Capabilities:
Encrypt data using speck
Query environment variable
Read .ini file

Disassembly:
push 0x431c12
jmp 0x41840e
push 0x431bda
jmp 0x418713
push 0x431c94
jmp fcn.004188fd
mov edi, 0x43239b
mov esi, 0x431df5
call fcn.0041883c
push 0x43239b
cmp dword [0x4320ac], 0
je fcn.004188fd
mov esi, dword [0x4320ac]
mov esi, dword [esi + 0x18]
or esi, esi
je fcn.004188fd
mov byte [edi - 1], 0x20
call fcn.00418843
jmp fcn.004188fd
mov edi, dword [0x432034]
call fcn.00418d31
mov esi, dword [0x432018]
call fcn.0041883c
cmp edi, dword [0x4320b8]
jae 0x4186d8
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x34], eax
mov esi, dword [0x43201c]
call fcn.0041883c
cmp edi, dword [0x4320b8]
jae 0x4186d8
mov edx, dword [0x432110]
mov ebp, dword [0x43202c]
and dword [0x432118], 0
cmp byte [0x432191], 4
je 0x418990
cmp byte [0x432191], 5
jne 0x418a4e
bt dword [0x432108], 0
jb 0x418a4e
cmp edx, ebp
je 0x418a4e
mov al, byte [edx]
test al, al
je 0x4189ae
cmp al, 0x80
je 0x4189ae
add edx, 0xc
cmp al, 0xc0
jb 0x418990
add edx, 4
jmp 0x418990
mov esi, edi
sub esi, ebx
xchg dword [edx + 4], esi
test al, al
je 0x4189dc
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 [0x4320b8]
jae 0x4186d8
jmp 0x418990
mov ecx, dword [0x432118]
mov eax, ecx
inc eax
mov dword [0x432118], eax
xchg dword [edx + 4], eax
shl ecx, 2
add ecx, dword [0x43202c]
mov dword [ecx], eax
add edx, 0x20
test esi, esi
je 0x418a31
cmp byte [0x432191], 5
jne 0x4189c3
bt dword [0x432108], 0
jb 0x4189c3
mov esi, dword [esi]
add esi, dword [0x43213c]
lodsb al, byte [esi]
cmp edi, dword [0x4320b8]
jae 0x4186d8
stosb byte es:[edi], al
test al, al
jne 0x418a1a
jmp 0x418990
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
cmp edi, dword [0x4320b8]
jae 0x4186d8
jmp 0x418990
mov edx, dword [0x4320b8]
mov ebp, dword [0x432004]
sub ebp, dword [0x432088]
add ebp, edx
cmp edx, ebp
je 0x418b0c
mov eax, dword [edx + 0x18]
test eax, eax
je 0x418ab4
cmp eax, dword [section..bss]
jb 0x418a8d
cmp eax, dword [0x432030]
ja 0x418a8d
sub eax, dword [section..bss]
dec eax
mov dword [edx + 0x18], eax
jmp 0x418ab4
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 [0x4320b8]
jae 0x4186d8
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x418ac4
sub eax, dword [section..bss]
mov dword [edx + 0x1c], eax
test byte [edx + 9], 4
je 0x418ad3
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x418ae7
mov eax, dword [edx + 0x14]
test eax, eax
je 0x418ae7
cmp eax, dword [0x432110]
mov eax, dword [eax + 4]
jae 0x418ae7
xor eax, eax
mov dword [edx + 0x14], eax
mov ax, word [0x432026]
cmp ax, word [edx + 0x10]
je 0x418afa
and byte [edx + 8], 0xfe
cmp ax, word [edx + 0x12]
je 0x418b04
and byte [edx + 8], 0xf7
add edx, 0x20
jmp 0x418a62
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x2c], eax
add eax, 0x40
mov dword [ebx - 0x28], eax
mov ecx, dword [0x432004]
sub ecx, dword [0x432088]
mov dword [ebx - 0x24], ecx
add eax, ecx
mov dword [ebx - 0x20], eax
mov ecx, dword [0x432030]
sub ecx, dword [section..bss]
mov dword [ebx - 0x1c], ecx
add eax, ecx
mov dword [ebx - 0x18], eax
mov eax, dword [0x432118]
shl eax, 2
mov dword [ebx - 0xc], eax
call fcn.00418d52
mov esi, dword [0x432088]
mov ebp, edi
cmp esi, dword [0x4320b8]
je 0x418bfd
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, ecx
cmp eax, 1
je 0x418b80
cmp eax, 2
jne 0x418b59
add dword [ebx - 4], 8
jmp 0x418b59
push ebx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, dword [0x432034]
add eax, dword [0x432044]
test byte [ebx + 0xa], 1
je 0x418b9b
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [esi]
sub eax, dword [section..bss]
stosd dword es:[edi], eax
mov eax, dword [esi + 4]
xor edx, edx
xor cl, cl
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
sbb cl, byte [ebx + 8]
stosd dword es:[edi], eax
mov eax, edx
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x10]
stosd dword es:[edi], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x418bd0
cmp eax, dword [0x432110]
mov eax, dword [eax + 4]
jae 0x418bd0
xor eax, eax
stosd dword es:[edi], eax
mov al, byte [ebx + 9]
stosb byte es:[edi], al
mov al, byte [esi + 0x10]
stosb byte es:[edi], al
mov al, byte [ebx + 0xa]
and al, 1
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
pop ebx
cmp edi, dword [0x4320b8]
jae 0x4186d8
mov eax, edi
sub eax, 0x1c
sub eax, ebp
mov dword [esi], eax
jmp 0x418b59
mov edx, edi
mov eax, dword [0x4320c4]
sub eax, dword [0x432034]
add eax, dword [0x432044]
stosd dword es:[edi], eax
mov ecx, edi
sub ecx, ebx
sub ecx, dword [ebx - 0x2c]
mov dword [ebx - 0x14], ecx
add ecx, dword [ebx - 0x18]
mov dword [ebx - 0x10], ecx
add ecx, dword [ebx - 0xc]
mov dword [ebx - 8], ecx
sub edx, 0x1c
cmp edx, ebp
jb 0x418c45
test byte [edx + 0x1a], 1
jne 0x418c27
cmp eax, dword [edx]
jb 0x418c3c
mov eax, dword [edx]
jmp 0x418c27
and dword [edx], 0
or byte [edx + 0x1a], 2
jmp 0x418c27
mov edx, dword [0x432020]
call fcn.00418317
jb 0x4186f6
mov edx, dword [0x432034]
mov ecx, dword [edx + 0x14]
add ecx, 0x40
call fcn.00418346
jb 0x4186f6
mov edx, dword [0x4320b8]
mov ecx, dword [0x432004]
sub ecx, dword [0x432088]
call fcn.00418346
jb 0x4186f6
mov edx, dword [section..bss]
mov ecx, dword [0x432030]
sub ecx, edx
call fcn.00418346
jb 0x4186f6
mov edx, ebp
mov ecx, edi
sub ecx, edx
call fcn.00418346
jb 0x4186f6
mov edx, dword [0x43202c]
mov ecx, dword [0x432118]
shl ecx, 2
call fcn.00418346
jb 0x4186f6
mov esi, dword [0x432088]
mov edi, dword [section..bss]
cmp esi, dword [0x4320b8]
je 0x418d16
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, ecx
cmp eax, 2
je 0x418cfb
cmp eax, 1
jne 0x418cda
mov edx, dword [esi]
jmp 0x418cda
mov eax, dword [0x432004]
sub eax, dword [esi]
sub eax, 0x20
stosd dword es:[edi], eax
mov eax, edx
stosd dword es:[edi], eax
cmp edi, dword [0x4320b8]
jb 0x418cda
jmp 0x4186d8
mov edx, dword [section..bss]
mov ecx, edi
sub ecx, edx
call fcn.00418346
jb 0x4186f6
call fcn.0041837c
ret
mov dword [0x4320c4], edi
cmp dword [0x43201c], 0
jne 0x41fdf0
mov esi, dword [0x432018]
mov edi, dword [0x43202c]
lodsb al, byte [esi]
cmp edi, dword [0x4320bc]
jae 0x4186d8
stosb byte es:[edi], al
or al, al
jne 0x41fcc8
dec edi
mov eax, edi
dec eax
cmp eax, dword [0x43202c]
jb 0x41fcf7
cmp byte [eax], 0x5c
je 0x41fcf7
cmp byte [eax], 0x2f
je 0x41fcf7
cmp byte [eax], 0x2e
jne 0x41fcdd
mov edi, eax
lea eax, [edi + 9]
cmp eax, dword [0x4320bc]
jae 0x4186d8
cmp dword [0x432168], 0
jne 0x41fdbd
mov al, byte [0x432191]
cmp al, 2
je 0x41fd8d
jb 0x41fd5d
cmp al, 4
je 0x41fd73
cmp al, 5
je 0x41fd7a
cmp al, 3
jne 0x41fd89
cmp word [0x43212a], 1
je 0x41fd4f
cmp word [0x43212a], 0xa
jae 0x41fd56
bt dword [0x432108], 8
jae 0x41fd8d
mov eax, 0x6c6c642e
jmp 0x41fd92
mov eax, 0x7379732e
jmp 0x41fd92
mov eax, 0x6966652e
jmp 0x41fd92
mov eax, 0x6e69622e
bt dword [0x432108], 0
jae 0x41fd92
mov eax, 0x6d6f632e
jmp 0x41fd92
mov eax, 0x6a626f2e
jmp 0x41fd92
mov eax, 0x6f2e
bt dword [0x432108], 0
jae 0x41fd92
xor eax, eax
jmp 0x41fd92
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, 0x43219b
mov al, byte [esi]
or al, al
je 0x41fdb5
xlatb
cmp al, byte [esi]
je 0x41fdb4
sub byte [edi], 0x20
inc esi
inc edi
cmp byte [edi], 0
jne 0x41fda6
jmp 0x41fdcd
mov al, 0x2e
stosb byte es:[edi], al
mov esi, dword [0x432168]
lodsb al, byte [esi]
stosb byte es:[edi], al
test al, al
jne 0x41fdc6
dec edi
mov esi, edi
lea ecx, [esi + 1]
sub ecx, dword [0x43202c]
mov edi, dword [0x4320bc]
dec edi
std
rep movsb byte es:[edi], byte [esi]
cld
inc edi
mov dword [0x4320bc], edi
mov dword [0x43201c], edi
cmp dword [0x432020], 0
je 0x41fe45
mov ecx, dword [0x432004]
sub ecx, dword [0x432088]
mov edi, dword [0x4320b8]
sub edi, 8
mov dword [edi], ecx
or dword [edi + 4], 0xffffffff
sub edi, ecx
cmp edi, dword [0x4320c4]
jbe 0x4186d8
mov dword [0x4320b8], edi
mov esi, dword [0x432004]
sub esi, 0x20
cmp esi, dword [0x432088]
jb 0x41fe45
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x20
jmp 0x41fe2e
mov edi, dword [0x4320c4]
cmp byte [0x432191], 4
je 0x421d29
cmp byte [0x432191], 5
jne 0x41fe6f
bt dword [0x432108], 0
jae 0x4224c0
mov eax, edi
sub eax, dword [0x432034]
mov dword [0x43203c], eax
cmp edi, dword [0x4320a0]
jne 0x41fe8a
mov edi, dword [0x43209c]
mov dword [0x4320c4], edi
sub edi, dword [0x432034]
mov dword [0x432038], edi
and dword [0x432040], 0
mov edx, dword [0x43201c]
call fcn.00418317
jb 0x4186f6
cmp byte [0x432191], 3
jne 0x41fed6
mov edx, dword [0x432034]
mov ecx, dword [0x43211c]
sub edx, ecx
add dword [0x432040], ecx
call fcn.00418346
cmp byte [0x432191], 2
jne 0x41fee4
call fcn.004204f4
call fcn.0041fefc
call fcn.0041837c
cmp dword [0x432020], 0
jne 0x418919
ret
sub edi, dword [0x432034]
mov dword [0x432038], edi
call fcn.00421e13
mov edi, dword [0x43202c]
mov ebx, edi
mov ecx, 0xa
imul ecx, dword [0x432118]
add ecx, 5
lea eax, [edi + ecx*4]
cmp eax, dword [0x4320bc]
jae 0x4186d8
xor eax, eax
rep stosd dword es:[edi], eax
mov word [ebx], 0x14c
test dword [0x432108], 8
je 0x421d7a
mov word [ebx], 0x8664
mov word [ebx + 0x12], 0x104
bt dword [0x432108], 0
jae 0x421d8e
or byte [ebx + 0x12], 0x80
push ebx
call fcn.004185ea
pop ebx
mov dword [ebx + 4], eax
mov eax, dword [0x432118]
mov word [ebx + 2], ax
mov esi, dword [0x432110]
xor eax, eax
xor ecx, ecx
cmp esi, dword [0x43202c]
je 0x421e7e
mov dl, byte [esi]
or dl, dl
je 0x421dcc
cmp dl, 0xc0
jae 0x421dde
cmp dl, 0x80
jae 0x421e04
add esi, 0xc
jmp 0x421dab
mov edx, eax
shl edx, 8
mov dword [esi], edx
inc eax
inc ecx
mov word [esi + 0x1e], cx
add esi, 0x20
jmp 0x421dab
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], 0
je 0x421dab
mov edx, dword [edx + 0x14]
cmp byte [edx], 0xc0
jae 0x421dab
cmp byte [edx], 0x80
jb 0x421dab
inc eax
jmp 0x421dab
mov edx, eax
shl edx, 8
mov dl, byte [esi]
mov dword [esi], edx
add esi, 0xc
inc eax
jmp 0x421dab
mov dword [ebx + 0xc], eax
mov ebp, edi
sub ebp, ebx
push ebp
lea edi, [ebx + 0x14]
mov esi, dword [0x432110]
cmp esi, dword [0x43202c]
je 0x421fb1
mov al, byte [esi]
or al, al
je 0x421ead
add esi, 0xc
cmp al, 0xc0
jb 0x421e8f
add esi, 4
jmp 0x421e8f
push esi
push edi
mov esi, dword [esi + 4]
or esi, esi
je 0x421ebf
mov ecx, dword [esi]
add esi, 4
rep movsb byte es:[edi], byte [esi]
jmp 0x421ec8
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 0x421ee8
mov eax, dword [esi + 8]
sub eax, dword [0x432034]
add eax, ebp
mov dword [edi + 0x14], eax
mov ebx, dword [0x432034]
mov edx, dword [0x432038]
add ebx, edx
add edx, ebp
xor ecx, ecx
add esi, 0x20
cmp esi, dword [0x43202c]
je 0x421f48
mov al, byte [esi]
or al, al
je 0x421f48
cmp al, 0x80
jb 0x421f18
cmp al, 0xc0
jb 0x421f43
add esi, 0x10
jmp 0x421efd
lea eax, [ebx + 0xa]
cmp eax, dword [0x4320b8]
ja 0x4186d8
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 0x421efd
cmp ecx, 0x10000
jb 0x421f93
bt dword [0x432108], 0
jae 0x418707
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 0x421f9d
mov word [edi + 0x20], cx
jcxz 0x421f9d
mov dword [edi + 0x18], edx
sub ebx, dword [0x432034]
mov dword [0x432038], ebx
add edi, 0x28
jmp 0x421e8f
mov edx, dword [0x43202c]
mov ebx, dword [0x432038]
add ebp, ebx
mov dword [edx + 8], ebp
add ebx, dword [0x432034]
mov edi, ebx
mov ecx, dword [edx + 0xc]
imul ecx, ecx, 9
xor eax, eax
shr ecx, 1
jae 0x421fd8
stosw word es:[edi], ax
rep stosd dword es:[edi], eax
mov edx, edi
stosd dword es:[edi], eax
mov esi, dword [0x432110]
cmp esi, dword [0x43202c]
je 0x422123
mov al, byte [esi]
cmp al, 0xc0
jae 0x42202c
cmp al, 0x80
jae 0x42201b
or al, al
je 0x422002
add esi, 0xc
jmp 0x421fe3
call fcn.0042216a
movzx eax, word [esi + 0x1e]
mov word [ebx + 0xc], ax
mov byte [ebx + 0x10], 3
add esi, 0x20
add ebx, 0x12
jmp 0x421fe3
call fcn.0042216a
mov byte [ebx + 0x10], 2
add esi, 0xc
add ebx, 0x12
jmp 0x421fe3
call fcn.0042216a
mov eax, dword [esi + 0xc]
mov dword [0x432048], eax
mov eax, dword [esi + 8]
test byte [eax + 8], 1
je 0x422070
mov cx, word [0x432026]
cmp cx, word [eax + 0x10]
jne 0x422070
mov cl, byte [eax + 0xb]
or cl, cl
je 0x422118
test dword [0x432108], 8
jne 0x42207a
cmp cl, 2
je 0x422083
jmp 0x418896
mov dword [0x4320ac], eax
jmp 0x4187fc
cmp cl, 4
jne 0x418896
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x80
je 0x4220db
cmp byte [ecx], 0
jne 0x418896
mov cx, word [ecx + 0x1e]
mov word [ebx + 0xc], cx
movzx ecx, byte [eax + 9]
shr cl, 1
and cl, 1
neg ecx
cmp ecx, dword [eax + 4]
jne 0x4187f2
xor ecx, dword [eax]
js 0x4187f2
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov al, 2
cmp byte [esi], 0xc0
je 0x4220cd
inc al
cmp byte [esi], 0xc1
je 0x4220cd
mov al, 0x69
mov byte [ebx + 0x10], al
add esi, 0x10
add ebx, 0x12
jmp 0x421fe3
bt dword [0x432108], 0
jae 0x418896
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x418896
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 0x421fe3
mov word [ebx + 0xc], 0xffff
jmp 0x42209c
mov eax, edi
sub eax, edx
mov dword [edx], eax
sub edi, dword [0x432034]
mov dword [0x432038], edi
and dword [0x432040], 0
mov edx, dword [0x43201c]
call fcn.00418317
jb 0x4186f6
mov edx, dword [0x43202c]
pop ecx
add dword [0x432040], ecx
call fcn.00418346
jb 0x4186f6
jmp 0x41fee4
mov ecx, edi
sub ecx, dword [0x432034]
neg ecx
and ecx, 7
test dword [0x432108], 8
jne 0x4224dc
and ecx, 3
xor al, al
rep stosb byte es:[edi], al
push edi
call fcn.00421e13
mov esi, dword [0x432110]
mov edi, dword [0x43202c]
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
test dword [0x432108], 8
je 0x42250e
mov ecx, 2
rep stosd dword es:[edi], eax
mov al, byte [esi]
or al, al
je 0x422520
cmp al, 0xc0
jb 0x42251b
add esi, 4
add esi, 0xc
jmp 0x42250e
mov ebx, esi
mov ebp, esi
add esi, 0x20
xor ecx, ecx
xor edx, edx
cmp esi, dword [0x43202c]
je 0x42254f
mov al, byte [esi]
or al, al
je 0x42254f
cmp al, 0xc0
jae 0x42254a
cmp al, 0x80
jae 0x422545
or byte [ebx + 0x14], 0x40
add esi, 0xc
jmp 0x42252b
add esi, 0x10
jmp 0x42252b
mov eax, edi
xchg dword [ebx + 4], eax
stosd dword es:[edi], eax
test dword [0x432108], 8
jne 0x422596
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042256c
jmp 0x4225a1
call fcn.0042256c
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 [0x43202c]
jne 0x42252b
inc dx
je 0x418707
mov dword [0x432124], edx
mov esi, dword [0x432110]
cmp esi, dword [0x43202c]
je 0x422732
mov al, byte [esi]
or al, al
je 0x4225e9
cmp al, 0xc0
jae 0x4225ee
cmp al, 0x80
jae 0x4226f0
add esi, 0xc
jmp 0x4225c6
add esi, 0x20
jmp 0x4225c6
mov eax, dword [esi + 0xc]
mov dword [0x432048], eax
cmp byte [esi], 0xc0
jne 0x418766
mov ebx, dword [esi + 8]
test byte [ebx + 8], 1
je 0x422645
mov ax, word [0x432026]
cmp ax, word [ebx + 0x10]
jne 0x422645
mov dl, byte [ebx + 0xb]
or dl, dl
je 0x42265f
mov eax, dword [ebx + 0x14]
cmp byte [eax], 0
jne 0x418896
mov eax, dword [eax + 4]
test dword [0x432108], 8
jne 0x422650
cmp dl, 2
jne 0x418896
mov dx, word [eax + 0xe]
jmp 0x422663
mov dword [0x4320ac], ebx
jmp 0x4187fc
cmp dl, 4
jne 0x418896
mov dx, word [eax + 6]
jmp 0x422663
mov dx, 0xfff1
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x432108], 8
jne 0x4226ad
movzx eax, byte [ebx + 9]
shr al, 1
and al, 1
neg eax
cmp eax, dword [ebx + 4]
jne 0x4187f2
xor eax, dword [ebx]
js 0x4187f2
mov eax, dword [ebx]
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 0x4226a8
or al, 1
jmp 0x4226aa
or al, 2
stosd dword es:[edi], eax
jmp 0x4226de
mov eax, edx
shl eax, 0x10
mov al, 0x10
cmp byte [ebx + 0xa], 0
je 0x4226be
or al, 1
jmp 0x4226c0
or al, 2
stosd dword es:[edi], eax
mov al, byte [ebx + 9]
shl eax, 0x1e
xor eax, dword [ebx + 4]
js 0x4187f2
mov eax, dword [ebx]
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
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 0x4225c6
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x432108], 8
jne 0x42270f
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 0x422720
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 0x4225c6
mov edx, edi
mov ebx, dword [0x43202c]
xor al, al
stosb byte es:[edi], al
add edi, 0x10
mov dword [edx + 1], edx
add ebx, 0x10
test dword [0x432108], 8
je 0x422755
add ebx, 8
cmp ebx, edx
je 0x4227b8
test dword [0x432108], 8
jne 0x42278c
cmp byte [ebx + 0xd], 0
je 0x422775
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 0x4227aa
lodsd eax, dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
jmp 0x422755
cmp byte [ebx + 5], 0
je 0x42279f
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 0x42277e
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
jmp 0x422755
mov dword [edx + 9], edi
mov ebx, dword [0x432034]
mov eax, edi
sub eax, dword [0x43202c]
xor ecx, ecx
sub ecx, eax
test dword [0x432108], 8
jne 0x422800
and ecx, 3
add eax, ecx
mov dword [ebx + 0x20], eax
mov eax, dword [0x432124]
inc ax
je 0x418707
mov word [ebx + 0x32], ax
inc ax
je 0x418707
mov word [ebx + 0x30], ax
jmp 0x422825
and ecx, 7
add eax, ecx
mov dword [ebx + 0x28], eax
mov eax, dword [0x432124]
inc ax
je 0x418707
mov word [ebx + 0x3e], ax
inc ax
je 0x418707
mov word [ebx + 0x3c], ax
xor eax, eax
add ecx, 0x28
rep stosb byte es:[edi], al
test dword [0x432108], 8
je 0x42283f
mov ecx, 0x18
rep stosb byte es:[edi], al
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 0x42285c
test byte [esi + 0x14], 0x80
je 0x42285e
mov al, 8
stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
and al, 0x3f
call fcn.00422917
xor eax, eax
call fcn.00422917
mov eax, dword [esi + 8]
mov dword [0x432130], eax
sub eax, dword [0x432034]
call fcn.00422917
mov eax, dword [esi + 0xc]
call fcn.00422917
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
call fcn.00422917
xor eax, eax
call fcn.00422917
inc ecx
add esi, 0x20
xchg dword [esp], edi
mov ebp, edi
cmp esi, dword [0x43202c]
je 0x42292b
mov al, byte [esi]
or al, al
je 0x42292b
cmp al, 0x80
jb 0x4228c2
cmp al, 0xc0
jb 0x422912
add esi, 0x10
jmp 0x4228a7
test dword [0x432108], 8
jne 0x4228dc
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 0x422912
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
push edx
mov edx, dword [esi + 4]
add edx, dword [0x432130]
xchg dword [edx], eax
stosd dword es:[edi], eax
cmp byte [esi], 1
je 0x42290b
pop edx
sar eax, 0x1f
stosd dword es:[edi], eax
jmp 0x422912
xor eax, eax
xchg dword [edx + 4], eax
stosd dword es:[edi], eax
pop edx
add esi, 0xc
jmp 0x4228a7
cmp edi, ebp
xchg dword [esp], edi
je 0x4229b1
mov eax, dword [ebx]
sub eax, 4
test dword [0x432108], 8
je 0x422944
dec eax
stosd dword es:[edi], eax
test dword [0x432108], 8
jne 0x422958
mov eax, 9
jmp 0x42295d
mov eax, 4
stosd dword es:[edi], eax
xor al, al
call fcn.00422917
call fcn.00422917
mov eax, ebp
sub eax, dword [0x432034]
call fcn.00422917
mov eax, dword [esp]
sub eax, ebp
call fcn.00422917
mov eax, dword [0x432124]
stosd dword es:[edi], eax
mov eax, ecx
stosd dword es:[edi], eax
inc ecx
test dword [0x432108], 8
jne 0x4229a2
mov eax, 4
stosd dword es:[edi], eax
mov al, 8
stosd dword es:[edi], eax
jmp 0x4229b1
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 [0x43202c]
jne 0x422843
pop eax
mov ebx, dword [0x432034]
sub eax, ebx
mov dword [0x432038], eax
mov ecx, 0x20
test dword [0x432108], 8
je 0x4229e1
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.00422917
call fcn.00422917
mov eax, dword [0x432038]
call fcn.00422917
mov eax, dword [edx + 1]
sub eax, dword [0x43202c]
call fcn.00422917
mov eax, dword [0x432124]
inc eax
stosd dword es:[edi], eax
mov eax, dword [0x432118]
inc eax
stosd dword es:[edi], eax
test dword [0x432108], 8
jne 0x422a36
mov eax, 4
stosd dword es:[edi], eax
mov al, 0x10
stosd dword es:[edi], eax
jmp 0x422a45
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.00422917
call fcn.00422917
mov eax, dword [edx + 1]
sub eax, dword [0x43202c]
add eax, dword [0x432038]
call fcn.00422917
mov eax, dword [edx + 9]
sub eax, dword [edx + 1]
call fcn.00422917
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov al, 1
call fcn.00422917
xor eax, eax
call fcn.00422917
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 [0x43213c], edx
mov dword [0x432040], 0
mov edx, dword [0x43201c]
call fcn.00418317
jb 0x4186f6
call fcn.0041fefc
mov ecx, edi
mov edx, dword [0x43202c]
sub ecx, edx
add dword [0x432040], ecx
call fcn.00418346
jb 0x4186f6
jmp 0x41fee9