Function at 0x3002a6f8
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 [0x3009b840], 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 0x3002a761
mov eax, dword [0x300998a8]
test byte [eax + 0x38], 0x40
mov dword [ebp - 0xcc], edx
jne 0x3002a767
mov dword [ebp - 0xcc], ebx
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x14], ebx
jg 0x3002a77a
mov dword [0x300a170c], edx
jmp 0x3002b6df
cmp dword [0x3009b834], ebx
je 0x3002a785
mov dword [esi + 0x28], edx
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x3002a791
cmp dword [esi + 0x40], ebx
je 0x3002a7aa
cmp dword [esi + 0x24], ebx
jne 0x3002b6cc
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x3002a7aa
cmp word [eax], bx
jne 0x3002b6cc
cmp ecx, ebx
je 0x3002a7f6
mov eax, dword [esi]
cmp eax, ebx
je 0x3002a7b8
cmp byte [eax], bl
jne 0x3002a7df
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002a7c3
cmp byte [eax], bl
jne 0x3002a7df
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3002a7cf
cmp word [eax], bx
jne 0x3002a7df
cmp dword [esi + 0x28], ebx
jne 0x3002a7df
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002a7f6
cmp byte [eax], bl
je 0x3002a7f6
call fcn.30022b36
test eax, eax
je 0x3002b6df
push 0x300040d8
jmp 0x3002b6da
cmp dword [0x300a1700], ebx
je 0x3002a81a
cmp dword [esi + 0x28], ebx
je 0x3002a81a
call fcn.30022b36
test eax, eax
je 0x3002b6df
push 0x300040a8
jmp 0x3002b6da
cmp dword [0x3009b840], 5
jne 0x3002a858
mov ecx, dword [esi + 0x2c]
cmp ecx, ebx
je 0x3002b6df
cmp dword [esi + 0x28], ebx
jne 0x3002a84f
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002a84f
cmp word [eax], bx
je 0x3002a84f
push ecx
push eax
call fcn.30025ccd
test eax, eax
jne 0x3002a855
jmp 0x3002b6df
mov dword [ebp - 0xd0], edx
mov dword [ebp + 0x7c], ebx
mov eax, dword [esi]
cmp eax, ebx
push edi
je 0x3002a895
jmp 0x3002a891
cmp byte [eax], bl
mov edi, eax
je 0x3002a871
cmp byte [edi], 0x3b
je 0x3002a871
inc edi
cmp byte [edi], bl
jne 0x3002a867
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002a887
call fcn.300284de
mov eax, edi
jmp 0x3002a891
mov byte [edi], bl
call fcn.300284de
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002a861
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3002a8d3
jmp 0x3002a8cf
cmp byte [eax], bl
mov edi, eax
je 0x3002a8ae
cmp byte [edi], 0x3b
je 0x3002a8ae
inc edi
cmp byte [edi], bl
jne 0x3002a8a4
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0xc4]
push ecx
push eax
jne 0x3002a8c5
call fcn.300284de
mov eax, edi
jmp 0x3002a8cf
mov byte [edi], bl
call fcn.300284de
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3002a89e
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
je 0x3002a92c
cmp word [eax], bx
jbe 0x3002a92c
push eax
call fcn.3002814e
cmp eax, ebx
mov dword [ebp - 0xc8], eax
jle 0x3002a92c
inc dword [ebp - 0xc8]
push 0x106
push dword [ebp - 0xc8]
call fcn.3005343f
cmp eax, ebx
mov dword [ebp - 0xe4], eax
je 0x3002a926
push dword [ebp - 0xc8]
push eax
push dword [ebp - 0xc4]
call fcn.3002818e
jmp 0x3002a92c
mov dword [ebp - 0xc8], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3002a944
cmp byte [eax], bl
je 0x3002a944
lea ecx, [ebp - 0xdc]
push ecx
push eax
call fcn.30027bb0
cmp dword [esi + 0x24], ebx
je 0x3002a959
cmp dword [ebp + 0x78], ebx
je 0x3002a959
lea eax, [ebp + 0x78]
push eax
call fcn.30028c6d
jmp 0x3002a95c
mov dword [ebp + 0x78], ebx
lea edi, [esi + 0xc]
push edi
call fcn.30028d40
test eax, eax
je 0x3002b61f
lea eax, [esi + 0x10]
push eax
call fcn.30028d40
test eax, eax
je 0x3002b61f
mov eax, dword [edi]
cmp eax, ebx
je 0x3002abd2
push 0x3b
push eax
call fcn.300218b4
mov dword [ebp - 0xb4], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push 0x80000000
push dword [ebp - 0xb4]
mov byte [ebp - 0xad], bl
call fcn.30022c9d
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xe8], edi
je 0x3002aaed
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 0x3002aad5
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 0x3002aac9
push 0x30002850
push dword [ebp - 0xb4]
call fcn.30022522
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.3005343f
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb8]
call fcn.3004f0aa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002ac12
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 0x3002ac12
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30054e37
test eax, eax
je 0x3002ac12
push dword [ebp - 0xb8]
call fcn.30053354
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 0x3002abab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb4]
mov dword [ebp - 0xe8], eax
call fcn.30022522
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.3005343f
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004f0aa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002ac3f
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 0x3002ac3f
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30054e37
test eax, eax
je 0x3002ac3f
push dword [ebp - 0xbc]
call fcn.30053354
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.300218b4
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002a996
cmp dword [ebp + 0x78], ebx
je 0x3002aee1
cmp dword [esi + 0x24], ebx
je 0x3002af07
push dword [ebp + 0x78]
call fcn.3004dd60
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005343f
cmp eax, ebx
mov dword [ebp - 0xb4], eax
jne 0x3002ac47
mov dword [ebp - 0xac], ebx
jmp 0x3002b5cf
push dword [ebp - 0xb8]
mov dword [ebp - 0xac], ebx
call fcn.30053354
cmp dword [ebp - 0xa8], ebx
je 0x3002b61f
push dword [ebp - 0xa8]
call fcn.30053354
jmp 0x3002b61f
push dword [ebp - 0xbc]
jmp 0x3002ac18
push edi
push dword [ebp - 0xb4]
push dword [ebp + 0x78]
call fcn.3004f088
push 0x7c
push dword [ebp - 0xb4]
call fcn.300218b4
mov dword [ebp - 0xb8], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push 0x80000000
push dword [ebp - 0xb8]
mov byte [ebp - 0xad], bl
call fcn.30022c9d
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xd4], edi
je 0x3002adc0
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 0x3002ada8
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 0x3002ad9c
push 0x30002850
push dword [ebp - 0xb8]
call fcn.30022522
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.3005343f
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xbc]
call fcn.3004f0aa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002aeaa
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 0x3002aeaa
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30054e37
test eax, eax
je 0x3002aeaa
push dword [ebp - 0xbc]
call fcn.30053354
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 0x3002ae76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002850
push dword [ebp - 0xb8]
mov dword [ebp - 0xd4], eax
call fcn.30022522
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.3005343f
mov dword [ebp - 0xa8], eax
push 0x104
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.3004f0aa
mov edi, dword [ebp - 0xa8]
cmp edi, ebx
je 0x3002aeb2
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 0x3002aeb2
mov eax, dword [ebp + 0x70]
mov eax, dword [eax + 0x2c]
push ebx
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.30054e37
test eax, eax
je 0x3002aeb2
push dword [ebp - 0xc0]
call fcn.30053354
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.300218b4
cmp eax, ebx
mov dword [ebp - 0xb8], eax
jne 0x3002ac69
push dword [ebp - 0xb4]
call fcn.30053354
jmp 0x3002af07
push dword [ebp - 0xbc]
jmp 0x3002aeb8
push dword [ebp - 0xc0]
mov dword [ebp - 0xac], ebx
call fcn.30053354
cmp dword [ebp - 0xa8], ebx
je 0x3002aed6
push dword [ebp - 0xa8]
call fcn.30053354
push dword [ebp - 0xb4]
jmp 0x3002ac35
cmp dword [ebp - 0xc8], ebx
jg 0x3002af07
mov eax, dword [ebp - 0xdc]
cmp eax, ebx
je 0x3002aef8
cmp word [eax], bx
ja 0x3002af07
cmp dword [esi + 0x28], ebx
jne 0x3002af07
cmp dword [esi + 0xc], ebx
jne 0x3002af07
cmp dword [esi + 0x10], ebx
je 0x3002af57
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.30028681
test eax, eax
je 0x3002b61f
cmp dword [0x3009b4c8], ebx
je 0x3002b250
cmp dword [0x300a16e4], ebx
jne 0x3002af57
cmp dword [0x3009b840], 5
je 0x3002b259
xor eax, eax
inc eax
cmp dword [ebp - 0xcc], ebx
mov dword [ebp - 0xac], eax
mov dword [esi + 0x3c], eax
je 0x3002af9e
mov ecx, dword [0x300a1760]
cmp ecx, ebx
je 0x3002af9e
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.30026545
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.3002e70b
test eax, eax
je 0x3002ac07
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 0x3002afde
mov dword [ebp - 0xd8], 1
cmp dword [esi + 0x28], ebx
je 0x3002aff1
cmp dword [ebp - 0xd0], ebx
jne 0x3002aff1
inc dword [ebp - 0xd8]
cmp dword [ebp - 0xd8], ebx
je 0x3002affe
call fcn.3001b2bd
mov dword [0x30096bf0], ebx
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
je 0x3002b121
mov dword [0x30096bf0], 1
mov eax, dword [esi + 0x2c]
cmp word [eax], bx
mov dword [ebp + 0x74], ebx
jbe 0x3002b111
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.3004dcd9
inc eax
push eax
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.300521be
test eax, eax
je 0x3002ac07
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.300224ab
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.3001b300
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.3002e7f9
test eax, eax
push dword [ebp - 0xb4]
je 0x3002b289
call fcn.300522bc
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 0x3002b02c
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0xec], 1
mov dword [0x30096bf0], ebx
cmp dword [0x3009b840], 5
je 0x3002b16c
lea eax, [ebp - 0xe0]
push eax
call fcn.30028c1a
test eax, eax
je 0x3002b16c
push dword [ebp - 0xe0]
call fcn.3004dcd9
inc eax
push eax
push dword [ebp - 0xe0]
push 0x3000409c
call fcn.3002e7f9
test eax, eax
je 0x3002ac07
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xc4], ebx
je 0x3002b192
push dword [ebp - 0xc8]
push dword [ebp - 0xe4]
call fcn.3002857a
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0xdc], ebx
je 0x3002b1b2
push dword [ebp - 0xdc]
call fcn.300285a0
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 0x3002b2f5
push 0x3b
push eax
call fcn.300218b4
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 0x3002b299
push 0x106
push eax
call fcn.3005343f
cmp eax, ebx
mov dword [ebp - 0xb8], eax
je 0x3002b20c
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.30022522
push dword [ebp + 0x78]
mov esi, eax
push dword [ebp - 0xb8]
push esi
call fcn.3002e7f9
test eax, eax
push esi
je 0x3002b5a9
call fcn.30053354
push dword [ebp - 0xb8]
jmp 0x3002b2cd
cmp dword [esi + 0x30], ebx
jne 0x3002af57
push esi
push 0x3001ddc5
push dword [0x300a171c]
push 0x6d
push dword [0x30065570]
call fcn.3001a019
test eax, eax
jne 0x3002af57
mov eax, dword [ebp + 0x74]
mov dword [eax + 8], 1
jmp 0x3002b61f
mov dword [ebp - 0xac], ebx
call fcn.300522bc
jmp 0x3002b5cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30004094
push esi
mov dword [ebp - 0xd4], eax
call fcn.30022522
mov edi, eax
push 4
lea eax, [ebp - 0xd4]
push eax
push edi
mov byte [edi], 0x21
call fcn.3002e7f9
test eax, eax
push edi
je 0x3002b5a9
call fcn.30053354
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.300218b4
mov esi, eax
cmp esi, ebx
jne 0x3002b1c9
mov esi, dword [ebp + 0x70]
cmp dword [esi + 0x30], ebx
je 0x3002b31f
lea eax, [esi + 0x18]
push eax
call fcn.3002e8b6
test eax, eax
je 0x3002ac07
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 0x3002b5cf
cmp dword [ebp - 0xd0], ebx
jne 0x3002b5cf
cmp dword [0x3009b840], ebx
jne 0x3002b3c1
cmp dword [0x30099d84], ebx
jne 0x3002b365
mov dword [ebp - 0xac], ebx
call fcn.30022b36
test eax, eax
je 0x3002b5cf
push 0x30004070
jmp 0x3002b5ca
push dword [0x30099d88]
xor esi, esi
inc esi
push esi
push ebx
push dword [ebp - 0xd8]
push dword [ebp - 0xec]
call fcn.3001b300
mov eax, dword [0x300998a8]
mov dword [0x30096bf0], esi
test byte [eax + 0x38], 0x20
mov eax, 0x30004060
jne 0x3002b39c
mov eax, 0x30004054
push dword [0x30099d88]
push dword [0x30099d84]
push eax
call fcn.3002e7f9
test eax, eax
jne 0x3002b54e
mov dword [ebp - 0xac], ebx
jmp 0x3002b57d
mov eax, dword [ebp + 0x7c]
cmp eax, ebx
je 0x3002b5b6
cmp word [eax], bx
je 0x3002b5b6
push eax
call fcn.3004dd60
mov edi, eax
inc edi
push 0x106
lea eax, [edi + edi]
push eax
call fcn.3005343f
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0xbc], esi
jne 0x3002b415
mov dword [ebp - 0xac], ebx
call fcn.30022b36
test eax, eax
je 0x3002b5cf
push 0x30004028
jmp 0x3002b5ca
push edi
push esi
push dword [ebp + 0x7c]
call fcn.3004f088
push 0x7c
push esi
call fcn.300230ef
push 0x7c
inc eax
push esi
mov dword [ebp + 0x7c], eax
mov dword [0x30096bf0], 1
call fcn.300218b4
mov dword [ebp - 0xd0], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push 0x80000000
push eax
mov byte [ebp + 0x7b], bl
call fcn.30022c9d
cmp eax, 0xffffffff
mov dword [ebp - 0xc0], eax
je 0x3002b58d
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 0x3002b510
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 0x3002b504
push 0x30002850
push dword [ebp - 0xd0]
call fcn.30022522
mov esi, eax
cmp esi, ebx
je 0x3002b4f2
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.3001b300
push edi
push dword [ebp - 0xcc]
push esi
call fcn.3002e7f9
test eax, eax
push esi
je 0x3002b567
call fcn.30053354
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 0x3002b58d
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.300218b4
cmp eax, ebx
mov dword [ebp - 0xd0], eax
jne 0x3002b443
push esi
call fcn.30053354
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [0x30096bf0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x3002b5cf
mov dword [ebp - 0xac], ebx
call fcn.30053354
push dword [ebp - 0xbc]
call fcn.30053354
call fcn.30022b36
test eax, eax
je 0x3002b5cf
push 0x30004004
jmp 0x3002b5ca
call fcn.30022b36
test eax, eax
je 0x3002b5a8
push dword [ebp - 0xd0]
push 0x30003fe0
call fcn.30022c53
pop ecx
pop ecx
push esi
mov dword [ebp - 0xac], ebx
call fcn.30053354
jmp 0x3002b5cf
mov dword [ebp - 0xac], ebx
call fcn.30022b36
test eax, eax
je 0x3002b5cf
push 0x30003fb8
call fcn.30022bd0
mov esi, dword [ebp + 0x70]
push dword [ebp - 0xac]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.3002e8e8
test eax, eax
je 0x3002b5f1
cmp dword [ebp - 0xac], ebx
jne 0x3002b60e
call fcn.30022b36
test eax, eax
je 0x3002b604
push 0x30003fa0
call fcn.30022bd0
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 0x3002b64a
xor edi, edi
cmp word [esi], bx
jbe 0x3002b644
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 0x3002b630
push esi
call fcn.30054c3d
mov eax, dword [ebp - 0xc4]
cmp eax, ebx
pop edi
je 0x3002b680
xor esi, esi
cmp word [eax], bx
jbe 0x3002b67a
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + esi*4]
cmp ecx, ebx
je 0x3002b672
push ecx
call fcn.30053354
mov eax, dword [ebp - 0xc4]
movzx ecx, word [eax]
inc esi
cmp esi, ecx
jl 0x3002b65c
push eax
call fcn.30054c3d
cmp dword [ebp - 0xe4], ebx
je 0x3002b693
push dword [ebp - 0xe4]
call fcn.30053354
cmp dword [ebp - 0xe0], ebx
je 0x3002b6a6
push dword [ebp - 0xe0]
call fcn.30053354
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 0x3002b6e1
call fcn.30022b36
test eax, eax
je 0x3002b6df
push 0x30003f68
call fcn.30022bd0
xor eax, eax
mov ecx, dword [ebp + 0x64]
pop esi
pop ebx
call fcn.30062195
add ebp, 0x68
leave
ret 0x10