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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x3002226c]
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 [0x300cb85c], 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 0x30032744
test byte [0x300bfc9c], 0x40
mov dword [ebp - 0x128], edi
jne 0x3003274a
mov dword [ebp - 0x128], ebx
cmp dword [esi + 0x14], ebx
jg 0x3003275a
mov dword [0x300d1724], edi
jmp 0x300337af
cmp dword [0x300cb850], ebx
je 0x30032765
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x30032771
cmp dword [esi + 0x40], ebx
je 0x3003278a
cmp dword [esi + 0x24], ebx
jne 0x3003379c
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x3003278a
cmp word [eax], bx
jne 0x3003379c
cmp ecx, ebx
je 0x300327d6
mov eax, dword [esi]
cmp eax, ebx
je 0x30032798
cmp byte [eax], bl
jne 0x300327bf
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x300327a3
cmp byte [eax], bl
jne 0x300327bf
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x300327af
cmp word [eax], bx
jne 0x300327bf
cmp dword [esi + 0x28], ebx
jne 0x300327bf
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x300327d6
cmp byte [eax], bl
je 0x300327d6
call fcn.3003daba
test eax, eax
je 0x300337af
push 0x30004758
jmp 0x300337aa
cmp dword [0x300d1718], ebx
je 0x300327fa
cmp dword [esi + 0x28], ebx
je 0x300327fa
call fcn.3003daba
test eax, eax
je 0x300337af
push 0x30004728
jmp 0x300337aa
mov ecx, dword [0x300d1778]
cmp ecx, ebx
je 0x3003283e
cmp dword [0x300cb85c], ebx
jne 0x3003283e
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 [0x300cb85c], 5
jne 0x30032888
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x3003285e
push ebx
push 0x30303030
call fcn.30043574
jmp 0x300337af
cmp dword [esi + 0x28], ebx
jne 0x3003287c
cmp edx, ebx
je 0x3003287c
cmp word [edx], bx
je 0x3003287c
push eax
push edx
call fcn.30040e31
test eax, eax
jne 0x30032882
jmp 0x300337af
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x300328c4
jmp 0x300328c0
cmp byte [eax], bl
mov edi, eax
je 0x300328a0
cmp byte [edi], 0x3b
je 0x300328a0
inc edi
cmp byte [edi], bl
jne 0x30032896
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x300328b6
call fcn.30030134
mov eax, edi
jmp 0x300328c0
mov byte [edi], bl
call fcn.30030134
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x30032890
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x30032902
jmp 0x300328fe
cmp byte [eax], bl
mov edi, eax
je 0x300328dd
cmp byte [edi], 0x3b
je 0x300328dd
inc edi
cmp byte [edi], bl
jne 0x300328d3
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x300328f4
call fcn.30030134
mov eax, edi
jmp 0x300328fe
mov byte [edi], bl
call fcn.30030134
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x300328cd
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x30032955
cmp dword [eax], ebx
jbe 0x30032955
push eax
call fcn.3002fdaf
cmp eax, ebx
mov dword [ebp - 0x138], eax
jle 0x30032955
inc dword [ebp - 0x138]
push dword [ebp - 0x138]
call fcn.300430c2
cmp eax, ebx
mov dword [ebp - 0x15c], eax
je 0x3003294f
push dword [ebp - 0x138]
push eax
push dword [ebp - 0x12c]
call fcn.3002fdee
jmp 0x30032955
mov dword [ebp - 0x138], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3003296d
cmp byte [eax], bl
je 0x3003296d
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.300322f4
cmp dword [esi + 0x24], ebx
je 0x30032988
cmp dword [ebp - 0x124], ebx
je 0x30032988
lea eax, [ebp - 0x124]
push eax
call fcn.3003087e
jmp 0x3003298e
mov dword [ebp - 0x124], ebx
lea eax, [esi + 0xc]
push eax
call fcn.3003094c
test eax, eax
je 0x300336f7
lea eax, [esi + 0x10]
push eax
call fcn.3003094c
test eax, eax
je 0x300336f7
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032c0b
lea ecx, [ebp - 0x134]
push ecx
push 0x30004724
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.3003dc2c
cmp eax, 0xffffffff
mov dword [ebp - 0x160], eax
je 0x30032b27
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 0x30032b0f
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 0x30032b03
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d5d1
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.300430c2
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call fcn.3005b376
cmp dword [ebp - 0x110], ebx
je 0x30032eb8
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 0x30032eb8
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.300598ea
test eax, eax
je 0x30032eb8
push dword [ebp - 0x120]
call fcn.3004311f
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 0x30032bd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a15
push dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
call fcn.3003d5d1
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.300430c2
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b376
cmp dword [ebp - 0x110], ebx
je 0x30032ec0
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 0x30032ec0
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.300598ea
test eax, eax
je 0x30032ec0
push edi
call fcn.3004311f
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 0x30004724
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x300329d7
cmp dword [ebp - 0x124], ebx
je 0x30032f17
cmp dword [esi + 0x24], ebx
je 0x30032f3c
push dword [ebp - 0x124]
call fcn.30059e93
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.300430c2
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x3003337e
push edi
push eax
push dword [ebp - 0x124]
call fcn.3005b354
lea eax, [ebp - 0x150]
push eax
push 0x30004720
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.3003dc2c
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30032dc8
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 0x30032db0
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 0x30032da4
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d5d1
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.300430c2
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x144]
call fcn.3005b376
cmp dword [ebp - 0x110], ebx
je 0x30032ee0
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 0x30032ee0
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.300598ea
test eax, eax
je 0x30032ee0
push dword [ebp - 0x144]
call fcn.3004311f
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 0x30032e73
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a15
push dword [ebp - 0x118]
mov dword [ebp - 0x134], eax
call fcn.3003d5d1
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.300430c2
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b376
cmp dword [ebp - 0x110], ebx
je 0x30032ee8
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 0x30032ee8
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.300598ea
test eax, eax
je 0x30032ee8
push edi
call fcn.3004311f
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 0x30004720
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30032c73
push dword [ebp - 0x120]
call fcn.3004311f
jmp 0x30032f3c
push dword [ebp - 0x120]
jmp 0x30032ec1
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004311f
cmp dword [ebp - 0x110], ebx
je 0x300336f7
push dword [ebp - 0x110]
jmp 0x30032f0d
push dword [ebp - 0x144]
jmp 0x30032ee9
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004311f
cmp dword [ebp - 0x110], ebx
je 0x30032f07
push dword [ebp - 0x110]
call fcn.3004311f
push dword [ebp - 0x120]
call fcn.3004311f
jmp 0x300336f7
cmp dword [ebp - 0x138], ebx
jg 0x30032f3c
mov eax, dword [ebp - 0x148]
cmp eax, ebx
je 0x30032f2d
cmp dword [eax], ebx
ja 0x30032f3c
cmp dword [esi + 0x28], ebx
jne 0x30032f3c
cmp dword [esi + 0xc], ebx
jne 0x30032f3c
cmp dword [esi + 0x10], ebx
je 0x30032f8f
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.300301f6
test eax, eax
je 0x300336f7
cmp dword [0x300cb4e8], ebx
je 0x300332a8
cmp dword [0x300d16fc], ebx
jne 0x30032f8f
cmp dword [0x300cb85c], 5
je 0x300332b1
xor eax, eax
inc eax
cmp dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], eax
mov dword [esi + 0x3c], eax
je 0x30032fd7
mov ecx, dword [0x300d1778]
cmp ecx, ebx
je 0x30032fd7
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.30041743
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.30025ce9
test eax, eax
je 0x3003337e
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 0x30033016
mov dword [ebp - 0x13c], 1
cmp dword [esi + 0x28], ebx
je 0x30033029
cmp dword [ebp - 0x140], ebx
jne 0x30033029
inc dword [ebp - 0x13c]
cmp dword [ebp - 0x13c], ebx
je 0x30033036
call fcn.30036600
mov dword [0x300bcfa0], ebx
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
je 0x3003314d
mov dword [0x300bcfa0], 1
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
mov dword [ebp - 0x118], ebx
jle 0x3003313d
xor edi, edi
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi + 8]
push eax
call fcn.30059e02
inc eax
push eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
call fcn.30043358
test eax, eax
je 0x3003337e
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.3003d559
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.30036643
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.30025de5
test eax, eax
push dword [ebp - 0x120]
je 0x300332e4
call fcn.300432ac
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 0x30033064
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x164], 1
mov dword [0x300bcfa0], ebx
cmp dword [0x300cb85c], 5
je 0x30033198
lea eax, [ebp - 0x154]
push eax
call fcn.3003082f
test eax, eax
je 0x30033198
push dword [ebp - 0x154]
call fcn.30059e02
inc eax
push eax
push dword [ebp - 0x154]
push 0x30004714
call fcn.30025de5
test eax, eax
je 0x3003337e
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x12c], ebx
je 0x300331be
push dword [ebp - 0x138]
push dword [ebp - 0x15c]
call fcn.300301cf
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x148], ebx
je 0x300331de
push dword [ebp - 0x148]
call fcn.30032528
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3003336c
lea ecx, [ebp - 0x134]
push ecx
push 0x30004724
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.3003dc4f
cmp eax, ebx
mov dword [ebp - 0x118], eax
jle 0x300332f4
push eax
call fcn.300430c2
cmp eax, ebx
mov dword [ebp - 0x124], eax
je 0x30033245
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.3003dc58
push 0x3000470c
push dword [ebp - 0x120]
call fcn.3003d5d1
push dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x124]
push eax
call fcn.30025de5
test eax, eax
push dword [ebp - 0x128]
je 0x30033684
call fcn.3004311f
push dword [ebp - 0x124]
jmp 0x30033336
cmp dword [esi + 0x30], ebx
jne 0x30032f8f
push esi
push 0x30039289
push dword [0x300d1734]
push 0x6d
push dword [0x3008b480]
call fcn.30035271
test eax, eax
jne 0x30032f8f
mov eax, dword [ebp - 0x158]
mov dword [eax + 8], 1
jmp 0x300336f7
mov dword [ebp - 0x11c], ebx
call fcn.300432ac
jmp 0x300336aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3000470c
push dword [ebp - 0x120]
mov dword [ebp - 0x150], eax
call fcn.3003d5d1
push 4
lea ecx, [ebp - 0x150]
push ecx
push eax
mov dword [ebp - 0x128], eax
mov byte [eax], 0x21
call fcn.30025de5
test eax, eax
push dword [ebp - 0x128]
je 0x30033684
call fcn.3004311f
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x134]
push eax
push 0x30004724
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x120], eax
jne 0x30033205
cmp dword [esi + 0x30], ebx
je 0x30033396
lea eax, [esi + 0x18]
push eax
call fcn.30025e9d
test eax, eax
jne 0x30033389
mov dword [ebp - 0x11c], ebx
jmp 0x300336aa
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [esi + 0x28], ebx
je 0x300336aa
cmp dword [ebp - 0x140], ebx
jne 0x300336aa
cmp dword [0x300cb85c], ebx
jne 0x30033448
cmp dword [0x300c9dd0], ebx
jne 0x300333dc
mov dword [ebp - 0x11c], ebx
call fcn.3003daba
test eax, eax
je 0x300336aa
push 0x300046e8
jmp 0x300336a5
push dword [0x300c9dd4]
xor edi, edi
inc edi
push edi
push ebx
push dword [ebp - 0x13c]
push dword [ebp - 0x164]
call fcn.30036643
test byte [0x300bfc9c], 0x20
mov dword [0x300bcfa0], edi
mov eax, 0x300046d8
jne 0x30033411
mov eax, 0x300046cc
push dword [0x300c9dd4]
push dword [0x300c9dd0]
push eax
call fcn.30025de5
test eax, eax
jne 0x30033624
mov dword [ebp - 0x11c], ebx
call fcn.3003daba
test eax, eax
je 0x300336aa
push 0x300046a8
jmp 0x300336a5
mov eax, dword [ebp - 0x14c]
cmp eax, ebx
je 0x30033691
cmp word [eax], bx
je 0x30033691
push eax
call fcn.30059e93
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.300430c2
cmp eax, ebx
mov dword [ebp - 0x124], eax
jne 0x30033498
mov dword [ebp - 0x11c], ebx
call fcn.3003daba
test eax, eax
je 0x300336aa
push 0x3000467c
jmp 0x300336a5
push edi
push dword [ebp - 0x124]
push dword [ebp - 0x14c]
call fcn.3005b354
push 0x7c
push dword [ebp - 0x124]
call fcn.3003e116
inc eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x134]
push eax
push 0x30004720
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.3003dc2c
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30033658
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 0x300335d0
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 0x300335c4
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d5d1
cmp eax, ebx
mov dword [ebp - 0x140], eax
je 0x300335b8
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.30036643
push edi
push dword [ebp - 0x128]
push dword [ebp - 0x140]
call fcn.30025de5
test eax, eax
push dword [ebp - 0x140]
je 0x3003363d
call fcn.3004311f
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 0x30033658
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 0x30004720
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x300334e9
push dword [ebp - 0x124]
call fcn.3004311f
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 0x300336aa
mov dword [ebp - 0x11c], ebx
call fcn.3004311f
push dword [ebp - 0x124]
call fcn.3004311f
jmp 0x30033431
call fcn.3003daba
test eax, eax
je 0x30033673
push dword [ebp - 0x118]
push 0x30004658
call fcn.3003dbd9
pop ecx
pop ecx
push ebx
push 0x30303030
call fcn.30043574
push dword [ebp - 0x124]
mov dword [ebp - 0x11c], ebx
call fcn.3004311f
jmp 0x300336aa
mov dword [ebp - 0x11c], ebx
call fcn.3003daba
test eax, eax
je 0x300336aa
push 0x30004630
call fcn.3003db54
push dword [ebp - 0x11c]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.30025ed2
test eax, eax
je 0x300336c9
cmp dword [ebp - 0x11c], ebx
jne 0x300336e6
call fcn.3003daba
test eax, eax
je 0x300336dc
push 0x30004618
call fcn.3003db54
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 0x3003371e
xor edi, edi
cmp dword [esi], ebx
jbe 0x30033718
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esi]
jb 0x30033707
push esi
call fcn.3005938c
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x30033750
xor esi, esi
cmp dword [eax], ebx
jbe 0x3003374a
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + esi*4]
cmp dword [ecx], ebx
je 0x30033745
push dword [ecx]
call fcn.3004311f
mov eax, dword [ebp - 0x12c]
inc esi
cmp esi, dword [eax]
jb 0x3003372e
push eax
call fcn.3005938c
cmp dword [ebp - 0x15c], ebx
je 0x30033763
push dword [ebp - 0x15c]
call fcn.3004311f
cmp dword [ebp - 0x154], ebx
je 0x30033776
push dword [ebp - 0x154]
call fcn.3004311f
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 0x300337b1
call fcn.3003daba
test eax, eax
je 0x300337af
push 0x300045e0
call fcn.3003db54
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.300696c7
leave
ret 0x10