Function at 0x1000b520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov esi, esp
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], esp
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0xcc], 0x1003c360
lea eax, [esi + 0xc8]
mov ecx, dword fs:[0]
mov dword [esi + 0xc8], ecx
mov dword fs:[0], eax
mov dword [esi + 0xd0], 0
call fcn.10024880
mov edi, eax
test eax, eax
je 0x1000babf
mov dword [esi + 0x28], edi
lock dec byte [edi + 0x18]
je 0x1000ba9b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add edi, 0x18
mov dword [esi + 8], eax
mov eax, dword [0x100bba58]
mov dword [esi + 0x2c], edi
test eax, eax
je 0x1000b621
mov dword [esi + 4], eax
mov ebx, 0x3e8
mov eax, ecx
mul ebx
mov edi, eax
mov eax, dword [ebp + 8]
seto cl
mul ebx
mov ebx, edx
add ebx, edi
mov edi, eax
setb al
or al, cl
jne 0x1000b602
mov eax, dword [ebp + 0x10]
mov ecx, 0x431bde83
mul ecx
shr edx, 0x12
add edi, edx
adc ebx, 0
jb 0x1000b602
imul eax, edx, 0xf4240
xor ecx, ecx
sub dword [esi + 8], eax
setne cl
xor eax, eax
add edi, ecx
adc ebx, 0
setb cl
neg ebx
sbb eax, eax
test cl, cl
je 0x1000b665
mov eax, 0xffffffff
mov edi, dword [esi + 0x2c]
mov ecx, dword [esi + 4]
push eax
push 1
push 0x10081444
push edi
call ecx
xor eax, eax
xchg byte [edi], al
jmp 0x1000ba9b
mov ebx, dword [0x100bb028]
cmp ebx, 0xffffffff
jne 0x1000b675
mov dword [esi + 0x44], 0xffffffff
lea ecx, [esi + 0x44]
mov eax, dword [0x100bb038]
push 0
push 0
push 0xc0000000
push ecx
call eax
test eax, eax
jne 0x1000bad5
mov ecx, dword [esi + 0x44]
mov eax, 0xffffffff
lock cmpxchg dword [0x100bb028], ecx
jne 0x1000b669
mov ebx, ecx
jmp 0x1000b672
or eax, edi
jmp 0x1000b607
mov ebx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
mov edi, 0x3b9aca00
mov eax, edx
mov dword [esi + 0x58], ebx
mul edi
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov ecx, edx
mul edi
mov edi, ebx
add eax, ecx
mov ecx, 0xffffff9c
adc edx, 0
add edi, dword [ebp + 0x10]
adc eax, 0
adc edx, 0
setb bl
cmp ecx, edi
mov ecx, 0xffffffff
sbb ecx, eax
mov ecx, 0x31
movzx ebx, bl
sbb ecx, edx
mov ecx, 0
mov dword [esi + 0x54], ebx
sbb ecx, ebx
jb 0x1000b871
mov dword [esi + 0x4c], edi
add edi, 0x63
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], edx
mov dword [esi + 8], edi
mov edi, eax
adc eax, 0
mov edi, edx
mov edx, ebx
mov ecx, dword [esi + 8]
adc edi, 0
mov dword [esi + 4], eax
adc edx, 0
mov dword [esi + 0xc], edi
or eax, edx
mov dword [esi + 0x10], edx
or ecx, edi
or ecx, eax
sete byte [esi + 0x14]
bsr ecx, edi
bsr eax, edx
xor ecx, 0x1f
xor eax, 0x1f
add ecx, 0x20
test edx, edx
cmovne ecx, eax
bsr eax, dword [esi + 8]
bsr ebx, dword [esi + 4]
xor eax, 0x1f
xor ebx, 0x1f
add eax, 0x20
cmp dword [esi + 4], 0
cmovne eax, ebx
mov ebx, 0
add eax, 0x40
or edi, edx
mov edx, 0
mov edi, 0
cmovne eax, ecx
mov ecx, 0x79
sub ecx, eax
mov eax, 0x7f
sbb edx, edx
sbb edi, edi
sbb ebx, ebx
cmp eax, ecx
mov eax, 0
mov dword [esi + 0x24], edi
sbb eax, edx
mov eax, 0
mov dword [esi + 0x20], ebx
sbb eax, edi
mov eax, 0
mov edi, 0
sbb eax, ebx
mov ebx, dword [esi + 8]
setb al
or al, byte [esi + 0x14]
mov eax, dword [esi + 4]
cmovne eax, edi
cmovne ebx, edi
mov dword [esi + 0x18], eax
jne 0x1000b876
mov eax, ecx
mov dword [esi + 0x1c], ecx
mov ecx, edx
xor eax, 0x7f
or ecx, dword [esi + 0x20]
or eax, dword [esi + 0x24]
or ecx, eax
mov ecx, dword [esi + 0x18]
je 0x1000ba2f
mov eax, dword [esi + 8]
mov dword [esi + 0xb0], eax
mov eax, dword [esi + 4]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xb8], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xac], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xbc], eax
mov eax, dword [esi + 0x1c]
xor al, 0x7f
mov ch, al
shr al, 3
and al, 0xf
and ch, 7
neg al
mov cl, ch
movsx eax, al
mov edi, dword [esi + eax + 0xb8]
mov ebx, dword [esi + eax + 0xbc]
shld ebx, edi, cl
shl edi, cl
not cl
mov dword [esi + 0x40], ebx
mov dword [esi + 0x30], edi
mov edi, dword [esi + eax + 0xb4]
mov ebx, dword [esi + eax + 0xb0]
mov eax, edi
shr eax, 1
shr eax, cl
mov cl, ch
shld edi, ebx, cl
shl ebx, cl
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x18], edi
mov edi, dword [esi + 0x20]
mov dword [esi + 0x14], ebx
add ecx, 1
adc edx, 0
mov dword [esi + 0x34], edx
mov edx, dword [esi + 0x24]
adc edx, 0
adc edi, 0
jae 0x1000b87e
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
jmp 0x1000ba1d
jmp 0x1000ba38
mov ecx, dword [esi + 0x18]
jmp 0x1000ba2f
or dword [esi + 0x30], eax
mov eax, dword [esi + 8]
mov ebx, edx
mov edx, edi
mov dword [esi + 0x80], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x8c], eax
mov eax, ecx
mov ch, al
mov dword [esi + 0x1c], eax
shr al, 3
and al, 0xf
and ch, 7
movzx eax, al
mov cl, ch
mov edi, dword [esi + eax + 0x8c]
mov dword [esi + 0x20], edx
mov edx, ebx
mov ebx, dword [esi + eax + 0x88]
mov dword [esi + 0x24], edx
mov edx, ebx
add ebx, ebx
shrd edx, edi, cl
mov dword [esi + 4], edx
mov edx, dword [esi + eax + 0x84]
mov dword [esi + 0xc], edx
mov edx, dword [esi + 0xc]
shr edx, cl
not cl
shl ebx, cl
mov cl, ch
or ebx, edx
mov edx, dword [esi + 0xc]
shr edi, cl
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + eax + 0x80]
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
shrd eax, edx, cl
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
nop word cs:[eax + eax]
nop
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x34], eax
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x40]
mov ebx, dword [esi + 0xc]
mov dword [esi + 0xc], 0
shld dword [esi + 8], ecx, 1
shld ecx, edi, 1
shld edi, edx, 1
shld edx, eax, 1
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x30]
shld eax, ecx, 1
or eax, ebx
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x18]
shld ecx, eax, 1
or ecx, ebx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x14]
shld eax, ecx, 1
add ecx, ecx
or ecx, dword [esi + 0x10]
or eax, ebx
mov ebx, dword [esi + 8]
mov dword [esi + 0x18], eax
mov eax, 0x63
cmp eax, edx
mov dword [esi + 0x14], ecx
mov ecx, 0
sbb ecx, edi
mov ecx, 0
sbb ecx, dword [esi + 4]
mov ecx, 0
sbb ecx, ebx
sar ecx, 0x1f
mov eax, ecx
and ecx, 0x64
and eax, 1
sub edx, ecx
mov ecx, ebx
mov ebx, dword [esi + 0x20]
sbb edi, 0
mov dword [esi + 0x38], edx
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x34]
sbb dword [esi + 4], 0
mov dword [esi + 0x3c], edi
mov edi, dword [esi + 0x24]
sbb ecx, 0
add edx, 0xffffffff
adc eax, 0xffffffff
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], edx
adc edi, 0xffffffff
mov ecx, eax
adc ebx, 0xffffffff
or edx, edi
mov dword [esi + 0x24], edi
or ecx, ebx
mov dword [esi + 0x20], ebx
or edx, ecx
jne 0x1000b950
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
shld ecx, ebx, 1
add ebx, ebx
or ecx, dword [esi + 0xc]
or ebx, dword [esi + 0x10]
mov edx, dword [esi + 0x50]
mov edi, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
neg ebx
mov dword [esi + 0x14], ebx
mov ebx, 0
sbb ebx, ecx
cmp edi, 0xffffff9d
mov ecx, closesocket
sbb eax, 0xffffffff
mov eax, 0
sbb edx, 0x31
sbb dword [esi + 0x54], 0
cmovb ecx, ebx
mov dword [esi + 0x64], ecx
mov ecx, dword [esi + 0x14]
cmovae ecx, eax
mov dword [esi + 0x60], ecx
lea ecx, [esi + 0x60]
mov eax, dword [0x100bb040]
push ecx
push 0
mov edi, dword [esi + 0x2c]
push edi
mov ebx, dword [esi + 0x58]
push ebx
call eax
test eax, eax
mov eax, 0
xchg byte [edi], al
je 0x1000ba9b
cmp al, 1
jne 0x1000ba9b
mov eax, dword [0x100bb040]
push 0
push 0
push edi
push ebx
call eax
mov eax, dword [esi + 0x28]
lock dec dword [eax]
jne 0x1000baab
lea ecx, [esi + 0x28]
call fcn.100098a0
mov eax, dword [esi + 0xc8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1007e57c
push 0x5e
push str.use_of_std::thread::current___is_not_possible_after_the_threads_local_data_has_been_destroyed
call sym.kso.dll_core::option::expect_failed::h17002318759e0936
add esp, 0xc
jmp 0x1000bb22
mov dword [esi + 0x5c], eax
lea eax, [esi + 0x5c]
mov dword [esi + 0x60], 0x10081470
mov dword [esi + 0x64], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0xd0], 1
mov dword [esi + 0x78], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x7c], sym.kso.dll_core::fmt::num::imp::__impl_core::fmt::Display_for_i32_::fmt::h007c2c2aa3435b91
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 1
lea eax, [esi + 0x60]
push 0x100814ac
push eax
call sym.kso.dll_core::panicking::panic_fmt::h502dc0a95427940e
add esp, 8
ud2