Function at 0x511ab9
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x1a0
mov eax, 0x7925fd
call fcn.00700ca1
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], edi
push esi
mov dword [ebp - 0x1a4], edi
mov dword [ebp - 0x198], esi
call fcn.0050f908
pop ecx
test eax, eax
jne 0x511cf1
push 7
xor ebx, ebx
mov dword [ebp - 0x44], 0xf
push str.GPCUtil
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00439710
lea eax, [ebp - 0x58]
mov dword [ebp - 4], ebx
push eax
call fcn.006210e3
pop ecx
push 4
push str.file
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov edi, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00439710
push ebx
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 1
push esi
push eax
call fcn.00620ff2
add esp, 0xc
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.0061c551
mov esi, eax
push ebx
push 0x858903
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push str.CFileSystem::LoadFileContent__LoadFileContent_file_not_exist
push eax
call fcn.006212a1
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0061c551
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00621517
lea ecx, [ebp - 0xb8]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
lea ecx, [ebp - 0x70]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
mov esi, 0x1000
cmp eax, 0x10
jb 0x511c22
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x511c19
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x1a0]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00438e20
lea ecx, [ebp - 0x100]
call fcn.00438e20
lea ecx, [ebp - 0xa0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x511c96
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], ecx
cmp eax, esi
jb 0x511c8d
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
cmp eax, 0x10
jb 0x5126c7
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x1a0], ecx
cmp eax, esi
jb 0x5126be
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1a0]
jmp 0x5126be
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x511cfb
mov eax, dword [esi]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 7
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1a0], eax
cmp eax, 0xffffffff
je 0x5123e3
test eax, eax
je 0x5123e3
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x8442b4
mov dword [ebp - 0x194], eax
lea ecx, [eax + 2]
push ecx
call fcn.00701108
mov esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x19c], esi
mov dword [ebp - 0x1ac], esi
mov dword [ebp - 4], 0x11
test esi, esi
jne 0x511f81
push 7
push str.GPCUtil
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
call fcn.00439710
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x12
push eax
call fcn.006210e3
mov dword [esp], str.::GetLastError__
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x19c], bl
mov edi, eax
push dword [ebp - 0x19c]
mov dword [ebp - 0x18], ebx
push 0x10
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.0043a610
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.006211a2
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.0061c551
mov esi, eax
push ebx
push 0x858903
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00439710
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x16
push str.CFileSystem::LoadFileContent___out_of_memory
push eax
call fcn.006212a1
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.0061c551
push esi
push eax
mov ecx, edi
mov byte [ebp - 4], 0x18
call fcn.00621517
lea ecx, [ebp - 0xb8]
call fcn.00438e20
lea ecx, [ebp - 0xd0]
call fcn.00438e20
lea ecx, [ebp - 0xa0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
mov esi, 0x1000
cmp eax, 0x10
jb 0x511ea8
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x511e9f
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x198]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x100]
call fcn.00438e20
lea ecx, [ebp - 0x70]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x511f19
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x511f10
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 0x11
cmp eax, 0x10
jb 0x511f70
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x511f67
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5126c7
mov eax, dword [ebp - 0x194]
mov ecx, esi
add eax, 2
je 0x511f96
mov byte [ecx], bl
inc ecx
sub eax, 1
jne 0x511f8e
push ebx
push ebx
push ebx
push dword [ebp - 0x1a0]
mov dword [ebp - 0x1a8], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x1a8]
push eax
push dword [ebp - 0x194]
push esi
push dword [ebp - 0x1a0]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x1a0]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x5122ee
push 7
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0x19
push eax
call fcn.006210e3
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x194], al
lea ecx, [ebp - 0x58]
push dword [ebp - 0x194]
mov dword [ebp - 0x48], eax
push 0x10
mov byte [ebp - 0x58], al
call fcn.0043a610
mov byte [ebp - 4], 0x1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.006211a2
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.0061c551
mov edi, eax
and dword [ebp - 0x18], esi
lea ecx, [ebp - 0x28]
push 4
push str.file
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00439710
push esi
push dword [ebp - 0x198]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x1d
push eax
call fcn.00620ff2
add esp, 0xc
push esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0x1f
push eax
push 0x858903
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.00439710
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xa0]
push str.CFileSystem::LoadFileContent___read_failed
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x21
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0061c551
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x22
call fcn.00621500
lea ecx, [ebp - 0x118]
call fcn.00438e20
lea ecx, [ebp - 0x130]
call fcn.00438e20
lea ecx, [ebp - 0xa0]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
mov esi, 0x1000
cmp eax, 0x10
jb 0x51217d
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x512174
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x2c], 0xf
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x160]
call fcn.00438e20
lea ecx, [ebp - 0xe8]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5121f3
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x5121ea
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
call fcn.00438e20
lea ecx, [ebp - 0x190]
call fcn.00438e20
lea ecx, [ebp - 0xb8]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x512267
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x51225e
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], bl
mov byte [ebp - 4], 0x11
cmp eax, 0x10
jb 0x5122be
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x198], ecx
cmp eax, esi
jb 0x5122b5
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x198]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x194]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x198]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov esi, dword [ebp - 0x1a4]
mov ecx, esi
push ebx
push 0x858903
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
call fcn.00439710
push dword [ebp - 0x19c]
call fcn.00700fb3
pop ecx
jmp 0x5126e6
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], bl
mov esi, dword [ebp - 0x19c]
mov byte [ebp - 4], 0x23
cmp byte [esi], 0xff
jne 0x512350
cmp byte [esi + 1], 0xfe
jne 0x512350
push ebx
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004fbbb7
lea ecx, [ebp - 0x88]
add esp, 0xc
cmp ecx, eax
je 0x512343
mov byte [ebp - 0x19c], bl
push dword [ebp - 0x19c]
push eax
call fcn.00448b30
lea ecx, [ebp - 0xb8]
call fcn.00438e20
jmp 0x51236b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x512355
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x88]
call fcn.00439710
lea eax, [ebp - 0x88]
mov ecx, edi
push eax
call fcn.00438e70
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x5123c5
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, 0x1000
jb 0x5123bc
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push esi
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], bl
call fcn.00700fb3
pop ecx
mov eax, edi
jmp 0x5126e8
push 7
push str.GPCUtil
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], bl
call fcn.00439710
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 7
push eax
call fcn.006210e3
mov ebx, eax
mov dword [esp], str.::GetLastError__
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x19c], al
lea ecx, [ebp - 0x28]
push dword [ebp - 0x19c]
mov dword [ebp - 0x18], eax
push 0x10
mov byte [ebp - 0x28], al
call fcn.0043a610
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.006211a2
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.0061c551
mov edi, eax
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
push 4
push str.file
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00439710
push 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
push esi
push eax
call fcn.00620ff2
add esp, 0xc
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push ecx
push eax
lea ecx, [ebp - 0x160]
call fcn.0061c551
mov esi, eax
xor eax, eax
mov byte [ebp - 4], 0xd
push eax
push 0x858903
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00439710
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0xb8]
push str.CFileSystem::LoadFileContent___open_failed
push eax
call fcn.006212a1
pop ecx
pop ecx
push 0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
push ecx
push eax
lea ecx, [ebp - 0x190]
call fcn.0061c551
push edi
push esi
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.00621500
lea ecx, [ebp - 0x178]
call fcn.00438e20
lea ecx, [ebp - 0x190]
call fcn.00438e20
lea ecx, [ebp - 0xb8]
call fcn.00438e20
mov eax, dword [ebp - 0x44]
mov esi, 0x1000
cmp eax, 0x10
jb 0x512586
mov ecx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x51257d
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
xor ebx, ebx
mov dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x48], ebx
mov byte [ebp - 0x58], bl
call fcn.00438e20
lea ecx, [ebp - 0x160]
call fcn.00438e20
lea ecx, [ebp - 0xe8]
call fcn.00438e20
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x5125fc
mov ecx, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x5125f3
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.00438e20
lea ecx, [ebp - 0x130]
call fcn.00438e20
lea ecx, [ebp - 0xa0]
call fcn.00438e20
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x512670
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x512667
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], bl
cmp eax, 0x10
jb 0x5126c7
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x194], ecx
cmp eax, esi
jb 0x5126be
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x19c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x194]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
mov esi, dword [ebp - 0x1a4]
mov ecx, esi
push ebx
push 0x858903
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
call fcn.00439710
mov eax, esi
call fcn.00700c4b
ret