Function at 0x40a550
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18c
mov eax, dword [0x441ac8]
mov dword [esp + 0xc], 0xc3abc157
mov dword [esp + 0x10], 0xc7aec5aa
mov dword [esp + 0x14], 0xcb5ec95c
mov dword [esp + 0x18], 0xcfe0cd5c
mov dword [esp + 0x1c], 0xf39ef194
mov dword [esp + 0x20], 0xf7f6f598
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x1a
ja 0x40a5e6
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0xa8805d0
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0xf0
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1b
jb 0x40a5b0
lea esi, [esp + 0xc]
push 0x800
push 0
push esi
call eax
mov ecx, 0x441a90
push eax
call fcn.004343e0
xor ebx, ebx
test al, al
je 0x40acfa
push 0xe2bceb04
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441a98], eax
push 0x248106fa
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441a9c], eax
push 0x89b8457d
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441aa0], eax
push 0x44f824fb
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441aa4], eax
push 0xf072343c
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441aa8], eax
push 0x638f2392
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441aac], eax
push 0xd711af57
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441ab0], eax
push 0x1ad145e2
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441ab4], eax
push 0xedb83653
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441ab8], eax
push 0xe9e47300
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441abc], eax
push 0x6b702a5b
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441ac0], eax
push 0xc135ffae
push dword [0x441a90]
call fcn.004365c0
add esp, 8
mov dword [0x441ac4], eax
lea edi, [esp + 0x10b]
lea eax, [esp + 0x10c]
push eax
push dword [ebx + 0x43a3e4]
call fcn.00430260
add esp, 8
mov ebp, edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x40a750
mov dword [esp], 0
mov eax, esi
lea ecx, [esp + 0x10c]
cmp ecx, ebp
jae 0x40a7d1
xor esi, esi
lea edi, [esp + 0x10c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x40a7c0
mov eax, esp
push eax
push ebp
push edi
call fcn.0040cca0
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0xfb
ja 0x40a7ae
add edi, eax
mov esi, ecx
cmp edi, ebp
jb 0x40a780
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40a7c6
lea eax, [esp + esi]
add eax, 0xc
lea esi, [esp + 0xc]
lea edi, [esp + 0x10b]
mov word [eax], 0
push esi
call fcn.0040ad10
add esp, 4
test al, al
jne 0x40aa18
add ebx, 4
cmp ebx, 0x24
jne 0x40a730
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x971a9900
mov dword [esp + 0x10], 0x93029518
mov dword [esp + 0x14], 0x8f48911f
mov dword [esp + 0x18], 0x8b598d5f
mov dword [esp + 0x1c], 0x870a8907
mov dword [esp + 0x20], 0x83238519
mov dword [esp + 0x24], 0x7fe18115
mov dword [esp + 0x28], 0x7bef7def
mov dword [esp + 0x2c], 0x77fb79ed
mov dword [esp + 0x30], 0x73eb75e6
mov dword [esp + 0x34], 0x6fe771fc
mov dword [esp + 0x38], 0x6bf56dbe
mov dword [esp + 0x3c], 0x67f369fb
mov dword [esp + 0x40], 0x63f265b7
mov dword [esp + 0x44], 0x5fcd61ee
mov dword [esp + 0x48], 0x5bc35dc6
mov dword [esp + 0x4c], 0x57cb59cc
mov dword [esp + 0x50], 0x538155db
mov dword [esp + 0x54], 0x4f84519b
mov dword [esp + 0x58], 0x4b804d81
mov dword [esp + 0x5c], 0x47974999
mov dword [esp + 0x60], 0x438b458d
mov dword [esp + 0x64], 0x3ff0418b
mov dword [esp + 0x68], 0x3bf53df0
mov dword [esp + 0x6c], 0x37e739f7
mov dword [esp + 0x70], 0x33e235fd
mov dword [esp + 0x74], 0x2f2e31e0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x6b
ja 0x40a924
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0xa9492566
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 2
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x6c
jb 0x40a8f0
lea eax, [esp + 8]
lea ecx, [esp + 4]
lea edi, [esp + 0xc]
push eax
push ecx
push edi
call fcn.0040b2e0
add esp, 0xc
test al, al
je 0x40acf8
mov dword [esp + 0xc], 0x9eaeae64
mov dword [esp + 0x10], 0x8f855dae
mov dword [esp + 0x14], 0x7ab1b681
mov dword [esp + 0x18], 0xbf8d8442
mov dword [esp + 0x1c], 0x8c8288bd
mov dword [esp + 0x20], 0x848488bc
mov dword [esp + 0x24], 0xb4b78383
mov dword [esp + 0x28], 0xbeb7b486
mov dword [esp + 0x2c], 0x1e5b7e
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x23
ja 0x40a9d4
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x5aab848a
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 0x4e
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x24
jb 0x40a9a0
mov ecx, dword [esp + 4]
movzx ebx, byte [esp + 0xc]
test bl, bl
je 0x40aa9e
mov edx, edi
mov eax, ecx
jmp 0x40a9fb
movzx ebx, byte [edx]
test bl, bl
je 0x40aaa0
mov bh, byte [ecx]
test bh, bh
je 0x40acec
inc ecx
inc edx
lea esi, [eax + 1]
cmp bh, bl
je 0x40aa12
mov eax, esi
mov ecx, esi
je 0x40a9f0
mov edx, edi
jmp 0x40a9f0
movzx eax, word [esp + 0xc]
test ax, ax
je 0x40aa4f
mov ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx + 0x441aca], ax
movzx eax, word [esp + ecx + 0xc]
add ecx, 2
test ax, ax
jne 0x40aa30
mov word [ecx + 0x441aca], 0
jmp 0x40aa58
mov word [0x441acc], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40acf8
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x40acf8
push 0x441a6c
call fcn.0042f6b0
add esp, 4
mov bl, 1
jmp 0x40acfa
mov eax, ecx
test eax, eax
je 0x40acec
mov dword [esp + 0xc], 0x313b7640
mov dword [esp + 0x10], 0x8d443523
mov word [esp + 0x14], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 9
ja 0x40ab06
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0x27aa361
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0x1b
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0xa
jb 0x40aad0
movzx edx, byte [esp + 0xc]
mov ecx, eax
test dl, dl
je 0x40ab44
lea ebp, [esp + 0xc]
mov edi, ebp
mov ebx, eax
mov ecx, eax
jmp 0x40ab27
movzx edx, byte [edi]
test dl, dl
je 0x40ab44
mov dh, byte [ebx]
test dh, dh
je 0x40acec
inc ebx
inc edi
lea esi, [ecx + 1]
cmp dh, dl
je 0x40ab3e
mov ecx, esi
mov ebx, esi
je 0x40ab20
mov edi, ebp
jmp 0x40ab20
test ecx, ecx
je 0x40acec
mov byte [ecx], 0
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [eax + ecx + 0x24], 0
lea ecx, [ecx + 1]
jne 0x40ab60
mov edx, ecx
inc edx
je 0x40ac15
test ecx, ecx
je 0x40abe1
mov esi, edx
and edx, 0xfffffffe
mov edi, edx
xor edx, edx
jmp 0x40ab97
add bh, 0x61
mov bl, bh
mov byte [esp + edx + 0x10d], bl
add edx, 2
mov ebx, edi
cmp edi, edx
je 0x40abe5
movzx ebx, byte [eax + edx + 0x22]
mov bh, bl
add bh, 0x9f
cmp bh, 0x19
ja 0x40abba
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40abb5
add bl, 0x94
mov bh, bl
add bh, 0x61
mov bl, bh
mov byte [esp + edx + 0x10c], bl
movzx ebx, byte [eax + edx + 0x23]
mov bh, bl
add bh, 0x9f
cmp bh, 0x19
ja 0x40ab87
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40ab82
add bl, 0x94
mov bh, bl
jmp 0x40ab82
mov esi, edx
xor edx, edx
mov ebx, esi
test bl, 1
je 0x40ac15
movzx eax, byte [eax + edx + 0x22]
mov ah, al
add ah, 0x9f
cmp ah, 0x19
ja 0x40ac0e
mov ah, al
add ah, 0xae
cmp ah, 0x1a
jb 0x40ac09
add al, 0x94
mov ah, al
add ah, 0x61
mov al, ah
mov byte [esp + edx + 0x10c], al
mov byte [esp + ecx + 0x10d], 0
lea ebx, [esp + 0x10b]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebx + 1], 0
lea ebx, [ebx + 1]
jne 0x40ac30
mov dword [esp], 0
lea edi, [esp + 0xc]
lea ebp, [esp + 0x10c]
mov eax, edi
cmp ebp, ebx
jae 0x40ac8d
xor esi, esi
cmp byte [ebp], 0
je 0x40ac87
mov eax, esp
push eax
push ebx
push ebp
call fcn.0040cca0
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0x7b
ja 0x40ac7f
add ebp, eax
mov esi, ecx
cmp ebp, ebx
jb 0x40ac53
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40ac8d
lea eax, [esp + esi]
add eax, 0xc
mov word [eax], 0
push edi
call fcn.0040ad10
add esp, 4
test al, al
je 0x40acec
mov ebx, eax
movzx ecx, word [esp + 0xc]
mov eax, 0x441acc
test cx, cx
je 0x40acd1
lea edx, [esp + 0xe]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x40acc0
mov word [eax], 0
push dword [esp + 4]
call fcn.00433180
add esp, 4
test bl, bl
jne 0x40aa58
jmp 0x40acf8
push dword [esp + 4]
call fcn.00433180
add esp, 4
xor ebx, ebx
mov eax, ebx
add esp, 0x18c
pop esi
pop edi
pop ebx
pop ebp
ret