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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, ecx
mov eax, dword [0x646040]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [0x647d64]
test ecx, ecx
jne 0x43beb6
cmp byte [ebx + 8], 1
je 0x43bb48
mov edi, dword [ebx]
mov esi, ebx
shr esi, 0xe
mov eax, ebx
shr eax, 0x13
mov dword [esp + 0x14], eax
mov eax, dword [eax*4 + 0x64e810]
bt eax, esi
mov dword [esp + 0xc], ebx
jb 0x43bb77
shr ebx, 0x15
mov byte [ebx + 0x656810], 1
mov ebx, dword [edi + 8]
mov eax, dword [edi + 0xc]
cmp ebx, eax
mov dword [esp + 0x10], esi
jb 0x43be32
mov ecx, dword [edi + 4]
sub ebx, ecx
sar ebx, 2
lea edx, [ebx + 1]
cmp edx, 0x40000000
jae 0x43be1e
sub eax, ecx
mov ecx, eax
sar ecx, 1
cmp ecx, edx
cmovbe ecx, edx
cmp eax, 0x7ffffffc
mov esi, 0x3fffffff
cmovb esi, ecx
test esi, esi
je 0x43be28
cmp esi, 0x40000000
jae 0x43be23
lea eax, [esi*4]
push eax
call fcn.00564055
add esp, 4
shl ebx, 2
add ebx, eax
je 0x43be5b
lea eax, [eax + esi*4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc]
mov dword [ebx], eax
lea esi, [ebx + 4]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, eax
sub ebx, ecx
push ecx
push eax
push ebx
call fcn.00568550
add esp, 0xc
mov eax, dword [edi + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
mov ecx, dword [esp + 8]
mov dword [edi + 0xc], ecx
test eax, eax
jne 0x43bb3a
mov dword [edi + 8], esi
sub esi, dword [edi + 4]
cmp esi, 5
mov ebx, dword [esp + 0xc]
jae 0x43bcdc
mov byte [ebx + 9], 1
mov dword [esp + 0x3c], 0xffffffff
xor esi, esi
mov dword [esp + 0x34], esi
push 8
call fcn.00564055
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov dword [esp + 0x38], eax
test eax, eax
je 0x43b9cf
xor ecx, ecx
inc ecx
lock xadd dword [eax], ecx
cmp ecx, 0x7fffffff
je 0x43be2f
lea eax, [esp + 0x34]
mov dword [eax + 8], eax
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0xa4]
test edi, edi
jne 0x43bf00
mov edi, dword [ebx]
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
mov cl, 1
cmp eax, 4
jne 0x43bb2e
mov byte [esp + 8], cl
mov dword [esp + 0x1c], 0x7fffffff
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x6401dc]
sub esp, 0xc
movsd xmm0, qword [esp + 0x24]
movsd qword [esp + 4], xmm0
movzx eax, byte [esp + 0x14]
mov dword [esp], eax
mov ecx, edi
call ebx
mov ebx, dword [esp + 0xc]
mov byte [ebx + 9], 0
mov dword [esp + 0x40], 0x91
mov al, byte [0x64b4dd]
test al, al
jne 0x43c01d
mov edi, dword [ebx]
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
je 0x43be4d
add esi, 0xfffffffc
je 0x43be54
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jb 0x43bb20
mov dword [esi], 0
mov dword [edi + 8], esi
cmp dword [edi + 4], esi
jne 0x43bb85
mov dword [esp + 0x40], 0x91
mov al, byte [0x64b4dd]
test al, al
jne 0x43be93
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x38]
mov byte [eax + 4], 1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x43badf
lock dec dword [eax]
jne 0x43badf
push eax
call fcn.00564050
add esp, 4
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x43bb0a
mov ecx, dword [0x647d64]
test ecx, ecx
jne 0x43be71
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.00567335
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lock dec dword [esi]
jne 0x43bae7
mov ecx, dword [esi + 8]
call dword [0x6401dc]
push esi
call ecx
add esp, 4
jmp 0x43bae7
push eax
call fcn.004f5270
add esp, 4
jmp 0x43ba92
cmp dword [ebx + 4], 1
sete cl
jmp 0x43ba06
push eax
call fcn.00564050
add esp, 4
jmp 0x43b97f
mov dword [esp + 0x40], 0x91
mov al, byte [0x64b4dd]
test al, al
jne 0x43c146
mov dword [esp + 0x40], 0x91
mov al, byte [0x64b4dd]
test al, al
je 0x43bae7
jmp 0x43c123
push ebx
call fcn.004f4df0
add esp, 4
jmp 0x43b8d2
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x43c0bd
lea esi, [eax + 0x10]
lea ecx, [esp + 0x60]
mov dword [ecx + 8], esi
lea edx, [eax + 0x1c]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov dword [eax + 0x1c], ecx
mov dword [ecx + 0xc], 0
cmp dword [eax + 0x30], 0
mov eax, dword [eax + 0x14]
jne 0x43c093
xor ebx, ebx
dec ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 8], esi
mov esi, dword [esi]
sub eax, esi
sar eax, 2
cmp eax, ebx
mov ecx, ebx
cmovb ecx, eax
xor edx, edx
test ecx, ecx
je 0x43bbf3
cmp eax, edx
je 0x43be46
cmp dword [esi + edx*4], 0
je 0x43c051
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
cmp dword [esp + 8], 0
je 0x43bca8
cmp eax, ebx
cmovb ebx, eax
cmp edx, ebx
je 0x43bca8
cmp eax, edx
jbe 0x43be46
mov esi, dword [esi + edx*4]
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [0x6401dc]
mov ecx, esi
call ebx
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x43bca8
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
inc esi
mov dword [esp + 0x6c], esi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], edx
sub eax, edx
sar eax, 2
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
mov dword [esp + 8], esi
cmp esi, edx
jae 0x43be15
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, edx
sar eax, 2
mov esi, dword [esp + 8]
cmp eax, esi
jbe 0x43be46
cmp dword [edx + esi*4], 0
je 0x43c065
mov esi, edx
cmp eax, ebx
cmovb ebx, eax
mov edx, ebx
mov ecx, dword [esp + 8]
cmp ecx, edx
mov edx, ecx
jne 0x43bc1b
lea ecx, [esp + 0x40]
call fcn.0043c180
lea ecx, [esp + 0x60]
call fcn.0043c180
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
je 0x43be6a
mov eax, dword [eax - 4]
cmp byte [eax + 8], 0
mov eax, dword [esp + 0xc]
je 0x43baa4
jmp 0x43c0d9
mov esi, dword [ebx]
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x43c107
lea eax, [esi + 0x10]
lea edx, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [edx + 8], eax
lea eax, [esi + 0x1c]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x1c]
mov dword [edx], eax
mov dword [eax + 4], edx
mov dword [esi + 0x1c], edx
mov dword [edx + 0xc], 0
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov ebx, ecx
sub ebx, edi
sar ebx, 2
xor eax, eax
cmp dword [esi + 0x30], 1
mov esi, edi
mov edi, 0
sbb edi, edi
or edi, ebx
mov dword [edx + 0x10], edi
cmp ecx, esi
je 0x43bd4b
xor edx, edx
cmp ebx, edx
je 0x43be46
mov eax, edx
cmp dword [esi + edx*4], 0
je 0x43c0f1
xorps xmm0, xmm0
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov edx, dword [esp + 8]
test edx, edx
je 0x43bddd
mov esi, eax
mov edx, dword [edx]
sub ecx, edx
sar ecx, 2
cmp ecx, edi
cmovb edi, ecx
cmp eax, edi
je 0x43bddd
cmp ecx, esi
jbe 0x43be46
mov esi, dword [edx + esi*4]
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [0x6401dc]
mov ecx, esi
call edi
mov eax, dword [esp + 0x68]
test eax, eax
je 0x43bddd
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x70]
inc esi
mov dword [esp + 0x6c], esi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
sar ecx, 2
cmp ecx, edi
mov ebx, edi
cmovb ebx, ecx
cmp esi, ebx
jae 0x43bdd9
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
sar ecx, 2
cmp ecx, esi
jbe 0x43be46
cmp dword [edx + esi*4], 0
je 0x43c09f
cmp ecx, edi
cmovb edi, ecx
mov ebx, edi
cmp esi, ebx
jne 0x43bd75
lea ecx, [esp + 0x40]
call fcn.0043c180
lea ecx, [esp + 0x60]
call fcn.0043c180
mov ebx, dword [esp + 0xc]
cmp dword [ebx + 4], 1
jne 0x43b992
mov esi, dword [ebx]
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x6401dc]
mov ecx, esi
call edi
jmp 0x43b992
mov esi, dword [esp + 0x10]
jmp 0x43bc9a
call fcn.00595910
call fcn.00595030
xor eax, eax
jmp 0x43b937
int3
test ebx, ebx
je 0x43be5b
mov eax, dword [esp + 0xc]
mov dword [ebx], eax
add ebx, 4
mov esi, ebx
jmp 0x43b97f
push str....._third_partylibc_srcinclude_vector:1411:_assertion___n___size___failed:_vector___index_out_of_bounds_n
jmp 0x43be60
push str....._third_partylibc_srcinclude_vector:1539:_assertion__empty___failed:_vector::pop_back_called_on_an_empty_vector_n
jmp 0x43be60
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x43be60
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624e92
call fcn.005912b0
push str....._third_partylibc_srcinclude_vector:622:_assertion__empty___failed:_back___called_on_an_empty_vector_n
jmp 0x43be60
lea eax, [esp + 0x40]
mov dword [eax], 0
lea edx, [esp + 0x60]
mov dword [edx], 0x630ae0
push eax
call fcn.005b8c50
add esp, 4
jmp 0x43baf5
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], 0
lea edx, [esp + 0x40]
push 2
push ecx
push edx
push eax
call fcn.00591070
add esp, 0x10
jmp 0x43bab9
lea eax, [esp + 0x34]
mov dword [eax], str.RunLoop::Run
lea esi, [esp + 0x60]
mov dword [esi], str.location
lea edx, [esp + 0x40]
mov dword [edx], 0x630ae0
push dword [ebp + 8]
push esi
push eax
call fcn.005b7e60
add esp, 0xc
jmp 0x43b89a
lock dec dword [esi]
jne 0x43bf7d
mov ecx, dword [esi + 8]
call dword [0x6401dc]
push esi
call ecx
add esp, 4
jmp 0x43bf7d
lea ebx, [esp + 0x38]
lea esi, [edi + 8]
mov eax, dword [esp + 0x14]
mov eax, dword [eax*4 + 0x64e810]
mov ecx, dword [esp + 0x10]
bt eax, ecx
jae 0x43bf29
push dword [esp + 0xc]
call fcn.004f4df0
add esp, 4
jmp 0x43bf37
mov eax, dword [esp + 0xc]
shr eax, 0x15
mov byte [eax + 0x656810], 1
lea edx, [esp + 0x60]
mov eax, dword [esp + 0xc]
mov dword [edx], eax
lea ecx, [esp + 0x40]
mov dword [ecx], 0x5b7da0
push esi
push dword [ebp + 8]
call fcn.005b8b70
add esp, 8
mov dword [esp + 8], eax
mov ecx, ebx
call fcn.0055c140
lea ebx, [esp + 0x34]
mov ecx, ebx
call fcn.0055c1a0
mov esi, dword [ebx]
mov eax, dword [esp + 8]
mov dword [ebx], eax
test esi, esi
jne 0x43bee6
mov eax, dword [esp + 0x60]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jae 0x43bfa0
push eax
call fcn.004f5270
add esp, 4
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0xc]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
cmp dword [esp + 0x34], 0
mov dword [esp + 0x24], 0
je 0x43bfd1
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
call fcn.0055ad80
push 0x7f
push str.run_loop.cc
push 0x63096b
lea esi, [esp + 0x6c]
push esi
call fcn.00509c60
add esp, 0x10
mov eax, dword [ebx]
mov edi, dword [eax]
mov ecx, edi
call dword [0x6401dc]
sub esp, 0x10
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, ebx
call edi
mov ebx, dword [esp + 0xc]
jmp 0x43b9f3
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], str.RunLoop_Exited
xor edx, edx
lea esi, [esp + 0x40]
push edx
push ebx
push edx
push 0x80
push 0x42
push 0x627728
push 1
push ecx
push esi
push eax
call fcn.005b41c0
add esp, 0x28
jmp 0x43ba5f
inc edx
mov dword [esp + 0x6c], edx
cmp ecx, edx
jne 0x43bbe1
mov edx, ecx
jmp 0x43bbf3
mov eax, dword [esp + 8]
inc eax
mov dword [esp + 0x6c], eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], eax
jne 0x43bc71
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
sub eax, esi
sar eax, 2
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], ecx
jmp 0x43bc93
mov ebx, eax
sub ebx, dword [esi]
sar ebx, 2
jmp 0x43bbc5
inc esi
mov dword [esp + 0x6c], esi
cmp ebx, esi
jne 0x43bdba
mov edx, dword [eax]
mov ecx, dword [eax + 4]
sub ecx, edx
sar ecx, 2
mov esi, ebx
jmp 0x43bdd2
xor eax, eax
mov dword [esp + 0x70], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x50], eax
movaps xmmword [esp + 0x40], xmm0
jmp 0x43bca8
mov esi, dword [eax]
mov eax, dword [esi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x6401dc]
mov ecx, esi
call edi
jmp 0x43baa4
mov edx, eax
inc edx
mov dword [esp + 0x6c], edx
cmp ebx, edx
jne 0x43bd37
mov eax, ebx
jmp 0x43bd4b
xor eax, eax
mov dword [esp + 0x70], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
mov dword [esp + 0x50], eax
movaps xmmword [esp + 0x40], xmm0
jmp 0x43bddd
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], 0
lea edx, [esp + 0x40]
push 2
push ecx
push edx
push eax
call fcn.00591070
add esp, 0x10
jmp 0x43bae7
movzx eax, al
lea ecx, [esp + 0x60]
mov dword [ecx], str.RunLoop_ExitedEarly
xor edx, edx
lea esi, [esp + 0x40]
push edx
push ebx
push edx
push 0x80
push 0x42
push 0x627728
push 1
push ecx
push esi
push eax
call fcn.005b41c0
add esp, 0x28
jmp 0x43bb5d