Function at 0x438550
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x504102
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x5355a0]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5355a0]
xor eax, esp
push eax
lea eax, [esp + 0x4cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4dc]
mov esi, ecx
mov dword [esp + 0x1c], esi
mov edi, edx
call fcn.00403460
xor ebx, ebx
mov dword [esi + 0x18], ebx
cmp byte [esi + 0x1c], bl
jne 0x438774
call fcn.00441c30
test al, al
je 0x4385d1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.004456d0
mov ecx, eax
mov eax, str.ReadConfig
call fcn.00445b10
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], fcn.004c328d
mov dword [esp + 0x38], fcn.004c53b2
mov dword [esp + 0x3c], fcn.004c31b0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x1fff8
mov dword [esp + 0x30], vtable.t_heap.0
lea ecx, [esp + 0x48]
mov dword [esp + 0x4d4], ebx
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x48]
call fcn.00434c20
lea eax, [esp + 0x48]
push eax
push ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4dc], 2
call fcn.0043e080
mov byte [esp + 0x4d4], bl
mov byte [esp + 0x1b], al
mov dword [esp + 0x48], vtable.t_str.0
cmp byte [esp + 0x164], bl
jne 0x43866c
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x43866c
push eax
call fcn.004c31b0
add esp, 4
call fcn.00441c30
test al, al
je 0x4386ca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call fcn.004456d0
mov esi, eax
cmp byte [esi], 0
je 0x4386c4
mov ecx, esi
call fcn.00445c00
mov eax, dword [esi + 4]
xor ecx, ecx
cmp eax, ecx
jg 0x43869e
mov dword [esi + 4], ecx
jmp 0x4386c4
mov dword [esi + eax*8 + 0xfc8], ecx
mov dword [esi + eax*8 + 0xfcc], ecx
add dword [esi + 4], 0xffffffff
je 0x4386c4
add esi, 8
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x20]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp byte [esp + 0x1b], bl
jne 0x43872b
mov ecx, ebp
call fcn.00433db0
push 0x51f784
push 0x51620c
mov edx, eax
call fcn.004351e0
mov dword [esp + 0x4dc], 0xffffffff
mov eax, dword [esp + 0x2c]
add esp, 8
cmp eax, ebx
je 0x438713
push eax
call fcn.004c31b0
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
xor al, al
jmp 0x43897c
lea edx, [esp + 0x24]
push edx
push esi
call fcn.00439030
mov dword [esp + 0x4d4], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43875e
push eax
call fcn.004c31b0
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00403460
jmp 0x43897a
lea esi, [esp + 0x16c]
call fcn.0043a2a0
mov esi, vtable.t_fileRead.0
mov dword [esp + 0x16c], esi
mov dword [esp + 0x4b8], 0x521060
mov dword [esp + 0x4bc], ebx
mov dword [esp + 0x4c0], ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4d4], 3
call fcn.004349d0
mov eax, edi
lea edx, [esp + 0x48]
call fcn.00434c20
lea eax, [esp + 0x48]
push eax
mov eax, ebp
lea edi, [esp + 0x170]
mov byte [esp + 0x4d8], 5
call fcn.00441f90
mov byte [esp + 0x4d4], 3
mov byte [esp + 0x1b], al
mov dword [esp + 0x48], vtable.t_str.0
cmp byte [esp + 0x164], bl
jne 0x438811
mov eax, dword [esp + 0x50]
lea ecx, [esp + 0x54]
cmp eax, ecx
je 0x438811
push eax
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x438862
mov ecx, ebp
call fcn.00433db0
push 0x51f798
push 0x51620c
mov edx, eax
call fcn.004351e0
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + 0x174], esi
add esp, 8
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4b8], 0x52106c
call fcn.0043a310
xor al, al
jmp 0x43897c
mov eax, dword [esp + 0x170]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43888c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x43888c
xor edi, edi
lea ecx, [edi + 1]
push ecx
call fcn.004c328d
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x4388d1
mov ecx, ebp
call fcn.00433db0
push 0x51f7ac
push 0x51620c
mov edx, eax
call fcn.004351e0
mov dword [esp + 0x4dc], 0xffffffff
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x438841
push edi
push esi
push ebp
lea ecx, [esp + 0x4c4]
call fcn.00441fe0
test al, al
jne 0x43890b
push 0x51f7d0
mov ecx, ebp
call fcn.00402790
mov dword [esp + 0x4d4], 0xffffffff
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
jmp 0x438844
lea edx, [esp + 0x16c]
push edx
mov byte [edi + esi], bl
call fcn.0043a600
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
mov edx, esi
call fcn.004389b0
push esi
mov byte [esp + 0x1f], al
call fcn.004c31b0
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x438963
push 0x51f784
mov ecx, ebp
call fcn.00402790
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d4], 0xffffffff
call fcn.00441f70
xor al, al
jmp 0x43897c
lea ecx, [esp + 0x16c]
mov dword [esp + 0x4d4], 0xffffffff
call fcn.00441f70
mov al, 1
mov ecx, dword [esp + 0x4cc]
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.004c31a1
add esp, 0x4c4
ret 4