Function at 0x29a6e4a0
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
sub esp, 0x4b4
push ebx
push ebp
mov ebp, dword [esp + 0x4c0]
mov eax, dword [ebp + 0x14c]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
je 0x29a6e4ff
mov edx, dword [ebp + 0x150]
cmp edx, ebx
mov ecx, dword [0x29b871f4]
jne 0x29a6e4cf
mov edx, ecx
lea esi, [esp + 0x124]
mov al, byte [edx]
inc edx
mov byte [esi], al
inc esi
cmp al, bl
jne 0x29a6e4d6
mov eax, dword [ebp + 0x154]
cmp eax, ebx
je 0x29a6e4ec
mov ecx, eax
lea edx, [esp + 0xe0]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
cmp al, bl
jne 0x29a6e4f3
jmp 0x29a6e50d
mov byte [esp + 0x124], bl
mov byte [esp + 0xe0], bl
push 0x64
lea eax, [esp + 0x14c]
push eax
push 0x29b415c6
push 0x29b46c7c
push str.WD180PDF
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov al, byte [esp + 0x148]
cmp al, 0x4f
je 0x29a6e630
cmp al, 0x31
je 0x29a6e630
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
call dword [edx + 0x64]
xor edi, edi
lea esi, [esp + 0x2b8]
mov ecx, eax
call fcn.29a74160
mov ecx, dword [0x29b87b60]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
lea ecx, [esp + 0x2bc]
push ebx
push ecx
mov esi, eax
call edi
add esp, 4
push eax
lea edx, [esp + 0x1bc]
push edx
lea eax, [esp + 0x2c8]
push eax
call edi
add esp, 4
push eax
xor eax, eax
cmp esi, 0x7f
sete al
lea ecx, [esp + 0x2cc]
push ecx
push ebx
dec eax
and eax, esi
call fcn.29a97330
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x29a6e5e7
lea edx, [esp + 0x1b0]
sub eax, ecx
push edx
mov edx, eax
lea ebx, [esp + 0x1c]
call fcn.29aa5ff0
mov ecx, 8
mov esi, str.2001PCSOFTWINDEV2007PCSOFTWEBDEV
lea edi, [esp + 0x14c]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x14c]
add esp, 4
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x29a6e624
jmp 0x29a6e6f7
mov ecx, dword [0x29b46c60]
mov eax, dword [0x29b46c5c]
mov edx, dword [str.CSECSECSECSECSECSECSE]
mov dword [esp + 0x1b8], ecx
mov cx, word [0x29b46c6c]
mov word [esp + 0x1c4], cx
mov ecx, 8
mov esi, str.2001PCSOFTWINDEV2007PCSOFTWEBDEV
lea edi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1b4], eax
mov eax, dword [0x29b46c68]
mov dword [esp + 0x1b0], edx
mov edx, dword [0x29b46c64]
mov dword [esp + 0x1c0], eax
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1bc], edx
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x29a6e6c4
sub eax, edx
lea edx, [esp + 0x1b0]
push edx
mov edx, eax
lea ebx, [esp + 0x1c]
call fcn.29aa5ff0
lea eax, [esp + 0x14c]
add esp, 4
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x29a6e6f0
sub eax, edx
lea ecx, [esp + 0x148]
lea ebx, [esp + 0x18]
mov edx, eax
push ecx
call fcn.29aa5ff0
mov esi, ebx
lea edi, [ebp + 0x13c]
add esp, 4
call fcn.29aa60c0
mov eax, dword [ebp + 0x14c]
test eax, eax
je 0x29a6ed26
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
push 0x20
lea edx, [esp + 0x128]
push edx
lea eax, [esp + 0xc8]
push eax
call ebx
lea eax, [esp + 0x130]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x29a6e751
sub eax, edx
cmp eax, 0x20
jge 0x29a6e780
mov ecx, 0x20
sub ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, 0x29b60050
lea edi, [esp + eax + 0xc0]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xe0]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x29a6e790
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x29a6e7b5
xor eax, eax
mov cl, al
add cl, 0x41
mov byte [esp + eax + 0x104], cl
inc eax
cmp eax, 0x20
jl 0x29a6e7a1
jmp 0x29a6e805
push 0x20
lea edx, [esp + 0xe4]
push edx
lea eax, [esp + 0x10c]
push eax
call ebx
lea eax, [esp + 0xec]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x29a6e7d6
sub eax, edx
cmp eax, 0x20
jge 0x29a6e805
mov ecx, 0x20
sub ecx, eax
mov edx, ecx
shr ecx, 2
mov esi, 0x29b60050
lea edi, [esp + eax + 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x15c], 1
jne 0x29a6e817
mov dword [ebp + 0x30], 0x10
jmp 0x29a6e81e
mov dword [ebp + 0x30], 5
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x104]
push eax
mov edx, 0x20
lea ebx, [esp + 0x1c]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.29aa5ff0
add esp, 4
lea edi, [esp + 0x70]
mov esi, ebx
call fcn.29aa60c0
mov eax, dword [ebp + 0x30]
cmp eax, 5
jle 0x29a6e951
mov dword [esp + 0x14], 0x32
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
mov edx, 0x10
lea ebx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.29aa5ff0
add esp, 4
lea edi, [esp + 0x70]
mov esi, ebx
call fcn.29aa60c0
dec dword [esp + 0x14]
jne 0x29a6e880
mov ecx, 8
lea esi, [esp + 0xc0]
lea edi, [esp + 0xa0]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [esp + 0x10], ecx
lea edi, [ebp + 0x20]
jmp 0x29a6e8f5
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x30]
xor eax, eax
test edx, edx
jle 0x29a6e911
mov edi, edi
mov dl, byte [esp + eax + 0x70]
xor dl, cl
mov byte [edi + eax], dl
mov edx, dword [ebp + 0x30]
inc eax
cmp eax, edx
jl 0x29a6e900
mov eax, dword [ebp + 0x30]
push eax
mov ebx, edi
lea esi, [esp + 0x2bc]
call fcn.29aa6160
lea ecx, [esp + 0xa4]
push ecx
mov ecx, 0x20
lea edx, [esp + 0xa8]
mov eax, esi
call fcn.29aa62a0
mov eax, dword [esp + 0x18]
add esp, 8
inc eax
cmp eax, 0x14
mov dword [esp + 0x10], eax
jl 0x29a6e8f1
jmp 0x29a6e980
push eax
lea ebx, [esp + 0x74]
lea esi, [esp + 0x2bc]
call fcn.29aa6160
lea edx, [esp + 0xa4]
push edx
mov ecx, 0x20
lea edx, [esp + 0xc8]
mov eax, esi
call fcn.29aa62a0
add esp, 8
mov ecx, dword [ebp + 0x158]
test cl, 1
mov eax, 0xfffffffc
je 0x29a6e995
mov eax, 0xfffffff8
test cl, 2
je 0x29a6e99d
and eax, 0xfffffff7
test cl, 4
je 0x29a6e9a5
and eax, 0xffffffef
test cl, 8
je 0x29a6e9ad
and eax, 0xffffffdf
cmp dword [ebp + 0x30], 5
mov dword [esp + 0x14], eax
jle 0x29a6e9c4
test al, 0x10
jne 0x29a6e9c4
and eax, 0xffdbffff
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc0]
push eax
mov edx, 0x20
lea ebx, [esp + 0x1c]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.29aa5ff0
lea ecx, [esp + 0xa4]
push ecx
mov edx, 0x20
call fcn.29aa5ff0
mov eax, dword [esp + 0x1c]
mov edx, eax
shr edx, 8
mov byte [esp + 0x19], dl
mov ecx, eax
lea edx, [esp + 0x18]
mov byte [esp + 0x18], al
shr ecx, 0x10
shr eax, 0x18
push edx
mov edx, 4
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
call fcn.29aa5ff0
lea eax, [ebp + 0x13c]
push eax
mov edx, 0x10
call fcn.29aa5ff0
add esp, 0x10
lea edi, [esp + 0x70]
mov esi, ebx
call fcn.29aa60c0
cmp dword [ebp + 0x30], 5
jle 0x29a6eac4
mov dword [esp + 0x10], 0x32
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x70]
push eax
mov edx, 0x10
lea ebx, [esp + 0x1c]
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.29aa5ff0
add esp, 4
lea edi, [esp + 0x70]
mov esi, ebx
call fcn.29aa60c0
dec dword [esp + 0x10]
jne 0x29a6ea73
mov ecx, dword [ebp + 0x30]
mov edx, ecx
shr ecx, 2
lea edi, [ebp + 0x20]
lea esi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x30]
cmp eax, 5
jle 0x29a6ebc9
xor eax, eax
push 0x29b60050
mov edx, 0x20
lea ebx, [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
call fcn.29aa5ff0
lea eax, [ebp + 0x13c]
push eax
mov edx, 0x10
call fcn.29aa5ff0
add esp, 8
lea edi, [esp + 0x80]
mov esi, ebx
call fcn.29aa60c0
mov edi, dword [ebp + 0x30]
xor eax, eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
xor ecx, ecx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x10], ecx
jmp 0x29a6eb74
mov ecx, dword [esp + 0x10]
xor eax, eax
test edi, edi
jle 0x29a6eb8f
mov esi, dword [ebp + 0x30]
lea ecx, [ecx]
mov dl, byte [eax + ebp + 0x20]
xor dl, cl
mov byte [esp + eax + 0x70], dl
inc eax
cmp eax, esi
jl 0x29a6eb80
push edi
lea ebx, [esp + 0x74]
lea esi, [esp + 0x2bc]
call fcn.29aa6160
lea eax, [esp + 0x84]
push eax
mov edx, eax
mov ecx, 0x10
mov eax, esi
call fcn.29aa62a0
mov eax, dword [esp + 0x18]
add esp, 8
inc eax
cmp eax, 0x14
mov dword [esp + 0x10], eax
jl 0x29a6eb70
jmp 0x29a6ebf5
push eax
lea ebx, [ebp + 0x20]
lea esi, [esp + 0x2bc]
call fcn.29aa6160
lea ecx, [esp + 0x84]
push ecx
mov ecx, 0x20
mov edx, 0x29b60050
mov eax, esi
call fcn.29aa62a0
add esp, 8
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov eax, dword [ebp + 0x178]
mov edx, dword [ebp]
push 0
push 1
push 0x29b47e20
mov ecx, ebp
mov dword [ebp + 0x1c], eax
call dword [edx + 0xc]
mov eax, dword [ebp]
push 0
push 1
push str._Filter_Standard_O_
mov ecx, ebp
call dword [eax + 0xc]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
xor edi, edi
lea esi, [ebp + 0xa9a]
jmp 0x29a6ec40
movzx ecx, byte [esp + edi + 0xa0]
push ecx
push str._02x
push esi
call ebx
mov edx, dword [ebp]
add esp, 0xc
push 0
push 0
push esi
mov ecx, ebp
call dword [edx + 0xc]
inc edi
cmp edi, 0x20
jl 0x29a6ec40
mov eax, dword [ebp]
push 0
push 1
push str.__U_
mov ecx, ebp
call dword [eax + 0xc]
xor edi, edi
lea ebx, [ebx]
movzx ecx, byte [esp + edi + 0x80]
push ecx
push str._02x
push esi
call ebx
mov edx, dword [ebp]
add esp, 0xc
push 0
push 0
push esi
mov ecx, ebp
call dword [edx + 0xc]
inc edi
cmp edi, 0x20
jl 0x29a6ec80
mov eax, dword [ebp]
push 0
push 1
push 0x29b46c14
mov ecx, ebp
call dword [eax + 0xc]
cmp dword [ebp + 0x15c], 1
jne 0x29a6ecda
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x14]
shl ecx, 3
push ecx
push edx
push str._P__d_V_2_R_3_Length__d
push esi
call ebx
add esp, 0x10
jmp 0x29a6ecea
mov eax, dword [esp + 0x14]
push eax
push str._P__d_V_1_R_2
push esi
call ebx
add esp, 0xc
mov edx, dword [ebp]
push 0
push 1
push esi
mov ecx, ebp
call dword [edx + 0xc]
mov eax, dword [ebp]
push 0
push 1
push 0x29b48138
mov ecx, ebp
call dword [eax + 0xc]
mov edx, dword [ebp]
push 0
push 1
push str.endobj
mov ecx, ebp
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4b4
ret 4
pop edi
pop esi
mov dword [ebp + 0x1c], 0
pop ebp
pop ebx
add esp, 0x4b4
ret 4