Function at 0x100034b0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
add eax, 0xfffffb7a
mov edx, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x10]
add edx, 0xfffffb26
push ebp
mov ebp, dword [esp + 0x20]
add ebx, 0xffffbcd0
mov dword [esp + 0x20], eax
add ebp, 0xffffc3fc
mov eax, dword [esp + 0x1c]
push esi
push edi
mov edi, dword [esp + 0x40]
lea esi, [eax - 0x430]
add edi, 0xfffff99d
mov dword [esp + 0x18], esi
add eax, 0xffffffd8
mov esi, dword [esp + 0x38]
add esi, 0xfffffbf4
mov dword [esp + 0x2c], eax
lea eax, [ecx - 0x968]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x3c]
cmp dword [esp + 0x28], eax
je 0x10003674
lea eax, [edx - 0x364]
cmp dword [esp + 0x2c], eax
jl 0x10003674
lea eax, [ebp + 0x3e56]
cmp edx, eax
jne 0x100035a9
lea eax, [ecx - 0x364]
push eax
lea eax, [ebp + 0x3879]
mov ebp, dword [esp + 0x30]
push eax
push dword [esp + 0x30]
lea eax, [ecx - 0x74e]
push eax
lea eax, [edi + 0x104]
push eax
lea eax, [edi - 0xcd]
push eax
lea eax, [ebx + 0x3708]
push eax
lea eax, [edi - 0x64a]
push eax
lea eax, [ecx + 0x285]
push esi
push eax
lea eax, [ebp - 0x273]
push eax
call fcn.100110c0
mov eax, dword [esi + 0x4c]
add esp, 0x2c
mov eax, dword [eax + 0x50]
add eax, 0xfff
and eax, 0xfffff000
mov dword [esi + 0xd4], eax
jmp 0x10003678
mov eax, dword [esi + 0x98]
or eax, dword [esi + 4]
imul eax, ebx
cmp edx, eax
ja 0x1000365c
mov ecx, dword [esi + 0xa0]
lea eax, [ebx + ebp]
sub dword [esi + 0x128], eax
mov eax, ebx
or eax, 0x3af2
xor eax, ecx
or dword [esi + 0x1ec], eax
mov eax, dword [esp + 0x38]
add eax, 0xffff8955
push eax
imul eax, ecx, 0x3712
push eax
mov eax, dword [esp + 0x20]
and eax, dword [esp + 0x30]
push eax
mov eax, dword [esi + 0xf4]
sub eax, dword [esp + 0x38]
add eax, 0x3c04
push eax
mov eax, dword [esi + 0x158]
or eax, dword [esp + 0x38]
push esi
push eax
mov eax, dword [esi + 0x60]
imul eax, ebx
push eax
mov eax, dword [esi + 0x1cc]
xor eax, ebp
push eax
imul eax, edx, 0x3712
sub eax, dword [esp + 0x3c]
or eax, edx
add eax, dword [esi + 0x134]
push eax
call fcn.10012c90
mov ebp, dword [esp + 0x50]
add esp, 0x24
mov eax, ebp
and eax, dword [esp + 0x1c]
or dword [esi + 0x174], eax
mov eax, dword [esi + 0x1cc]
xor eax, dword [esi + 0x70]
xor eax, edi
mov dword [esi + 0x70], eax
jmp 0x10003678
mov eax, dword [esi + 0x134]
sub eax, 0x3af2
imul eax, dword [esi + 0x1f8]
mov dword [esi + 0x1f8], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
add eax, 0xcd
cmp edi, eax
je 0x100037e9
push 0x40
push 0x3000
push dword [esi + 0xd4]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esi + 0x44], eax
add dword [esi + 0x1cc], 0xc97
push dword [esi + 0xd4]
push 0
push eax
call fcn.10006060
mov eax, dword [esi + 0x7c]
add esp, 0xc
cmp eax, dword [esi + 0x1c0]
jb 0x100036d1
mov dword [esi + 0xf4], 0x3e56
mov eax, dword [esi + 0x4c]
push dword [eax + 0x54]
push dword [esi + 0x34]
push dword [esi + 0x44]
call fcn.10005ae0
mov eax, dword [esi + 0x174]
add esp, 0xc
mov ebx, dword [eax + 0x1c0]
movzx eax, word [esi + 0x54]
xor ebx, 0x34ef
cmp ebx, eax
jge 0x100037e9
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x5c]
mov edi, dword [eax + 0xc]
mov eax, dword [esi + 0x4c]
sub edi, 0x4309
imul edi, ebx
mov ecx, dword [eax + 0x3c]
add edi, edx
mov edx, dword [edx + 0x10]
dec edx
lea eax, [ecx - 1]
add edx, ecx
not eax
test eax, edx
je 0x100037dc
cmp dword [edi + 0x14], 0
je 0x100037dc
cmp dword [edi + 0x10], 0
je 0x100037dc
mov eax, dword [esi + 0x174]
mov edx, 0x34ee
imul eax, dword [eax + 0x30], 0xfdcd8f1a
cmp eax, edx
je 0x10003786
nop word [eax + eax]
mov ecx, dword [esi + 4]
inc edx
mov eax, dword [esi + 0x148]
sub eax, 0x410b
or dword [ecx + 0x190], eax
mov eax, dword [esi + 0x174]
imul eax, dword [eax + 0x30], 0xfdcd8f1a
cmp edx, eax
jne 0x10003760
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x58]
or eax, 0x3c04
sub dword [ecx + 0x50], eax
push dword [edi + 0x10]
mov eax, dword [edi + 0x14]
add eax, dword [esi + 0x34]
push eax
mov eax, dword [edi + 0xc]
add eax, dword [esi + 0x44]
push eax
call fcn.10005ae0
mov eax, dword [esi + 4]
mov edx, 0x3d52
add esp, 0xc
imul eax, dword [eax + 0x30], 0x9c8d68c1
cmp eax, edx
je 0x100037dc
imul ecx, dword [esi + 0x14], 0x3d52
inc edx
mov eax, dword [esi + 8]
mov dword [eax + 0x40], ecx
mov eax, dword [esi + 4]
imul eax, dword [eax + 0x30], 0x9c8d68c1
cmp edx, eax
jne 0x100037c0
movzx eax, word [esi + 0x54]
inc ebx
cmp ebx, eax
jl 0x10003703
pop edi
pop esi
lea eax, [ebp - 0x408]
pop ebp
pop ebx
ret