Function at 0x3002a9c5
Capabilities:
Get file size
Get file version info
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x160
mov eax, dword [section..cdata]
push ebx
xor ebx, ebx
xor edx, edx
inc edx
cmp dword [0x3009c728], ebx
mov dword [ebp + 0x64], eax
push esi
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xec], ebx
jne 0x3002aa2e
mov eax, dword [0x3009a790]
test byte [eax + 0x38], 0x40
mov dword [ebp - 0xcc], edx
jne 0x3002aa34
mov dword [ebp - 0xcc], ebx
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x14], ebx
jg 0x3002aa47
mov dword [0x300a25f4], edx
jmp 0x3002b9ac
cmp dword [0x3009c71c], ebx
je 0x3002aa52
mov dword [esi + 0x28], edx
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x3002aa5e
cmp dword [esi + 0x40], ebx
je 0x3002aa77
cmp dword [esi + 0x24], ebx
jne 0x3002b999
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x3002aa77
cmp word [eax], bx
jne 0x3002b999
cmp ecx, ebx
je 0x3002aac3
mov eax, dword [esi]
cmp eax, ebx
je 0x3002aa85
cmp byte [eax], bl
jne 0x3002aaac
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002aa90
cmp byte [eax], bl
jne 0x3002aaac
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3002aa9c
cmp word [eax], bx
jne 0x3002aaac
cmp dword [esi + 0x28], ebx
jne 0x3002aaac
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002aac3
cmp byte [eax], bl
je 0x3002aac3
call fcn.30022c75
test eax, eax
je 0x3002b9ac
push 0x300040d8
jmp 0x3002b9a7
cmp dword [0x300a25e8], ebx
je 0x3002aae7
cmp dword [esi + 0x28], ebx
je 0x3002aae7
call fcn.30022c75
test eax, eax
je 0x3002b9ac
push 0x300040a8
jmp 0x3002b9a7
cmp dword [0x3009c728], 5
jne 0x3002ab25
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x3002b9ac
cmp dword [esi + 0x28], ebx
jne 0x3002ab1c
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002ab1c
cmp word [eax], bx
je 0x3002ab1c
push ecx
push eax
call fcn.30025e7f
test eax, eax
jne 0x3002ab22
jmp 0x3002b9ac
mov dword [ebp - 0xd0], edx
mov dword [ebp + 0x7c], ebx
mov eax, dword [esi]
cmp eax, ebx
push edi
je 0x3002ab62
jmp 0x3002ab5e
cmp byte [eax], bl
mov edi, eax
je 0x3002ab3e
cmp byte [edi], 0x3b
je 0x3002ab3e
inc edi
cmp byte [edi], bl
jne 0x3002ab34
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002ab54
call fcn.3002a929
mov eax, edi
jmp 0x3002ab5e
mov byte [edi], bl
call fcn.3002a929
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002ab2e
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002aba0
jmp 0x3002ab9c
cmp byte [eax], bl
mov edi, eax
je 0x3002ab7b
cmp byte [edi], 0x3b
je 0x3002ab7b
inc edi
cmp byte [edi], bl
jne 0x3002ab71
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002ab92
call fcn.3002a929
mov eax, edi
jmp 0x3002ab9c
mov byte [edi], bl
call fcn.3002a929
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002ab6b
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x3002abf9
cmp word [eax], bx
jbe 0x3002abf9
push eax
call fcn.30028389
cmp eax, ebx
mov dword [ebp - 0xc8], eax
jle 0x3002abf9
inc dword [ebp - 0xc8]
push 0x106
push dword [ebp - 0xc8]
call fcn.3005424c
cmp eax, ebx
mov dword [ebp - 0xe4], eax
je 0x3002abf3
push dword [ebp - 0xc8]
push eax
push dword [ebp - 0xc4]
call fcn.300283c9
jmp 0x3002abf9
mov dword [ebp - 0xc8], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002ac11
cmp byte [eax], bl
je 0x3002ac11
lea ecx, [ebp - 0xdc]
push ecx
push eax
call fcn.30027ddc
cmp dword [esi + 0x24], ebx
je 0x3002ac26
cmp dword [ebp + 0x78], ebx
je 0x3002ac26
lea eax, [ebp + 0x78]
push eax
call fcn.30028b74
jmp 0x3002ac29
mov dword [ebp + 0x78], ebx
lea edi, [esi + 0xc]
push edi
call fcn.30028c47
test eax, eax
je 0x3002b8ec
lea eax, [esi + 0x10]
push eax
call fcn.30028c47
test eax, eax
je 0x3002b8ec
mov eax, dword [edi]
cmp eax, ebx
je 0x3002ae9f
push 0x3b
push eax
call fcn.300219dc
mov dword [ebp - 0xb4], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp - 0xb4]
mov byte [ebp - 0xad], bl
call fcn.30022ddc
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xe8], edi
je 0x3002adba
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 0xc0], eax
je 0x3002ada2
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0xbc], eax
je 0x3002ad96
push 0x30002850
push dword [ebp - 0xb4]
call fcn.30022659
push ebx
push edi
mov dword [ebp - 0xb8], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x43
pop ecx
mov edx, eax
xor eax, eax
push 0x106
lea edi, [ebp - 0xa8]
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 0xa4], edx
call fcn.3005424c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb8]
call fcn.3004feaa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002aedf
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xbc]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xa8], ebx
je 0x3002aedf
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055c49
test eax, eax
je 0x3002aedf
push dword [ebp - 0xb8]
call fcn.30054161
push dword [ebp - 0xbc]
mov byte [ebp - 0xad], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp + 0x70]
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xad], bl
jne 0x3002ae78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
call fcn.30022659
push 0x43
pop ecx
mov esi, eax
xor eax, eax
push 4
mov byte [esi], 0x21
lea edi, [ebp - 0xa8]
rep stosd dword es:[edi], eax
pop eax
push 0x106
push eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xa4], eax
call fcn.3005424c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004feaa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002af0c
mov ecx, dword [ebp - 0xa4]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xa8], ebx
je 0x3002af0c
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055c49
test eax, eax
je 0x3002af0c
push dword [ebp - 0xbc]
call fcn.30054161
mov esi, dword [ebp + 0x70]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x3b
push ebx
call fcn.300219dc
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002ac63
cmp dword [ebp + 0x78], ebx
je 0x3002b1ae
cmp dword [esi + 0x24], ebx
je 0x3002b1d4
push dword [ebp + 0x78]
call fcn.3004eb5c
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005424c
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002af14
mov dword [ebp - 0xac], ebx
jmp 0x3002b89c
push dword [ebp - 0xb8]
mov dword [ebp - 0xac], ebx
call fcn.30054161
cmp dword [ebp - 0xa8], ebx
je 0x3002b8ec
push dword [ebp - 0xa8]
call fcn.30054161
jmp 0x3002b8ec
push dword [ebp - 0xbc]
jmp 0x3002aee5
push edi
push dword [ebp - 0xb4]
push dword [ebp + 0x78]
call fcn.3004fe88
push 0x7c
push dword [ebp - 0xb4]
call fcn.300219dc
mov dword [ebp - 0xb8], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp - 0xb8]
mov byte [ebp - 0xad], bl
call fcn.30022ddc
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xd4], edi
je 0x3002b08d
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 0xe8], eax
je 0x3002b075
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0xc0], eax
je 0x3002b069
push 0x30002850
push dword [ebp - 0xb8]
call fcn.30022659
push ebx
push edi
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x43
pop ecx
mov edx, eax
xor eax, eax
push 0x106
lea edi, [ebp - 0xa8]
rep stosd dword es:[edi], eax
push edx
mov dword [ebp - 0xa4], edx
call fcn.3005424c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xbc]
call fcn.3004feaa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002b177
mov ecx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0xc0]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xa8], ebx
je 0x3002b177
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055c49
test eax, eax
je 0x3002b177
push dword [ebp - 0xbc]
call fcn.30054161
push dword [ebp - 0xc0]
mov byte [ebp - 0xad], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp + 0x70]
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0xad], bl
jne 0x3002b143
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
call fcn.30022659
push 0x43
pop ecx
mov esi, eax
xor eax, eax
push 4
mov byte [esi], 0x21
lea edi, [ebp - 0xa8]
rep stosd dword es:[edi], eax
pop eax
push 0x106
push eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xa4], eax
call fcn.3005424c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004feaa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002b17f
mov ecx, dword [ebp - 0xa4]
mov eax, ecx
shr ecx, 2
lea esi, [ebp - 0xd4]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp - 0xa8], ebx
je 0x3002b17f
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055c49
test eax, eax
je 0x3002b17f
push dword [ebp - 0xc0]
call fcn.30054161
mov esi, dword [ebp + 0x70]
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x7c
push ebx
call fcn.300219dc
cmp eax, ebx
mov dword [ebp - 0xb8], eax
jne 0x3002af36
push dword [ebp - 0xb4]
call fcn.30054161
jmp 0x3002b1d4
push dword [ebp - 0xbc]
jmp 0x3002b185
push dword [ebp - 0xc0]
mov dword [ebp - 0xac], ebx
call fcn.30054161
cmp dword [ebp - 0xa8], ebx
je 0x3002b1a3
push dword [ebp - 0xa8]
call fcn.30054161
push dword [ebp - 0xb4]
jmp 0x3002af02
cmp dword [ebp - 0xc8], ebx
jg 0x3002b1d4
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x3002b1c5
cmp word [eax], bx
ja 0x3002b1d4
cmp dword [esi + 0x28], ebx
jne 0x3002b1d4
cmp dword [esi + 0xc], ebx
jne 0x3002b1d4
cmp dword [esi + 0x10], ebx
je 0x3002b224
push dword [ebp + 0x78]
lea eax, [esi + 0x38]
push dword [esi + 0x28]
push eax
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebp - 0xdc]
push dword [ebp - 0xc8]
push dword [ebp - 0xe4]
call fcn.30028588
test eax, eax
je 0x3002b8ec
cmp dword [0x3009c3b0], ebx
je 0x3002b51d
cmp dword [0x300a25cc], ebx
jne 0x3002b224
cmp dword [0x3009c728], 5
je 0x3002b526
xor eax, eax
inc eax
cmp dword [ebp - 0xcc], ebx
mov dword [ebp - 0xac], eax
mov dword [esi + 0x3c], eax
je 0x3002b26b
mov ecx, dword [0x300a2648]
cmp ecx, ebx
je 0x3002b26b
xor eax, eax
lea edi, [ebp - 0xf8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf4], eax
push 0xc
lea eax, [ebp - 0xf8]
push eax
push ecx
call fcn.300266f7
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.3002ea0d
test eax, eax
je 0x3002aed4
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
je 0x3002b2ab
mov dword [ebp - 0xd8], 1
cmp dword [esi + 0x28], ebx
je 0x3002b2be
cmp dword [ebp - 0xd0], ebx
jne 0x3002b2be
inc dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], ebx
je 0x3002b2cb
call fcn.3001b3d4
mov dword [0x30097ad8], ebx
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
je 0x3002b3ee
mov dword [0x30097ad8], 1
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
mov dword [ebp + 0x74], ebx
jbe 0x3002b3de
mov dword [ebp + 0x78], ebx
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x78]
lea eax, [eax + ecx + 8]
push eax
call fcn.3004ead5
inc eax
push eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.30052fce
test eax, eax
je 0x3002aed4
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x78]
mov ecx, dword [ebp - 0xcc]
mov edi, dword [ebp - 0xb4]
lea esi, [eax + edx + 8]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push dword [ebp - 0xb4]
call fcn.300225de
mov edi, dword [ebp + 0x70]
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 0xc]
mov esi, dword [ebp + 0x78]
push dword [ecx + esi + 4]
movzx eax, word [eax]
push eax
push dword [ebp + 0x74]
push dword [ebp - 0xd8]
push ebx
call fcn.3001b417
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0xc]
add eax, esi
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0xb4]
call fcn.3002eafb
test eax, eax
push dword [ebp - 0xb4]
je 0x3002b556
call fcn.300530c9
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
inc dword [ebp + 0x74]
add dword [ebp + 0x78], 0x10c
mov esi, edi
mov eax, dword [esi + 0x2c]
movzx eax, word [eax]
cmp dword [ebp + 0x74], eax
jl 0x3002b2f9
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xec], 1
mov dword [0x30097ad8], ebx
cmp dword [0x3009c728], 5
je 0x3002b439
lea eax, [ebp - 0xe0]
push eax
call fcn.30028b21
test eax, eax
je 0x3002b439
push dword [ebp - 0xe0]
call fcn.3004ead5
inc eax
push eax
push dword [ebp - 0xe0]
push 0x3000409c
call fcn.3002eafb
test eax, eax
je 0x3002aed4
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xc4], ebx
je 0x3002b45f
push dword [ebp - 0xc8]
push dword [ebp - 0xe4]
call fcn.3002846a
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xdc], ebx
je 0x3002b47f
push dword [ebp - 0xdc]
call fcn.30028490
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [esi + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x3002b5c2
push 0x3b
push eax
call fcn.300219dc
mov esi, eax
lea eax, [ebp + 0x74]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp + 0x78], eax
jle 0x3002b566
push 0x106
push eax
call fcn.3005424c
cmp eax, ebx
mov dword [ebp - 0xb8], eax
je 0x3002b4d9
mov ecx, dword [ebp + 0x78]
mov edi, dword [ebp - 0xb8]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp - 0xb8]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
push 0x30004094
push esi
call fcn.30022659
push dword [ebp + 0x78]
mov esi, eax
push dword [ebp - 0xb8]
push esi
call fcn.3002eafb
test eax, eax
push esi
je 0x3002b876
call fcn.30054161
push dword [ebp - 0xb8]
jmp 0x3002b59a
cmp dword [esi + 0x30], ebx
jne 0x3002b224
push esi
push 0x3001dedc
push dword [0x300a2604]
push 0x6d
push dword [0x30066570]
call fcn.3001a130
test eax, eax
jne 0x3002b224
mov eax, dword [ebp + 0x74]
mov dword [eax + 8], 1
jmp 0x3002b8ec
mov dword [ebp - 0xac], ebx
call fcn.300530c9
jmp 0x3002b89c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30004094
push esi
mov dword [ebp - 0xd4], eax
call fcn.30022659
mov edi, eax
push 4
lea eax, [ebp - 0xd4]
push eax
push edi
mov byte [edi], 0x21
call fcn.3002eafb
test eax, eax
push edi
je 0x3002b876
call fcn.30054161
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x3b
push ebx
call fcn.300219dc
mov esi, eax
cmp esi, ebx
jne 0x3002b496
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x30], ebx
je 0x3002b5ec
lea eax, [esi + 0x18]
push eax
call fcn.3002ebb8
test eax, eax
je 0x3002aed4
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [esi + 0x28], ebx
je 0x3002b89c
cmp dword [ebp - 0xd0], ebx
jne 0x3002b89c
cmp dword [0x3009c728], ebx
jne 0x3002b68e
cmp dword [0x3009ac6c], ebx
jne 0x3002b632
mov dword [ebp - 0xac], ebx
call fcn.30022c75
test eax, eax
je 0x3002b89c
push 0x30004070
jmp 0x3002b897
push dword [0x3009ac70]
xor esi, esi
inc esi
push esi
push ebx
push dword [ebp - 0xd8]
push dword [ebp - 0xec]
call fcn.3001b417
mov eax, dword [0x3009a790]
mov dword [0x30097ad8], esi
test byte [eax + 0x38], 0x20
mov eax, 0x30004060
jne 0x3002b669
mov eax, 0x30004054
push dword [0x3009ac70]
push dword [0x3009ac6c]
push eax
call fcn.3002eafb
test eax, eax
jne 0x3002b81b
mov dword [ebp - 0xac], ebx
jmp 0x3002b84a
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002b883
cmp word [eax], bx
je 0x3002b883
push eax
call fcn.3004eb5c
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005424c
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xbc], esi
jne 0x3002b6e2
mov dword [ebp - 0xac], ebx
call fcn.30022c75
test eax, eax
je 0x3002b89c
push 0x30004028
jmp 0x3002b897
push edi
push esi
push dword [ebp + 0x7c]
call fcn.3004fe88
push 0x7c
push esi
call fcn.3002322e
push 0x7c
inc eax
push esi
mov dword [ebp + 0x7c], eax
mov dword [0x30097ad8], 1
call fcn.300219dc
mov dword [ebp - 0xd0], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push eax
mov byte [ebp + 0x7b], bl
call fcn.30022ddc
cmp eax, 0xffffffff
mov dword [ebp - 0xc0], eax
je 0x3002b85a
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 0xd4], eax
je 0x3002b7dd
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0xcc], eax
je 0x3002b7d1
push 0x30002850
push dword [ebp - 0xd0]
call fcn.30022659
mov esi, eax
cmp esi, ebx
je 0x3002b7bf
push ebx
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push dword [ebp + 0x7c]
push ebx
push dword [ebp - 0xd8]
push dword [ebp - 0xec]
call fcn.3001b417
push edi
push dword [ebp - 0xcc]
push esi
call fcn.3002eafb
test eax, eax
push esi
je 0x3002b834
call fcn.30054161
mov byte [ebp + 0x7b], 1
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [ebp - 0xbc]
push dword [ebp - 0xd4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x7b], bl
je 0x3002b85a
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x7c
push ebx
call fcn.300219dc
cmp eax, ebx
mov dword [ebp - 0xd0], eax
jne 0x3002b710
push esi
call fcn.30054161
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [0x30097ad8], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x3002b89c
mov dword [ebp - 0xac], ebx
call fcn.30054161
push dword [ebp - 0xbc]
call fcn.30054161
call fcn.30022c75
test eax, eax
je 0x3002b89c
push 0x30004004
jmp 0x3002b897
call fcn.30022c75
test eax, eax
je 0x3002b875
push dword [ebp - 0xd0]
push 0x30003fe0
call fcn.30022d92
pop ecx
pop ecx
push esi
mov dword [ebp - 0xac], ebx
call fcn.30054161
jmp 0x3002b89c
mov dword [ebp - 0xac], ebx
call fcn.30022c75
test eax, eax
je 0x3002b89c
push 0x30003fb8
call fcn.30022d0f
mov esi, dword [ebp + 0x70]
push dword [ebp - 0xac]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.3002ebea
test eax, eax
je 0x3002b8be
cmp dword [ebp - 0xac], ebx
jne 0x3002b8db
call fcn.30022c75
test eax, eax
je 0x3002b8d1
push 0x30003fa0
call fcn.30022d0f
mov dword [edi], ebx
mov dword [esi], ebx
mov dword [ebp - 0xac], ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov esi, dword [ebp - 0xdc]
cmp esi, ebx
je 0x3002b917
xor edi, edi
cmp word [esi], bx
jbe 0x3002b911
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
movzx eax, word [esi]
inc edi
cmp edi, eax
jl 0x3002b8fd
push esi
call fcn.30055a4f
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
pop edi
je 0x3002b94d
xor esi, esi
cmp word [eax], bx
jbe 0x3002b947
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x3002b93f
push ecx
call fcn.30054161
mov eax, dword [ebp - 0xc4]
movzx ecx, word [eax]
inc esi
cmp esi, ecx
jl 0x3002b929
push eax
call fcn.30055a4f
cmp dword [ebp - 0xe4], ebx
je 0x3002b960
push dword [ebp - 0xe4]
call fcn.30054161
cmp dword [ebp - 0xe0], ebx
je 0x3002b973
push dword [ebp - 0xe0]
call fcn.30054161
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0xffffffffffffffff
push 0xffffffffffffffff
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
push 0x20
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov eax, dword [ebp - 0xac]
jmp 0x3002b9ae
call fcn.30022c75
test eax, eax
je 0x3002b9ac
push 0x30003f68
call fcn.30022d0f
xor eax, eax
mov ecx, dword [ebp + 0x64]
pop esi
pop ebx
call fcn.30063125
add ebp, 0x68
leave
ret 0x10