Function at 0x300325e6
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x3002223c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x10]
inc edi
cmp dword [0x300c1bc0], ebx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x164], ebx
jne 0x3003266e
mov eax, dword [0x300bfc58]
test byte [eax + 0x38], 0x40
mov dword [ebp - 0x128], edi
jne 0x30032674
mov dword [ebp - 0x128], ebx
cmp dword [esi + 0x14], ebx
jg 0x30032684
mov dword [0x300c7a88], edi
jmp 0x300336db
cmp dword [0x300c1bb4], ebx
je 0x3003268f
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x3003269b
cmp dword [esi + 0x40], ebx
je 0x300326b4
cmp dword [esi + 0x24], ebx
jne 0x300336c8
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x300326b4
cmp word [eax], bx
jne 0x300336c8
cmp ecx, ebx
je 0x30032700
mov eax, dword [esi]
cmp eax, ebx
je 0x300326c2
cmp byte [eax], bl
jne 0x300326e9
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x300326cd
cmp byte [eax], bl
jne 0x300326e9
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x300326d9
cmp word [eax], bx
jne 0x300326e9
cmp dword [esi + 0x28], ebx
jne 0x300326e9
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x30032700
cmp byte [eax], bl
je 0x30032700
call fcn.3003da0a
test eax, eax
je 0x300336db
push 0x30004728
jmp 0x300336d6
cmp dword [0x300c7a7c], ebx
je 0x30032724
cmp dword [esi + 0x28], ebx
je 0x30032724
call fcn.3003da0a
test eax, eax
je 0x300336db
push 0x300046f8
jmp 0x300336d6
mov ecx, dword [0x300c7ad8]
cmp ecx, ebx
je 0x30032768
cmp dword [0x300c1bc0], ebx
jne 0x30032768
xor eax, eax
mov dword [ebp - 0x174], ebx
lea edi, [ebp - 0x170]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x174]
push eax
mov dword [ebp - 0x170], ebx
call ecx
mov edx, dword [ebp - 0x14c]
xor edi, edi
inc edi
cmp dword [0x300c1bc0], 5
jne 0x300327b2
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x30032788
push ebx
push 0x30303030
call fcn.300434a3
jmp 0x300336db
cmp dword [esi + 0x28], ebx
jne 0x300327a6
cmp edx, ebx
je 0x300327a6
cmp word [edx], bx
je 0x300327a6
push eax
push edx
call fcn.30040d62
test eax, eax
jne 0x300327ac
jmp 0x300336db
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x300327ee
jmp 0x300327ea
cmp byte [eax], bl
mov edi, eax
je 0x300327ca
cmp byte [edi], 0x3b
je 0x300327ca
inc edi
cmp byte [edi], bl
jne 0x300327c0
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x300327e0
call fcn.3003005e
mov eax, edi
jmp 0x300327ea
mov byte [edi], bl
call fcn.3003005e
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x300327ba
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3003282c
jmp 0x30032828
cmp byte [eax], bl
mov edi, eax
je 0x30032807
cmp byte [edi], 0x3b
je 0x30032807
inc edi
cmp byte [edi], bl
jne 0x300327fd
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x3003281e
call fcn.3003005e
mov eax, edi
jmp 0x30032828
mov byte [edi], bl
call fcn.3003005e
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x300327f7
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x3003287f
cmp dword [eax], ebx
jbe 0x3003287f
push eax
call fcn.3002fcd9
cmp eax, ebx
mov dword [ebp - 0x138], eax
jle 0x3003287f
inc dword [ebp - 0x138]
push dword [ebp - 0x138]
call fcn.30042ff1
cmp eax, ebx
mov dword [ebp - 0x15c], eax
je 0x30032879
push dword [ebp - 0x138]
push eax
push dword [ebp - 0x12c]
call fcn.3002fd18
jmp 0x3003287f
mov dword [ebp - 0x138], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x30032897
cmp byte [eax], bl
je 0x30032897
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.3003221e
cmp dword [esi + 0x24], ebx
je 0x300328b2
cmp dword [ebp - 0x124], ebx
je 0x300328b2
lea eax, [ebp - 0x124]
push eax
call fcn.300307a8
jmp 0x300328b8
mov dword [ebp - 0x124], ebx
lea eax, [esi + 0xc]
push eax
call fcn.30030876
test eax, eax
je 0x30033623
lea eax, [esi + 0x10]
push eax
call fcn.30030876
test eax, eax
je 0x30033623
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032b35
lea ecx, [ebp - 0x134]
push ecx
push 0x300046f4
push eax
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
mov dword [ebp - 0x118], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push eax
mov byte [ebp - 0x111], bl
call fcn.3003db7c
cmp eax, 0xffffffff
mov dword [ebp - 0x160], eax
je 0x30032a51
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 - 0x130], eax
je 0x30032a39
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0x144], eax
je 0x30032a2d
push 0x300029e5
push dword [ebp - 0x118]
call fcn.3003d521
push ebx
push dword [ebp - 0x160]
mov dword [ebp - 0x120], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x10c
mov edi, eax
lea eax, [ebp - 0x110]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
mov dword [ebp - 0x10c], edi
call fcn.30042ff1
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call fcn.3005b2f6
cmp dword [ebp - 0x110], ebx
je 0x30032de2
push dword [ebp - 0x10c]
push dword [ebp - 0x144]
push dword [ebp - 0x110]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032de2
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005986a
test eax, eax
je 0x30032de2
push dword [ebp - 0x120]
call fcn.3004304e
push dword [ebp - 0x144]
mov byte [ebp - 0x111], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x111], bl
jne 0x30032b00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x300029e5
push dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
call fcn.3003d521
mov edi, eax
push 0x10c
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [edi], 0x21
call sub.MSVCR80.dll_memset
add esp, 0xc
push 4
pop eax
push eax
mov dword [ebp - 0x10c], eax
call fcn.30042ff1
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b2f6
cmp dword [ebp - 0x110], ebx
je 0x30032dea
push dword [ebp - 0x10c]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x110]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032dea
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005986a
test eax, eax
je 0x30032dea
push edi
call fcn.3004304e
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x134]
push eax
push 0x300046f4
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30032901
cmp dword [ebp - 0x124], ebx
je 0x30032e41
cmp dword [esi + 0x24], ebx
je 0x30032e66
push dword [ebp - 0x124]
call fcn.30059e13
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30042ff1
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x300332a8
push edi
push eax
push dword [ebp - 0x124]
call fcn.3005b2d4
lea eax, [ebp - 0x150]
push eax
push 0x300046f0
push dword [ebp - 0x120]
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
mov dword [ebp - 0x118], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp - 0x118]
mov byte [ebp - 0x111], bl
call fcn.3003db7c
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30032cf2
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 - 0x134], eax
je 0x30032cda
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0x160], eax
je 0x30032cce
push 0x300029e5
push dword [ebp - 0x118]
call fcn.3003d521
push ebx
push dword [ebp - 0x130]
mov dword [ebp - 0x144], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x10c
mov edi, eax
lea eax, [ebp - 0x110]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push edi
mov dword [ebp - 0x10c], edi
call fcn.30042ff1
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x144]
call fcn.3005b2f6
cmp dword [ebp - 0x110], ebx
je 0x30032e0a
push dword [ebp - 0x10c]
push dword [ebp - 0x160]
push dword [ebp - 0x110]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032e0a
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005986a
test eax, eax
je 0x30032e0a
push dword [ebp - 0x144]
call fcn.3004304e
push dword [ebp - 0x160]
mov byte [ebp - 0x111], 1
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x134]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x111], bl
jne 0x30032d9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x300029e5
push dword [ebp - 0x118]
mov dword [ebp - 0x134], eax
call fcn.3003d521
mov edi, eax
push 0x10c
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [edi], 0x21
call sub.MSVCR80.dll_memset
add esp, 0xc
push 4
pop eax
push eax
mov dword [ebp - 0x10c], eax
call fcn.30042ff1
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b2f6
cmp dword [ebp - 0x110], ebx
je 0x30032e12
push dword [ebp - 0x10c]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x110]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032e12
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005986a
test eax, eax
je 0x30032e12
push edi
call fcn.3004304e
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x150]
push eax
push 0x300046f0
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30032b9d
push dword [ebp - 0x120]
call fcn.3004304e
jmp 0x30032e66
push dword [ebp - 0x120]
jmp 0x30032deb
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004304e
cmp dword [ebp - 0x110], ebx
je 0x30033623
push dword [ebp - 0x110]
jmp 0x30032e37
push dword [ebp - 0x144]
jmp 0x30032e13
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004304e
cmp dword [ebp - 0x110], ebx
je 0x30032e31
push dword [ebp - 0x110]
call fcn.3004304e
push dword [ebp - 0x120]
call fcn.3004304e
jmp 0x30033623
cmp dword [ebp - 0x138], ebx
jg 0x30032e66
mov eax, dword [ebp - 0x148]
cmp eax, ebx
je 0x30032e57
cmp dword [eax], ebx
ja 0x30032e66
cmp dword [esi + 0x28], ebx
jne 0x30032e66
cmp dword [esi + 0xc], ebx
jne 0x30032e66
cmp dword [esi + 0x10], ebx
je 0x30032eb9
push dword [ebp - 0x124]
lea eax, [esi + 0x38]
push dword [esi + 0x28]
push eax
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [ebp - 0x148]
push dword [ebp - 0x138]
push dword [ebp - 0x15c]
call fcn.30030120
test eax, eax
je 0x30033623
cmp dword [0x300c0564], ebx
je 0x300331d2
cmp dword [0x300c7a60], ebx
jne 0x30032eb9
cmp dword [0x300c1bc0], 5
je 0x300331db
xor eax, eax
inc eax
cmp dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], eax
mov dword [esi + 0x3c], eax
je 0x30032f01
mov ecx, dword [0x300c7ad8]
cmp ecx, ebx
je 0x30032f01
xor eax, eax
lea edi, [ebp - 0x174]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x170], eax
push 0x10
lea eax, [ebp - 0x174]
push eax
push ecx
call fcn.30041674
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.30025cbc
test eax, eax
je 0x300332a8
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
je 0x30032f40
mov dword [ebp - 0x13c], 1
cmp dword [esi + 0x28], ebx
je 0x30032f53
cmp dword [ebp - 0x140], ebx
jne 0x30032f53
inc dword [ebp - 0x13c]
cmp dword [ebp - 0x13c], ebx
je 0x30032f60
call fcn.3003653a
mov dword [0x300bcfa0], ebx
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
je 0x30033077
mov dword [0x300bcfa0], 1
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
mov dword [ebp - 0x118], ebx
jle 0x30033067
xor edi, edi
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi + 8]
push eax
call fcn.30059d82
inc eax
push eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
call fcn.30043287
test eax, eax
je 0x300332a8
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
push dword [ebp - 0x128]
lea eax, [eax + edi + 8]
push eax
push dword [ebp - 0x120]
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call fcn.3003d4a9
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xc]
push dword [ecx + edi + 4]
push dword [eax]
push dword [ebp - 0x118]
push dword [ebp - 0x13c]
push ebx
call fcn.3003657d
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
add eax, edi
push dword [eax + 4]
push dword [eax]
push dword [ebp - 0x120]
call fcn.30025db8
test eax, eax
push dword [ebp - 0x120]
je 0x3003320e
call fcn.300431db
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
inc dword [ebp - 0x118]
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x118]
add edi, 0x10c
cmp ecx, dword [eax]
jl 0x30032f8e
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x164], 1
mov dword [0x300bcfa0], ebx
cmp dword [0x300c1bc0], 5
je 0x300330c2
lea eax, [ebp - 0x154]
push eax
call fcn.30030759
test eax, eax
je 0x300330c2
push dword [ebp - 0x154]
call fcn.30059d82
inc eax
push eax
push dword [ebp - 0x154]
push 0x300046e4
call fcn.30025db8
test eax, eax
je 0x300332a8
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x12c], ebx
je 0x300330e8
push dword [ebp - 0x138]
push dword [ebp - 0x15c]
call fcn.300300f9
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x148], ebx
je 0x30033108
push dword [ebp - 0x148]
call fcn.30032452
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x30033296
lea ecx, [ebp - 0x134]
push ecx
push 0x300046f4
push eax
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x120]
call fcn.3003db9f
cmp eax, ebx
mov dword [ebp - 0x118], eax
jle 0x3003321e
push eax
call fcn.30042ff1
cmp eax, ebx
mov dword [ebp - 0x124], eax
je 0x3003316f
push dword [ebp - 0x118]
push ebx
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push dword [ebp - 0x124]
push dword [ebp - 0x118]
push dword [ebp - 0x158]
push dword [ebp - 0x120]
call fcn.3003dba8
push 0x300046dc
push dword [ebp - 0x120]
call fcn.3003d521
push dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x124]
push eax
call fcn.30025db8
test eax, eax
push dword [ebp - 0x128]
je 0x300335b0
call fcn.3004304e
push dword [ebp - 0x124]
jmp 0x30033260
cmp dword [esi + 0x30], ebx
jne 0x30032eb9
push esi
push 0x300391ca
push dword [0x300c7a94]
push 0x6d
push dword [0x3008b480]
call fcn.300351ab
test eax, eax
jne 0x30032eb9
mov eax, dword [ebp - 0x158]
mov dword [eax + 8], 1
jmp 0x30033623
mov dword [ebp - 0x11c], ebx
call fcn.300431db
jmp 0x300335d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x300046dc
push dword [ebp - 0x120]
mov dword [ebp - 0x150], eax
call fcn.3003d521
push 4
lea ecx, [ebp - 0x150]
push ecx
push eax
mov dword [ebp - 0x128], eax
mov byte [eax], 0x21
call fcn.30025db8
test eax, eax
push dword [ebp - 0x128]
je 0x300335b0
call fcn.3004304e
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x134]
push eax
push 0x300046f4
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x120], eax
jne 0x3003312f
cmp dword [esi + 0x30], ebx
je 0x300332c0
lea eax, [esi + 0x18]
push eax
call fcn.30025e70
test eax, eax
jne 0x300332b3
mov dword [ebp - 0x11c], ebx
jmp 0x300335d6
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [esi + 0x28], ebx
je 0x300335d6
cmp dword [ebp - 0x140], ebx
jne 0x300335d6
cmp dword [0x300c1bc0], ebx
jne 0x30033374
cmp dword [0x300c0134], ebx
jne 0x30033306
mov dword [ebp - 0x11c], ebx
call fcn.3003da0a
test eax, eax
je 0x300335d6
push 0x300046b8
jmp 0x300335d1
push dword [0x300c0138]
xor edi, edi
inc edi
push edi
push ebx
push dword [ebp - 0x13c]
push dword [ebp - 0x164]
call fcn.3003657d
mov eax, dword [0x300bfc58]
mov dword [0x300bcfa0], edi
test byte [eax + 0x38], 0x20
mov eax, 0x300046a8
jne 0x3003333d
mov eax, 0x3000469c
push dword [0x300c0138]
push dword [0x300c0134]
push eax
call fcn.30025db8
test eax, eax
jne 0x30033550
mov dword [ebp - 0x11c], ebx
call fcn.3003da0a
test eax, eax
je 0x300335d6
push 0x30004678
jmp 0x300335d1
mov eax, dword [ebp - 0x14c]
cmp eax, ebx
je 0x300335bd
cmp word [eax], bx
je 0x300335bd
push eax
call fcn.30059e13
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30042ff1
cmp eax, ebx
mov dword [ebp - 0x124], eax
jne 0x300333c4
mov dword [ebp - 0x11c], ebx
call fcn.3003da0a
test eax, eax
je 0x300335d6
push 0x3000464c
jmp 0x300335d1
push edi
push dword [ebp - 0x124]
push dword [ebp - 0x14c]
call fcn.3005b2d4
push 0x7c
push dword [ebp - 0x124]
call fcn.3003e066
inc eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x134]
push eax
push 0x300046f0
push dword [ebp - 0x124]
mov dword [0x300bcfa0], 1
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
mov dword [ebp - 0x118], eax
push ebx
push 0x8000000
push 3
push ebx
push 3
push SysReAllocString
push dword [ebp - 0x118]
mov byte [ebp - 0x111], bl
call fcn.3003db7c
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30033584
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 - 0x150], eax
je 0x300334fc
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [ebp - 0x128], eax
je 0x300334f0
push 0x300029e5
push dword [ebp - 0x118]
call fcn.3003d521
cmp eax, ebx
mov dword [ebp - 0x140], eax
je 0x300334e4
push ebx
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
push dword [ebp - 0x158]
push ebx
push dword [ebp - 0x13c]
push dword [ebp - 0x164]
call fcn.3003657d
push edi
push dword [ebp - 0x128]
push dword [ebp - 0x140]
call fcn.30025db8
test eax, eax
push dword [ebp - 0x140]
je 0x30033569
call fcn.3004304e
mov byte [ebp - 0x111], 1
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x130]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x111], bl
je 0x30033584
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x134]
push eax
push 0x300046f0
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30033415
push dword [ebp - 0x124]
call fcn.3004304e
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [0x300bcfa0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x300335d6
mov dword [ebp - 0x11c], ebx
call fcn.3004304e
push dword [ebp - 0x124]
call fcn.3004304e
jmp 0x3003335d
call fcn.3003da0a
test eax, eax
je 0x3003359f
push dword [ebp - 0x118]
push 0x30004628
call fcn.3003db29
pop ecx
pop ecx
push ebx
push 0x30303030
call fcn.300434a3
push dword [ebp - 0x124]
mov dword [ebp - 0x11c], ebx
call fcn.3004304e
jmp 0x300335d6
mov dword [ebp - 0x11c], ebx
call fcn.3003da0a
test eax, eax
je 0x300335d6
push 0x30004600
call fcn.3003daa4
push dword [ebp - 0x11c]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.30025ea5
test eax, eax
je 0x300335f5
cmp dword [ebp - 0x11c], ebx
jne 0x30033612
call fcn.3003da0a
test eax, eax
je 0x30033608
push 0x300045e8
call fcn.3003daa4
mov dword [edi], ebx
mov dword [esi], ebx
mov dword [ebp - 0x11c], 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 - 0x148]
cmp esi, ebx
je 0x3003364a
xor edi, edi
cmp dword [esi], ebx
jbe 0x30033644
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esi]
jb 0x30033633
push esi
call fcn.3005930c
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x3003367c
xor esi, esi
cmp dword [eax], ebx
jbe 0x30033676
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + esi*4]
cmp dword [ecx], ebx
je 0x30033671
push dword [ecx]
call fcn.3004304e
mov eax, dword [ebp - 0x12c]
inc esi
cmp esi, dword [eax]
jb 0x3003365a
push eax
call fcn.3005930c
cmp dword [ebp - 0x15c], ebx
je 0x3003368f
push dword [ebp - 0x15c]
call fcn.3004304e
cmp dword [ebp - 0x154], ebx
je 0x300336a2
push dword [ebp - 0x154]
call fcn.3004304e
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 - 0x11c]
jmp 0x300336dd
call fcn.3003da0a
test eax, eax
je 0x300336db
push 0x300045b0
call fcn.3003daa4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3006961b
leave
ret 0x10