Function at 0x100071c0
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
lea edx, [eax - 0x7f]
add ebx, 0xfffff8c0
push ebp
mov ebp, dword [esp + 0x38]
add eax, 0xfffffcdd
push esi
mov dword [esp + 0x28], eax
lea esi, [ecx + 0x4cf]
push edi
mov edi, dword [esp + 0x48]
lea eax, [ecx - 0x2f82]
mov dword [esp + 0x30], edx
add edi, 6
mov edx, dword [esp + 0x34]
add ebp, 0x5c5
mov dword [esp + 0x48], eax
add edx, 0x356
lea eax, [ebx + 0x52d]
mov dword [esp + 0x10], esi
cmp esi, eax
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x38], edx
je 0x1000749a
lea eax, [ebp - 0x5e9]
cmp ebx, eax
jle 0x100073bf
mov eax, dword [esp + 0x30]
add eax, 0xfffffe95
cmp ebp, eax
je 0x100073bf
mov eax, dword [esi + 0x70]
and eax, 0x31b0
cmp dword [esi + 0x190], eax
jb 0x100072fe
mov eax, edx
sub eax, dword [esi + 0x1b4]
or eax, ebx
cmp dword [esi + 0x174], eax
jae 0x100072e4
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 0x14c]
mov ecx, dword [esi + 0x128]
add eax, 0x32ca
or dword [esi + 0x90], eax
mov eax, ecx
mov edx, dword [esp + 0x2c]
add ecx, 0x2efc
and eax, edx
or ebp, edx
sub edx, dword [esi + 0xac]
add edi, eax
mov eax, dword [esi + 0x120]
xor ebp, 0x355c
or eax, 0x3524
push ebp
push eax
mov eax, dword [esi + 8]
add eax, ecx
push eax
mov eax, dword [esi + 0x140]
xor eax, dword [esi + 0x7c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
xor eax, ebx
sub eax, edi
add dword [esi + 0x1e8], eax
jmp 0x100073bf
mov eax, dword [esi + 0x1c4]
add eax, 0x2d9d
imul eax, dword [esi + 0x58]
or dword [esi + 0x1e8], eax
jmp 0x100073bf
mov ebp, dword [esi + 0xe0]
mov eax, ebp
or eax, ebx
or eax, 0x355c
cmp dword [esi + 0x140], eax
jne 0x100073bf
mov eax, dword [esi + 0x50]
xor eax, edi
cmp dword [esp + 0x10], eax
jb 0x100073bf
mov ecx, dword [esi + 0xf0]
mov eax, dword [esi + 0x108]
imul eax, ecx
sub eax, dword [esi + 0x178]
push eax
push esi
mov eax, edi
and edi, ebx
xor eax, dword [esp + 0x38]
and ebx, 0x3233
imul eax, ebp
mov ebp, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x3c]
add eax, 0x2d89
push eax
mov eax, dword [esi + 0x1b8]
add eax, 0x31ce
imul eax, eax, 0x3372
push eax
mov eax, dword [esi + 0x50]
xor eax, 0x3239
push eax
mov eax, dword [esi + 0xd8]
add eax, dword [esi + 0xa0]
push ebp
push eax
mov eax, dword [esi + 0x120]
add eax, ebp
push eax
mov eax, dword [esi + 0x14c]
add eax, eax
push edi
push eax
mov eax, dword [esi + 0x1e8]
xor eax, edx
push ebx
push eax
mov eax, dword [esp + 0x7c]
add eax, ecx
push eax
mov eax, dword [esi + 0xe0]
and eax, dword [esp + 0x68]
push eax
call fcn.10001d40
add esp, 0x3c
mov eax, dword [esi + 0x54]
mov edx, 0x3239
add eax, 0xf8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x84]
xor eax, 0x1fa6
cmp eax, edx
jbe 0x10007404
imul ecx, dword [esi + 0x40], 0x310f
inc edx
mov eax, dword [esi + 0x38]
mov dword [eax + 0x194], ecx
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x84]
xor eax, 0x1fa6
cmp edx, eax
jb 0x100073e1
mov eax, dword [esi + 0x54]
lea edi, [esi + 0xac]
mov ecx, 0x2d89
mov eax, dword [eax + 0x50]
add eax, 0xfff
and eax, 0xfffff000
mov dword [esi + 0xdc], eax
mov dword [esi + 0x68], edi
inc ecx
mov eax, dword [esi + 0x178]
imul eax, dword [eax + 0x1c4], 0xf5ff8eaa
cmp ecx, eax
jne 0x10007425
push 0x40
push 0x3000
push dword [esi + 0xdc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push dword [esi + 0xdc]
mov dword [esi + 0x48], eax
push 0
push eax
call fcn.10007e6b
mov eax, dword [esi + 0x38]
add esp, 0xc
mov eax, dword [eax + 0x1c4]
xor eax, 0x1c1c
cmp dword [edi], eax
je 0x10007489
mov eax, dword [esi + 0x1a4]
sub eax, 0x3451
or dword [esi + 0x1b4], eax
mov eax, dword [esp + 0x38]
pop edi
pop esi
pop ebp
add eax, 0xfffffc8c
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0x1e8]
mov ecx, dword [esi + 0xe8]
mov edx, dword [esi + 0x1a4]
xor ecx, eax
mov edi, dword [esi + 0x124]
add ecx, eax
mov eax, dword [esi + 0x58]
xor edi, edx
xor edx, dword [esp + 0x30]
xor eax, 0x3233
and eax, dword [esi + 0x1b8]
xor edx, ebx
or dword [esi + 0x68], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x38]
imul eax, dword [esi + 0x40]
imul edx, dword [esp + 0x2c]
imul edi, dword [esp + 0x14]
mov dword [esi + 0x1e8], ecx
mov ecx, dword [esi + 0xd8]
imul eax, dword [esi + 0x60]
or edx, ecx
and ecx, 0x3451
imul ecx, dword [esi + 0xa4]
push edx
mov dword [esp + 0x14], eax
mov dword [esi + 0x60], eax
lea eax, [ebx + ebx]
push eax
push ecx
mov eax, edi
and eax, 0x2f82
push eax
mov eax, dword [esi + 0x10c]
imul eax, edi
xor edi, dword [esp + 0x3c]
push esi
sub edi, ebp
or eax, dword [esi + 0x14]
push eax
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x60]
xor eax, 0x32ca
push eax
mov eax, dword [esi + 0x120]
or eax, dword [esi + 0x108]
sub eax, dword [esp + 0x48]
push eax
push edi
call fcn.10005fc0
mov eax, dword [esp + 0x5c]
add esp, 0x24
add eax, 0xfffffe3e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret