Function at 0x433718
Capabilities:
Encrypt data using speck

Disassembly:
mov edi, 0x45ffb7
mov esi, 0x4444cd
call fcn.00423174
push 0x45ffb7
cmp dword [0x45fcc8], 0
je fcn.00423235
mov esi, dword [0x45fcc8]
mov esi, dword [esi + 0x18]
or esi, esi
je fcn.00423235
mov byte [edi - 1], 0x20
call fcn.0042317b
jmp fcn.00423235
mov edi, dword [0x45fc50]
call fcn.00423669
mov esi, dword [0x45fc34]
call fcn.00423174
cmp edi, dword [0x45fcd4]
jae 0x423010
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x34], eax
mov esi, dword [0x45fc38]
call fcn.00423174
cmp edi, dword [0x45fcd4]
jae 0x423010
mov edx, dword [0x45fd2c]
mov ebp, dword [0x45fc48]
and dword [0x45fd34], 0
cmp byte [0x45fdad], 4
je 0x4232c8
cmp byte [0x45fdad], 5
jne 0x423386
bt dword [0x45fd24], 0
jb 0x423386
cmp edx, ebp
je 0x423386
mov al, byte [edx]
test al, al
je 0x4232e6
cmp al, 0x80
je 0x4232e6
add edx, 0xc
cmp al, 0xc0
jb 0x4232c8
add edx, 4
jmp 0x4232c8
mov esi, edi
sub esi, ebx
xchg dword [edx + 4], esi
test al, al
je 0x423314
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 [0x45fcd4]
jae 0x423010
jmp 0x4232c8
mov ecx, dword [0x45fd34]
mov eax, ecx
inc eax
mov dword [0x45fd34], eax
xchg dword [edx + 4], eax
shl ecx, 2
add ecx, dword [0x45fc48]
mov dword [ecx], eax
add edx, 0x20
test esi, esi
je 0x423369
cmp byte [0x45fdad], 5
jne 0x4232fb
bt dword [0x45fd24], 0
jb 0x4232fb
mov esi, dword [esi]
add esi, dword [0x45fd58]
lodsb al, byte [esi]
cmp edi, dword [0x45fcd4]
jae 0x423010
stosb byte es:[edi], al
test al, al
jne 0x423352
jmp 0x4232c8
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
cmp edi, dword [0x45fcd4]
jae 0x423010
jmp 0x4232c8
mov edx, dword [0x45fcd4]
mov ebp, dword [0x45fc20]
sub ebp, dword [0x45fca4]
add ebp, edx
cmp edx, ebp
je 0x423444
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4233ec
cmp eax, dword [0x45fc1c]
jb 0x4233c5
cmp eax, dword [0x45fc4c]
ja 0x4233c5
sub eax, dword [0x45fc1c]
dec eax
mov dword [edx + 0x18], eax
jmp 0x4233ec
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 [0x45fcd4]
jae 0x423010
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4233fc
sub eax, dword [0x45fc1c]
mov dword [edx + 0x1c], eax
test byte [edx + 9], 4
je 0x42340b
xor eax, eax
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x42341f
mov eax, dword [edx + 0x14]
test eax, eax
je 0x42341f
cmp eax, dword [0x45fd2c]
mov eax, dword [eax + 4]
jae 0x42341f
xor eax, eax
mov dword [edx + 0x14], eax
mov ax, word [0x45fc42]
cmp ax, word [edx + 0x10]
je 0x423432
and byte [edx + 8], 0xfe
cmp ax, word [edx + 0x12]
je 0x42343c
and byte [edx + 8], 0xf7
add edx, 0x20
jmp 0x42339a
mov eax, edi
sub eax, ebx
mov dword [ebx - 0x2c], eax
add eax, 0x40
mov dword [ebx - 0x28], eax
mov ecx, dword [0x45fc20]
sub ecx, dword [0x45fca4]
mov dword [ebx - 0x24], ecx
add eax, ecx
mov dword [ebx - 0x20], eax
mov ecx, dword [0x45fc4c]
sub ecx, dword [0x45fc1c]
mov dword [ebx - 0x1c], ecx
add eax, ecx
mov dword [ebx - 0x18], eax
mov eax, dword [0x45fd34]
shl eax, 2
mov dword [ebx - 0xc], eax
call fcn.0042368a
mov esi, dword [0x45fca4]
mov ebp, edi
cmp esi, dword [0x45fcd4]
je 0x423535
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, ecx
cmp eax, 1
je 0x4234b8
cmp eax, 2
jne 0x423491
add dword [ebx - 4], 8
jmp 0x423491
push ebx
mov ebx, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, dword [0x45fc50]
add eax, dword [0x45fc60]
test byte [ebx + 0xa], 1
je 0x4234d3
xor eax, eax
stosd dword es:[edi], eax
mov eax, dword [esi]
sub eax, dword [0x45fc1c]
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 0x423508
cmp eax, dword [0x45fd2c]
mov eax, dword [eax + 4]
jae 0x423508
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 [0x45fcd4]
jae 0x423010
mov eax, edi
sub eax, 0x1c
sub eax, ebp
mov dword [esi], eax
jmp 0x423491
mov edx, edi
mov eax, dword [0x45fce0]
sub eax, dword [0x45fc50]
add eax, dword [0x45fc60]
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 0x42357d
test byte [edx + 0x1a], 1
jne 0x42355f
cmp eax, dword [edx]
jb 0x423574
mov eax, dword [edx]
jmp 0x42355f
and dword [edx], 0
or byte [edx + 0x1a], 2
jmp 0x42355f
mov edx, dword [0x45fc3c]
call fcn.00437283
jb 0x42302e
mov edx, dword [0x45fc50]
mov ecx, dword [edx + 0x14]
add ecx, 0x40
call fcn.004372cc
jb 0x42302e
mov edx, dword [0x45fcd4]
mov ecx, dword [0x45fc20]
sub ecx, dword [0x45fca4]
call fcn.004372cc
jb 0x42302e
mov edx, dword [0x45fc1c]
mov ecx, dword [0x45fc4c]
sub ecx, edx
call fcn.004372cc
jb 0x42302e
mov edx, ebp
mov ecx, edi
sub ecx, edx
call fcn.004372cc
jb 0x42302e
mov edx, dword [0x45fc48]
mov ecx, dword [0x45fd34]
shl ecx, 2
call fcn.004372cc
jb 0x42302e
mov esi, dword [0x45fca4]
mov edi, dword [0x45fc1c]
cmp esi, dword [0x45fcd4]
je 0x42364e
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
sub esi, 8
sub esi, ecx
cmp eax, 2
je 0x423633
cmp eax, 1
jne 0x423612
mov edx, dword [esi]
jmp 0x423612
mov eax, dword [0x45fc20]
sub eax, dword [esi]
sub eax, 0x20
stosd dword es:[edi], eax
mov eax, edx
stosd dword es:[edi], eax
cmp edi, dword [0x45fcd4]
jb 0x423612
jmp 0x423010
mov edx, dword [0x45fc1c]
mov ecx, edi
sub ecx, edx
call fcn.004372cc
jb 0x42302e
call fcn.00437324
ret
mov dword [0x45fce0], edi
cmp dword [0x45fc38], 0
jne 0x43385f
mov esi, dword [0x45fc34]
mov edi, dword [0x45fc48]
lodsb al, byte [esi]
cmp edi, dword [0x45fcd8]
jae 0x423010
stosb byte es:[edi], al
or al, al
jne 0x433737
dec edi
mov eax, edi
dec eax
cmp eax, dword [0x45fc48]
jb 0x433766
cmp byte [eax], 0x5c
je 0x433766
cmp byte [eax], 0x2f
je 0x433766
cmp byte [eax], 0x2e
jne 0x43374c
mov edi, eax
lea eax, [edi + 9]
cmp eax, dword [0x45fcd8]
jae 0x423010
cmp dword [0x45fd84], 0
jne 0x43382c
mov al, byte [0x45fdad]
cmp al, 2
je 0x4337fc
jb 0x4337cc
cmp al, 4
je 0x4337e2
cmp al, 5
je 0x4337e9
cmp al, 3
jne 0x4337f8
cmp word [0x45fd46], 1
je 0x4337be
cmp word [0x45fd46], 0xa
jae 0x4337c5
bt dword [0x45fd24], 8
jae 0x4337fc
mov eax, 0x6c6c642e
jmp 0x433801
mov eax, 0x7379732e
jmp 0x433801
mov eax, 0x6966652e
jmp 0x433801
mov eax, 0x6e69622e
bt dword [0x45fd24], 0
jae 0x433801
mov eax, 0x6d6f632e
jmp 0x433801
mov eax, 0x6a626f2e
jmp 0x433801
mov eax, 0x6f2e
bt dword [0x45fd24], 0
jae 0x433801
xor eax, eax
jmp 0x433801
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, 0x45fdb7
mov al, byte [esi]
or al, al
je 0x433824
xlatb
cmp al, byte [esi]
je 0x433823
sub byte [edi], 0x20
inc esi
inc edi
cmp byte [edi], 0
jne 0x433815
jmp 0x43383c
mov al, 0x2e
stosb byte es:[edi], al
mov esi, dword [0x45fd84]
lodsb al, byte [esi]
stosb byte es:[edi], al
test al, al
jne 0x433835
dec edi
mov esi, edi
lea ecx, [esi + 1]
sub ecx, dword [0x45fc48]
mov edi, dword [0x45fcd8]
dec edi
std
rep movsb byte es:[edi], byte [esi]
cld
inc edi
mov dword [0x45fcd8], edi
mov dword [0x45fc38], edi
cmp dword [0x45fc3c], 0
je 0x4338b4
mov ecx, dword [0x45fc20]
sub ecx, dword [0x45fca4]
mov edi, dword [0x45fcd4]
sub edi, 8
mov dword [edi], ecx
or dword [edi + 4], 0xffffffff
sub edi, ecx
cmp edi, dword [0x45fce0]
jbe 0x423010
mov dword [0x45fcd4], edi
mov esi, dword [0x45fc20]
sub esi, 0x20
cmp esi, dword [0x45fca4]
jb 0x4338b4
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
sub esi, 0x20
jmp 0x43389d
mov edi, dword [0x45fce0]
cmp byte [0x45fdad], 4
je 0x435798
cmp byte [0x45fdad], 5
jne 0x4338de
bt dword [0x45fd24], 0
jae 0x435f2f
mov eax, edi
sub eax, dword [0x45fc50]
mov dword [0x45fc58], eax
cmp edi, dword [0x45fcbc]
jne 0x4338f9
mov edi, dword [0x45fcb8]
mov dword [0x45fce0], edi
sub edi, dword [0x45fc50]
mov dword [0x45fc54], edi
and dword [0x45fc5c], 0
mov edx, dword [0x45fc38]
call fcn.00437283
jb 0x42302e
cmp byte [0x45fdad], 3
jne 0x433945
mov edx, dword [0x45fc50]
mov ecx, dword [0x45fd38]
sub edx, ecx
add dword [0x45fc5c], ecx
call fcn.004372cc
cmp byte [0x45fdad], 2
jne 0x433953
call fcn.00433f63
call fcn.0043396b
call fcn.00437324
cmp dword [0x45fc3c], 0
jne 0x423251
ret
sub edi, dword [0x45fc50]
mov dword [0x45fc54], edi
call fcn.00435882
mov edi, dword [0x45fc48]
mov ebx, edi
mov ecx, 0xa
imul ecx, dword [0x45fd34]
add ecx, 5
lea eax, [edi + ecx*4]
cmp eax, dword [0x45fcd8]
jae 0x423010
xor eax, eax
rep stosd dword es:[edi], eax
mov word [ebx], 0x14c
test dword [0x45fd24], 8
je 0x4357e9
mov word [ebx], 0x8664
mov word [ebx + 0x12], 0x104
bt dword [0x45fd24], 0
jae 0x4357fd
or byte [ebx + 0x12], 0x80
push ebx
call fcn.00401e27
pop ebx
mov dword [ebx + 4], eax
mov eax, dword [0x45fd34]
mov word [ebx + 2], ax
mov esi, dword [0x45fd2c]
xor eax, eax
xor ecx, ecx
cmp esi, dword [0x45fc48]
je 0x4358ed
mov dl, byte [esi]
or dl, dl
je 0x43583b
cmp dl, 0xc0
jae 0x43584d
cmp dl, 0x80
jae 0x435873
add esi, 0xc
jmp 0x43581a
mov edx, eax
shl edx, 8
mov dword [esi], edx
inc eax
inc ecx
mov word [esi + 0x1e], cx
add esi, 0x20
jmp 0x43581a
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 0x43581a
mov edx, dword [edx + 0x14]
cmp byte [edx], 0xc0
jae 0x43581a
cmp byte [edx], 0x80
jb 0x43581a
inc eax
jmp 0x43581a
mov edx, eax
shl edx, 8
mov dl, byte [esi]
mov dword [esi], edx
add esi, 0xc
inc eax
jmp 0x43581a
mov dword [ebx + 0xc], eax
mov ebp, edi
sub ebp, ebx
push ebp
lea edi, [ebx + 0x14]
mov esi, dword [0x45fd2c]
cmp esi, dword [0x45fc48]
je 0x435a20
mov al, byte [esi]
or al, al
je 0x43591c
add esi, 0xc
cmp al, 0xc0
jb 0x4358fe
add esi, 4
jmp 0x4358fe
push esi
push edi
mov esi, dword [esi + 4]
or esi, esi
je 0x43592e
mov ecx, dword [esi]
add esi, 4
rep movsb byte es:[edi], byte [esi]
jmp 0x435937
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 0x435957
mov eax, dword [esi + 8]
sub eax, dword [0x45fc50]
add eax, ebp
mov dword [edi + 0x14], eax
mov ebx, dword [0x45fc50]
mov edx, dword [0x45fc54]
add ebx, edx
add edx, ebp
xor ecx, ecx
add esi, 0x20
cmp esi, dword [0x45fc48]
je 0x4359b7
mov al, byte [esi]
or al, al
je 0x4359b7
cmp al, 0x80
jb 0x435987
cmp al, 0xc0
jb 0x4359b2
add esi, 0x10
jmp 0x43596c
lea eax, [ebx + 0xa]
cmp eax, dword [0x45fcd4]
ja 0x423010
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 0x43596c
cmp ecx, 0x10000
jb 0x435a02
bt dword [0x45fd24], 0
jae 0x42303f
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 0x435a0c
mov word [edi + 0x20], cx
jcxz 0x435a0c
mov dword [edi + 0x18], edx
sub ebx, dword [0x45fc50]
mov dword [0x45fc54], ebx
add edi, 0x28
jmp 0x4358fe
mov edx, dword [0x45fc48]
mov ebx, dword [0x45fc54]
add ebp, ebx
mov dword [edx + 8], ebp
add ebx, dword [0x45fc50]
mov edi, ebx
mov ecx, dword [edx + 0xc]
imul ecx, ecx, 9
xor eax, eax
shr ecx, 1
jae 0x435a47
stosw word es:[edi], ax
rep stosd dword es:[edi], eax
mov edx, edi
stosd dword es:[edi], eax
mov esi, dword [0x45fd2c]
cmp esi, dword [0x45fc48]
je 0x435b92
mov al, byte [esi]
cmp al, 0xc0
jae 0x435a9b
cmp al, 0x80
jae 0x435a8a
or al, al
je 0x435a71
add esi, 0xc
jmp 0x435a52
call fcn.00435bd9
movzx eax, word [esi + 0x1e]
mov word [ebx + 0xc], ax
mov byte [ebx + 0x10], 3
add esi, 0x20
add ebx, 0x12
jmp 0x435a52
call fcn.00435bd9
mov byte [ebx + 0x10], 2
add esi, 0xc
add ebx, 0x12
jmp 0x435a52
call fcn.00435bd9
mov eax, dword [esi + 0xc]
mov dword [0x45fc64], eax
mov eax, dword [esi + 8]
test byte [eax + 8], 1
je 0x435adf
mov cx, word [0x45fc42]
cmp cx, word [eax + 0x10]
jne 0x435adf
mov cl, byte [eax + 0xb]
or cl, cl
je 0x435b87
test dword [0x45fd24], 8
jne 0x435ae9
cmp cl, 2
je 0x435af2
jmp 0x4231ce
mov dword [0x45fcc8], eax
jmp 0x423134
cmp cl, 4
jne 0x4231ce
mov ecx, dword [eax + 0x14]
cmp byte [ecx], 0x80
je 0x435b4a
cmp byte [ecx], 0
jne 0x4231ce
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 0x42312a
xor ecx, dword [eax]
js 0x42312a
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov al, 2
cmp byte [esi], 0xc0
je 0x435b3c
inc al
cmp byte [esi], 0xc1
je 0x435b3c
mov al, 0x69
mov byte [ebx + 0x10], al
add esi, 0x10
add ebx, 0x12
jmp 0x435a52
bt dword [0x45fd24], 0
jae 0x4231ce
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x4231ce
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 0x435a52
mov word [ebx + 0xc], 0xffff
jmp 0x435b0b
mov eax, edi
sub eax, edx
mov dword [edx], eax
sub edi, dword [0x45fc50]
mov dword [0x45fc54], edi
and dword [0x45fc5c], 0
mov edx, dword [0x45fc38]
call fcn.00437283
jb 0x42302e
mov edx, dword [0x45fc48]
pop ecx
add dword [0x45fc5c], ecx
call fcn.004372cc
jb 0x42302e
jmp 0x433953
mov ecx, edi
sub ecx, dword [0x45fc50]
neg ecx
and ecx, 7
test dword [0x45fd24], 8
jne 0x435f4b
and ecx, 3
xor al, al
rep stosb byte es:[edi], al
push edi
call fcn.00435882
mov esi, dword [0x45fd2c]
mov edi, dword [0x45fc48]
xor eax, eax
mov ecx, 4
rep stosd dword es:[edi], eax
test dword [0x45fd24], 8
je 0x435f7d
mov ecx, 2
rep stosd dword es:[edi], eax
mov al, byte [esi]
or al, al
je 0x435f8f
cmp al, 0xc0
jb 0x435f8a
add esi, 4
add esi, 0xc
jmp 0x435f7d
mov ebx, esi
mov ebp, esi
add esi, 0x20
xor ecx, ecx
xor edx, edx
cmp esi, dword [0x45fc48]
je 0x435fbe
mov al, byte [esi]
or al, al
je 0x435fbe
cmp al, 0xc0
jae 0x435fb9
cmp al, 0x80
jae 0x435fb4
or byte [ebx + 0x14], 0x40
add esi, 0xc
jmp 0x435f9a
add esi, 0x10
jmp 0x435f9a
mov eax, edi
xchg dword [ebx + 4], eax
stosd dword es:[edi], eax
test dword [0x45fd24], 8
jne 0x436005
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00435fdb
jmp 0x436010
call fcn.00435fdb
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 [0x45fc48]
jne 0x435f9a
inc dx
je 0x42303f
mov dword [0x45fd40], edx
mov esi, dword [0x45fd2c]
cmp esi, dword [0x45fc48]
je 0x4361a1
mov al, byte [esi]
or al, al
je 0x436058
cmp al, 0xc0
jae 0x43605d
cmp al, 0x80
jae 0x43615f
add esi, 0xc
jmp 0x436035
add esi, 0x20
jmp 0x436035
mov eax, dword [esi + 0xc]
mov dword [0x45fc64], eax
cmp byte [esi], 0xc0
jne 0x42309e
mov ebx, dword [esi + 8]
test byte [ebx + 8], 1
je 0x4360b4
mov ax, word [0x45fc42]
cmp ax, word [ebx + 0x10]
jne 0x4360b4
mov dl, byte [ebx + 0xb]
or dl, dl
je 0x4360ce
mov eax, dword [ebx + 0x14]
cmp byte [eax], 0
jne 0x4231ce
mov eax, dword [eax + 4]
test dword [0x45fd24], 8
jne 0x4360bf
cmp dl, 2
jne 0x4231ce
mov dx, word [eax + 0xe]
jmp 0x4360d2
mov dword [0x45fcc8], ebx
jmp 0x423134
cmp dl, 4
jne 0x4231ce
mov dx, word [eax + 6]
jmp 0x4360d2
mov dx, 0xfff1
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x45fd24], 8
jne 0x43611c
movzx eax, byte [ebx + 9]
shr al, 1
and al, 1
neg eax
cmp eax, dword [ebx + 4]
jne 0x42312a
xor eax, dword [ebx]
js 0x42312a
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 0x436117
or al, 1
jmp 0x436119
or al, 2
stosd dword es:[edi], eax
jmp 0x43614d
mov eax, edx
shl eax, 0x10
mov al, 0x10
cmp byte [ebx + 0xa], 0
je 0x43612d
or al, 1
jmp 0x43612f
or al, 2
stosd dword es:[edi], eax
mov al, byte [ebx + 9]
shl eax, 0x1e
xor eax, dword [ebx + 4]
js 0x42312a
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 0x436035
mov eax, dword [esi + 4]
stosd dword es:[edi], eax
test dword [0x45fd24], 8
jne 0x43617e
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 0x43618f
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 0x436035
mov edx, edi
mov ebx, dword [0x45fc48]
xor al, al
stosb byte es:[edi], al
add edi, 0x10
mov dword [edx + 1], edx
add ebx, 0x10
test dword [0x45fd24], 8
je 0x4361c4
add ebx, 8
cmp ebx, edx
je 0x436227
test dword [0x45fd24], 8
jne 0x4361fb
cmp byte [ebx + 0xd], 0
je 0x4361e4
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 0x436219
lodsd eax, dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
xor al, al
stosb byte es:[edi], al
jmp 0x4361c4
cmp byte [ebx + 5], 0
je 0x43620e
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 0x4361ed
mov eax, 0x616c662e
stosd dword es:[edi], eax
mov ax, 0x74
stosw word es:[edi], ax
jmp 0x4361c4
mov dword [edx + 9], edi
mov ebx, dword [0x45fc50]
mov eax, edi
sub eax, dword [0x45fc48]
xor ecx, ecx
sub ecx, eax
test dword [0x45fd24], 8
jne 0x43626f
and ecx, 3
add eax, ecx
mov dword [ebx + 0x20], eax
mov eax, dword [0x45fd40]
inc ax
je 0x42303f
mov word [ebx + 0x32], ax
inc ax
je 0x42303f
mov word [ebx + 0x30], ax
jmp 0x436294
and ecx, 7
add eax, ecx
mov dword [ebx + 0x28], eax
mov eax, dword [0x45fd40]
inc ax
je 0x42303f
mov word [ebx + 0x3e], ax
inc ax
je 0x42303f
mov word [ebx + 0x3c], ax
xor eax, eax
add ecx, 0x28
rep stosb byte es:[edi], al
test dword [0x45fd24], 8
je 0x4362ae
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 0x4362cb
test byte [esi + 0x14], 0x80
je 0x4362cd
mov al, 8
stosd dword es:[edi], eax
mov eax, dword [esi + 0x14]
and al, 0x3f
call fcn.00436386
xor eax, eax
call fcn.00436386
mov eax, dword [esi + 8]
mov dword [0x45fd4c], eax
sub eax, dword [0x45fc50]
call fcn.00436386
mov eax, dword [esi + 0xc]
call fcn.00436386
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x10]
call fcn.00436386
xor eax, eax
call fcn.00436386
inc ecx
add esi, 0x20
xchg dword [esp], edi
mov ebp, edi
cmp esi, dword [0x45fc48]
je 0x43639a
mov al, byte [esi]
or al, al
je 0x43639a
cmp al, 0x80
jb 0x436331
cmp al, 0xc0
jb 0x436381
add esi, 0x10
jmp 0x436316
test dword [0x45fd24], 8
jne 0x43634b
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 0x436381
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 [0x45fd4c]
xchg dword [edx], eax
stosd dword es:[edi], eax
cmp byte [esi], 1
je 0x43637a
pop edx
sar eax, 0x1f
stosd dword es:[edi], eax
jmp 0x436381
xor eax, eax
xchg dword [edx + 4], eax
stosd dword es:[edi], eax
pop edx
add esi, 0xc
jmp 0x436316
cmp edi, ebp
xchg dword [esp], edi
je 0x436420
mov eax, dword [ebx]
sub eax, 4
test dword [0x45fd24], 8
je 0x4363b3
dec eax
stosd dword es:[edi], eax
test dword [0x45fd24], 8
jne 0x4363c7
mov eax, 9
jmp 0x4363cc
mov eax, 4
stosd dword es:[edi], eax
xor al, al
call fcn.00436386
call fcn.00436386
mov eax, ebp
sub eax, dword [0x45fc50]
call fcn.00436386
mov eax, dword [esp]
sub eax, ebp
call fcn.00436386
mov eax, dword [0x45fd40]
stosd dword es:[edi], eax
mov eax, ecx
stosd dword es:[edi], eax
inc ecx
test dword [0x45fd24], 8
jne 0x436411
mov eax, 4
stosd dword es:[edi], eax
mov al, 8
stosd dword es:[edi], eax
jmp 0x436420
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 [0x45fc48]
jne 0x4362b2
pop eax
mov ebx, dword [0x45fc50]
sub eax, ebx
mov dword [0x45fc54], eax
mov ecx, 0x20
test dword [0x45fd24], 8
je 0x436450
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.00436386
call fcn.00436386
mov eax, dword [0x45fc54]
call fcn.00436386
mov eax, dword [edx + 1]
sub eax, dword [0x45fc48]
call fcn.00436386
mov eax, dword [0x45fd40]
inc eax
stosd dword es:[edi], eax
mov eax, dword [0x45fd34]
inc eax
stosd dword es:[edi], eax
test dword [0x45fd24], 8
jne 0x4364a5
mov eax, 4
stosd dword es:[edi], eax
mov al, 0x10
stosd dword es:[edi], eax
jmp 0x4364b4
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.00436386
call fcn.00436386
mov eax, dword [edx + 1]
sub eax, dword [0x45fc48]
add eax, dword [0x45fc54]
call fcn.00436386
mov eax, dword [edx + 9]
sub eax, dword [edx + 1]
call fcn.00436386
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov al, 1
call fcn.00436386
xor eax, eax
call fcn.00436386
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 [0x45fd58], edx
mov dword [0x45fc5c], 0
mov edx, dword [0x45fc38]
call fcn.00437283
jb 0x42302e
call fcn.0043396b
mov ecx, edi
mov edx, dword [0x45fc48]
sub ecx, edx
add dword [0x45fc5c], ecx
call fcn.004372cc
jb 0x42302e
jmp 0x433958