Function at 0x3002a84d
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 0x3002a8b6
mov eax, dword [0x3009a790]
test byte [eax + 0x38], 0x40
mov dword [ebp - 0xcc], edx
jne 0x3002a8bc
mov dword [ebp - 0xcc], ebx
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x14], ebx
jg 0x3002a8cf
mov dword [0x300a25f4], edx
jmp 0x3002b834
cmp dword [0x3009c71c], ebx
je 0x3002a8da
mov dword [esi + 0x28], edx
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x3002a8e6
cmp dword [esi + 0x40], ebx
je 0x3002a8ff
cmp dword [esi + 0x24], ebx
jne 0x3002b821
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x3002a8ff
cmp word [eax], bx
jne 0x3002b821
cmp ecx, ebx
je 0x3002a94b
mov eax, dword [esi]
cmp eax, ebx
je 0x3002a90d
cmp byte [eax], bl
jne 0x3002a934
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002a918
cmp byte [eax], bl
jne 0x3002a934
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3002a924
cmp word [eax], bx
jne 0x3002a934
cmp dword [esi + 0x28], ebx
jne 0x3002a934
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002a94b
cmp byte [eax], bl
je 0x3002a94b
call fcn.30022c4c
test eax, eax
je 0x3002b834
push 0x300040d8
jmp 0x3002b82f
cmp dword [0x300a25e8], ebx
je 0x3002a96f
cmp dword [esi + 0x28], ebx
je 0x3002a96f
call fcn.30022c4c
test eax, eax
je 0x3002b834
push 0x300040a8
jmp 0x3002b82f
cmp dword [0x3009c728], 5
jne 0x3002a9ad
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x3002b834
cmp dword [esi + 0x28], ebx
jne 0x3002a9a4
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002a9a4
cmp word [eax], bx
je 0x3002a9a4
push ecx
push eax
call fcn.30025df5
test eax, eax
jne 0x3002a9aa
jmp 0x3002b834
mov dword [ebp - 0xd0], edx
mov dword [ebp + 0x7c], ebx
mov eax, dword [esi]
cmp eax, ebx
push edi
je 0x3002a9ea
jmp 0x3002a9e6
cmp byte [eax], bl
mov edi, eax
je 0x3002a9c6
cmp byte [edi], 0x3b
je 0x3002a9c6
inc edi
cmp byte [edi], bl
jne 0x3002a9bc
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002a9dc
call fcn.3002861c
mov eax, edi
jmp 0x3002a9e6
mov byte [edi], bl
call fcn.3002861c
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002a9b6
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002aa28
jmp 0x3002aa24
cmp byte [eax], bl
mov edi, eax
je 0x3002aa03
cmp byte [edi], 0x3b
je 0x3002aa03
inc edi
cmp byte [edi], bl
jne 0x3002a9f9
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002aa1a
call fcn.3002861c
mov eax, edi
jmp 0x3002aa24
mov byte [edi], bl
call fcn.3002861c
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002a9f3
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x3002aa81
cmp word [eax], bx
jbe 0x3002aa81
push eax
call fcn.3002828c
cmp eax, ebx
mov dword [ebp - 0xc8], eax
jle 0x3002aa81
inc dword [ebp - 0xc8]
push 0x106
push dword [ebp - 0xc8]
call fcn.3005408c
cmp eax, ebx
mov dword [ebp - 0xe4], eax
je 0x3002aa7b
push dword [ebp - 0xc8]
push eax
push dword [ebp - 0xc4]
call fcn.300282cc
jmp 0x3002aa81
mov dword [ebp - 0xc8], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002aa99
cmp byte [eax], bl
je 0x3002aa99
lea ecx, [ebp - 0xdc]
push ecx
push eax
call fcn.30027ce1
cmp dword [esi + 0x24], ebx
je 0x3002aaae
cmp dword [ebp + 0x78], ebx
je 0x3002aaae
lea eax, [ebp + 0x78]
push eax
call fcn.30028dc2
jmp 0x3002aab1
mov dword [ebp + 0x78], ebx
lea edi, [esi + 0xc]
push edi
call fcn.30028e95
test eax, eax
je 0x3002b774
lea eax, [esi + 0x10]
push eax
call fcn.30028e95
test eax, eax
je 0x3002b774
mov eax, dword [edi]
cmp eax, ebx
je 0x3002ad27
push 0x3b
push eax
call fcn.300219ca
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.30022db3
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xe8], edi
je 0x3002ac42
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 0x3002ac2a
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 0x3002ac1e
push 0x30002850
push dword [ebp - 0xb4]
call fcn.30022638
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.3005408c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb8]
call fcn.3004fcea
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002ad67
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 0x3002ad67
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055a89
test eax, eax
je 0x3002ad67
push dword [ebp - 0xb8]
call fcn.30053fa1
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 0x3002ad00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
call fcn.30022638
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.3005408c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004fcea
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002ad94
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 0x3002ad94
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055a89
test eax, eax
je 0x3002ad94
push dword [ebp - 0xbc]
call fcn.30053fa1
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.300219ca
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002aaeb
cmp dword [ebp + 0x78], ebx
je 0x3002b036
cmp dword [esi + 0x24], ebx
je 0x3002b05c
push dword [ebp + 0x78]
call fcn.3004e99c
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005408c
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002ad9c
mov dword [ebp - 0xac], ebx
jmp 0x3002b724
push dword [ebp - 0xb8]
mov dword [ebp - 0xac], ebx
call fcn.30053fa1
cmp dword [ebp - 0xa8], ebx
je 0x3002b774
push dword [ebp - 0xa8]
call fcn.30053fa1
jmp 0x3002b774
push dword [ebp - 0xbc]
jmp 0x3002ad6d
push edi
push dword [ebp - 0xb4]
push dword [ebp + 0x78]
call fcn.3004fcc8
push 0x7c
push dword [ebp - 0xb4]
call fcn.300219ca
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.30022db3
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xd4], edi
je 0x3002af15
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 0x3002aefd
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 0x3002aef1
push 0x30002850
push dword [ebp - 0xb8]
call fcn.30022638
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.3005408c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xbc]
call fcn.3004fcea
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002afff
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 0x3002afff
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055a89
test eax, eax
je 0x3002afff
push dword [ebp - 0xbc]
call fcn.30053fa1
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 0x3002afcb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
call fcn.30022638
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.3005408c
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004fcea
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002b007
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 0x3002b007
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30055a89
test eax, eax
je 0x3002b007
push dword [ebp - 0xc0]
call fcn.30053fa1
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.300219ca
cmp eax, ebx
mov dword [ebp - 0xb8], eax
jne 0x3002adbe
push dword [ebp - 0xb4]
call fcn.30053fa1
jmp 0x3002b05c
push dword [ebp - 0xbc]
jmp 0x3002b00d
push dword [ebp - 0xc0]
mov dword [ebp - 0xac], ebx
call fcn.30053fa1
cmp dword [ebp - 0xa8], ebx
je 0x3002b02b
push dword [ebp - 0xa8]
call fcn.30053fa1
push dword [ebp - 0xb4]
jmp 0x3002ad8a
cmp dword [ebp - 0xc8], ebx
jg 0x3002b05c
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x3002b04d
cmp word [eax], bx
ja 0x3002b05c
cmp dword [esi + 0x28], ebx
jne 0x3002b05c
cmp dword [esi + 0xc], ebx
jne 0x3002b05c
cmp dword [esi + 0x10], ebx
je 0x3002b0ac
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.300287d6
test eax, eax
je 0x3002b774
cmp dword [0x3009c3b0], ebx
je 0x3002b3a5
cmp dword [0x300a25cc], ebx
jne 0x3002b0ac
cmp dword [0x3009c728], 5
je 0x3002b3ae
xor eax, eax
inc eax
cmp dword [ebp - 0xcc], ebx
mov dword [ebp - 0xac], eax
mov dword [esi + 0x3c], eax
je 0x3002b0f3
mov ecx, dword [0x300a2648]
cmp ecx, ebx
je 0x3002b0f3
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.3002666d
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.3002e863
test eax, eax
je 0x3002ad5c
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 0x3002b133
mov dword [ebp - 0xd8], 1
cmp dword [esi + 0x28], ebx
je 0x3002b146
cmp dword [ebp - 0xd0], ebx
jne 0x3002b146
inc dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], ebx
je 0x3002b153
call fcn.3001b3d4
mov dword [0x30097ad8], ebx
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
je 0x3002b276
mov dword [0x30097ad8], 1
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
mov dword [ebp + 0x74], ebx
jbe 0x3002b266
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.3004e915
inc eax
push eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.30052e0e
test eax, eax
je 0x3002ad5c
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.300225c1
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.3002e951
test eax, eax
push dword [ebp - 0xb4]
je 0x3002b3de
call fcn.30052f09
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 0x3002b181
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xec], 1
mov dword [0x30097ad8], ebx
cmp dword [0x3009c728], 5
je 0x3002b2c1
lea eax, [ebp - 0xe0]
push eax
call fcn.30028d6f
test eax, eax
je 0x3002b2c1
push dword [ebp - 0xe0]
call fcn.3004e915
inc eax
push eax
push dword [ebp - 0xe0]
push 0x3000409c
call fcn.3002e951
test eax, eax
je 0x3002ad5c
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xc4], ebx
je 0x3002b2e7
push dword [ebp - 0xc8]
push dword [ebp - 0xe4]
call fcn.300286b8
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xdc], ebx
je 0x3002b307
push dword [ebp - 0xdc]
call fcn.300286de
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 0x3002b44a
push 0x3b
push eax
call fcn.300219ca
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 0x3002b3ee
push 0x106
push eax
call fcn.3005408c
cmp eax, ebx
mov dword [ebp - 0xb8], eax
je 0x3002b361
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.30022638
push dword [ebp + 0x78]
mov esi, eax
push dword [ebp - 0xb8]
push esi
call fcn.3002e951
test eax, eax
push esi
je 0x3002b6fe
call fcn.30053fa1
push dword [ebp - 0xb8]
jmp 0x3002b422
cmp dword [esi + 0x30], ebx
jne 0x3002b0ac
push esi
push 0x3001dedc
push dword [0x300a2604]
push 0x6d
push dword [0x30066570]
call fcn.3001a130
test eax, eax
jne 0x3002b0ac
mov eax, dword [ebp + 0x74]
mov dword [eax + 8], 1
jmp 0x3002b774
mov dword [ebp - 0xac], ebx
call fcn.30052f09
jmp 0x3002b724
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30004094
push esi
mov dword [ebp - 0xd4], eax
call fcn.30022638
mov edi, eax
push 4
lea eax, [ebp - 0xd4]
push eax
push edi
mov byte [edi], 0x21
call fcn.3002e951
test eax, eax
push edi
je 0x3002b6fe
call fcn.30053fa1
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.300219ca
mov esi, eax
cmp esi, ebx
jne 0x3002b31e
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x30], ebx
je 0x3002b474
lea eax, [esi + 0x18]
push eax
call fcn.3002ea0e
test eax, eax
je 0x3002ad5c
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 0x3002b724
cmp dword [ebp - 0xd0], ebx
jne 0x3002b724
cmp dword [0x3009c728], ebx
jne 0x3002b516
cmp dword [0x3009ac6c], ebx
jne 0x3002b4ba
mov dword [ebp - 0xac], ebx
call fcn.30022c4c
test eax, eax
je 0x3002b724
push 0x30004070
jmp 0x3002b71f
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 0x3002b4f1
mov eax, 0x30004054
push dword [0x3009ac70]
push dword [0x3009ac6c]
push eax
call fcn.3002e951
test eax, eax
jne 0x3002b6a3
mov dword [ebp - 0xac], ebx
jmp 0x3002b6d2
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002b70b
cmp word [eax], bx
je 0x3002b70b
push eax
call fcn.3004e99c
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005408c
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xbc], esi
jne 0x3002b56a
mov dword [ebp - 0xac], ebx
call fcn.30022c4c
test eax, eax
je 0x3002b724
push 0x30004028
jmp 0x3002b71f
push edi
push esi
push dword [ebp + 0x7c]
call fcn.3004fcc8
push 0x7c
push esi
call fcn.30023205
push 0x7c
inc eax
push esi
mov dword [ebp + 0x7c], eax
mov dword [0x30097ad8], 1
call fcn.300219ca
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.30022db3
cmp eax, 0xffffffff
mov dword [ebp - 0xc0], eax
je 0x3002b6e2
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 0x3002b665
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 0x3002b659
push 0x30002850
push dword [ebp - 0xd0]
call fcn.30022638
mov esi, eax
cmp esi, ebx
je 0x3002b647
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.3002e951
test eax, eax
push esi
je 0x3002b6bc
call fcn.30053fa1
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 0x3002b6e2
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.300219ca
cmp eax, ebx
mov dword [ebp - 0xd0], eax
jne 0x3002b598
push esi
call fcn.30053fa1
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 0x3002b724
mov dword [ebp - 0xac], ebx
call fcn.30053fa1
push dword [ebp - 0xbc]
call fcn.30053fa1
call fcn.30022c4c
test eax, eax
je 0x3002b724
push 0x30004004
jmp 0x3002b71f
call fcn.30022c4c
test eax, eax
je 0x3002b6fd
push dword [ebp - 0xd0]
push 0x30003fe0
call fcn.30022d69
pop ecx
pop ecx
push esi
mov dword [ebp - 0xac], ebx
call fcn.30053fa1
jmp 0x3002b724
mov dword [ebp - 0xac], ebx
call fcn.30022c4c
test eax, eax
je 0x3002b724
push 0x30003fb8
call fcn.30022ce6
mov esi, dword [ebp + 0x70]
push dword [ebp - 0xac]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.3002ea40
test eax, eax
je 0x3002b746
cmp dword [ebp - 0xac], ebx
jne 0x3002b763
call fcn.30022c4c
test eax, eax
je 0x3002b759
push 0x30003fa0
call fcn.30022ce6
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 0x3002b79f
xor edi, edi
cmp word [esi], bx
jbe 0x3002b799
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 0x3002b785
push esi
call fcn.3005588f
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
pop edi
je 0x3002b7d5
xor esi, esi
cmp word [eax], bx
jbe 0x3002b7cf
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x3002b7c7
push ecx
call fcn.30053fa1
mov eax, dword [ebp - 0xc4]
movzx ecx, word [eax]
inc esi
cmp esi, ecx
jl 0x3002b7b1
push eax
call fcn.3005588f
cmp dword [ebp - 0xe4], ebx
je 0x3002b7e8
push dword [ebp - 0xe4]
call fcn.30053fa1
cmp dword [ebp - 0xe0], ebx
je 0x3002b7fb
push dword [ebp - 0xe0]
call fcn.30053fa1
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 0x3002b836
call fcn.30022c4c
test eax, eax
je 0x3002b834
push 0x30003f68
call fcn.30022ce6
xor eax, eax
mov ecx, dword [ebp + 0x64]
pop esi
pop ebx
call fcn.30062f67
add ebp, 0x68
leave
ret 0x10