Function at 0x403760
Capabilities:
Get hostname
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf5c
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xf40], 0
call fcn.0040e7e0
mov dword [ebp - 0xf24], eax
cmp dword [ebp - 0xf24], 0
je 0x4037b2
mov eax, dword [0x4f05b4]
add eax, 1
mov dword [0x4f05b4], eax
mov ecx, dword [ebp - 0xf24]
push ecx
push str.Winsock_initialization_failed_with__d_n
call fcn.00404040
add esp, 8
push 0xff
push 0x4f4760
call dword [sym.imp.WS2_32.dll_gethostname]
mov dword [0x4da018], 0x4f4760
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00402db0
add esp, 8
mov dword [ebp - 0xf0c], eax
push 0x4da048
call fcn.00404040
add esp, 4
push str.RLM_Performance_Tests._Copyright__C__2007_2020__Reprise_Software__Inc._n
call fcn.00404040
add esp, 4
push 1
push 2
push 0xf
push str.RLM_v_d._d_BL_d.__Running_as
call fcn.00404040
add esp, 0x10
mov ecx, dword [ebp - 0xf0c]
mov dword [ebp - 0xf20], ecx
cmp dword [ebp - 0xf20], 1
je 0x403838
cmp dword [ebp - 0xf20], 2
je 0x403847
cmp dword [ebp - 0xf20], 3
je 0x403856
jmp 0x403865
push str.Client
call fcn.00404040
add esp, 4
jmp 0x403872
push 0x4da110
call fcn.00404040
add esp, 4
jmp 0x403872
push str.Client_AND_Server
call fcn.00404040
add esp, 4
jmp 0x403872
push str.client_server____
call fcn.00404040
add esp, 4
mov edx, dword [0x4da018]
push edx
push str._nServer_host:__s
call fcn.00404040
add esp, 8
cmp dword [0x4f05a4], 0
je 0x40389b
mov dword [ebp - 0xf28], str.Disconnected
jmp 0x4038a5
mov dword [ebp - 0xf28], str.Connected
mov eax, dword [ebp - 0xf28]
push eax
push str.Init_type:__s_n
call fcn.00404040
add esp, 8
call fcn.004074a0
mov dword [ebp - 0xf14], eax
mov ecx, dword [0x4da004]
add ecx, 0x14
cmp dword [ebp - 0xf14], ecx
jge 0x403930
mov dword [0x4da008], 0
push 0x4da1a0
call fcn.00404040
add esp, 4
push str.rlmtests:_file_descriptor_limit_too_small_to_run_n
call fcn.00404040
add esp, 4
mov edx, dword [ebp - 0xf14]
push edx
push str.__________tests_D_F___d_._Only_tests_A_C_will_run._n
call fcn.00404040
add esp, 8
push 0x4da218
call fcn.00404040
add esp, 4
mov eax, dword [0x4da004]
add eax, 0x14
push eax
push 0x4da250
call fcn.00404040
add esp, 8
mov ecx, dword [section..data]
add ecx, 0x14
cmp dword [ebp - 0xf14], ecx
jge 0x4039a5
mov dword [0x4da00c], 0
cmp dword [0x4da008], 0
je 0x4039a5
push 0x4da288
call fcn.00404040
add esp, 4
push str.rlmtests:_file_descriptor_limit_too_small_to_do_server_n
call fcn.00404040
add esp, 4
mov edx, dword [ebp - 0xf14]
push edx
push str.__________limit_tests___d_._Only_tests_A_F_will_run._n
call fcn.00404040
add esp, 8
push str.__________Use_the_shell__limit__command_to_raise_the_n
call fcn.00404040
add esp, 4
mov eax, dword [section..data]
add eax, 0x14
push eax
push str.__________number_of_allowed_file_descriptors_above__d
call fcn.00404040
add esp, 8
push 0x4da3f0
call fcn.00404040
add esp, 4
cmp dword [ebp - 0xf0c], 1
jne 0x4039e2
push 0x4da438
call fcn.00404040
add esp, 4
push str.___RLM_Performance_Tests_Started__
call fcn.00404040
add esp, 4
push 0x4da4b8
call fcn.00404040
add esp, 4
cmp dword [ebp - 0xf0c], 2
je 0x4039f4
cmp dword [ebp - 0xf0c], 3
jne 0x403a1c
call fcn.00404540
call fcn.00402a70
call fcn.00402a90
push 0x4da3e4
push str.rlmtests.ts_log
mov ecx, dword [0x4f05ac]
push ecx
call fcn.00404ce0
add esp, 0xc
cmp dword [ebp - 0xf0c], 1
je 0x403a32
cmp dword [ebp - 0xf0c], 3
jne 0x403e20
lea edx, [ebp - 0xf04]
mov dword [ebp - 0xf18], edx
push 1
call fcn.0046a210
add esp, 4
push eax
call fcn.0046b410
add esp, 4
call fcn.00402d50
push 0
push 0x4f05c0
push 0x4f05c1
call fcn.0040dc10
add esp, 0xc
mov dword [ebp - 0xf08], eax
cmp dword [ebp - 0xf08], 0
je 0x403b3c
push 0xf00
push 0
mov eax, dword [ebp - 0xf18]
push eax
call fcn.00465af0
add esp, 0xc
mov ecx, dword [ebp - 0xf18]
mov edx, dword [ebp - 0xf08]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xf18]
mov ecx, dword [ebp - 0xf08]
mov edx, dword [ecx + 0xb90]
mov dword [eax + 0xc], edx
push 0
push 0x4f05c2
mov eax, dword [ebp - 0xf08]
mov ecx, dword [eax + 0xb90]
push ecx
mov edx, dword [ebp - 0xf08]
push edx
call fcn.00412230
add esp, 0x10
mov eax, dword [ebp - 0xf18]
push eax
mov ecx, dword [ebp - 0xf08]
mov edx, dword [ecx + 0xb90]
push edx
mov eax, dword [ebp - 0xf08]
push eax
call fcn.00414cb0
add esp, 0xc
mov dword [ebp - 0xf2c], eax
push 0x4f4860
push 0x4da434
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xf2c], 0
je 0x403b2d
mov ecx, dword [ebp - 0xf2c]
mov edx, dword [ecx + 0x38]
mov dword [0x4f05bc], edx
mov eax, dword [ebp - 0xf08]
push eax
call fcn.0040d830
add esp, 4
call fcn.00401030
cmp dword [0x4da00c], 0
je 0x403e01
push 0x4da548
call fcn.00404040
add esp, 4
push str.Simulate_multiple_clients_connecting_to_the_server._This_n
call fcn.00404040
add esp, 4
push str.test_will_determine_how_many_clients_the_server_running_n
call fcn.00404040
add esp, 4
mov ecx, dword [0x4da018]
push ecx
push str.on_node___s__can_handle.
call fcn.00404040
add esp, 8
push 0x4da5a8
call fcn.00404040
add esp, 4
push 0x4da5ec
call fcn.00404040
add esp, 4
push 1
call fcn.0046a210
add esp, 4
push eax
call fcn.0046b410
add esp, 4
push 0x4da5f0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xf30], eax
cmp dword [ebp - 0xf30], 0
jne 0x403bea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent__use__returns__d_n
call fcn.00404040
add esp, 8
push 0x4da618
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0xf34], eax
cmp dword [ebp - 0xf34], 0
jne 0x403c1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateEvent__exit__returns__d_n
call fcn.00404040
add esp, 8
mov dword [ebp - 0xf10], 0
jmp 0x403c39
mov edx, dword [ebp - 0xf10]
add edx, 1
mov dword [ebp - 0xf10], edx
cmp dword [ebp - 0xf10], 0x32
jge 0x403ddd
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0xf30]
mov dword [ebp + ecx - 0xf4c], edx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0xf34]
mov dword [ebp + eax - 0xf4c], ecx
lea edx, [ebp - 0xf5c]
push edx
call fcn.00401010
add esp, 4
mov eax, dword [ebp - 0xf40]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx]
push ecx
mov edx, dword [ebp - 0xf10]
add edx, 1
push edx
call fcn.004035b0
add esp, 0xc
push 0x989680
push 0
lea eax, [ebp - 0xf4c]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0xf1c], eax
cmp dword [ebp - 0xf1c], 0xffffffff
jne 0x403ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.waitstat_error:__d_n
call fcn.00404040
add esp, 8
cmp dword [ebp - 0xf1c], 1
jne 0x403d17
push str._nRLM_performance_tests_complete_n
call fcn.00404040
add esp, 4
push 1
call fcn.0046a210
add esp, 4
push eax
call fcn.0046b410
add esp, 4
mov ecx, dword [0x4f05b4]
push ecx
call fcn.004791f0
jmp 0x403d36
cmp dword [ebp - 0xf1c], 0
jne 0x403d22
jmp 0x403d36
mov edx, dword [ebp - 0xf1c]
push edx
push str.unexpected_return_from_WiatForMultipleObjects:__d_n
call fcn.00404040
add esp, 8
lea eax, [ebp - 0xf54]
push eax
call fcn.00401010
add esp, 4
mov ecx, dword [ebp - 0xf54]
sub ecx, dword [ebp - 0xf5c]
mov edx, dword [ebp - 0xf50]
sbb edx, dword [ebp - 0xf58]
mov dword [ebp - 0xf3c], ecx
mov dword [ebp - 0xf38], edx
mov edx, dword [ebp - 0xf38]
mov ecx, dword [ebp - 0xf3c]
call fcn.00464c40
cvtsd2ss xmm0, xmm0
cvtsi2ss xmm1, dword [section..data]
divss xmm0, xmm1
movss dword [ebp - 0xf44], xmm0
cvtss2sd xmm0, dword [ebp - 0xf44]
sub esp, 8
movsd qword [esp], xmm0
mov eax, dword [ebp - 0xf3c]
push eax
mov ecx, dword [ebp - 0xf10]
add ecx, 1
imul ecx, dword [section..data]
push ecx
mov edx, dword [ebp - 0xf10]
imul edx, dword [section..data]
add edx, 1
push edx
push str.Checkouts__5d_to__5d_took__3ld_secs___.3f_per_checkout__n
call fcn.00404040
add esp, 0x18
jmp 0x403c2a
push 0x32
push str._d_client_processes_ran_without_error._n
call fcn.00404040
add esp, 8
imul eax, dword [section..data], 0x32
push eax
push str.Server_can_handle__d_clients_n
call fcn.00404040
add esp, 8
push str.end_of_tests
call fcn.004036a0
add esp, 4
push 0x4da740
push 0x4da744
call fcn.00404ad0
add esp, 8
mov eax, dword [0x4f05b4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret