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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x300222cc]
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 0x300327c1
test byte [0x300bfc9c], 0x40
mov dword [ebp - 0x128], edi
jne 0x300327c7
mov dword [ebp - 0x128], ebx
cmp dword [esi + 0x14], ebx
jg 0x300327d7
mov dword [0x300d1724], edi
jmp 0x3003382c
cmp dword [0x300cb850], ebx
je 0x300327e2
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x300327ee
cmp dword [esi + 0x40], ebx
je 0x30032807
cmp dword [esi + 0x24], ebx
jne 0x30033819
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032807
cmp word [eax], bx
jne 0x30033819
cmp ecx, ebx
je 0x30032853
mov eax, dword [esi]
cmp eax, ebx
je 0x30032815
cmp byte [eax], bl
jne 0x3003283c
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x30032820
cmp byte [eax], bl
jne 0x3003283c
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3003282c
cmp word [eax], bx
jne 0x3003283c
cmp dword [esi + 0x28], ebx
jne 0x3003283c
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x30032853
cmp byte [eax], bl
je 0x30032853
call fcn.3003db37
test eax, eax
je 0x3003382c
push 0x30004758
jmp 0x30033827
cmp dword [0x300d1718], ebx
je 0x30032877
cmp dword [esi + 0x28], ebx
je 0x30032877
call fcn.3003db37
test eax, eax
je 0x3003382c
push 0x30004728
jmp 0x30033827
mov ecx, dword [0x300d1778]
cmp ecx, ebx
je 0x300328bb
cmp dword [0x300cb85c], ebx
jne 0x300328bb
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 0x30032905
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x300328db
push ebx
push 0x30303030
call fcn.300435b4
jmp 0x3003382c
cmp dword [esi + 0x28], ebx
jne 0x300328f9
cmp edx, ebx
je 0x300328f9
cmp word [edx], bx
je 0x300328f9
push eax
push edx
call fcn.30040e73
test eax, eax
jne 0x300328ff
jmp 0x3003382c
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x30032941
jmp 0x3003293d
cmp byte [eax], bl
mov edi, eax
je 0x3003291d
cmp byte [edi], 0x3b
je 0x3003291d
inc edi
cmp byte [edi], bl
jne 0x30032913
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x30032933
call fcn.300301ac
mov eax, edi
jmp 0x3003293d
mov byte [edi], bl
call fcn.300301ac
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3003290d
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x3003297f
jmp 0x3003297b
cmp byte [eax], bl
mov edi, eax
je 0x3003295a
cmp byte [edi], 0x3b
je 0x3003295a
inc edi
cmp byte [edi], bl
jne 0x30032950
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x30032971
call fcn.300301ac
mov eax, edi
jmp 0x3003297b
mov byte [edi], bl
call fcn.300301ac
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3003294a
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x300329d2
cmp dword [eax], ebx
jbe 0x300329d2
push eax
call fcn.3002fe27
cmp eax, ebx
mov dword [ebp - 0x138], eax
jle 0x300329d2
inc dword [ebp - 0x138]
push dword [ebp - 0x138]
call fcn.30043102
cmp eax, ebx
mov dword [ebp - 0x15c], eax
je 0x300329cc
push dword [ebp - 0x138]
push eax
push dword [ebp - 0x12c]
call fcn.3002fe66
jmp 0x300329d2
mov dword [ebp - 0x138], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x300329ea
cmp byte [eax], bl
je 0x300329ea
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.3003236f
cmp dword [esi + 0x24], ebx
je 0x30032a05
cmp dword [ebp - 0x124], ebx
je 0x30032a05
lea eax, [ebp - 0x124]
push eax
call fcn.300308f6
jmp 0x30032a0b
mov dword [ebp - 0x124], ebx
lea eax, [esi + 0xc]
push eax
call fcn.300309c4
test eax, eax
je 0x30033774
lea eax, [esi + 0x10]
push eax
call fcn.300309c4
test eax, eax
je 0x30033774
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032c88
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.3003dca9
cmp eax, 0xffffffff
mov dword [ebp - 0x160], eax
je 0x30032ba4
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 0x30032b8c
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 0x30032b80
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d64e
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.30043102
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call fcn.3005b426
cmp dword [ebp - 0x110], ebx
je 0x30032f35
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 0x30032f35
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005999a
test eax, eax
je 0x30032f35
push dword [ebp - 0x120]
call fcn.3004315f
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 0x30032c53
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a15
push dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
call fcn.3003d64e
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.30043102
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b426
cmp dword [ebp - 0x110], ebx
je 0x30032f3d
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 0x30032f3d
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005999a
test eax, eax
je 0x30032f3d
push edi
call fcn.3004315f
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 0x30032a54
cmp dword [ebp - 0x124], ebx
je 0x30032f94
cmp dword [esi + 0x24], ebx
je 0x30032fb9
push dword [ebp - 0x124]
call fcn.30059f43
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30043102
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x300333fb
push edi
push eax
push dword [ebp - 0x124]
call fcn.3005b404
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.3003dca9
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30032e45
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 0x30032e2d
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 0x30032e21
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d64e
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.30043102
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x144]
call fcn.3005b426
cmp dword [ebp - 0x110], ebx
je 0x30032f5d
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 0x30032f5d
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005999a
test eax, eax
je 0x30032f5d
push dword [ebp - 0x144]
call fcn.3004315f
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 0x30032ef0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a15
push dword [ebp - 0x118]
mov dword [ebp - 0x134], eax
call fcn.3003d64e
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.30043102
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b426
cmp dword [ebp - 0x110], ebx
je 0x30032f65
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 0x30032f65
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.3005999a
test eax, eax
je 0x30032f65
push edi
call fcn.3004315f
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 0x30032cf0
push dword [ebp - 0x120]
call fcn.3004315f
jmp 0x30032fb9
push dword [ebp - 0x120]
jmp 0x30032f3e
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004315f
cmp dword [ebp - 0x110], ebx
je 0x30033774
push dword [ebp - 0x110]
jmp 0x30032f8a
push dword [ebp - 0x144]
jmp 0x30032f66
push edi
mov dword [ebp - 0x11c], ebx
call fcn.3004315f
cmp dword [ebp - 0x110], ebx
je 0x30032f84
push dword [ebp - 0x110]
call fcn.3004315f
push dword [ebp - 0x120]
call fcn.3004315f
jmp 0x30033774
cmp dword [ebp - 0x138], ebx
jg 0x30032fb9
mov eax, dword [ebp - 0x148]
cmp eax, ebx
je 0x30032faa
cmp dword [eax], ebx
ja 0x30032fb9
cmp dword [esi + 0x28], ebx
jne 0x30032fb9
cmp dword [esi + 0xc], ebx
jne 0x30032fb9
cmp dword [esi + 0x10], ebx
je 0x3003300c
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.3003026e
test eax, eax
je 0x30033774
cmp dword [0x300cb4e8], ebx
je 0x30033325
cmp dword [0x300d16fc], ebx
jne 0x3003300c
cmp dword [0x300cb85c], 5
je 0x3003332e
xor eax, eax
inc eax
cmp dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], eax
mov dword [esi + 0x3c], eax
je 0x30033054
mov ecx, dword [0x300d1778]
cmp ecx, ebx
je 0x30033054
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.30041785
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.30025d63
test eax, eax
je 0x300333fb
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 0x30033093
mov dword [ebp - 0x13c], 1
cmp dword [esi + 0x28], ebx
je 0x300330a6
cmp dword [ebp - 0x140], ebx
jne 0x300330a6
inc dword [ebp - 0x13c]
cmp dword [ebp - 0x13c], ebx
je 0x300330b3
call fcn.3003667d
mov dword [0x300bcfa0], ebx
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
je 0x300331ca
mov dword [0x300bcfa0], 1
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
mov dword [ebp - 0x118], ebx
jle 0x300331ba
xor edi, edi
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi + 8]
push eax
call fcn.30059eb2
inc eax
push eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
call fcn.30043398
test eax, eax
je 0x300333fb
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.3003d5d6
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.300366c0
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.30025e5f
test eax, eax
push dword [ebp - 0x120]
je 0x30033361
call fcn.300432ec
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 0x300330e1
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x164], 1
mov dword [0x300bcfa0], ebx
cmp dword [0x300cb85c], 5
je 0x30033215
lea eax, [ebp - 0x154]
push eax
call fcn.300308a7
test eax, eax
je 0x30033215
push dword [ebp - 0x154]
call fcn.30059eb2
inc eax
push eax
push dword [ebp - 0x154]
push 0x30004714
call fcn.30025e5f
test eax, eax
je 0x300333fb
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x12c], ebx
je 0x3003323b
push dword [ebp - 0x138]
push dword [ebp - 0x15c]
call fcn.30030247
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x148], ebx
je 0x3003325b
push dword [ebp - 0x148]
call fcn.300325a3
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x300333e9
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.3003dccc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jle 0x30033371
push eax
call fcn.30043102
cmp eax, ebx
mov dword [ebp - 0x124], eax
je 0x300332c2
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.3003dcd5
push 0x3000470c
push dword [ebp - 0x120]
call fcn.3003d64e
push dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x124]
push eax
call fcn.30025e5f
test eax, eax
push dword [ebp - 0x128]
je 0x30033701
call fcn.3004315f
push dword [ebp - 0x124]
jmp 0x300333b3
cmp dword [esi + 0x30], ebx
jne 0x3003300c
push esi
push 0x30039306
push dword [0x300d1734]
push 0x6d
push dword [0x3008b480]
call fcn.300352ee
test eax, eax
jne 0x3003300c
mov eax, dword [ebp - 0x158]
mov dword [eax + 8], 1
jmp 0x30033774
mov dword [ebp - 0x11c], ebx
call fcn.300432ec
jmp 0x30033727
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3000470c
push dword [ebp - 0x120]
mov dword [ebp - 0x150], eax
call fcn.3003d64e
push 4
lea ecx, [ebp - 0x150]
push ecx
push eax
mov dword [ebp - 0x128], eax
mov byte [eax], 0x21
call fcn.30025e5f
test eax, eax
push dword [ebp - 0x128]
je 0x30033701
call fcn.3004315f
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 0x30033282
cmp dword [esi + 0x30], ebx
je 0x30033413
lea eax, [esi + 0x18]
push eax
call fcn.30025f17
test eax, eax
jne 0x30033406
mov dword [ebp - 0x11c], ebx
jmp 0x30033727
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [esi + 0x28], ebx
je 0x30033727
cmp dword [ebp - 0x140], ebx
jne 0x30033727
cmp dword [0x300cb85c], ebx
jne 0x300334c5
cmp dword [0x300c9dd0], ebx
jne 0x30033459
mov dword [ebp - 0x11c], ebx
call fcn.3003db37
test eax, eax
je 0x30033727
push 0x300046e8
jmp 0x30033722
push dword [0x300c9dd4]
xor edi, edi
inc edi
push edi
push ebx
push dword [ebp - 0x13c]
push dword [ebp - 0x164]
call fcn.300366c0
test byte [0x300bfc9c], 0x20
mov dword [0x300bcfa0], edi
mov eax, 0x300046d8
jne 0x3003348e
mov eax, 0x300046cc
push dword [0x300c9dd4]
push dword [0x300c9dd0]
push eax
call fcn.30025e5f
test eax, eax
jne 0x300336a1
mov dword [ebp - 0x11c], ebx
call fcn.3003db37
test eax, eax
je 0x30033727
push 0x300046a8
jmp 0x30033722
mov eax, dword [ebp - 0x14c]
cmp eax, ebx
je 0x3003370e
cmp word [eax], bx
je 0x3003370e
push eax
call fcn.30059f43
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30043102
cmp eax, ebx
mov dword [ebp - 0x124], eax
jne 0x30033515
mov dword [ebp - 0x11c], ebx
call fcn.3003db37
test eax, eax
je 0x30033727
push 0x3000467c
jmp 0x30033722
push edi
push dword [ebp - 0x124]
push dword [ebp - 0x14c]
call fcn.3005b404
push 0x7c
push dword [ebp - 0x124]
call fcn.3003e195
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.3003dca9
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x300336d5
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 0x3003364d
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 0x30033641
push 0x30002a15
push dword [ebp - 0x118]
call fcn.3003d64e
cmp eax, ebx
mov dword [ebp - 0x140], eax
je 0x30033635
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.300366c0
push edi
push dword [ebp - 0x128]
push dword [ebp - 0x140]
call fcn.30025e5f
test eax, eax
push dword [ebp - 0x140]
je 0x300336ba
call fcn.3004315f
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 0x300336d5
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 0x30033566
push dword [ebp - 0x124]
call fcn.3004315f
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 0x30033727
mov dword [ebp - 0x11c], ebx
call fcn.3004315f
push dword [ebp - 0x124]
call fcn.3004315f
jmp 0x300334ae
call fcn.3003db37
test eax, eax
je 0x300336f0
push dword [ebp - 0x118]
push 0x30004658
call fcn.3003dc56
pop ecx
pop ecx
push ebx
push 0x30303030
call fcn.300435b4
push dword [ebp - 0x124]
mov dword [ebp - 0x11c], ebx
call fcn.3004315f
jmp 0x30033727
mov dword [ebp - 0x11c], ebx
call fcn.3003db37
test eax, eax
je 0x30033727
push 0x30004630
call fcn.3003dbd1
push dword [ebp - 0x11c]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.30025f4c
test eax, eax
je 0x30033746
cmp dword [ebp - 0x11c], ebx
jne 0x30033763
call fcn.3003db37
test eax, eax
je 0x30033759
push 0x30004618
call fcn.3003dbd1
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 0x3003379b
xor edi, edi
cmp dword [esi], ebx
jbe 0x30033795
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esi]
jb 0x30033784
push esi
call fcn.3005943c
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x300337cd
xor esi, esi
cmp dword [eax], ebx
jbe 0x300337c7
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + esi*4]
cmp dword [ecx], ebx
je 0x300337c2
push dword [ecx]
call fcn.3004315f
mov eax, dword [ebp - 0x12c]
inc esi
cmp esi, dword [eax]
jb 0x300337ab
push eax
call fcn.3005943c
cmp dword [ebp - 0x15c], ebx
je 0x300337e0
push dword [ebp - 0x15c]
call fcn.3004315f
cmp dword [ebp - 0x154], ebx
je 0x300337f3
push dword [ebp - 0x154]
call fcn.3004315f
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 0x3003382e
call fcn.3003db37
test eax, eax
je 0x3003382c
push 0x300045e0
call fcn.3003dbd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30069776
leave
ret 0x10