Function at 0x472a00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov ecx, dword [eax]
push ebx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], eax
cmp ebp, eax
je 0x472a5e
mov edi, dword [ebp]
mov ebx, edi
shl ebx, 4
push eax
mov dword [esp + 0x34], edi
push ebx
cmp ecx, eax
je 0x472a42
mov eax, ecx
call fcn.00423fa0
jmp 0x472a47
call fcn.00423910
mov esi, eax
add esp, 8
test esi, esi
je 0x472a66
push ebx
push 0
push esi
call fcn.004e57c0
add esp, 0xc
jmp 0x472a66
xor edi, edi
mov dword [esp + 0x30], edi
xor esi, esi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov word [ecx], di
mov dword [esp + 0x1c], esi
mov dword [edx], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x2c], esi
test edi, edi
jle 0x472d06
mov dword [esp + 0x28], 0
jmp 0x472aa4
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x472d06
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x28]
mov eax, dword [ecx + edx]
lea esi, [ecx + edx]
test eax, eax
je 0x472ae7
mov ecx, dword [eax + 4]
test ecx, 0x1000
je 0x472ae7
test ecx, 0x40000
je 0x472ae0
mov eax, dword [eax + 0x14]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
jmp 0x472ae3
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x472ac3
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x472b38
cmp byte [eax], 0x7a
jne 0x472afb
mov eax, dword [eax + 0x10]
cmp byte [eax], 0x7a
je 0x472af3
mov dl, byte [eax]
cmp dl, 0x98
jne 0x472b2b
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x472b2b
movsx eax, word [eax + 0x20]
test eax, eax
jge 0x472b19
movsx eax, word [ecx + 0x20]
test eax, eax
jl 0x472b24
mov edx, dword [ecx + 4]
shl eax, 4
mov ecx, dword [eax + edx]
jmp 0x472b38
mov ecx, str.rowid
jmp 0x472b38
cmp dl, 0x1b
jne 0x472b35
mov ecx, dword [eax + 8]
jmp 0x472b38
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
push ecx
push 0x52f658
call fcn.004258f0
mov ebx, eax
add esp, 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x472c99
mov esi, dword [esp + 0x44]
test esi, esi
je 0x472ba0
mov cl, byte [ebx]
xor eax, eax
mov edx, ebx
test cl, cl
je 0x472b8e
movzx ecx, cl
movzx ecx, byte [ecx + 0x528550]
lea edi, [eax*8]
xor ecx, edi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x472b72
xor edx, edx
div dword [esp + 0x38]
mov ebp, dword [esi + edx*8 + 4]
mov edi, dword [esi + edx*8]
lea eax, [esi + edx*8]
jmp 0x472ba8
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x472c99
movzx edx, byte [ebx]
movzx eax, byte [edx + 0x528550]
mov dword [esp + 0x34], eax
mov edi, edi
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x528550]
dec edi
sub eax, dword [esp + 0x34]
jne 0x472c0c
mov esi, ebx
sub esi, ecx
lea ebx, [ebx]
test dl, dl
je 0x472c08
movzx eax, byte [esi + ecx + 1]
movzx ebx, byte [eax + 0x528550]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x528550]
sub eax, ebx
mov ebx, dword [esp + 0x20]
je 0x472be0
jmp 0x472c0c
test eax, eax
je 0x472c18
mov ebp, dword [ebp]
test edi, edi
jne 0x472bc0
jmp 0x472c99
cmp dword [ebp + 8], 0
je 0x472c99
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x472c23
sub eax, edx
and eax, 0x3fffffff
mov ecx, eax
jle 0x472c5a
lea eax, [ecx - 1]
test eax, eax
jle 0x472c52
lea esp, [esp]
movzx edx, byte [eax + ebx]
test byte [edx + 0x528650], 4
je 0x472c52
dec eax
test eax, eax
jg 0x472c40
cmp byte [eax + ebx], 0x3a
jne 0x472c5a
mov ecx, eax
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
inc esi
push esi
push ebx
push ecx
push str._.z:_u
mov dword [esp + 0x34], esi
call fcn.004258f0
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x20], ebx
cmp esi, 3
jbe 0x472c91
lea eax, [esp + 0x24]
push eax
push 4
call fcn.00425b30
add esp, 8
test ebx, ebx
jne 0x472b60
mov esi, dword [esp + 0x2c]
mov dword [esi], ebx
test ebx, ebx
je 0x472ce3
push ebx
mov eax, esi
lea ecx, [esp + 0x3c]
call fcn.00427e60
add esp, 4
cmp eax, esi
jne 0x472ce3
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x45], 0
jne 0x472ce3
cmp byte [eax + 0x46], 0
jne 0x472ce3
cmp dword [eax + 0xa4], 0
mov byte [eax + 0x45], 1
jle 0x472cdd
mov dword [eax + 0xf8], 1
inc dword [eax + 0x100]
mov eax, dword [esp + 0x18]
add dword [esp + 0x28], 0x18
add esi, 0x10
inc eax
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
jl 0x472aa0
lea ecx, [esp + 0x38]
push ecx
call fcn.00427b10
mov ecx, dword [esp + 0x18]
add esp, 4
cmp byte [ecx + 0x45], 0
je 0x472e9e
cmp dword [esp + 0x18], 0
jle 0x472de5
mov ebp, dword [esp + 0x18]
mov ebx, esi
mov edi, ecx
mov esi, dword [ebx]
test esi, esi
je 0x472dd3
cmp dword [edi + 0x1c8], 0
je 0x472d55
mov eax, esi
mov ecx, edi
call fcn.00423c80
jmp 0x472dd3
cmp esi, dword [edi + 0x120]
jb 0x472d7b
cmp esi, dword [edi + 0x124]
jae 0x472d7b
mov edx, dword [edi + 0x11c]
mov dword [esi], edx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x472dd3
cmp dword [0x54b4e0], 0
je 0x472dc9
mov eax, dword [0x550798]
test eax, eax
je 0x472d97
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
dec dword [0x55060c]
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x472dd3
push eax
call dword [0x54b540]
jmp 0x472dd0
push esi
call dword [0x54b50c]
add esp, 4
add ebx, 0x10
sub ebp, 1
jne 0x472d34
mov esi, dword [esp + 0x1c]
mov ecx, edi
test esi, esi
je 0x472e80
cmp dword [ecx + 0x1c8], 0
je 0x472e02
mov eax, esi
call fcn.00423c80
jmp 0x472e80
cmp esi, dword [ecx + 0x120]
jb 0x472e28
cmp esi, dword [ecx + 0x124]
jae 0x472e28
mov eax, dword [ecx + 0x11c]
mov dword [esi], eax
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], esi
jmp 0x472e80
cmp dword [0x54b4e0], 0
je 0x472e76
mov eax, dword [0x550798]
test eax, eax
je 0x472e44
push eax
call dword [0x54b538]
add esp, 4
push esi
call dword [0x54b514]
sub dword [0x5505e8], eax
dec dword [0x55060c]
add esp, 4
push esi
call dword [0x54b50c]
mov eax, dword [0x550798]
add esp, 4
test eax, eax
je 0x472e80
push eax
call dword [0x54b540]
jmp 0x472e7d
push esi
call dword [0x54b50c]
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
xor edx, edx
mov dword [ecx], 0
mov word [eax], dx
lea eax, [edx + 7]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret