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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
mov eax, dword [0x30022344]
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 [0x300cc88c], 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 0x3003282f
test byte [0x300c0ccc], 0x40
mov dword [ebp - 0x128], edi
jne 0x30032835
mov dword [ebp - 0x128], ebx
cmp dword [esi + 0x14], ebx
jg 0x30032845
mov dword [0x300d2754], edi
jmp 0x3003389a
cmp dword [0x300cc880], ebx
je 0x30032850
mov dword [esi + 0x28], edi
mov ecx, dword [esi + 0x44]
cmp ecx, ebx
jne 0x3003285c
cmp dword [esi + 0x40], ebx
je 0x30032875
cmp dword [esi + 0x24], ebx
jne 0x30033887
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032875
cmp word [eax], bx
jne 0x30033887
cmp ecx, ebx
je 0x300328c1
mov eax, dword [esi]
cmp eax, ebx
je 0x30032883
cmp byte [eax], bl
jne 0x300328aa
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x3003288e
cmp byte [eax], bl
jne 0x300328aa
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x3003289a
cmp word [eax], bx
jne 0x300328aa
cmp dword [esi + 0x28], ebx
jne 0x300328aa
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x300328c1
cmp byte [eax], bl
je 0x300328c1
call fcn.3003dc3a
test eax, eax
je 0x3003389a
push 0x30004790
jmp 0x30033895
cmp dword [0x300d2748], ebx
je 0x300328e5
cmp dword [esi + 0x28], ebx
je 0x300328e5
call fcn.3003dc3a
test eax, eax
je 0x3003389a
push 0x30004760
jmp 0x30033895
mov ecx, dword [0x300d27a8]
cmp ecx, ebx
je 0x30032929
cmp dword [0x300cc88c], ebx
jne 0x30032929
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 [0x300cc88c], 5
jne 0x30032973
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jne 0x30032949
push ebx
push 0x30303030
call fcn.300436bb
jmp 0x3003389a
cmp dword [esi + 0x28], ebx
jne 0x30032967
cmp edx, ebx
je 0x30032967
cmp word [edx], bx
je 0x30032967
push eax
push edx
call fcn.30040f7a
test eax, eax
jne 0x3003296d
jmp 0x3003389a
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x14c], ebx
mov eax, dword [esi]
cmp eax, ebx
je 0x300329af
jmp 0x300329ab
cmp byte [eax], bl
mov edi, eax
je 0x3003298b
cmp byte [edi], 0x3b
je 0x3003298b
inc edi
cmp byte [edi], bl
jne 0x30032981
cmp byte [edi], bl
push ebx
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x300329a1
call fcn.3003020e
mov eax, edi
jmp 0x300329ab
mov byte [edi], bl
call fcn.3003020e
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x3003297b
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x300329ed
jmp 0x300329e9
cmp byte [eax], bl
mov edi, eax
je 0x300329c8
cmp byte [edi], 0x3b
je 0x300329c8
inc edi
cmp byte [edi], bl
jne 0x300329be
cmp byte [edi], bl
push 1
lea ecx, [ebp - 0x12c]
push ecx
push eax
jne 0x300329df
call fcn.3003020e
mov eax, edi
jmp 0x300329e9
mov byte [edi], bl
call fcn.3003020e
lea eax, [edi + 1]
cmp byte [eax], bl
jne 0x300329b8
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x30032a40
cmp dword [eax], ebx
jbe 0x30032a40
push eax
call fcn.3002fe89
cmp eax, ebx
mov dword [ebp - 0x138], eax
jle 0x30032a40
inc dword [ebp - 0x138]
push dword [ebp - 0x138]
call fcn.30043209
cmp eax, ebx
mov dword [ebp - 0x15c], eax
je 0x30032a3a
push dword [ebp - 0x138]
push eax
push dword [ebp - 0x12c]
call fcn.3002fec8
jmp 0x30032a40
mov dword [ebp - 0x138], ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x30032a58
cmp byte [eax], bl
je 0x30032a58
lea ecx, [ebp - 0x148]
push ecx
push eax
call fcn.300323e1
cmp dword [esi + 0x24], ebx
je 0x30032a73
cmp dword [ebp - 0x124], ebx
je 0x30032a73
lea eax, [ebp - 0x124]
push eax
call fcn.30030958
jmp 0x30032a79
mov dword [ebp - 0x124], ebx
lea eax, [esi + 0xc]
push eax
call fcn.30030a26
test eax, eax
je 0x300337e2
lea eax, [esi + 0x10]
push eax
call fcn.30030a26
test eax, eax
je 0x300337e2
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30032cf6
lea ecx, [ebp - 0x134]
push ecx
push 0x3000475c
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.3003ddac
cmp eax, 0xffffffff
mov dword [ebp - 0x160], eax
je 0x30032c12
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 0x30032bfa
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 0x30032bee
push 0x30002a3d
push dword [ebp - 0x118]
call fcn.3003d751
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 fcn.3006a130
add esp, 0xc
push edi
mov dword [ebp - 0x10c], edi
call fcn.30043209
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x120]
call fcn.3005b52e
cmp dword [ebp - 0x110], ebx
je 0x30032fa3
push dword [ebp - 0x10c]
push dword [ebp - 0x144]
push dword [ebp - 0x110]
call fcn.3006a12a
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032fa3
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.30059aa4
test eax, eax
je 0x30032fa3
push dword [ebp - 0x120]
call fcn.30043266
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 0x30032cc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a3d
push dword [ebp - 0x118]
mov dword [ebp - 0x130], eax
call fcn.3003d751
mov edi, eax
push 0x10c
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [edi], 0x21
call fcn.3006a130
add esp, 0xc
push 4
pop eax
push eax
mov dword [ebp - 0x10c], eax
call fcn.30043209
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b52e
cmp dword [ebp - 0x110], ebx
je 0x30032fab
push dword [ebp - 0x10c]
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x110]
call fcn.3006a12a
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032fab
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.30059aa4
test eax, eax
je 0x30032fab
push edi
call fcn.30043266
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 0x3000475c
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30032ac2
cmp dword [ebp - 0x124], ebx
je 0x30033002
cmp dword [esi + 0x24], ebx
je 0x30033027
push dword [ebp - 0x124]
call fcn.3005a04d
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30043209
cmp eax, ebx
mov dword [ebp - 0x120], eax
je 0x30033469
push edi
push eax
push dword [ebp - 0x124]
call fcn.3005b50c
lea eax, [ebp - 0x150]
push eax
push 0x30004758
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.3003ddac
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30032eb3
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 0x30032e9b
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 0x30032e8f
push 0x30002a3d
push dword [ebp - 0x118]
call fcn.3003d751
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 fcn.3006a130
add esp, 0xc
push edi
mov dword [ebp - 0x10c], edi
call fcn.30043209
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x144]
call fcn.3005b52e
cmp dword [ebp - 0x110], ebx
je 0x30032fcb
push dword [ebp - 0x10c]
push dword [ebp - 0x160]
push dword [ebp - 0x110]
call fcn.3006a12a
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032fcb
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.30059aa4
test eax, eax
je 0x30032fcb
push dword [ebp - 0x144]
call fcn.30043266
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 0x30032f5e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30002a3d
push dword [ebp - 0x118]
mov dword [ebp - 0x134], eax
call fcn.3003d751
mov edi, eax
push 0x10c
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [edi], 0x21
call fcn.3006a130
add esp, 0xc
push 4
pop eax
push eax
mov dword [ebp - 0x10c], eax
call fcn.30043209
mov dword [ebp - 0x110], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call fcn.3005b52e
cmp dword [ebp - 0x110], ebx
je 0x30032fd3
push dword [ebp - 0x10c]
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x110]
call fcn.3006a12a
add esp, 0xc
cmp dword [ebp - 0x110], ebx
je 0x30032fd3
mov eax, dword [esi + 0x2c]
push ebx
lea ecx, [ebp - 0x110]
push ecx
push eax
call fcn.30059aa4
test eax, eax
je 0x30032fd3
push edi
call fcn.30043266
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 0x30004758
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x30032d5e
push dword [ebp - 0x120]
call fcn.30043266
jmp 0x30033027
push dword [ebp - 0x120]
jmp 0x30032fac
push edi
mov dword [ebp - 0x11c], ebx
call fcn.30043266
cmp dword [ebp - 0x110], ebx
je 0x300337e2
push dword [ebp - 0x110]
jmp 0x30032ff8
push dword [ebp - 0x144]
jmp 0x30032fd4
push edi
mov dword [ebp - 0x11c], ebx
call fcn.30043266
cmp dword [ebp - 0x110], ebx
je 0x30032ff2
push dword [ebp - 0x110]
call fcn.30043266
push dword [ebp - 0x120]
call fcn.30043266
jmp 0x300337e2
cmp dword [ebp - 0x138], ebx
jg 0x30033027
mov eax, dword [ebp - 0x148]
cmp eax, ebx
je 0x30033018
cmp dword [eax], ebx
ja 0x30033027
cmp dword [esi + 0x28], ebx
jne 0x30033027
cmp dword [esi + 0xc], ebx
jne 0x30033027
cmp dword [esi + 0x10], ebx
je 0x3003307a
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.300302d0
test eax, eax
je 0x300337e2
cmp dword [0x300cc518], ebx
je 0x30033393
cmp dword [0x300d272c], ebx
jne 0x3003307a
cmp dword [0x300cc88c], 5
je 0x3003339c
xor eax, eax
inc eax
cmp dword [ebp - 0x128], ebx
mov dword [ebp - 0x11c], eax
mov dword [esi + 0x3c], eax
je 0x300330c2
mov ecx, dword [0x300d27a8]
cmp ecx, ebx
je 0x300330c2
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.3004188c
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x4000
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.30025dcb
test eax, eax
je 0x30033469
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 0x30033101
mov dword [ebp - 0x13c], 1
cmp dword [esi + 0x28], ebx
je 0x30033114
cmp dword [ebp - 0x140], ebx
jne 0x30033114
inc dword [ebp - 0x13c]
cmp dword [ebp - 0x13c], ebx
je 0x30033121
call fcn.300366c0
mov dword [0x300bdfd0], ebx
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
je 0x30033238
mov dword [0x300bdfd0], 1
mov eax, dword [esi + 0x2c]
cmp dword [eax], ebx
mov dword [ebp - 0x118], ebx
jle 0x30033228
xor edi, edi
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi + 8]
push eax
call fcn.30059fbc
inc eax
push eax
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x120]
push eax
call fcn.3004349f
test eax, eax
je 0x30033469
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 fcn.3006a12a
add esp, 0xc
push dword [ebp - 0x128]
push dword [ebp - 0x120]
call fcn.3003d6d9
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.3003672e
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.30025ec7
test eax, eax
push dword [ebp - 0x120]
je 0x300333cf
call fcn.300433f3
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 0x3003314f
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x164], 1
mov dword [0x300bdfd0], ebx
cmp dword [0x300cc88c], 5
je 0x30033283
lea eax, [ebp - 0x154]
push eax
call fcn.30030909
test eax, eax
je 0x30033283
push dword [ebp - 0x154]
call fcn.30059fbc
inc eax
push eax
push dword [ebp - 0x154]
push 0x3000474c
call fcn.30025ec7
test eax, eax
je 0x30033469
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x12c], ebx
je 0x300332a9
push dword [ebp - 0x138]
push dword [ebp - 0x15c]
call fcn.300302a9
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [ebp - 0x148], ebx
je 0x300332c9
push dword [ebp - 0x148]
call fcn.30032615
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x30033457
lea ecx, [ebp - 0x134]
push ecx
push 0x3000475c
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.3003ddcf
cmp eax, ebx
mov dword [ebp - 0x118], eax
jle 0x300333df
push eax
call fcn.30043209
cmp eax, ebx
mov dword [ebp - 0x124], eax
je 0x30033330
push dword [ebp - 0x118]
push ebx
push eax
call fcn.3006a130
add esp, 0xc
push dword [ebp - 0x124]
push dword [ebp - 0x118]
push dword [ebp - 0x158]
push dword [ebp - 0x120]
call fcn.3003ddd8
push 0x30004744
push dword [ebp - 0x120]
call fcn.3003d751
push dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
push dword [ebp - 0x124]
push eax
call fcn.30025ec7
test eax, eax
push dword [ebp - 0x128]
je 0x3003376f
call fcn.30043266
push dword [ebp - 0x124]
jmp 0x30033421
cmp dword [esi + 0x30], ebx
jne 0x3003307a
push esi
push 0x30039374
push dword [0x300d2764]
push 0x6d
push dword [0x3008c480]
call fcn.3003535c
test eax, eax
jne 0x3003307a
mov eax, dword [ebp - 0x158]
mov dword [eax + 8], 1
jmp 0x300337e2
mov dword [ebp - 0x11c], ebx
call fcn.300433f3
jmp 0x30033795
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x30004744
push dword [ebp - 0x120]
mov dword [ebp - 0x150], eax
call fcn.3003d751
push 4
lea ecx, [ebp - 0x150]
push ecx
push eax
mov dword [ebp - 0x128], eax
mov byte [eax], 0x21
call fcn.30025ec7
test eax, eax
push dword [ebp - 0x128]
je 0x3003376f
call fcn.30043266
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea eax, [ebp - 0x134]
push eax
push 0x3000475c
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x120], eax
jne 0x300332f0
cmp dword [esi + 0x30], ebx
je 0x30033481
lea eax, [esi + 0x18]
push eax
call fcn.30025f7f
test eax, eax
jne 0x30033474
mov dword [ebp - 0x11c], ebx
jmp 0x30033795
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
cmp dword [esi + 0x28], ebx
je 0x30033795
cmp dword [ebp - 0x140], ebx
jne 0x30033795
cmp dword [0x300cc88c], ebx
jne 0x30033533
cmp dword [0x300cae00], ebx
jne 0x300334c7
mov dword [ebp - 0x11c], ebx
call fcn.3003dc3a
test eax, eax
je 0x30033795
push 0x30004720
jmp 0x30033790
push dword [0x300cae04]
xor edi, edi
inc edi
push edi
push ebx
push dword [ebp - 0x13c]
push dword [ebp - 0x164]
call fcn.3003672e
test byte [0x300c0ccc], 0x20
mov dword [0x300bdfd0], edi
mov eax, 0x30004710
jne 0x300334fc
mov eax, 0x30004704
push dword [0x300cae04]
push dword [0x300cae00]
push eax
call fcn.30025ec7
test eax, eax
jne 0x3003370f
mov dword [ebp - 0x11c], ebx
call fcn.3003dc3a
test eax, eax
je 0x30033795
push 0x300046e0
jmp 0x30033790
mov eax, dword [ebp - 0x14c]
cmp eax, ebx
je 0x3003377c
cmp word [eax], bx
je 0x3003377c
push eax
call fcn.3005a04d
mov edi, eax
inc edi
lea eax, [edi + edi]
push eax
call fcn.30043209
cmp eax, ebx
mov dword [ebp - 0x124], eax
jne 0x30033583
mov dword [ebp - 0x11c], ebx
call fcn.3003dc3a
test eax, eax
je 0x30033795
push 0x300046b4
jmp 0x30033790
push edi
push dword [ebp - 0x124]
push dword [ebp - 0x14c]
call fcn.3005b50c
push 0x7c
push dword [ebp - 0x124]
call fcn.3003e296
inc eax
mov dword [ebp - 0x158], eax
lea eax, [ebp - 0x134]
push eax
push 0x30004758
push dword [ebp - 0x124]
mov dword [0x300bdfd0], 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.3003ddac
cmp eax, 0xffffffff
mov dword [ebp - 0x130], eax
je 0x30033743
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 0x300336bb
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 0x300336af
push 0x30002a3d
push dword [ebp - 0x118]
call fcn.3003d751
cmp eax, ebx
mov dword [ebp - 0x140], eax
je 0x300336a3
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.3003672e
push edi
push dword [ebp - 0x128]
push dword [ebp - 0x140]
call fcn.30025ec7
test eax, eax
push dword [ebp - 0x140]
je 0x30033728
call fcn.30043266
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 0x30033743
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 0x30004758
push ebx
call dword [sym.imp.MSVCR80.dll_wcstok_s]
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x118], eax
jne 0x300335d4
push dword [ebp - 0x124]
call fcn.30043266
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dword [0x300bdfd0], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x30033795
mov dword [ebp - 0x11c], ebx
call fcn.30043266
push dword [ebp - 0x124]
call fcn.30043266
jmp 0x3003351c
call fcn.3003dc3a
test eax, eax
je 0x3003375e
push dword [ebp - 0x118]
push 0x30004690
call fcn.3003dd59
pop ecx
pop ecx
push ebx
push 0x30303030
call fcn.300436bb
push dword [ebp - 0x124]
mov dword [ebp - 0x11c], ebx
call fcn.30043266
jmp 0x30033795
mov dword [ebp - 0x11c], ebx
call fcn.3003dc3a
test eax, eax
je 0x30033795
push 0x30004668
call fcn.3003dcd4
push dword [ebp - 0x11c]
lea edi, [esi + 0x1c]
push edi
add esi, 0x20
push esi
call fcn.30025fb4
test eax, eax
je 0x300337b4
cmp dword [ebp - 0x11c], ebx
jne 0x300337d1
call fcn.3003dc3a
test eax, eax
je 0x300337c7
push 0x30004650
call fcn.3003dcd4
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 0x30033809
xor edi, edi
cmp dword [esi], ebx
jbe 0x30033803
mov eax, dword [esi + 0xc]
push dword [eax + edi*4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esi]
jb 0x300337f2
push esi
call fcn.30059546
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x3003383b
xor esi, esi
cmp dword [eax], ebx
jbe 0x30033835
mov ecx, dword [eax + 0xc]
lea ecx, [ecx + esi*4]
cmp dword [ecx], ebx
je 0x30033830
push dword [ecx]
call fcn.30043266
mov eax, dword [ebp - 0x12c]
inc esi
cmp esi, dword [eax]
jb 0x30033819
push eax
call fcn.30059546
cmp dword [ebp - 0x15c], ebx
je 0x3003384e
push dword [ebp - 0x15c]
call fcn.30043266
cmp dword [ebp - 0x154], ebx
je 0x30033861
push dword [ebp - 0x154]
call fcn.30043266
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 0x3003389c
call fcn.3003dc3a
test eax, eax
je 0x3003389a
push 0x30004618
call fcn.3003dcd4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30069876
leave
ret 0x10