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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [esp + 0x30], 0x3ef60201
mov dword [esp + 0x34], 0x2000c08
lea edx, [esp + 0x38]
mov byte [esp + 0x38], 0x68
mov dword [esp + 0x39], 0
mov dword [esp + 0x3d], 0
mov word [esp + 0x41], 0
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x12
ja 0x40abce
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x30]
mov esi, 0xf
sub esi, eax
add eax, 0x790efcf0
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add al, 0x70
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x13
jb 0x40ab90
lea eax, [esp + 0xc]
lea ebx, [esp + 0x30]
mov esi, ebx
mov edi, eax
mov ecx, 2
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x14]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x38]
mov byte [esp + 0x14], cl
mov dword [esp + 0x30], 0x1b8d195b
mov dword [esp + 0x34], 0x179a1582
mov dword [esp + 0x38], 0x1384118d
mov dword [esp + 0x3c], 0xf5b0d80
mov dword [esp + 0x40], 0xb830964
mov dword [esp + 0x44], 0x79b0594
mov dword [esp + 0x48], 0x322014a
mov dword [esp + 0x4c], 0x3fae3d5d
mov dword [esp + 0x50], 0x3bae39a8
mov dword [esp + 0x54], 0x375535ad
mov dword [esp + 0x58], 0x33be3151
mov dword [esp + 0x5c], 0x2fb92db5
mov dword [esp + 0x60], 0x2b7d29be
mov dword [esp + 0x64], 0x277325ac
mov dword [esp + 0x68], 0x23ad21af
mov dword [esp + 0x6c], 0x5f0b5dd3
mov dword [esp + 0x70], 0x5bcd59c6
mov dword [esp + 0x74], 0x57c355c6
mov dword [esp + 0x78], 0x53df5105
mov dword [esp + 0x7c], 0x4fda4dde
mov dword [esp + 0x80], 0x4bdc49d5
mov dword [esp + 0x84], 0x47d14527
mov dword [esp + 0x88], 0x43df41dc
mov dword [esp + 0x8c], 0x7f4b7de0
mov dword [esp + 0x90], 0x7b7a7942
mov dword [esp + 0x94], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x67
ja 0x40ad2b
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x30]
mov esi, 0xfb
sub esi, ecx
add ecx, 0x3b7b104
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
add cl, 0xe4
mov edx, dword [esp]
mov byte [esp + edx + 0x30], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x68
jb 0x40acf0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], 0xbbdbb987
mov dword [esp + 0x1c], 0xbfd7bdca
mov word [esp + 0x20], 0xc1be
mov dword [esp + 0x22], 0
mov dword [esp + 0x25], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0x10
ja 0x40adad
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp + 4]
mov esi, dword [esp + 4]
movzx esi, byte [esp + esi + 0x18]
mov edi, 0x48
sub edi, edx
add edx, 0xac6335b7
xor edi, edx
and edi, esi
xor edi, edx
mov dword [esp], edi
mov edx, dword [esp]
dec dl
mov esi, dword [esp + 4]
mov byte [esp + esi + 0x18], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x11
jb 0x40ad70
lea edx, [esp + 8]
lea esi, [esp + 0x18]
push 0
push edx
push 8
push eax
push ebx
push esi
push ecx
call fcn.0040ba60
add esp, 0x1c
test al, al
je 0x40af16
mov word [esp + 0x30], 0xb2cf
mov byte [esp + 0x32], 0x5a
mov dword [esp + 0x33], 0
mov dword [esp + 0x36], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40ae39
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x73
sub edx, eax
add eax, 0x6fb7fd8c
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0x2c
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40ae00
xor edx, edx
mov esi, dword [esp + 8]
nop
movsx ecx, byte [esi + edx]
movzx ebx, byte [esp + edx + 0x30]
test ecx, ecx
je 0x40ae52
inc edx
cmp cl, bl
je 0x40ae40
movsx eax, bl
mov edx, eax
xor edx, ecx
not eax
and eax, ecx
add eax, eax
mov bl, 1
cmp eax, edx
je 0x40b166
mov dword [esp + 0x30], 0xa79194a3
mov dword [esp + 0x34], 0x37a8aaad
mov byte [esp + 0x38], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40aec9
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0xf7
sub edx, eax
add eax, 0xab67ee08
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
add al, 0xc8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40ae90
mov esi, dword [esp + 8]
movzx ebx, byte [esp + 0x30]
mov ecx, esi
test bl, bl
je 0x40af1d
lea edx, [esp + 0x30]
mov eax, esi
mov ecx, esi
jmp 0x40aef7
movzx ebx, byte [edx]
test bl, bl
je 0x40af1d
mov bh, byte [eax]
test bh, bh
je 0x40b014
inc edx
inc eax
lea edi, [ecx + 1]
cmp bh, bl
je 0x40af0e
mov ecx, edi
mov eax, edi
je 0x40aef0
lea edx, [esp + 0x30]
jmp 0x40aef0
xor ebx, ebx
jmp 0x40b16f
test ecx, ecx
je 0x40b014
mov dword [esp + 0x30], 0x50a7b2a4
mov dword [esp + 0x34], 0x5b4f0f29
mov dword [esp + 0x38], 0x30a505f
mov dword [esp + 0x3c], 0x6c5c4668
mov dword [esp + 0x40], 0xfb02265d
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0
mov dword [esp + 0x47], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x1a
ja 0x40afa9
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x30]
mov esi, 2
sub esi, eax
add eax, 0xd4cee9fd
xor esi, eax
and esi, ecx
xor esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
add al, 0x15
mov ecx, dword [esp]
mov byte [esp + ecx + 0x30], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x1b
jb 0x40af70
lea esi, [esp + 0x30]
mov ecx, 5
lea eax, [esp + 0x18]
mov edi, eax
xchg esi, esi
rep movsd dword es:[edi], dword [esi]
xchg esi, esi
lea edi, [esp + 0x2c]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
mov ecx, dword [esp + 8]
movzx ebx, byte [esp + 0x18]
test bl, bl
je 0x40b01b
mov edx, eax
mov edi, ecx
mov esi, eax
mov eax, ecx
jmp 0x40aff7
movzx ebx, byte [edx]
test bl, bl
je 0x40b01d
mov bh, byte [ecx]
test bh, bh
je 0x40b151
inc edx
inc ecx
lea edi, [eax + 1]
cmp bh, bl
je 0x40b00e
mov eax, edi
mov ecx, edi
je 0x40aff0
mov edx, esi
jmp 0x40aff0
xor ebx, ebx
jmp 0x40b166
mov eax, ecx
test eax, eax
je 0x40b151
mov word [esp + 0x30], 0xf62
mov byte [esp + 0x32], 0x4a
mov dword [esp + 0x33], 0
mov dword [esp + 0x37], 0
mov word [esp + 0x3b], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xc
ja 0x40b09e
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
mov esi, 0xb5
sub esi, ecx
add ecx, 0xf87754a
xor esi, ecx
and esi, edx
xor esi, ecx
mov dword [esp], esi
mov ecx, dword [esp]
add cl, 0xfa
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0xd
jb 0x40b060
movzx ebx, byte [esp + 0x30]
test bl, bl
je 0x40b0e6
add eax, 0x13
lea ecx, [esp + 0x30]
mov esi, eax
mov edi, eax
jmp 0x40b0c7
movzx ebx, byte [ecx]
test bl, bl
je 0x40b0f4
mov bh, byte [esi]
test bh, bh
je 0x40b151
inc ecx
inc esi
lea edx, [edi + 1]
cmp bh, bl
je 0x40b0de
mov edi, edx
mov esi, edx
je 0x40b0c0
lea ecx, [esp + 0x30]
jmp 0x40b0c0
mov byte [0x43de50], 1
mov eax, 0x43de52
jmp 0x40b15b
test edi, edi
je 0x40b151
mov byte [0x43de50], 1
mov dword [esp + 0x30], 0
mov ecx, eax
mov eax, 0x43de52
cmp ecx, edi
jae 0x40b15b
mov esi, ecx
xor ebx, ebx
cmp byte [esi], 0
je 0x40b155
lea eax, [esp + 0x30]
push eax
push edi
push esi
call fcn.0040cb00
add esp, 0xc
movzx edx, word [esp + 0x30]
lea ecx, [ebx + 2]
mov word [ebx + 0x43de52], dx
cmp ebx, 0x1fb
ja 0x40b149
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40b116
lea eax, [ecx + 0x43de52]
jmp 0x40b15b
xor ebx, ebx
jmp 0x40b162
lea eax, [ebx + 0x43de52]
mov word [eax], 0
mov bl, 1
mov esi, dword [esp + 8]
push esi
call fcn.00430e10
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret