Function at 0x402272
Capabilities:
Encode data using xor
Link many functions at runtime

Disassembly:
push 0x120
mov eax, 0x43578a
call fcn.0041daaa
mov dword [ebp - 0x84], edx
mov ebx, ecx
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x98]
mov esi, str.wUEAIN
mov dword [ebp - 0x70], ebx
push 0x33
mov dword [ebp - 0x80], eax
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x98], dl
inc ecx
cmp ecx, 0xb
jl 0x4022aa
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp byte [0x441143], 0
lea edi, [ebp - 0x10c]
push 7
pop ecx
mov esi, str.wuEAINtLXP__1_1.
mov dword [ebp - 0x6c], eax
rep movsd dword es:[edi], dword [esi]
je 0x402307
push 0x33
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x10c], dl
inc ecx
cmp ecx, 0x1c
jl 0x4022ee
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x441125], 0
lea edi, [ebp - 0xd4]
mov esi, str.wuEAINhYInM_110_F
mov dword [ebp - 0x70], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x40234d
push 0x33
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0xd4], dl
inc ecx
cmp ecx, 0x12
jl 0x402337
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 6
pop ecx
mov esi, str.wuEAINYS_M_5
mov dword [ebp - 0x7c], eax
lea edi, [ebp - 0xf0]
rep movsd dword es:[edi], dword [esi]
push 0x33
xor ecx, ecx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0xf0], dl
inc ecx
cmp ecx, 0x1b
jl 0x402378
lea eax, [ebp - 0xf0]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x440b09], 0
lea edi, [ebp - 0xa8]
mov esi, 0x440afc
mov dword [ebp - 0x74], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x4023d5
push 0x33
xor ecx, ecx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0xa8], dl
inc ecx
cmp ecx, 0xe
jl 0x4023bf
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.wuEAIN
mov dword [ebp - 0x88], eax
lea edi, [ebp - 0xc0]
push 0x33
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
xor edx, edx
mov eax, esi
div ecx
add dl, 0x35
xor byte [ebp + esi - 0xc0], dl
inc esi
cmp esi, 0x11
jl 0x402400
lea eax, [ebp - 0xc0]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 7
pop ecx
mov esi, str.wuEAINxPRMZ
mov dword [ebp - 0x78], eax
lea edi, [ebp - 0x12c]
rep movsd dword es:[edi], dword [esi]
push 0x33
xor ecx, ecx
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x35
xor byte [ebp + ecx - 0x12c], dl
inc ecx
cmp ecx, 0x1d
jl 0x40243f
mov esi, dword [ebp - 0x6c]
lea eax, [ebp - 0x12c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x70]
mov edi, eax
mov dword [ebp - 0x8c], edi
test ecx, ecx
je 0x4024d2
cmp dword [ebp - 0x7c], 0
je 0x4024d2
cmp dword [ebp - 0x74], 0
je 0x4024d2
cmp dword [ebp - 0x88], 0
je 0x4024d2
cmp dword [ebp - 0x78], 0
je 0x4024d2
test edi, edi
je 0x4024d2
mov eax, dword [ebp - 0x80]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x4024d2
push 0
push 0
push 0x440a8c
lea eax, [ebp - 0x20]
push eax
call ecx
test eax, eax
jne 0x4024d2
push eax
push 0x20
push str.ChainingModeGCM
push str.ChainingMode
push dword [ebp - 0x20]
call dword [ebp - 0x7c]
test eax, eax
je 0x4024f7
push 0
push dword [ebp - 0x20]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
mov eax, ebx
call fcn.0041da59
ret
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x14], 0xf
jbe 0x402502
mov eax, dword [eax]
xor ecx, ecx
push ecx
push dword [ebp - 0x70]
push eax
push ecx
push ecx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
call dword [ebp - 0x74]
test eax, eax
jne 0x4024cb
push 0x40
pop esi
push esi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041ecf0
mov ecx, dword [ebp - 0x84]
add esp, 0xc
mov dword [ebp - 0x68], esi
mov eax, ecx
mov dword [ebp - 0x64], 1
cmp dword [ecx + 0x14], 0xf
jbe 0x402544
mov eax, dword [ecx]
add eax, 3
mov dword [ebp - 0x5c], 0xc
cmp dword [ecx + 0x14], 0xf
mov edx, ecx
mov dword [ebp - 0x60], eax
jbe 0x40255b
mov edx, dword [ecx]
lea eax, [ecx + 0x10]
mov dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x74], eax
lea edi, [ebp - 0x1c]
mov eax, dword [eax]
add eax, 0xfffffff0
add eax, edx
mov dword [ebp - 0x50], eax
xor eax, eax
stosd dword es:[edi], eax
push 0x400
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.004027ef
mov dword [esp], 0x400
push edi
push eax
lea esi, [eax + 0x400]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.0041ecf0
add esp, 0xc
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], edi
call fcn.00402797
mov edx, dword [ebp - 0x84]
xor ecx, ecx
push 0xf
mov dword [ebp - 4], ecx
pop esi
mov dword [ebp - 0x28], ecx
cmp dword [edx + 0x14], esi
jbe 0x4025d2
mov edx, dword [edx]
push ecx
lea eax, [ebp - 0x28]
push eax
push 0x400
push dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
push ecx
push ecx
push eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
sub eax, 0x1f
push eax
lea eax, [edx + 0xf]
push eax
push dword [ebp - 0x24]
call dword [ebp - 0x88]
push dword [ebp - 0x24]
test eax, eax
je 0x402649
call dword [ebp - 0x78]
push 0
push dword [ebp - 0x20]
call dword [ebp - 0x8c]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
mov byte [ebx], al
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4024ef
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
call fcn.0040274d
pop ecx
pop ecx
jmp 0x4024ef
call dword [ebp - 0x78]
xor esi, esi
push esi
push dword [ebp - 0x20]
call dword [ebp - 0x8c]
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x28]
xor eax, eax
mov edi, ebx
push dword [ebp - 0x1c]
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
call fcn.004026d7
jmp 0x40262b