Function at 0x10063b70
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x1012cb92
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4dc]
mov ebp, dword [esp + 0x4d8]
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.10001f50
xor ebx, ebx
mov dword [esi + 0x18], ebx
cmp byte [esi + 0x1c], bl
jne 0x10063d9b
call fcn.10069bc0
test al, al
je 0x10063bfa
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.1006ea90
mov ecx, eax
mov eax, str.ReadConfig
call fcn.1006eed0
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], fcn.100cf978
mov dword [esp + 0x34], fcn.100cfa42
mov dword [esp + 0x38], fcn.100cf89b
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0x1fff8
mov dword [esp + 0x2c], vtable.t_heap.0
lea edi, [esp + 0x48]
mov dword [esp + 0x4d0], ebx
call fcn.10062500
mov eax, dword [esp + 0x1c]
mov edx, edi
call fcn.10062710
mov ecx, edi
push ecx
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x4d8], 2
call fcn.1006de40
mov byte [esp + 0x4d0], bl
mov byte [esp + 0x17], al
mov dword [esp + 0x48], vtable.t_str.0
cmp byte [esp + 0x164], bl
jne 0x10063c93
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
cmp eax, edx
je 0x10063c93
push eax
call fcn.100cf89b
add esp, 4
call fcn.10069bc0
test al, al
je 0x10063cf1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.1006ea90
mov esi, eax
cmp byte [esi], 0
je 0x10063ceb
mov ecx, esi
call fcn.1006efc0
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ecx
jg 0x10063cc5
mov dword [esi + 4], ecx
jmp 0x10063ceb
mov dword [esi + eax*8 + 0xfc8], ecx
mov dword [esi + eax*8 + 0xfcc], ecx
add dword [esi + 4], 0xffffffff
je 0x10063ceb
add esi, 8
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x1c]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov esi, dword [esp + 0x18]
xor ebx, ebx
cmp byte [esp + 0x17], bl
jne 0x10063d52
mov ecx, ebp
call fcn.100619a0
push 0x10145b74
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
mov dword [esp + 0x4d8], 0xffffffff
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, ebx
je 0x10063d3a
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.10001f50
xor al, al
jmp 0x10063fa1
lea eax, [esp + 0x20]
push eax
push esi
call fcn.10064670
mov dword [esp + 0x4d0], 0xffffffff
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x10063d85
push eax
call fcn.100cf89b
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.10001f50
jmp 0x10063f9f
lea esi, [esp + 0x16c]
call fcn.1006c860
mov esi, vtable.t_fileRead.0
mov dword [esp + 0x16c], esi
mov dword [esp + 0x4b8], 0x101474dc
mov dword [esp + 0x4bc], ebx
mov dword [esp + 0x4c0], ebx
lea edi, [esp + 0x48]
mov dword [esp + 0x4d0], 3
call fcn.10062500
mov eax, dword [esp + 0x1c]
mov edx, edi
call fcn.10062710
mov ecx, edi
push ecx
mov eax, ebp
lea edi, [esp + 0x170]
mov byte [esp + 0x4d4], 5
call fcn.1006e730
mov byte [esp + 0x4d0], 3
mov byte [esp + 0x17], al
mov dword [esp + 0x48], vtable.t_str.0
cmp byte [esp + 0x164], bl
jne 0x10063e36
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
cmp eax, edx
je 0x10063e36
push eax
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x10063e87
mov ecx, ebp
call fcn.100619a0
push 0x10145b88
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
mov dword [esp + 0x4d8], 0xffffffff
mov dword [esp + 0x174], esi
add esp, 8
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4b8], 0x10147794
call fcn.1006c8d0
xor al, al
jmp 0x10063fa1
mov ecx, dword [esp + 0x170]
lea eax, [esp + 0x44]
push eax
push ecx
mov dword [esp + 0x4c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10063eb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x10063eb1
xor edi, edi
lea edx, [edi + 1]
push edx
call fcn.100cf978
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10063ef6
mov ecx, ebp
call fcn.100619a0
push 0x10145b9c
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
mov dword [esp + 0x4d8], 0xffffffff
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x10063e66
push edi
push esi
push ebp
lea ecx, [esp + 0x4c4]
call fcn.1006e780
test al, al
jne 0x10063f30
push 0x10145bc0
mov ecx, ebp
call fcn.10001360
mov dword [esp + 0x4d0], 0xffffffff
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x10063e69
lea eax, [esp + 0x16c]
push eax
mov byte [edi + esi], bl
call fcn.1006cbc0
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, edi
mov edx, esi
call fcn.10063fd0
push esi
mov byte [esp + 0x1b], al
call fcn.100cf89b
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x10063f88
push 0x10145b74
mov ecx, ebp
call fcn.10001360
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.1006e710
xor al, al
jmp 0x10063fa1
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d0], 0xffffffff
call fcn.1006e710
mov al, 1
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.100cf604
add esp, 0x4c0
ret 8