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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov dword [esp + 0x28], 0xb8e09093
mov dword [esp + 0x2c], 0x949696ea
lea edx, [esp + 0x30]
mov byte [esp + 0x30], 0x7a
mov dword [esp + 0x31], 0
mov byte [esp + 0x35], 0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0xd
ja 0x40b6b3
nop
nop
nop
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, 0xa76787a6
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x2c
mov ecx, dword [esp + 0x1c]
mov byte [esp + ecx + 0x28], al
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp eax, 0xe
jb 0x40b680
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], 0xa9608d4
mov dword [esp + 0x2c], 0xe990c95
mov dword [esp + 0x30], 0x29f00aa
mov dword [esp + 0x34], 0x6d80497
mov dword [esp + 0x38], 0xfa70f8b3
mov dword [esp + 0x3c], 0xfe58fc6b
mov dword [esp + 0x40], 0xf211f035
mov dword [esp + 0x44], 0xf665f452
mov dword [esp + 0x48], 0xea75e867
mov dword [esp + 0x4c], 0xee4eec72
mov dword [esp + 0x50], 0xe275e04e
mov dword [esp + 0x54], 0xe67ae47a
mov dword [esp + 0x58], 0xda06d879
mov dword [esp + 0x5c], 0xde00dc53
mov dword [esp + 0x60], 0xd246d048
mov dword [esp + 0x64], 0xd608d444
mov dword [esp + 0x68], 0xca56c871
mov dword [esp + 0x6c], 0xce50cc59
mov dword [esp + 0x70], 0xc254c012
mov dword [esp + 0x74], 0xc659c451
mov dword [esp + 0x78], 0xba27b862
mov dword [esp + 0x7c], 0xbe22bc18
mov dword [esp + 0x80], 0xb214b01b
mov dword [esp + 0x84], 0xb648b417
mov dword [esp + 0x88], 0xaaa9a84d
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x63
ja 0x40b7f0
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0x28]
add ecx, 0xc1a4dbef
xor ecx, edx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
add cl, 8
mov edx, dword [esp]
mov byte [esp + edx + 0x28], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x64
jb 0x40b7c0
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0xc], 0xb6d4b484
mov dword [esp + 0x10], 0xbad0b8c9
mov word [esp + 0x14], 0xbcbd
mov dword [esp + 0x16], 0
mov word [esp + 0x1a], 0
mov dword [esp + 4], 0
mov edx, dword [esp + 4]
cmp edx, 0xf
ja 0x40b86c
nop
nop
mov edx, dword [esp + 4]
mov edi, dword [esp + 4]
movzx edi, byte [esp + edi + 0xc]
lea ebx, [edx + 0x34]
and ebx, edi
add edx, edi
add ebx, ebx
sub edx, ebx
add edx, 0xf104b34
mov dword [esp], edx
mov edx, dword [esp]
add dl, 0x7f
mov edi, dword [esp + 4]
mov byte [esp + edi + 0xc], dl
inc dword [esp + 4]
mov edx, dword [esp + 4]
cmp edx, 0x10
jb 0x40b830
lea edx, [esp + 4]
lea edi, [esp + 0xc]
push 0
push edx
push 8
push eax
push esi
push edi
push ecx
call fcn.0040c390
add esp, 0x1c
test al, al
je 0x40b9c4
mov word [esp + 0x28], 0xf5f0
mov byte [esp + 0x2a], 0x6f
mov word [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 4
ja 0x40b8f3
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
lea edx, [eax - 0x41b7314a]
lea edi, [eax + ecx]
add edi, 0xbe48ceb6
add eax, 0xb6
or eax, edx
and eax, ecx
add eax, eax
sub edi, eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
add al, 0x29
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 5
jb 0x40b8b0
xor eax, eax
mov ecx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ecx + eax]
mov dh, byte [esp + eax + 0x28]
test dl, dl
je 0x40b911
inc eax
cmp dl, dh
je 0x40b900
mov al, 1
mov dword [esp + 8], eax
cmp dl, dh
je 0x40bbc2
mov dword [esp + 0x28], 0xfbc9caff
mov dword [esp + 0x2c], 0x63fef0f5
mov byte [esp + 0x30], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40b97e
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, 0xc8b62813
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x87
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40b950
mov eax, dword [esp + 4]
movzx ebx, byte [esp + 0x28]
test bl, bl
je 0x40b9cb
mov edx, esi
mov ecx, eax
jmp 0x40b9a7
movzx ebx, byte [edx]
test bl, bl
je 0x40b9cd
mov bh, byte [eax]
test bh, bh
je 0x40bbba
inc eax
inc edx
lea edi, [ecx + 1]
cmp bh, bl
je 0x40b9be
mov ecx, edi
mov eax, edi
je 0x40b9a0
mov edx, esi
jmp 0x40b9a0
xor eax, eax
jmp 0x40bbd2
mov ecx, eax
test ecx, ecx
je 0x40bbba
mov dword [esp + 0x28], 0x223b2032
mov dword [esp + 0x2c], 0x372be309
mov dword [esp + 0x30], 0xf7f83e3b
mov dword [esp + 0x34], 0x2e26342e
mov dword [esp + 0x38], 0xdff0143d
mov word [esp + 0x3c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x15
ja 0x40ba4e
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, 0x3497c006
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add al, 0x3a
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x16
jb 0x40ba20
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x28]
test cl, cl
je 0x40ba94
lea edi, [esp + 0x28]
mov edx, edi
mov esi, eax
jmp 0x40ba77
movzx ecx, byte [edx]
test cl, cl
je 0x40ba96
mov ch, byte [eax]
test ch, ch
je 0x40bbba
inc eax
inc edx
lea ebx, [esi + 1]
cmp ch, cl
je 0x40ba8e
mov esi, ebx
mov eax, ebx
je 0x40ba70
mov edx, edi
jmp 0x40ba70
mov esi, eax
test esi, esi
je 0x40bbba
mov word [esp + 0x28], 0xc5da
mov byte [esp + 0x2a], 0xba
mov dword [esp + 0x2b], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x40bb0a
nop
nop
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, 0xc64d399
xor eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
not ecx
and ecx, 0x21
and eax, 0xde
sub eax, ecx
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x40bad0
movzx eax, byte [esp + 0x28]
test al, al
je 0x40bb50
add esi, 0x13
lea ebp, [esp + 0x28]
mov ecx, ebp
mov edx, esi
mov edi, esi
jmp 0x40bb37
movzx eax, byte [ecx]
test al, al
je 0x40bb61
mov ah, byte [edx]
test ah, ah
je 0x40bbba
inc edx
inc ecx
lea ebx, [edi + 1]
cmp ah, al
je 0x40bb4a
mov edi, ebx
mov edx, ebx
je 0x40bb30
mov ecx, ebp
jmp 0x40bb30
mov byte [0x448b68], 1
mov eax, 0x448b6a
jmp 0x40bbe3
test edi, edi
je 0x40bbba
mov byte [0x448b68], 1
mov dword [esp + 0x28], 0
mov eax, 0x448b6a
cmp esi, edi
jae 0x40bbe3
xor ebx, ebx
lea ebp, [esp + 0x28]
cmp byte [esi], 0
je 0x40bbdd
push ebp
push edi
push esi
call fcn.0040d350
add esp, 0xc
movzx edx, word [esp + 0x28]
lea ecx, [ebx + 2]
mov word [ebx + 0x448b6a], dx
cmp ebx, 0x1fb
ja 0x40bbb2
add esi, eax
mov ebx, ecx
cmp esi, edi
jb 0x40bb83
lea eax, [ecx + 0x448b6a]
jmp 0x40bbe3
mov dword [esp + 8], 0
push dword [esp + 4]
call fcn.0043a910
add esp, 4
mov eax, dword [esp + 8]
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebx + 0x448b6a]
mov word [eax], 0
jmp 0x40bbc2