Function at 0x435970
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov ebx, dword [esp + 0x60]
movzx eax, word [ebx]
mov dword [esp + 0x28], 0x5756ef1d
mov word [esp + 0x2c], 0
mov byte [esp + 0x2e], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 6
ja 0x4359e3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0x85d7886e
xor ecx, edx
mov dword [esp], ecx
mov ecx, dword [esp]
add cl, 0xda
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x28], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 7
jb 0x4359b0
xor ecx, ecx
cmp dword [esp + 0x28], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x441140]
mov ebp, dword [ebx + 0x3c]
mov ecx, dword [ebx + ebp]
mov dword [esp + 4], 0x696aa0d4
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 3
ja 0x435a5d
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 4]
lea edi, [edx + esi]
add edi, 0x8b876e97
add edx, 0x8b876e97
and edx, esi
add edx, edx
sub edi, edx
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0x28]
add dl, 0xd
mov esi, dword [esp]
mov byte [esp + esi + 4], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 4
jb 0x435a20
xor edx, edx
cmp ecx, dword [esp + 4]
setne dl
xor eax, eax
jmp dword [edx*4 + 0x441148]
mov edi, dword [ebx + ebp + 0x78]
cmp dword [ebx + ebp + 0x7c], 0
sete al
test edi, edi
sete cl
or cl, al
movzx ecx, cl
xor eax, eax
mov dword [esp + 0xc], edi
jmp dword [ecx*4 + 0x441150]
mov eax, dword [ebx + edi + 0x20]
add eax, ebx
mov dword [esp + 0x44], eax
mov eax, dword [ebx + edi + 0x24]
add eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebx + edi + 0x1c]
add eax, ebx
mov dword [esp + 0x20], eax
mov esi, dword [0x442de4]
xor eax, eax
test esi, esi
sete al
jmp dword [eax*4 + 0x441158]
mov eax, edi
mov edi, dword [0x442de0]
mov eax, dword [ebx + eax + 0x18]
mov ecx, eax
and ecx, edi
xor eax, edi
lea eax, [eax + ecx*2]
mov ecx, 0xffffffff
cmp eax, 0x20000000
jae 0x435aea
shl eax, 3
mov ecx, eax
push ecx
call fcn.00408f60
add esp, 4
mov edx, eax
mov ecx, edi
and ecx, 8
mov eax, edi
or edi, 8
imul edi, ecx
xor ecx, 8
and eax, 0xfffffff7
imul eax, ecx
lea ebp, [eax + edi]
lea ecx, [esi + ebp]
cmp edx, esi
jbe 0x435bde
cmp ecx, edx
jbe 0x435bde
test ebp, ebp
mov ebp, edx
je 0x435b8d
lea ecx, [esi + eax]
dec ecx
lea edx, [eax + ebp]
dec edx
neg eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [ecx + edi]
mov byte [edx + edi], bl
movzx ebx, byte [ecx + edi - 1]
mov byte [edx + edi - 1], bl
movzx ebx, byte [ecx + edi - 2]
mov byte [edx + edi - 2], bl
movzx ebx, byte [ecx + edi - 3]
mov byte [edx + edi - 3], bl
movzx ebx, byte [ecx + edi - 4]
mov byte [edx + edi - 4], bl
movzx ebx, byte [ecx + edi - 5]
mov byte [edx + edi - 5], bl
movzx ebx, byte [ecx + edi - 6]
mov byte [edx + edi - 6], bl
movzx ebx, byte [ecx + edi - 7]
mov byte [edx + edi - 7], bl
add edi, 0xfffffff8
cmp eax, edi
jne 0x435b40
xor eax, eax
test esi, esi
sete al
mov ebx, dword [esp + 0x60]
jmp dword [eax*4 + 0x441160]
mov eax, ecx
mov ecx, ebp
shr ecx, 2
mov edi, edx
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
mov edi, edx
add edi, ebp
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov esi, dword [0x442de4]
xor eax, eax
test esi, esi
sete al
mov ebp, edx
jmp dword [eax*4 + 0x441160]
push esi
call fcn.00408f70
add esp, 4
mov dword [0x442de4], ebp
mov eax, dword [case.0x435c07.5]
mov edi, dword [esp + 0xc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x10], 0
cmp ecx, dword [ebx + edi + 0x18]
setb al
xor edx, edx
jmp dword [eax*4 + 0x441178]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
movzx eax, word [eax + edx*2]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + eax*4]
mov dword [0x442de8], eax
inc edx
xor eax, eax
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0xc]
cmp edx, dword [ebx + edi + 0x18]
setb al
jmp dword [eax*4 + 0x441178]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], edx
mov ebp, dword [eax + edx*4]
add ebp, ebx
mov edx, 0xffffffff
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, esi
cmp byte [ebp + edx + 1], 0
lea edx, [edx + 1]
lea esi, [esi + 1]
jne 0x435ca0
mov dword [esp + 4], 0x36ca34a1
mov dword [esp], 0
mov esi, dword [esp]
cmp esi, 3
ja 0x435cff
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, dword [esp]
mov edi, dword [esp]
movzx edi, byte [esp + edi + 4]
add esi, 0xd6be3a33
xor esi, edi
mov dword [esp + 0x28], esi
mov ebx, dword [esp + 0x28]
inc bl
mov esi, dword [esp]
mov byte [esp + esi + 4], bl
inc dword [esp]
mov esi, dword [esp]
cmp esi, 4
jb 0x435cd0
test edx, edx
mov dword [esp + 0x18], ebp
je 0x435d20
mov ebx, dword [esp + 4]
lea esi, [edx - 1]
cmp esi, 3
jae 0x435d30
mov esi, 0xb14a5e2
jmp 0x435d6c
mov edi, 0xb14a5e2
jmp 0x435d91
mov edi, ecx
and edi, 0xfffffffc
mov esi, 0xb14a5e2
nop
nop
nop
nop
nop
nop
movsx eax, byte [ebp]
xor eax, esi
imul eax, ebx
movsx esi, byte [ebp + 1]
xor esi, eax
imul esi, ebx
movsx eax, byte [ebp + 2]
xor eax, esi
imul eax, ebx
movsx esi, byte [ebp + 3]
add ebp, 4
xor esi, eax
imul esi, ebx
add edi, 0xfffffffc
jne 0x435d40
mov edi, esi
test dl, 3
je 0x435d91
and ecx, 3
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movsx edi, byte [ebp + edx]
xor edi, esi
imul edi, ebx
inc edx
mov esi, edi
cmp ecx, edx
jne 0x435d80
mov eax, edi
xor eax, 0x43ac3278
xor ecx, ecx
or eax, dword [0x442de8]
sete cl
jmp dword [ecx*4 + 0x441180]
xor ecx, ecx
mov esi, dword [esp + 0x18]
cmp byte [esi], 0x4e
setne cl
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x14]
jmp dword [ecx*4 + 0x441188]
xor eax, eax
cmp byte [esi + 1], 0x74
setne al
jmp dword [eax*4 + 0x441190]
mov eax, dword [esp + 0x24]
movzx eax, word [eax + edx*2]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
mov dword [esp + 0x1c], 0xffffffff
xor ebp, ebp
xor eax, eax
cmp ebp, 0x20
setl al
mov dword [esp + 0x48], ecx
mov ebx, ecx
jmp dword [eax*4 + 0x4411a8]
jmp dword [0x4411b4]
jmp dword [0x4411f4]
xor ebx, ebx
cmp byte [esp + 0xb], 0xc3
sete bl
mov esi, ebp
jmp dword [ebx*4 + 0x4411f8]
shr eax, 2
and eax, 4
jmp dword [eax + 0x441208]
xor ecx, ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov esi, ebp
jmp dword [ecx*4 + 0x441220]
movzx edx, byte [esp + 0x2e]
xor ebx, ebx
mov byte [esp + 0xb], dl
cmp dl, 0xc2
sete bl
jmp dword [ebx*4 + 0x4411c8]
jmp dword [0x4411d8]
mov ebx, eax
shr ebx, 1
and ebx, 4
mov esi, ebp
jmp dword [ebx + 0x4411e0]
xor ecx, ecx
cmp byte [esp + 0xb], 0xb8
sete cl
jmp dword [ecx*4 + 0x441200]
mov edx, dword [case.0x435c07.25]
mov esi, dword [esp + 0x18]
add esi, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 1
jmp edx
mov eax, dword [esp + 0x48]
lea ebx, [eax + esi]
xor eax, eax
cmp esi, 0x20
setl al
mov ebp, esi
jmp dword [eax*4 + 0x4411a8]
jmp dword [ecx*4 + 0x441228]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
mov ebx, eax
shr ebx, 0xa
and ebx, 4
xor ecx, ecx
mov esi, ebp
jmp dword [ebx + 0x4411c0]
jmp dword [ecx*4 + 0x441220]
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00401000
add esp, 8
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.00401000
add esp, 8
jmp dword [0x4411bc]
mov eax, dword [case.0x435c07.16]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
jmp eax
inc edx
xor eax, eax
mov edi, dword [esp + 0xc]
cmp edx, dword [ebx + edi + 0x18]
setb al
jmp dword [eax*4 + 0x441178]
xor eax, eax
mov ebp, dword [esp + 0x1c]
cmp ebp, 0xffffffff
setne al
jmp dword [eax*4 + 0x441230]
xor eax, eax
xor edx, edx
cmp eax, dword [0x442de0]
setb dl
xor ecx, ecx
jmp dword [edx*4 + 0x441238]
mov edx, dword [0x442de4]
xor ebx, ebx
cmp dword [edx + ecx*8], edi
sete bl
jmp dword [ebx*4 + 0x441240]
mov edx, 1
jmp 0x435fd8
mov dword [edx + ecx*8 + 4], ebp
xor edx, edx
mov al, 1
mov esi, dword [case.0x435c07.60]
nop
nop
jmp esi
jmp dword [edx*4 + 0x441258]
mov edx, ecx
xor edx, 0x2ca5c69a
and ecx, 0x2ca5c69a
lea ecx, [edx + ecx*2]
add ecx, 0xd35a3967
xor edx, edx
cmp ecx, dword [0x442de0]
setb dl
jmp dword [edx*4 + 0x441238]
and al, 1
movzx eax, al
mov cl, 1
mov dword [esp + 0x10], ecx
jmp dword [eax*4 + 0x441260]
mov eax, dword [0x442de0]
mov ecx, eax
and ecx, 1
mov edx, eax
xor edx, 1
lea ecx, [edx + ecx*2]
mov dword [0x442de0], ecx
mov ecx, dword [0x442de4]
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], ebp
mov al, 1
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
inc edx
xor eax, eax
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0xc]
cmp edx, dword [ebx + edi + 0x18]
setb al
jmp dword [eax*4 + 0x441178]
mov edx, dword [esp + 0x14]
inc edx
xor eax, eax
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0xc]
cmp edx, dword [ebx + edi + 0x18]
setb al
jmp dword [eax*4 + 0x441178]
mov eax, dword [esp + 0x10]
and al, 1
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp dword [0x441274]
int3