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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18c
mov eax, dword [0x44a780]
mov dword [esp + 0xc], 0xa73fa52b
mov dword [esp + 0x10], 0xa33aa136
mov dword [esp + 0x14], 0xdf52dd50
mov dword [esp + 0x18], 0xdb8cd948
mov dword [esp + 0x1c], 0xd742d548
mov dword [esp + 0x20], 0xd3d2d144
mov word [esp + 0x24], 0
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 0x19
ja 0x40b2b6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
add ecx, 0xe45993b8
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0xe4
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 0x1a
jb 0x40b280
lea esi, [esp + 0xc]
push 0x800
push 0
push esi
call eax
mov ecx, 0x44a748
push eax
call fcn.0043d300
xor ebx, ebx
test al, al
je 0x40b9ea
push 0xe2bceb04
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a750], eax
push 0x248106fa
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a754], eax
push 0x89b8457d
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a758], eax
push 0x44f824fb
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a75c], eax
push 0xf072343c
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a760], eax
push 0x638f2392
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a764], eax
push 0xd711af57
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a768], eax
push 0x1ad145e2
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a76c], eax
push 0xedb83653
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a770], eax
push 0xe9e47300
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a774], eax
push 0x6b702a5b
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a778], eax
push 0xc135ffae
push dword [0x44a748]
call fcn.0043f320
add esp, 8
mov dword [0x44a77c], eax
lea edi, [esp + 0x10b]
lea eax, [esp + 0x10c]
push eax
push dword [ebx + 0x4433e4]
call fcn.00439250
add esp, 8
mov ebp, edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [ebp + 1], 0
lea ebp, [ebp + 1]
jne 0x40b420
mov dword [esp], 0
mov eax, esi
lea ecx, [esp + 0x10c]
cmp ecx, ebp
jae 0x40b4a1
xor esi, esi
lea edi, [esp + 0x10c]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp byte [edi], 0
je 0x40b490
mov eax, esp
push eax
push ebp
push edi
call fcn.0040d6a0
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0xfb
ja 0x40b47e
add edi, eax
mov esi, ecx
cmp edi, ebp
jb 0x40b450
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40b496
lea eax, [esp + esi]
add eax, 0xc
lea esi, [esp + 0xc]
lea edi, [esp + 0x10b]
mov word [eax], 0
push esi
call fcn.0040ba00
add esp, 4
test al, al
jne 0x40b6f8
add ebx, 4
cmp ebx, 0x24
jne 0x40b400
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0xb7c2b5cc
mov dword [esp + 0x10], 0xcbbac9bc
mov dword [esp + 0x14], 0xcf84cdbf
mov dword [esp + 0x18], 0xc3fdc1ff
mov dword [esp + 0x1c], 0xc7b2c5b7
mov dword [esp + 0x20], 0xdbbbd9bd
mov dword [esp + 0x24], 0xdfbddda1
mov dword [esp + 0x28], 0xd3afd1af
mov dword [esp + 0x2c], 0xd7a3d5a9
mov dword [esp + 0x30], 0xeb93e996
mov dword [esp + 0x34], 0xef67ed98
mov dword [esp + 0x38], 0xe381e1de
mov dword [esp + 0x3c], 0xe79be59b
mov dword [esp + 0x40], 0xfb8af9c7
mov dword [esp + 0x44], 0xff81fd8e
mov dword [esp + 0x48], 0xf38bf196
mov dword [esp + 0x4c], 0xf793f588
mov dword [esp + 0x50], 0xb35097b
mov dword [esp + 0x54], 0xf380d3b
mov dword [esp + 0x58], 0x3340135
mov dword [esp + 0x5c], 0x7370535
mov dword [esp + 0x60], 0x1b531951
mov dword [esp + 0x64], 0x1f2c1d2b
mov dword [esp + 0x68], 0x13211124
mov dword [esp + 0x6c], 0x17271527
mov dword [esp + 0x70], 0x2b1a2961
mov dword [esp + 0x74], 0x2f2e2d1c
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x6b
ja 0x40b5f4
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x4601f03c
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 0x78
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x6c
jb 0x40b5c0
lea eax, [esp + 8]
lea ecx, [esp + 4]
lea edi, [esp + 0xc]
push eax
push ecx
push edi
call fcn.0040bff0
add esp, 0xc
test al, al
je 0x40b9e8
mov dword [esp + 0xc], 0x2f21df17
mov dword [esp + 0x10], 0x18104e1d
mov dword [esp + 0x14], 0x2be4e714
mov dword [esp + 0x18], 0xe8181959
mov dword [esp + 0x1c], 0x1151de8
mov dword [esp + 0x20], 0xf1f3050f
mov dword [esp + 0x24], 0x1906080a
mov dword [esp + 0x28], 0xf060905
mov word [esp + 0x2c], 0x304d
mov byte [esp + 0x2e], 0x71
mov dword [esp + 0x2f], 0
mov byte [esp + 0x33], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x27
ja 0x40b6b4
nop
nop
nop
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0xc]
add eax, 0x78448adc
xor eax, ecx
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x10c]
add al, 0x71
mov ecx, dword [esp]
mov byte [esp + ecx + 0xc], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x28
jb 0x40b680
mov ecx, dword [esp + 4]
movzx ebx, byte [esp + 0xc]
test bl, bl
je 0x40b77e
mov edx, edi
mov eax, ecx
jmp 0x40b6db
movzx ebx, byte [edx]
test bl, bl
je 0x40b780
mov bh, byte [ecx]
test bh, bh
je 0x40b9dc
inc ecx
inc edx
lea esi, [eax + 1]
cmp bh, bl
je 0x40b6f2
mov eax, esi
mov ecx, esi
je 0x40b6d0
mov edx, edi
jmp 0x40b6d0
movzx eax, word [esp + 0xc]
test ax, ax
je 0x40b72f
mov ecx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx + 0x44a782], ax
movzx eax, word [esp + ecx + 0xc]
add ecx, 2
test ax, ax
jne 0x40b710
mov word [ecx + 0x44a782], 0
jmp 0x40b738
mov word [0x44a784], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x40b9e8
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 0x40b9e8
push 0x44a724
call fcn.00438660
add esp, 4
mov bl, 1
jmp 0x40b9ea
mov eax, ecx
test eax, eax
je 0x40b9dc
mov dword [esp + 0xc], 0xcbc1040a
mov dword [esp + 0x10], 0x7f3acbdd
mov dword [esp], 0
mov ecx, dword [esp]
cmp ecx, 7
ja 0x40b7f1
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp]
mov edx, dword [esp]
movzx edx, byte [esp + edx + 0xc]
mov esi, ecx
and esi, 0x1e06b8d5
xor ecx, 0x1e06b8d5
lea ecx, [ecx + esi*2]
xor ecx, edx
mov dword [esp + 0x10c], ecx
mov ecx, dword [esp + 0x10c]
add cl, 0x5d
mov edx, dword [esp]
mov byte [esp + edx + 0xc], cl
inc dword [esp]
mov ecx, dword [esp]
cmp ecx, 8
jb 0x40b7b0
movzx edx, byte [esp + 0xc]
mov ecx, eax
test dl, dl
je 0x40b834
lea ebp, [esp + 0xc]
mov edi, ebp
mov ebx, eax
mov ecx, eax
jmp 0x40b817
movzx edx, byte [edi]
test dl, dl
je 0x40b834
mov dh, byte [ebx]
test dh, dh
je 0x40b9dc
inc ebx
inc edi
lea esi, [ecx + 1]
cmp dh, dl
je 0x40b82e
mov ecx, esi
mov ebx, esi
je 0x40b810
mov edi, ebp
jmp 0x40b810
test ecx, ecx
je 0x40b9dc
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 0x40b850
mov edx, ecx
inc edx
je 0x40b905
test ecx, ecx
je 0x40b8d1
mov esi, edx
and edx, 0xfffffffe
mov edi, edx
xor edx, edx
jmp 0x40b887
add bh, 0x61
mov bl, bh
mov byte [esp + edx + 0x10d], bl
add edx, 2
mov ebx, edi
cmp edi, edx
je 0x40b8d5
movzx ebx, byte [eax + edx + 0x22]
mov bh, bl
add bh, 0x9f
cmp bh, 0x19
ja 0x40b8aa
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40b8a5
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 0x40b877
mov bh, bl
add bh, 0xae
cmp bh, 0x1a
jb 0x40b872
add bl, 0x94
mov bh, bl
jmp 0x40b872
mov esi, edx
xor edx, edx
mov ebx, esi
test bl, 1
je 0x40b905
movzx eax, byte [eax + edx + 0x22]
mov ah, al
add ah, 0x9f
cmp ah, 0x19
ja 0x40b8fe
mov ah, al
add ah, 0xae
cmp ah, 0x1a
jb 0x40b8f9
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 0x40b920
mov dword [esp], 0
lea edi, [esp + 0xc]
lea ebp, [esp + 0x10c]
mov eax, edi
cmp ebp, ebx
jae 0x40b97d
xor esi, esi
cmp byte [ebp], 0
je 0x40b977
mov eax, esp
push eax
push ebx
push ebp
call fcn.0040d6a0
add esp, 0xc
movzx edx, word [esp]
lea ecx, [esi + 2]
mov word [esp + esi + 0xc], dx
cmp esi, 0x7b
ja 0x40b96f
add ebp, eax
mov esi, ecx
cmp ebp, ebx
jb 0x40b943
lea eax, [esp + ecx]
add eax, 0xc
jmp 0x40b97d
lea eax, [esp + esi]
add eax, 0xc
mov word [eax], 0
push edi
call fcn.0040ba00
add esp, 4
test al, al
je 0x40b9dc
mov ebx, eax
movzx ecx, word [esp + 0xc]
mov eax, 0x44a784
test cx, cx
je 0x40b9c1
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 0x40b9b0
mov word [eax], 0
push dword [esp + 4]
call fcn.0043c040
add esp, 4
test bl, bl
jne 0x40b738
jmp 0x40b9e8
push dword [esp + 4]
call fcn.0043c040
add esp, 4
xor ebx, ebx
mov eax, ebx
add esp, 0x18c
pop esi
pop edi
pop ebx
pop ebp
ret