Function at 0x4031d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fd4
call fcn.00464c10
mov eax, dword [0x4efa64]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4f05a0], 0
je 0x403207
mov eax, dword [section..data]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.INFO:_Client_d_started_for__d_iterations_n
call fcn.00404040
add esp, 0xc
push str.SIGUSR1
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x1fd4], eax
cmp dword [ebp - 0x1fd4], 0
jne 0x40323c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEvent__use__failed_with_error__d_n
call fcn.00404040
add esp, 8
push str.SIGUSR2
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x1fcc], eax
cmp dword [ebp - 0x1fcc], 0
jne 0x403271
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.OpenEvent__exit__failed_with_error__d_n
call fcn.00404040
add esp, 8
mov edx, dword [ebp + 8]
push edx
push str.client_d
lea eax, [ebp - 0x80]
push eax
call fcn.00404080
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.8._d
lea edx, [ebp - 0x10]
push edx
call fcn.00404080
add esp, 0xc
mov dword [ebp - 0x1fc4], 0
jmp 0x4032b6
mov eax, dword [ebp - 0x1fc4]
add eax, 1
mov dword [ebp - 0x1fc4], eax
mov ecx, dword [ebp - 0x1fc4]
cmp ecx, dword [section..data]
jge 0x403543
cmp dword [0x4f05a4], 0
je 0x4032f6
push 0x64
push 0
push 0x4f05df
push 0x4f05e0
call fcn.0040dd70
add esp, 0x10
mov edx, dword [ebp - 0x1fc4]
mov dword [ebp + edx*4 - 0x1fc0], eax
jmp 0x403317
push 0
push 0x4f05e1
push 0x4f05e2
call fcn.0040dc10
add esp, 0xc
mov ecx, dword [ebp - 0x1fc4]
mov dword [ebp + ecx*4 - 0x1fc0], eax
mov edx, dword [ebp - 0x1fc4]
cmp dword [ebp + edx*4 - 0x1fc0], 0
jne 0x403349
mov eax, dword [0x4f05b4]
add eax, 1
mov dword [0x4f05b4], eax
push str.Cannot_create_license_handle_n
call fcn.00404040
add esp, 4
or eax, 0xffffffff
jmp 0x403598
mov ecx, dword [ebp - 0x1fc4]
push ecx
push 0x4db12c
lea edx, [ebp - 0x1c]
push edx
call fcn.00404080
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x1fc4]
mov eax, dword [ebp + edx*4 - 0x1fc0]
push eax
call fcn.00411f50
add esp, 0x10
push 1
lea ecx, [ebp - 0x10]
push ecx
push 0x4db130
mov edx, dword [ebp - 0x1fc4]
mov eax, dword [ebp + edx*4 - 0x1fc0]
push eax
call fcn.00408ce0
add esp, 0x10
mov dword [ebp - 0x1fd0], eax
mov ecx, dword [ebp - 0x1fd0]
push ecx
call fcn.00411a50
add esp, 4
mov dword [ebp - 0x1fc8], eax
cmp dword [ebp - 0x1fc8], 0
je 0x4034fb
push 1
lea edx, [ebp - 0x10]
push edx
push 0x4db134
mov eax, dword [ebp - 0x1fc4]
mov ecx, dword [ebp + eax*4 - 0x1fc0]
push ecx
call fcn.00408ce0
add esp, 0x10
mov dword [ebp - 0x1fd0], eax
mov edx, dword [ebp - 0x1fd0]
push edx
call fcn.00411a50
add esp, 4
mov dword [ebp - 0x1fc8], eax
cmp dword [ebp - 0x1fc8], 0
je 0x4034fb
mov eax, dword [ebp + 8]
sub eax, 1
imul eax, dword [section..data]
add eax, dword [ebp - 0x1fc4]
push eax
push str.Server_handles__d_clients
call fcn.00404040
add esp, 8
cmp dword [ebp - 0x1fc8], 0xffffffef
je 0x403451
mov ecx, dword [ebp - 0x1fc8]
push ecx
push str.__final_checkout_status:__d
call fcn.00404040
add esp, 8
push 0x4db170
call fcn.00404040
add esp, 4
push 1
call fcn.0046a210
add esp, 4
push eax
call fcn.0046b410
add esp, 4
jmp 0x403482
mov edx, dword [ebp - 0x1fc4]
sub edx, 1
mov dword [ebp - 0x1fc4], edx
cmp dword [ebp - 0x1fc4], 0
jle 0x4034a3
mov eax, dword [ebp - 0x1fc4]
mov ecx, dword [ebp + eax*4 - 0x1fc0]
push ecx
call fcn.0040d830
add esp, 4
jmp 0x403473
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.client
push str.perf_tests
call fcn.00404ad0
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x1fcc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x4034f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetEvent_failed_with__d_n
call fcn.00404040
add esp, 8
mov eax, dword [0x4f05b4]
push eax
call fcn.004791f0
cmp dword [0x4f05a0], 0
je 0x40353e
cmp dword [ebp - 0x1fc4], 0
je 0x40353e
mov eax, dword [section..data]
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
mov eax, dword [ebp - 0x1fc4]
cdq
idiv ecx
test edx, edx
jne 0x40353e
mov edx, dword [ebp - 0x1fc4]
push edx
mov eax, dword [ebp + 8]
push eax
push str.INFO:_client_d:_finished__d_checkouts_n
call fcn.00404040
add esp, 0xc
jmp 0x4032a7
cmp dword [0x4f05a0], 0
je 0x403564
mov ecx, dword [section..data]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.INFO:_client_d:_finished__d_checkouts__sleeping..._n
call fcn.00404040
add esp, 0xc
mov eax, dword [ebp - 0x1fd4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1fcc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x1fcc]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [0x4f05b4]
push eax
call fcn.004791f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00464bf6
mov esp, ebp
pop ebp
ret