Function at 0x434730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x479bf0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x198], edx
test edi, edi
je 0x434b4f
mov eax, dword [edi]
test eax, eax
je 0x434b4f
cmp byte [eax], dl
je 0x434b4f
mov ecx, dword [edi + 0x78]
push ebx
xor ebx, ebx
mov dword [ebp - 0x19c], ebx
test ecx, ecx
jle 0x434792
lea eax, [edi + 0x7c]
nop dword [eax]
cmp dword [eax], edx
je 0x43478c
inc ebx
add eax, 4
cmp ebx, ecx
jl 0x434780
mov dword [ebp - 0x19c], ebx
push esi
lea eax, [ebp - 0x194]
push eax
push ebx
push 0x103b
push dword [edi + 0x54c8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [edi]
mov esi, edx
mov dword [ebp - 0x1a0], eax
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4347c0
sub esi, ecx
mov eax, esi
and eax, 3
je 0x4347f4
push eax
mov eax, esi
and eax, 0xfc
add eax, edx
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004394d0
mov ecx, dword [ebp - 0x198]
add esp, 0xc
mov edx, dword [edi]
jmp 0x4347f6
xor ecx, ecx
sar esi, 2
test esi, esi
jle 0x43480b
lea eax, [edx + esi*4]
xor ecx, dword [eax - 4]
lea eax, [eax - 4]
dec esi
test esi, esi
jg 0x434800
mov eax, 0x446f8657
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x65
sub ecx, eax
mov dword [ebp - 0x1a4], ecx
mov esi, dword [ecx*4 + 0x4effa4]
test esi, esi
je 0x43484b
push dword [esi + 4]
push dword [edi]
call fcn.004443b7
add esp, 8
test eax, eax
je 0x434876
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x434833
push 0x20
call fcn.00442d35
mov ebx, eax
add esp, 4
mov dword [ebp - 0x198], ebx
test ebx, ebx
je 0x434a27
xorps xmm0, xmm0
xor eax, eax
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
jmp 0x434a29
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x5770]
jne 0x43493d
movzx eax, byte [esi + 8]
cmp eax, dword [edi + 0x78]
jne 0x43493d
mov eax, dword [esi + 0x14]
cmp eax, dword [edi + 0x5808]
jne 0x43493d
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi + 0x6918]
jne 0x43493d
xor ecx, ecx
lea edx, [edi + 0x21c]
cmp ecx, dword [edi + 0x78]
jge 0x4348fb
mov eax, dword [esi + 0xc]
movzx eax, word [eax + ecx*8 + 2]
cmp eax, dword [edx - 4]
jne 0x43493d
mov eax, dword [esi + 0xc]
movzx eax, byte [eax + ecx*8 + 1]
cmp eax, dword [edx]
jne 0x43493d
mov eax, dword [esi + 0xc]
movss xmm0, dword [eax + ecx*8 + 4]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jp 0x43493d
mov eax, dword [esi + 0xc]
cmp byte [eax + ecx*8], 0
jne 0x43493d
inc ecx
add edx, 0xd0
jmp 0x4348b8
xor eax, eax
xor edx, edx
nop
mov dword [ebp - 0x198], eax
cmp edx, ebx
jge 0x434a11
cmp dword [ebp - 0x1a0], 0
je 0x434920
mov ecx, dword [ebp + edx*4 - 0x194]
jmp 0x434922
mov ecx, edx
mov ecx, dword [edi + ecx*4 + 0x7c]
inc edx
mov eax, dword [esi + 0xc]
movsx eax, byte [eax + ecx*8 - 8]
cmp eax, edx
jne 0x43493d
mov eax, dword [ebp - 0x198]
test eax, eax
je 0x434900
or dword [0x4effa0], 1
mov edx, 8
or dword [esi], 1
mov eax, dword [edi + 0x5770]
mov dword [esi + 0x10], eax
mov cl, byte [edi + 0x78]
mov byte [esi + 8], cl
mov eax, dword [edi + 0x5808]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x6918]
mov dword [esi + 0x1c], eax
movzx eax, cl
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [esi + 0xc]
call fcn.0043bbd4
xor edx, edx
mov dword [esi + 0xc], eax
add esp, 8
cmp dword [edi + 0x78], edx
jle 0x4349dc
lea ebx, [edi + 0x21c]
nop word [eax + eax]
mov ecx, dword [esi + 0xc]
lea ebx, [ebx + 0xd0]
mov ax, word [ebx - 0xd4]
mov word [ecx + edx*8 + 2], ax
mov ecx, dword [esi + 0xc]
mov al, byte [ebx - 0xd0]
mov byte [ecx + edx*8 + 1], al
mov ecx, dword [esi + 0xc]
mov eax, dword [ebx - 0xcc]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [esi + 0xc]
mov byte [eax + edx*8], 0
inc edx
cmp edx, dword [edi + 0x78]
jl 0x4349a0
xor ebx, ebx
cmp dword [ebp - 0x19c], ebx
jle 0x434a11
cmp dword [ebp - 0x1a0], 0
je 0x4349f8
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x4349fa
mov ecx, ebx
mov ecx, dword [edi + ecx*4 + 0x7c]
lea edx, [ebx + 1]
mov eax, dword [esi + 0xc]
inc ebx
mov byte [eax + ecx*8 - 8], dl
cmp ebx, dword [ebp - 0x19c]
jl 0x4349e6
pop esi
pop ebx
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004380f8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push 0xb3b
push str.D:MyProjectsProPilotLibListview.c
or eax, 1
push fcn.0043bbd4
mov dword [ebx], eax
lea eax, [ebx + 4]
or dword [0x4effa0], 1
push 0
push dword [edi]
push eax
call fcn.00406470
mov eax, dword [edi + 0x5770]
mov edx, 8
mov dword [ebx + 0x10], eax
mov cl, byte [edi + 0x78]
mov byte [ebx + 8], cl
mov eax, dword [edi + 0x5808]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x6918]
mov dword [ebx + 0x1c], eax
movzx eax, cl
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push dword [ebx + 0xc]
call fcn.0043bbd4
xor edx, edx
mov dword [ebx + 0xc], eax
add esp, 0x20
cmp dword [edi + 0x78], edx
jle 0x434aec
lea esi, [edi + 0x21c]
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [ebx + 0xc]
lea esi, [esi + 0xd0]
mov ax, word [esi - 0xd4]
mov word [ecx + edx*8 + 2], ax
mov ecx, dword [ebx + 0xc]
mov al, byte [esi - 0xd0]
mov byte [ecx + edx*8 + 1], al
mov ecx, dword [ebx + 0xc]
mov eax, dword [esi - 0xcc]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ebx + 0xc]
mov byte [eax + edx*8], 0
inc edx
cmp edx, dword [edi + 0x78]
jl 0x434ab0
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
test esi, esi
jle 0x434b2d
nop dword [eax + eax]
cmp dword [ebp - 0x1a0], 0
je 0x434b12
mov ecx, dword [ebp + ebx*4 - 0x194]
jmp 0x434b14
mov ecx, ebx
mov eax, dword [ebp - 0x198]
lea edx, [ebx + 1]
mov ecx, dword [edi + ecx*4 + 0x7c]
inc ebx
mov eax, dword [eax + 0xc]
mov byte [eax + ecx*8 - 8], dl
cmp ebx, esi
jl 0x434b00
mov edx, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x198]
mov eax, dword [edx*4 + 0x4effa4]
mov dword [ecx + 0x18], eax
mov dword [edx*4 + 0x4effa4], ecx
jmp 0x434a11
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004380f8
mov esp, ebp
pop ebp
ret