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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov dword [esp + 0x28], 0x571d6b74
mov dword [esp + 0x2c], 0x53536967
lea edx, [esp + 0x30]
mov byte [esp + 0x30], 0xaf
mov dword [esp + 0x31], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0xf
ja 0x40b7e3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x6d5e76da
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xb3
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x28], al
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, 0x10
jb 0x40b7b0
lea eax, [esp + 0x1c]
lea esi, [esp + 0x28]
mov ebx, esi
mov edi, eax
mov ecx, 2
xchg esi, ebx
rep movsd dword es:[edi], dword [esi]
xchg esi, ebx
lea edi, [esp + 0x24]
xor ecx, ecx
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
movzx ecx, byte [esp + 0x30]
mov byte [esp + 0x24], cl
mov dword [esp + 0x28], 0x5b2d591b
mov dword [esp + 0x2c], 0x671a6512
mov dword [esp + 0x30], 0x6314610d
mov dword [esp + 0x34], 0x6f5b6d10
mov dword [esp + 0x38], 0x6b136934
mov dword [esp + 0x3c], 0x771b7504
mov dword [esp + 0x40], 0x7352714a
mov dword [esp + 0x44], 0x7f0e7d1d
mov dword [esp + 0x48], 0x7b0e7908
mov dword [esp + 0x4c], 0x87e585ed
mov dword [esp + 0x50], 0x83fe81e1
mov dword [esp + 0x54], 0x8ff98de5
mov dword [esp + 0x58], 0x8bbd89fe
mov dword [esp + 0x5c], 0x97a395ec
mov dword [esp + 0x60], 0x93ed91ef
mov dword [esp + 0x64], 0x9fab9de3
mov dword [esp + 0x68], 0x9bed99f6
mov dword [esp + 0x6c], 0xa7d3a5d6
mov dword [esp + 0x70], 0xa3dfa195
mov dword [esp + 0x74], 0xafdaadde
mov dword [esp + 0x78], 0xabdca9c5
mov dword [esp + 0x7c], 0xb7c1b5d7
mov dword [esp + 0x80], 0xb3dfb1dc
mov dword [esp + 0x84], 0xbfabbdd0
mov dword [esp + 0x88], 0xbbbab9b2
mov byte [esp + 0x8c], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x64
ja 0x40b930
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0x212dc5dc
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 0x7c
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x65
jb 0x40b900
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc], 0x76d07000
mov dword [esp + 0x10], 0x7adc74c7
mov word [esp + 0x14], 0x787b
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0xf
ja 0x40b9a3
nop
nop
mov edx, dword [esp + 4]
mov edi, dword [esp + 4]
movzx edi, byte [esp + edi + 0xc]
add edx, 0x12ecda51
xor edx, edi
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0xde
mov edi, dword [esp + 4]
mov byte [esp + edi + 0xc], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x10
jb 0x40b970
lea edx, [esp + 4]
lea edi, [esp + 0xc]
push 0
push edx
push 8
push eax
push esi
push edi
push ecx
call fcn.0040c440
add esp, 0x1c
test al, al
je 0x40baf4
mov word [esp + 0x28], 0xc01
mov byte [esp + 0x2a], 0x70
mov dword [esp + 0x2b], 0
mov byte [esp + 0x2f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40ba1e
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x52f5cb78
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0xf6
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40b9f0
xor eax, eax
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ecx + eax]
mov dh, byte [esp + eax + 0x28]
test dl, dl
je 0x40ba41
inc eax
cmp dl, dh
je 0x40ba30
mov al, 1
mov dword [esp + 8], eax
cmp dl, dh
je 0x40bce2
mov dword [esp + 0x28], 0x2720b7c
mov dword [esp + 0x2c], 0x8a797d7a
mov byte [esp + 0x30], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40baae
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x7b14513e
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x31
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40ba80
mov eax, dword [esp + 4]
movzx ebx, byte [esp + 0x28]
test bl, bl
je 0x40bafb
mov edx, esi
mov ecx, eax
jmp 0x40bad7
movzx ebx, byte [edx]
test bl, bl
je 0x40bafd
mov bh, byte [eax]
test bh, bh
je 0x40bcda
inc eax
inc edx
lea edi, [ecx + 1]
cmp bh, bl
je 0x40baee
mov ecx, edi
mov eax, edi
je 0x40bad0
mov edx, esi
jmp 0x40bad0
xor eax, eax
jmp 0x40bcf2
mov ecx, eax
test ecx, ecx
je 0x40bcda
mov dword [esp + 0x28], 0x2930dbcf
mov dword [esp + 0x2c], 0x3220e602
mov dword [esp + 0x30], 0xeaed2934
mov dword [esp + 0x34], 0x35232f33
mov dword [esp + 0x38], 0xd2f50f26
mov word [esp + 0x3c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x15
ja 0x40bb7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x1ecb4bfe
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x3d
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x16
jb 0x40bb50
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x28]
test cl, cl
je 0x40bbc4
lea edi, [esp + 0x28]
mov edx, edi
mov esi, eax
jmp 0x40bba7
movzx ecx, byte [edx]
test cl, cl
je 0x40bbc6
mov ch, byte [eax]
test ch, ch
je 0x40bcda
inc eax
inc edx
lea ebx, [esi + 1]
cmp ch, cl
je 0x40bbbe
mov esi, ebx
mov eax, ebx
je 0x40bba0
mov edx, edi
jmp 0x40bba0
mov esi, eax
test esi, esi
je 0x40bcda
mov word [esp + 0x28], 0xc2f
mov byte [esp + 0x2a], 0xcf
mov dword [esp + 0x2b], 0
mov byte [esp + 0x2f], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40bc2e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
add eax, 0x53ed30a3
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x96
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40bc00
movzx eax, byte [esp + 0x28]
test al, al
je 0x40bc70
add esi, 0x13
lea ebp, [esp + 0x28]
mov ecx, ebp
mov edx, esi
mov edi, esi
jmp 0x40bc57
movzx eax, byte [ecx]
test al, al
je 0x40bc81
mov ah, byte [edx]
test ah, ah
je 0x40bcda
inc edx
inc ecx
lea ebx, [edi + 1]
cmp ah, al
je 0x40bc6a
mov edi, ebx
mov edx, ebx
je 0x40bc50
mov ecx, ebp
jmp 0x40bc50
mov byte [0x449988], 1
mov eax, 0x44998a
jmp 0x40bd03
test edi, edi
je 0x40bcda
mov byte [0x449988], 1
mov dword [esp + 0x28], 0
mov eax, 0x44998a
cmp esi, edi
jae 0x40bd03
xor ebx, ebx
lea ebp, [esp + 0x28]
cmp byte [esi], 0
je 0x40bcfd
push ebp
push edi
push esi
call fcn.0040d270
add esp, 0xc
movzx edx, word [esp + 0x28]
lea ecx, [ebx + 2]
mov word [ebx + 0x44998a], dx
cmp ebx, 0x1fb
ja 0x40bcd2
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40bca3
lea eax, [ecx + 0x44998a]
jmp 0x40bd03
mov dword [esp + 8], 0
push dword [esp + 4]
call fcn.0043aed0
add esp, 4
mov eax, dword [esp + 8]
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x44998a]
mov word [eax], 0
jmp 0x40bce2