Function at 0x407ed0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x43d06d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x450880]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x450880]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
xor ebx, ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ebx
call fcn.0040bc5f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407f3d
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
push str.WyjCbXZoAtlQsmVGqTBEzvFMxHYUkDweLINdJuSncpgRrPiKfh
lea ecx, [esp + 0x18]
mov dword [esp + 0xa8], 1
call fcn.00409860
mov byte [esp + 0xa4], 2
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x1f
or eax, ecx
jge 0x407f93
push 0x1f
lea ecx, [esp + 0x18]
call fcn.004013d0
mov esi, dword [esp + 0x14]
push ebx
push ebx
mov ecx, 0xf
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
push 0x1f
lea ecx, [esp + 0x44]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x6c]
push edx
push ebx
push 1
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push 0x446d10
push 0xa3
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push esi
mov ebx, eax
push 0
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push 0x1f
mov esi, eax
call fcn.00409d7a
add esp, 4
mov dword [esp + 0x24], eax
call fcn.0040bc5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408014
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0xa4], 3
call fcn.0040bc5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408046
push 0x80004005
call fcn.00401630
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [esp + 0x1c]
add eax, 0x10
mov dword [ecx], eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x28], 0
test ebx, ebx
jbe 0x4081ab
mov ebx, dword [esp + 0x24]
lea edx, [esp + 0x38]
sub ebx, edx
jmp 0x408084
mov esi, dword [esp + 0x34]
xor eax, eax
mov cl, byte [esi]
mov edx, dword [esp + 0x24]
mov byte [eax + edx], cl
inc eax
inc esi
cmp eax, 0x1f
jb 0x408086
mov dword [esp + 0x34], esi
xor esi, esi
lea esp, [esp]
lea ecx, [esp + esi + 0x38]
movsx eax, byte [ebx + ecx]
movzx ecx, byte [ecx]
and eax, 0xff
xor eax, ecx
sub eax, 0x30
push eax
lea edx, [esp + 0x24]
push 0x447080
push edx
call fcn.00409bd0
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp - 0xc]
add esp, 0xc
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.004094f0
inc esi
cmp esi, 0xd
jb 0x4080a0
push 0x446d18
push 7
lea eax, [esp + 0x20]
push eax
call fcn.00408e30
mov ecx, dword [0x458aa0]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x407f33
mov edi, dword [esp + 0x18]
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408136
test dx, dx
je 0x408132
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408136
add eax, 4
add ecx, 4
test dx, dx
jne 0x408110
xor eax, eax
jmp 0x40813b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408249
cmp dword [edi - 0xc], 0
mov esi, dword [edi - 0x10]
lea eax, [edi - 0x10]
je 0x408196
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x408170
cmp dword [edi - 8], 0
jl 0x4082a3
xor ecx, ecx
mov dword [edi - 0xc], 0
mov word [edi], cx
jmp 0x408196
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
add eax, 0x1f
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jb 0x408080
lea eax, [edi - 0x10]
mov byte [esp + 0xa4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4081cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa4], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0xa4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40821b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.004280b8
add esp, 0x94
ret 4
mov esi, 0xd
mov edi, edi
mov ecx, dword [esp + 0x24]
movsx eax, byte [esi + ecx]
movzx edx, byte [esp + esi + 0x38]
xor eax, edx
sub eax, 0x30
push eax
lea eax, [esp + 0x24]
push 0x447080
push eax
call fcn.00409bd0
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [esp + 0x28]
add esp, 0xc
push eax
push ebp
call fcn.004094f0
inc esi
cmp esi, 0x1f
jb 0x408250
mov ecx, dword [esp + 0x1c]
push str._R6_
push 8
push ecx
call fcn.00408e30
jmp 0x4081ab
push 0x80070057
call fcn.00401630
int3