Function at 0x3241f20
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
mov eax, ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x14], esi
lea ecx, [ebp - 1]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
cmp ecx, 0x2c
ja case.0x3241f55.5
jmp dword [ecx*4 + 0x3242950]
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.03251980
add esp, 4
mov edi, eax
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x11
je 0x32428c0
test edi, edi
jne 0x3241fb6
push 2
call fcn.03243970
mov edi, eax
add esp, 4
cmp edi, 0x73
je 0x32428c0
cmp edi, 0x72
je 0x32428c0
test edi, edi
je 0x32428c2
push ebp
call fcn.03241ca0
mov ebx, dword [esp + 0x2c]
add esp, 4
mov dword [esp + 0x1c], eax
test ebx, ebx
je 0x3242877
push edi
call fcn.03248910
push eax
push edi
push ebx
push dword [esp + 0x2c]
push ebp
push dword [esp + 0x3c]
push str.__bdnimbus_set_optionv
push 0x31d
push str..._src_api.c
push str.__s:_d__ERR___s:___p___d___s____s__...______d__s_n
push 0
call fcn.0325f280
add esp, 0x30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [ebx]
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call fcn.03251a10
add esp, 4
mov edi, eax
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x11
jne 0x3242045
push ebp
xor edi, edi
call fcn.03241ca0
add esp, 4
mov ecx, eax
xor esi, esi
jmp 0x3242462
xor esi, esi
jmp 0x3241f8c
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.03251aa0
jmp 0x3241f73
mov eax, dword [esp + 0x24]
mov ebx, dword [ebx]
mov dword [esp + 0x28], ebx
test eax, eax
je 0x3242855
test ebx, ebx
je 0x3242855
push ebx
push eax
call fcn.03252ff0
add esp, 8
mov edi, eax
jmp 0x3241fae
mov ecx, dword [esp + 0x24]
mov eax, dword [ebx]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x3242855
push dword [ebx + 8]
push dword [ebx + 4]
push eax
push ecx
call fcn.032531f0
add esp, 0x10
mov edi, eax
jmp 0x3241fae
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.03251b50
jmp 0x3241f73
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.03251c70
jmp 0x3241f73
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
call fcn.03251d10
add esp, 4
mov edi, eax
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0x11
jne 0x3242131
xor edi, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov ebx, esi
jmp 0x324268b
mov dword [esp + 0x1c], 1
test edi, edi
je 0x3242141
mov dword [esp + 0x1c], esi
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
jmp 0x324268b
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
test eax, eax
je 0x324216f
push esi
push eax
call fcn.03252f40
push ebp
call fcn.03241ca0
add esp, 0xc
mov ecx, eax
jmp 0x3242462
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
push 0x34191a0
setne byte [0x341926e]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.03241ca0
add esp, 4
mov ecx, eax
jmp 0x3242462
mov edi, 0x26
jmp 0x324290d
mov eax, dword [eax]
push 0
push 0
push dword [ebx + 4]
mov dword [esp + 0x1c], eax
push eax
push 0x34192b0
call fcn.03249b60
add esp, 0x14
mov edi, eax
jmp 0x3241fae
mov ebx, dword [ebx]
push ebx
push 0x34192b0
mov dword [esp + 0x18], ebx
call fcn.03249d30
add esp, 8
mov edi, eax
jmp 0x3241fae
mov eax, dword [eax]
push 0
push 0
push dword [ebx + 4]
mov dword [esp + 0x1c], eax
push eax
push 0x34192b8
call fcn.03249b60
add esp, 0x14
mov edi, eax
jmp 0x3241fae
mov eax, dword [ebx]
push eax
push 0x34192b8
mov dword [esp + 0x18], eax
call fcn.03249d30
add esp, 8
mov edi, eax
jmp 0x3241fae
mov edi, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call fcn.03251b50
mov edi, eax
push edi
push dword [esp + 0x30]
push str.__bdnimbus_set_optionv
push 0x222
push str..._src_api.c
push str.__s:_d___s:_set_proxy_name:__s___rc___d___n
push 2
call fcn.0325f280
add esp, 0x20
cmp edi, 0x11
jne 0x324226d
mov dword [esp + 0x18], 1
jmp 0x3242271
test edi, edi
jne 0x32422f0
mov esi, dword [ebx + 4]
push esi
call fcn.03251c70
mov edi, eax
push edi
push esi
push str.__bdnimbus_set_optionv
push 0x227
push str..._src_api.c
push str.__s:_d___s:_set_proxy_user:__s___rc___d___n
push 2
call fcn.0325f280
add esp, 0x20
cmp edi, 0x11
jne 0x32422a7
inc dword [esp + 0x18]
jmp 0x32422ab
test edi, edi
jne 0x32422ee
mov esi, dword [ebx + 8]
push esi
call fcn.03251d10
mov edi, eax
push edi
push esi
push str.__bdnimbus_set_optionv
push 0x22c
push str..._src_api.c
push str.__s:_d___s:_set_proxy_pass:__p___rc___d___n
push 2
call fcn.0325f280
add esp, 0x20
cmp edi, 0x11
jne 0x32422ee
inc dword [esp + 0x18]
xor edi, edi
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3242303
xor esi, esi
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jne 0x3241fb6
cmp dword [esp + 0x18], 3
je 0x32428c2
xor esi, esi
jmp case.0x3241f55.26
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x34191f8]
cmp eax, 0x4e3e
je 0x3242340
cmp eax, 0x4e44
je 0x3242340
cmp eax, 0x4e43
jne 0x3242348
mov dword [esp + 0x1c], 1
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call fcn.03249920
mov edi, eax
add esp, 4
xor eax, eax
cmp edi, 0x11
cmove edi, eax
test edi, edi
cmove eax, dword [esp + 0x1c]
mov ebx, eax
jmp 0x324268b
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
test eax, eax
je case.0x3241f55.5
push esi
push 0x10
jmp 0x32425db
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x3242400
lea esi, [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 4]
mov dword [ecx + 0x64], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.03241ca0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x324245e
push eax
push ecx
push ebp
push dword [esp + 0x30]
push str.__bdnimbus_set_optionv
push 0x32a
push str..._src_api.c
push str.__s:_d___s:___p___d___s____p__..._____0__n
push 2
call fcn.0325f280
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push ebp
mov edi, 0x16
call fcn.03241ca0
add esp, 4
mov ebx, eax
jmp 0x324287b
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
mov dword [esp + 0x14], esi
test eax, eax
je case.0x3241f55.5
lea esi, [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x14]
mov eax, 0x14
test ecx, ecx
push esi
cmovne eax, ecx
mov ecx, dword [esp + 0x28]
imul eax, eax, 0x3e8
mov dword [ecx + 0x54], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.03241ca0
add esp, 4
mov ecx, eax
mov esi, dword [esp + 0x14]
push esi
push ecx
push ebp
push dword [esp + 0x30]
push str.__bdnimbus_set_optionv
push 0x32c
push str..._src_api.c
push str.__s:_d___s:___p___d___s____d_..._____0__n
push 2
call fcn.0325f280
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov esi, dword [ebx]
mov dword [esp + 0x14], esi
cmp dword [esp + 0x24], edi
jne case.0x3241f55.5
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x34191c0], edi
jne 0x32424cd
test esi, esi
push 0x34191a0
setne byte [0x3419270]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
push 0x34191a0
mov edi, 0x10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
mov ebx, dword [ebx]
push ebx
mov dword [esp + 0x2c], ebx
call fcn.03254e30
add esp, 4
mov edi, eax
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test edi, edi
jne 0x3242680
cmp dword [0x34191f8], ebx
mov eax, 1
cmovne ebx, eax
jmp 0x3242680
mov ebx, dword [ebx]
push ebx
mov dword [esp + 0x2c], ebx
call fcn.03254f40
add esp, 4
mov edi, eax
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test edi, edi
jne 0x3242680
cmp dword [0x34191f8], ebx
mov eax, 1
cmovne ebx, eax
jmp 0x3242680
mov esi, dword [ebx]
push esi
mov dword [esp + 0x18], esi
call fcn.032550c0
add esp, 4
mov edi, eax
jmp 0x3241fae
mov esi, dword [ebx]
push esi
mov dword [esp + 0x18], esi
call fcn.03255110
add esp, 4
mov edi, eax
jmp 0x3241fae
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
test eax, eax
je case.0x3241f55.5
push esi
push eax
call fcn.03252f90
push ebp
call fcn.03241ca0
add esp, 0xc
mov ecx, eax
jmp 0x3242462
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
test eax, eax
je case.0x3241f55.5
push esi
push eax
call fcn.03252f40
push ebp
call fcn.03241ca0
add esp, 0xc
mov ecx, eax
jmp 0x3242462
mov eax, dword [esp + 0x24]
mov esi, dword [ebx]
test eax, eax
je case.0x3241f55.5
push esi
push 0x40
push eax
call fcn.03241ee0
push ebp
call fcn.03241ca0
add esp, 0x10
mov ecx, eax
jmp 0x3242462
mov esi, dword [ebx]
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
test esi, esi
push 0x34191a0
setne al
mov dword [0x3419278], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.03241ca0
add esp, 4
mov ecx, eax
jmp 0x3242462
mov esi, dword [ebx]
push 0x34191a0
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
test esi, esi
push 0x34191a0
setne al
mov dword [0x3419280], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x3241f55.26
mov esi, dword [ebx]
push 0x34191a0
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [0x3419271], 0
je 0x3242675
test esi, esi
jne 0x3242675
lea ebx, [esi + 1]
jmp 0x3242677
xor ebx, ebx
test esi, esi
setne byte [0x3419271]
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x3241fae
jmp case.0x3241f55.26
mov esi, dword [ebx]
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
test esi, esi
push 0x34191a0
setne al
mov dword [0x3419288], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.03241ca0
add esp, 4
mov ecx, eax
jmp 0x3242462
mov ebx, dword [ebx]
push 0x34191a0
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [0x341923c], 0x800
jne 0x3242789
movups xmm0, xmmword [ebx]
movups xmmword [0x34192dc], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [0x34192ec], xmm0
movq xmm0, qword [ebx + 0x20]
movq qword [0x34192fc], xmm0
call fcn.03267640
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0x10000
push 0x34192dc
push 0x3264f30
push 0
push 0
call ebx
mov dword [0x3419304], eax
test eax, eax
je 0x3242774
push 0
push 0x10000
push 0x34192dc
push 0x3265160
push 0
push 0
call ebx
mov dword [0x3419308], eax
test eax, eax
je 0x3242774
or dword [0x341923c], 0x800
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
push 0x34191a0
mov edi, 0x4e38
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
push 0x34191a0
mov edi, 0x16
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
push 0x34191a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dword [0x341923c], 0x800
je 0x3242789
push str.__bdnimbus_set_optionv
push 0x2e9
push str..._src_api.c
push str.__s:_d___s:_Waiting_for_RPC_thread_n
push 2
call fcn.0325f280
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x14
push 0xffffffffffffffff
push dword [0x3419304]
call esi
push 0xffffffffffffffff
push dword [0x3419308]
call esi
push dword [0x3419304]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x3419308]
call esi
push str.__bdnimbus_set_optionv
push 0x2ee
push str..._src_api.c
push str.__s:_d___s:_RPC_thread_joinded_n
push 2
call fcn.0325f280
and dword [0x341923c], 0xfffff7ff
add esp, 0x14
call fcn.03267660
push 0x34191a0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x3241fae
mov eax, dword [ebx]
push eax
mov dword [esp + 0x2c], eax
call fcn.0325f0b0
add esp, 4
test eax, eax
je 0x32428c2
mov edi, 0x16
jmp 0x3241fb6
mov esi, dword [ebx]
push esi
call fcn.0325f1d0
push ebp
call fcn.03241ca0
add esp, 8
mov ecx, eax
jmp 0x3242462
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
je 0x3242918
push edi
call fcn.03248910
push eax
push edi
push dword [esp + 0x1c]
push ebx
push ebp
push dword [esp + 0x3c]
push str.__bdnimbus_set_optionv
push 0x320
push str..._src_api.c
push str.__s:_d__ERR___s:___p___d___s____p__...______d__s_n
push 0
call fcn.0325f280
add esp, 0x30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor edi, edi
push ebp
call fcn.03241ca0
mov ecx, eax
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x32423c5
push eax
push ecx
push ebp
push dword [esp + 0x30]
push str.__bdnimbus_set_optionv
push 0x328
push str..._src_api.c
push str.__s:_d___s:___p___d___s____s__..._____0__n
push 2
call fcn.0325f280
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edi, 0x16
push ebp
call fcn.03241ca0
mov ebx, eax
add esp, 4
push edi
call fcn.03248910
push eax
push edi
push esi
push ebx
push ebp
push dword [esp + 0x3c]
push str.__bdnimbus_set_optionv
push 0x323
push str..._src_api.c
push str.__s:_d__ERR___s:___p___d___s____d_...______d__s_n
push 0
call fcn.0325f280
add esp, 0x30
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret