Function at 0x10019840
Capabilities:
Create directory
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065620
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x1008b880]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5ac], ecx
push 0x1006af4c
push str..DataLocalServerInfo.bmd
call fcn.1004ce8f
add esp, 8
mov dword [ebp - 0x5c0], eax
cmp dword [ebp - 0x5c0], 0
jne 0x100198b0
push 0x10
push 0x1006af6c
push str.ServerInfo.bmd_file_not_found
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 2
push 0
mov eax, dword [ebp - 0x5c0]
push eax
call fcn.1004d4a3
add esp, 0xc
mov ecx, dword [ebp - 0x5c0]
push ecx
call fcn.1004db02
add esp, 4
mov dword [ebp - 0x5d0], eax
mov edx, dword [ebp - 0x5c0]
push edx
call fcn.1004dcc8
add esp, 4
mov eax, dword [ebp - 0x5d0]
push eax
call fcn.10045ee9
add esp, 4
mov dword [ebp - 0x5f0], eax
mov ecx, dword [ebp - 0x5f0]
mov dword [ebp - 0x5cc], ecx
mov edx, dword [ebp - 0x5c0]
push edx
mov eax, dword [ebp - 0x5d0]
push eax
push 1
mov ecx, dword [ebp - 0x5cc]
push ecx
call fcn.1004d07f
add esp, 0x10
mov edx, dword [ebp - 0x5c0]
push edx
call fcn.1004cda8
add esp, 4
mov dword [ebp - 0x5c4], 0
jmp 0x10019951
mov eax, dword [ebp - 0x5c4]
add eax, 1
mov dword [ebp - 0x5c4], eax
mov ecx, dword [ebp - 0x5c4]
cmp ecx, dword [ebp - 0x5d0]
jge 0x1001999a
mov edx, dword [ebp - 0x5c4]
and edx, 0x8000001f
jns 0x10019972
dec edx
or edx, 0xffffffe0
inc edx
movzx eax, byte [edx + 0x1008b6fc]
mov ecx, dword [ebp - 0x5cc]
add ecx, dword [ebp - 0x5c4]
movsx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x5cc]
add eax, dword [ebp - 0x5c4]
mov byte [eax], dl
jmp 0x10019942
lea ecx, [ebp - 0x5a8]
call fcn.10040820
mov dword [ebp - 4], 0
push 0
push 0x74
mov ecx, dword [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x5cc]
push edx
lea eax, [ebp - 0x658]
push eax
lea ecx, [ebp - 0x5a8]
call fcn.100413d0
cmp dword [ebp - 0x658], 0
je 0x100199f5
push 0x10
push 0x1006af94
push str.ServerInfo.bmd_file_corrupted
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.ServerInfo
lea ecx, [ebp - 0x5b4]
push ecx
lea ecx, [ebp - 0x5a8]
call fcn.10040da0
push str.Connection
lea edx, [ebp - 0x5d8]
push edx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0x20
push str.127.0.0.1
push 0x1006afd4
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x5d8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 4
push ecx
call fcn.1004e6c0
add esp, 0xc
push 0xad75
push str.Port
lea edx, [ebp - 0x640]
push edx
lea ecx, [ebp - 0x5d8]
call fcn.10040d30
mov ecx, eax
call fcn.10040ce0
mov ecx, dword [ebp - 0x5ac]
mov word [ecx + 0x24], ax
push 0x1006af49
push str.Version
lea edx, [ebp - 0x644]
push edx
lea ecx, [ebp - 0x5d8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
mov dword [ebp - 0x5e0], eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x5d4], eax
mov ecx, dword [ebp - 0x5d4]
mov dword [ebp - 0x648], ecx
mov edx, dword [ebp - 0x5e0]
mov al, byte [edx]
mov byte [ebp - 0x5ad], al
mov ecx, dword [ebp - 0x5d4]
mov dl, byte [ebp - 0x5ad]
mov byte [ecx], dl
mov eax, dword [ebp - 0x5e0]
add eax, 1
mov dword [ebp - 0x5e0], eax
mov ecx, dword [ebp - 0x5d4]
add ecx, 1
mov dword [ebp - 0x5d4], ecx
cmp byte [ebp - 0x5ad], 0
jne 0x10019ac9
push 0x1006aff4
lea edx, [ebp - 0xe0]
push edx
call fcn.1004ebeb
add esp, 8
mov dword [ebp - 0x5bc], eax
mov eax, 1
imul ecx, eax, 0
mov edx, 1
imul eax, edx, 0
mov edx, dword [ebp - 0x5ac]
mov esi, dword [ebp - 0x5bc]
mov cl, byte [esi + ecx]
mov byte [edx + eax + 0x26], cl
push 0x1006aff8
push 0
call fcn.1004ebeb
add esp, 8
mov dword [ebp - 0x5bc], eax
mov edx, 1
imul eax, edx, 0
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 0x5ac]
mov esi, dword [ebp - 0x5bc]
mov al, byte [esi + eax]
mov byte [edx + ecx + 0x26], al
mov ecx, 1
shl ecx, 0
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x5ac]
mov esi, dword [ebp - 0x5bc]
mov cl, byte [esi + ecx]
mov byte [eax + edx + 0x26], cl
push 0x1006affc
push 0
call fcn.1004ebeb
add esp, 8
mov dword [ebp - 0x5bc], eax
mov edx, 1
imul eax, edx, 0
mov ecx, 1
imul edx, ecx, 3
mov ecx, dword [ebp - 0x5ac]
mov esi, dword [ebp - 0x5bc]
mov al, byte [esi + eax]
mov byte [ecx + edx + 0x26], al
mov ecx, 1
shl ecx, 0
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x5ac]
mov esi, dword [ebp - 0x5bc]
mov cl, byte [esi + ecx]
mov byte [eax + edx + 0x26], cl
push 0x1006af4a
push 0x1006b000
lea edx, [ebp - 0x604]
push edx
lea ecx, [ebp - 0x5d8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
mov ecx, dword [ebp - 0x5ac]
add ecx, 0x2e
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov al, byte [eax + 0x10]
mov byte [ecx + 0x10], al
push str.Main
lea ecx, [ebp - 0x5c8]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0x32
push str.IGCN_Season_19_Part_1_3
push str.GameWindowName
lea edx, [ebp - 0x608]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov eax, dword [ebp - 0x5ac]
add eax, 0x100
push eax
call fcn.1004e6c0
add esp, 0xc
push 0x23
push str.__Powered_by_IGCN
mov ecx, dword [ebp - 0x5ac]
add ecx, 0x132
push ecx
call fcn.1004e6c0
add esp, 0xc
mov edx, dword [ebp - 0x5ac]
add edx, 0x100
push edx
mov ecx, dword [ebp - 0x5ac]
call fcn.100197c0
mov eax, dword [ebp - 0x5ac]
add eax, 0x132
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 0x100
push ecx
push str._s__s
lea edx, [ebp - 0x60]
push edx
call fcn.10002150
add esp, 0x10
push 0x55
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 0x155
push ecx
call fcn.1004e6c0
add esp, 0xc
push 1
push str.ExitWindowEnable
lea edx, [ebp - 0x60c]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10040d30
mov ecx, eax
call fcn.10040c60
mov ecx, dword [ebp - 0x5ac]
mov byte [ecx + 0xa8], al
push 0
push str.PerformanceMode
lea edx, [ebp - 0x610]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10040d30
mov ecx, eax
call fcn.10040c60
mov ecx, dword [ebp - 0x5ac]
mov byte [ecx + 0xa9], al
push 0x4e4
push str.CodePage
lea edx, [ebp - 0x614]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10040d30
mov ecx, eax
call fcn.10040ce0
mov ecx, dword [ebp - 0x5ac]
mov dword [ecx + 0xa4], eax
push 0x64
push str.w_eb_zenMu1_Gesch_enk_
push str.LangMPRPassword
lea edx, [ebp - 0x618]
push edx
lea ecx, [ebp - 0x5c8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov eax, dword [ebp - 0x5ac]
add eax, 0x3f
push eax
call fcn.1004e6c0
add esp, 0xc
push str.ScreenShot
lea ecx, [ebp - 0x5f4]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0x96
push 0x1006af4b
push str.Path
lea edx, [ebp - 0x61c]
push edx
lea ecx, [ebp - 0x5f4]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov eax, dword [ebp - 0x5ac]
add eax, 0x1aa
push eax
call fcn.1004e6c0
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x5ac]
add ecx, 0x1aa
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x5ac]
add edx, 0x1aa
push edx
push str.._s_
lea eax, [ebp - 0x4e0]
push eax
call fcn.10002150
add esp, 0xc
lea ecx, [ebp - 0x4e0]
add ecx, 0xffffffff
mov dword [ebp - 0x5dc], ecx
mov edx, dword [ebp - 0x5dc]
mov al, byte [edx + 1]
mov byte [ebp - 0x5b5], al
add dword [ebp - 0x5dc], 1
cmp byte [ebp - 0x5b5], 0
jne 0x10019e68
mov edi, dword [ebp - 0x5dc]
mov ecx, 9
mov esi, str.Screen__02d__02d__02d__02d___04d.jpg
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push 0x96
lea ecx, [ebp - 0x4e0]
push ecx
mov edx, dword [ebp - 0x5ac]
add edx, 0x1aa
push edx
call fcn.1004e6c0
add esp, 0xc
push str.Launcher
lea eax, [ebp - 0x5e4]
push eax
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0
push 0x1006b100
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x5e4]
call fcn.10040d30
mov ecx, eax
call fcn.10040c60
mov edx, dword [ebp - 0x5ac]
mov byte [edx + 0xaa], al
push 0x1006af4f
push 0x1006b108
lea eax, [ebp - 0x624]
push eax
lea ecx, [ebp - 0x5e4]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 0xac
call fcn.1000d510
push str.Runner
lea ecx, [ebp - 0x5e8]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0
push str.Enabled
lea edx, [ebp - 0x63c]
push edx
lea ecx, [ebp - 0x5e8]
call fcn.10040d30
mov ecx, eax
call fcn.10040c60
mov ecx, dword [ebp - 0x5ac]
mov byte [ecx + 0xc4], al
push 0x1006af72
push str.ExeName
lea edx, [ebp - 0x62c]
push edx
lea ecx, [ebp - 0x5e8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 0xc8
call fcn.1000d510
mov eax, dword [ebp - 0x5ac]
movzx ecx, byte [eax + 0xaa]
cmp ecx, 1
jne 0x10019feb
mov edx, dword [ebp - 0x5ac]
movzx eax, byte [edx + 0xc4]
cmp eax, 1
jne 0x10019feb
push 0x10
push 0x1006b128
push str.Launcher_Premium_and_Runner_cannot_be_enabled_at_the_same_time
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.BattleCore
lea ecx, [ebp - 0x5f8]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0x100
push 0x1006af73
push str.LauncherExeName
lea edx, [ebp - 0x630]
push edx
lea ecx, [ebp - 0x5f8]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov eax, dword [ebp - 0x5ac]
add eax, 0x240
push eax
call fcn.1004e6c0
add esp, 0xc
push str.Reconnect
lea ecx, [ebp - 0x5fc]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0x78
push str.MaxTime
lea edx, [ebp - 0x634]
push edx
lea ecx, [ebp - 0x5fc]
call fcn.10040d30
mov ecx, eax
call fcn.10040ce0
imul eax, eax, 0x3e8
mov ecx, dword [ebp - 0x5ac]
mov dword [ecx + 0xfc], eax
push str.Dashboard
lea edx, [ebp - 0x5ec]
push edx
lea ecx, [ebp - 0x5b4]
call fcn.10040da0
push 0
push 0x1006b1ac
lea eax, [ebp - 0x638]
push eax
lea ecx, [ebp - 0x5ec]
call fcn.10040d30
mov ecx, eax
call fcn.10040c60
mov ecx, dword [ebp - 0x5ac]
mov byte [ecx + 0xe0], al
push 0x1006af92
push str.File
lea edx, [ebp - 0x64c]
push edx
lea ecx, [ebp - 0x5ec]
call fcn.10040d30
mov ecx, eax
call fcn.10040d10
push eax
mov ecx, dword [ebp - 0x5ac]
add ecx, 0xe4
call fcn.1000d510
mov eax, dword [ebp - 0x5cc]
mov dword [ebp - 0x600], eax
mov ecx, dword [ebp - 0x600]
push ecx
call fcn.10045ef2
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a8]
call fcn.10040900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10045eb8
mov esp, ebp
pop ebp
ret