Function at 0x41f61b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
mov esi, 0x519668
push ebx
push str.config.xml
mov ecx, esi
call fcn.00413ee6
test al, al
jne 0x41f652
push 0x10
push str.Error
push str.Failed_to_load_the_config_file
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push str.FakeSAMP
mov ecx, esi
call fcn.00413d37
mov esi, eax
test esi, esi
je 0x41fc5a
push 0x4f13d2
push str.console
mov ecx, esi
call fcn.004145c5
push 0x4f13d6
push str.runmode
mov ecx, esi
call fcn.004145c5
push 0x4f13da
push str.autorun
mov ecx, esi
call fcn.004145c5
push 0x4f13de
push str.find
mov ecx, esi
call fcn.004145c5
push 0x4f13e2
push str.select_classid
mov ecx, esi
call fcn.004145c5
push 0x4f13e6
push str.manual_spawn
mov ecx, esi
call fcn.004145c5
push 0x4f13ea
push str.print_timestamps
mov ecx, esi
call fcn.004145c5
push 0x4f13ee
push str.updatestats
mov ecx, esi
call fcn.004145c5
push 0x4f13f2
push str.minfps
mov ecx, esi
call fcn.004145c5
push 0x4f13f6
push str.maxfps
mov ecx, esi
call fcn.004145c5
push str.clientversion
mov ecx, esi
call fcn.00413725
mov edx, 0x4f13fa
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f725
push 0x4f1442
push 0x4f1441
push 0x4f1440
push str.chatcolor_rgb
mov ecx, esi
call fcn.0041452b
push 0x4f1445
push 0x4f1444
push 0x4f1443
push str.clientmsg_rgb
mov ecx, esi
call fcn.0041452b
push 0x4f1448
push 0x4f1447
push 0x4f1446
push str.cpalert_rgb
mov ecx, esi
call fcn.0041452b
push str.followplayer
mov ecx, esi
call fcn.00413725
mov edx, 0x4f1449
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f793
push 0x4f145d
push str.followplayerwithvehicleid
mov ecx, esi
call fcn.004145c5
lea eax, [esp + 8]
mov ecx, esi
push eax
push str.followXOffset
call fcn.00414581
test eax, eax
jne 0x41f7d5
movsd xmm0, qword [esp + 8]
cvtpd2ps xmm0, xmm0
movss dword [0x4f1461], xmm0
lea eax, [esp + 8]
mov ecx, esi
push eax
push str.followYOffset
call fcn.00414581
test eax, eax
jne 0x41f7fc
movsd xmm0, qword [esp + 8]
cvtpd2ps xmm0, xmm0
movss dword [0x4f1465], xmm0
lea eax, [esp + 8]
mov ecx, esi
push eax
push str.followZOffset
call fcn.00414581
test eax, eax
jne 0x41f823
movsd xmm0, qword [esp + 8]
cvtpd2ps xmm0, xmm0
movss dword [0x4f1469], xmm0
push ebp
push edi
push str.server
mov ecx, esi
call fcn.00413d37
mov ebx, eax
test ebx, ebx
je 0x41f94b
mov ecx, ebx
call fcn.00413d8d
mov edi, eax
test edi, edi
je 0x41f94b
mov al, byte [edi]
mov ebp, edi
mov edx, dword [esp + 0x10]
test al, al
je 0x41f870
cmp al, 0x3a
jne 0x41f86a
mov byte [ebp], 0
inc ebp
push ebp
call fcn.0042e026
pop ecx
mov edx, eax
inc ebp
mov al, byte [ebp]
jmp 0x41f854
mov ecx, 0x4f0e30
sub ecx, edi
mov al, byte [edi]
mov byte [edi + ecx], al
inc edi
test al, al
jne 0x41f877
push str.nickname
mov ecx, ebx
mov dword [0x4f0f30], edx
call fcn.00413725
mov edx, 0x4f0f34
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f89a
push str.password
mov ecx, ebx
call fcn.00413725
mov edx, 0x4f0f48
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f8b7
push 0x4f0f68
push str.autoLoginToServer
mov ecx, ebx
call fcn.004145c5
push str.findDialogTitle
mov ecx, ebx
call fcn.00413725
mov edx, 0x4f0f69
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f8e5
push str.typeDialogInput
mov ecx, ebx
call fcn.00413725
mov edx, 0x4f0faa
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f902
push 0x4f10a9
push str.sendSpawnAfterLogin
mov ecx, ebx
call fcn.004145c5
push 0x4f10aa
push str.bStaticGPCI
mov ecx, ebx
call fcn.004145c5
push str.szBase64GPCI
mov ecx, ebx
call fcn.00413725
mov edx, 0x4f10ab
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41f941
push str.intervals
mov ecx, esi
call fcn.00413d37
mov edi, eax
test edi, edi
je 0x41f9d4
push 0x4f1414
push str.spam
mov ecx, edi
call fcn.004145c5
push 0x4f1418
push str.fakekill
mov ecx, edi
call fcn.004145c5
push 0x4f141c
push 0x441298
mov ecx, edi
call fcn.004145c5
push 0x4f1420
push str.joinflood
mov ecx, edi
call fcn.004145c5
push 0x4f1424
push str.chatflood
mov ecx, edi
call fcn.004145c5
push 0x4f1428
push str.classflood
mov ecx, edi
call fcn.004145c5
push 0x4f142c
push str.bulletflood
mov ecx, edi
call fcn.004145c5
push 0x4418a4
mov ecx, esi
call fcn.00413d37
mov edi, eax
test edi, edi
je 0x41fa2a
push 0x4f1430
push str.objects
mov ecx, edi
call fcn.004145c5
push 0x4f1434
push str.pickups
mov ecx, edi
call fcn.004145c5
push 0x4f1438
push str.textlabels
mov ecx, edi
call fcn.004145c5
push 0x4f143c
push str.textdraws
mov ecx, edi
call fcn.004145c5
push str.sendrates
mov ecx, esi
call fcn.00413d37
mov edi, eax
mov ebx, str.force
test edi, edi
je 0x41fa92
push 0x51965e
push ebx
mov ecx, edi
call fcn.004145c5
push 0x4f08dc
push str.onfoot
mov ecx, edi
call fcn.004145c5
push 0x4f08e0
push str.incar
mov ecx, edi
call fcn.004145c5
push 0x4f08e4
push str.firing
mov ecx, edi
call fcn.004145c5
push 0x4f08e8
push str.multiplier
mov ecx, edi
call fcn.004145c5
push str.normal_pos
mov ecx, esi
call fcn.00413d37
mov edi, eax
test edi, edi
je 0x41fae9
push 0x4f146d
push str.position
mov ecx, edi
call fcn.00414609
lea eax, [esp + 0x10]
mov ecx, edi
push eax
push str.rotation
call fcn.00414581
test eax, eax
jne 0x41fadc
movsd xmm0, qword [esp + 0x10]
cvtpd2ps xmm0, xmm0
movss dword [0x4f1479], xmm0
push 0x4f147d
push ebx
mov ecx, edi
call fcn.004145c5
push str.autorun
mov ecx, esi
call fcn.00413d37
mov ebx, eax
mov edi, 0x4f5524
test ebx, ebx
je 0x41fb3d
mov ebp, 0x4f14a4
test ebx, ebx
je 0x41fb3d
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00413d8d
mov edx, ebp
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41fb1b
push str.autorun
mov ecx, ebx
call fcn.00413fd1
add ebp, 0x204
mov ebx, eax
cmp ebp, edi
jl 0x41fb05
mov ebp, str.find
mov ecx, esi
push ebp
call fcn.00413d37
mov ebx, eax
test ebx, ebx
je 0x41fbf9
test ebx, ebx
je 0x41fbf9
push str.text
mov ecx, ebx
mov dword [edi - 4], 1
call fcn.00413725
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41fb73
push 0x442764
mov ecx, ebx
call fcn.00413725
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx + 0x200], cl
inc eax
test cl, cl
jne 0x41fb8d
lea eax, [edi + 0x402]
mov ecx, ebx
push eax
lea eax, [edi + 0x401]
push eax
lea eax, [edi + 0x400]
push eax
push str.bk_color
call fcn.0041452b
lea eax, [edi + 0x405]
mov ecx, ebx
push eax
lea eax, [edi + 0x404]
push eax
lea eax, [edi + 0x403]
push eax
push str.text_color
call fcn.0041452b
push ebp
mov ecx, ebx
call fcn.00413fd1
add edi, 0x40a
mov ebx, eax
cmp edi, 0x515a24
jl 0x41fb54
mov ebx, str.teleport
mov ecx, esi
push ebx
call fcn.00413d37
mov esi, eax
test esi, esi
je 0x41fc58
mov edi, 0x515a37
test esi, esi
je 0x41fc58
push str.name
mov ecx, esi
mov byte [edi - 1], 1
call fcn.00413725
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x41fc29
lea eax, [edi + 0x40]
mov ecx, esi
push eax
push str.position
call fcn.00414609
push ebx
mov ecx, esi
call fcn.00413fd1
add edi, 0x4d
mov esi, eax
cmp edi, 0x51965f
jl 0x41fc11
pop edi
pop ebp
mov ecx, 0x519668
call fcn.00413742
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
jmp 0x41fccc
cmp al, 0x2d
je 0x41fc76
cmp al, 0x2f
jne 0x41fccb
inc esi
movsx eax, byte [esi]
sub eax, 0x68
je 0x41fcbd
sub eax, 6
je 0x41fcb6
dec eax
sub eax, 1
je 0x41fc96
sub eax, 0xa
jne 0x41fccb
push 0x4f0f48
jmp 0x41fcc2
lea eax, [esp + 0x10]
inc esi
push eax
push esi
call fcn.00419451
lea eax, [esp + 0x18]
push eax
call fcn.0042e026
add esp, 0xc
mov dword [0x4f0f30], eax
jmp 0x41fccb
push 0x4f0f34
jmp 0x41fcc2
push 0x4f0e30
inc esi
push esi
call fcn.00419451
pop ecx
pop ecx
inc esi
mov al, byte [esi]
test al, al
jne 0x41fc6e
xor eax, eax
pop esi
inc eax
pop ebx
add esp, 0x1c
ret