Function at 0x43c270
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [0x5d6980]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
xor edi, edi
lea eax, [ebx - 1]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edi
test eax, eax
je 0x43c32a
jmp 0x43c2a0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, edi
imul esi, esi, 0x178
add esi, dword [esp + 0x84]
push 0
push 1
push 0
push 0
mov dword [esi + 0x164], 0
call ebx
push 0
push 0
push 0
push 0
mov dword [esi + 0x16c], eax
call ebx
push 0
push 0
push esi
push 0x43f1d0
push 0
push 0
mov dword [esi + 0x170], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x168], eax
mov eax, dword [esi + 0x170]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [0x5d6980]
add edi, 1
adc dword [esp + 0x24], 0
lea eax, [ebx - 1]
cdq
cmp dword [esp + 0x24], edx
jb 0x43c2a0
ja 0x43c32a
cmp edi, eax
jb 0x43c2a0
mov ecx, dword [ebp + 0x84]
mov eax, ebx
cdq
mov esi, edx
mov edx, dword [ebp + 0x80]
push esi
mov edi, eax
push edi
push ecx
push edx
call fcn.004bdc20
mov ecx, eax
and ecx, 7
sub eax, ecx
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp esi, eax
jb 0x43c3f0
ja 0x43c371
cmp edi, eax
jbe 0x43c3f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x84]
imul edx, edx, 0x178
add eax, edx
lea edi, [eax + 0x58]
mov ecx, 0x32
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x12c], ecx
add ecx, dword [esp + 0x14]
cmp dword [0x5d5f9c], 2
mov dword [eax + 0x130], ecx
mov dword [esp + 0x18], ecx
jle 0x43c3d1
mov edx, dword [eax + 0x12c]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push str.thread__d_finding_primes_from_byte_offset__u_to__u_n
call fcn.004b7f6d
mov ebx, dword [0x5d6980]
add esp, 0x10
add dword [esp + 0x20], 1
mov ecx, dword [esp + 0x24]
mov eax, ebx
adc ecx, 0
cdq
mov dword [esp + 0x24], ecx
cmp ecx, edx
jb 0x43c371
ja 0x43c3f0
cmp dword [esp + 0x20], eax
jb 0x43c371
cmp ebx, 1
jle 0x43c67c
cmp dword [ebp + 0xb8], 0
mov eax, ebx
cdq
je 0x43c490
mov ecx, dword [ebp + 0x38]
sub ecx, dword [ebp + 0x40]
mov esi, edx
mov edx, dword [ebp + 0x3c]
sbb edx, dword [ebp + 0x44]
push esi
mov edi, eax
push edi
push edx
push ecx
mov dword [esp + 0x4c], esi
call fcn.004bdc20
add eax, edi
adc edx, esi
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], edi
cmp dword [esp + 0x3c], esi
jb 0x43c68d
ja 0x43c44a
cmp edi, esi
jbe 0x43c68d
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov edi, esi
imul edi, edi, 0x178
add edi, dword [esp + 0x84]
push eax
call fcn.004b7263
add esp, 4
add esi, 1
adc ebp, 0
mov dword [edi + 0x44], eax
cmp ebp, dword [esp + 0x3c]
jb 0x43c454
ja 0x43c68d
cmp esi, dword [esp + 0x40]
jb 0x43c454
jmp 0x43c68d
mov ecx, dword [ebp + 0x40]
mov esi, dword [ebp + 0x44]
mov edi, edx
mov edx, dword [ebp + 0x80]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x84]
shld ecx, edx, 3
push edi
add edx, edx
push eax
add edx, edx
add edx, edx
push ecx
push edx
mov dword [esp + 0x48], eax
call fcn.004bdc20
mov ecx, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x28]
push ecx
push edx
push eax
call fcn.004bdf50
mov dword [esp + 0x40], eax
add eax, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], eax
mov eax, edx
adc eax, esi
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp edi, eax
jb 0x43c68d
ja 0x43c504
cmp dword [esp + 0x38], eax
jbe 0x43c68d
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
imul edx, edx, 0x178
add edx, dword [esp + 0x84]
mov ecx, eax
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], 0
fild qword [esp + 0x38]
mov dword [esp + 0x14], edx
fild qword [esp + 0x48]
fchs
faddp st(1)
fst qword [esp + 0x70]
call fcn.004bdd80
fdivr qword [esp + 0x70]
call fcn.004bd196
mov edi, eax
mov ebp, edx
test esi, esi
jne 0x43c56f
cmp dword [esp + 0x30], 1
jbe 0x43c5b6
mov edx, dword [esp + 0x30]
mov eax, esi
mov ecx, esi
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
fild qword [esp + 0x50]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], 0
fild qword [esp + 0x58]
fchs
faddp st(1)
fst qword [esp + 0x70]
call fcn.004bdd80
fdivr qword [esp + 0x70]
call fcn.004bd196
jmp 0x43c5ba
xor eax, eax
xor edx, edx
sub edi, eax
sbb ebp, edx
mov eax, ebp
and ebp, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], ebp
fild qword [esp + 0x60]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 0
fild qword [esp + 0x68]
fchs
faddp st(1)
fmul qword [0x5b4708]
call fcn.004bd196
cmp dword [0x5d5f9c], 2
mov edi, eax
jle 0x43c626
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
push ecx
push esi
push eax
push edx
push edi
push str.allocating_temporary_space_for__I64u_primes_between__I64u_and__I64u_n
call fcn.004b7f6d
mov ebx, dword [0x5d6980]
add esp, 0x1c
lea ecx, [edi*8]
push ecx
call fcn.004b7263
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x44], eax
mov eax, dword [esp + 0x44]
add esp, 4
add dword [esp + 0x30], eax
adc esi, ecx
add dword [esp + 0x28], eax
mov eax, ebx
cdq
adc dword [esp + 0x2c], ecx
add dword [esp + 0x20], 1
mov ecx, dword [esp + 0x24]
adc ecx, 0
mov dword [esp + 0x24], ecx
cmp ecx, edx
jb 0x43c504
ja 0x43c68d
cmp dword [esp + 0x20], eax
jb 0x43c504
jmp 0x43c68d
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x44], eax
mov dword [esp + 0x14], 0
test ebx, ebx
jle 0x43c754
mov esi, dword [esp + 0x84]
add esi, 0x120
lea ebx, [ebx]
lea edx, [ebx - 1]
cmp dword [esp + 0x14], edx
jne 0x43c726
cmp ebx, 1
jne 0x43c6cb
mov eax, dword [esp + 0x88]
mov dword [esi], eax
xor eax, eax
jmp 0x43c6cf
xor eax, eax
mov dword [esi], eax
mov ebp, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
xor edi, edi
mov dword [esi + 4], eax
cmp edi, eax
ja 0x43c73d
jb 0x43c6e4
cmp ebp, ecx
jae 0x43c73d
mov ebx, dword [esp + 0x80]
jmp 0x43c6f0
mov edx, dword [esi - 0xdc]
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
push edi
push ebp
push edx
push eax
mov eax, ebx
call fcn.0043c9a0
mov dword [esi], eax
xor eax, eax
add esp, 0x14
add ebp, 8
adc edi, eax
mov dword [esi + 4], eax
mov ecx, dword [esi + 0x10]
cmp edi, eax
jb 0x43c6f0
ja 0x43c737
cmp ebp, ecx
jb 0x43c6f0
jmp 0x43c737
mov ecx, dword [esi + 0x4c]
push ecx
mov dword [esi + 0x44], 5
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ebx, dword [0x5d6980]
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x178
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x43c6b0
xor esi, esi
xor edi, edi
test ebx, ebx
je 0x43c7a4
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebx - 1]
cdq
cmp edi, edx
ja 0x43c791
jb 0x43c770
cmp esi, eax
jae 0x43c791
mov eax, dword [esp + 0x84]
mov edx, esi
imul edx, edx, 0x178
mov ecx, dword [eax + edx + 0x170]
push 0xffffffffffffffff
push ecx
call ebp
mov ebx, dword [0x5d6980]
add esi, 1
mov eax, ebx
cdq
adc edi, 0
cmp edi, edx
jb 0x43c762
ja 0x43c7a4
cmp esi, eax
jb 0x43c762
xor ebp, ebp
lea edx, [ebx - 1]
mov dword [esp + 0x24], ebp
test edx, edx
je 0x43c82e
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43c7c0
mov esi, ebp
imul esi, esi, 0x178
add esi, dword [esp + 0x84]
mov edx, dword [esi + 0x16c]
push edx
mov dword [esi + 0x164], 7
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x168]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x168]
push ecx
call edi
mov edx, dword [esi + 0x16c]
push edx
call edi
mov eax, dword [esi + 0x170]
push eax
call edi
mov ebx, dword [0x5d6980]
add ebp, 1
adc dword [esp + 0x24], 0
lea eax, [ebx - 1]
cdq
cmp dword [esp + 0x24], edx
jb 0x43c7c0
ja 0x43c82e
cmp ebp, eax
jb 0x43c7c0
cmp ebx, 1
jle 0x43c8c7
mov ebp, dword [esp + 0x88]
xor edi, edi
test ebx, ebx
jle 0x43c8d4
mov esi, dword [esp + 0x84]
add esi, 0x120
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, eax
or edx, ecx
je 0x43c8ab
cmp dword [0x5d5f9c], 2
jle 0x43c87f
push edi
push ecx
push eax
push str.adding__I64u_primes_found_in_thread__d_n
call fcn.004b7f6d
mov ebx, dword [0x5d6980]
add esp, 0x10
mov ecx, dword [esi]
mov edx, dword [esi - 0xdc]
mov eax, dword [0x5d5e58]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
mov ecx, dword [esp + 0x90]
push edx
add eax, ebp
lea edx, [ecx + eax*8]
push edx
call fcn.004bd390
add esp, 0xc
add ebp, dword [esi]
mov eax, dword [esi - 0xdc]
push eax
call fcn.004b7229
inc edi
add esp, 4
add esi, 0x178
cmp edi, ebx
jl 0x43c855
jmp 0x43c8d4
mov ecx, dword [esp + 0x84]
mov ebp, dword [ecx + 0x120]
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x80]
xor esi, esi
cmp ebx, dword [edi + 0x80]
jne 0x43c8f1
cmp esi, dword [edi + 0x84]
je 0x43c952
cmp dword [0x5d5f9c], 2
jle 0x43c90f
mov edx, dword [edi + 0x80]
push edx
push ebx
push str.adding_primes_from_byte_offset__u_to__u_n
call fcn.004b7f6d
add esp, 0xc
cmp esi, dword [edi + 0x84]
ja 0x43c952
jb 0x43c921
cmp ebx, dword [edi + 0x80]
jae 0x43c952
mov eax, dword [esp + 0x8c]
push 0
push esi
push ebx
push eax
push ebp
mov eax, edi
call fcn.0043c9a0
add esp, 0x14
add ebx, 8
adc esi, 0
mov ebp, eax
cmp esi, dword [edi + 0x84]
jb 0x43c921
ja 0x43c952
cmp ebx, dword [edi + 0x80]
jb 0x43c921
cmp dword [0x5d5f9c], 1
jle 0x43c993
mov eax, dword [esp + 0x1c]
cdq
mov ebx, edx
xor edi, edi
xor esi, esi
mov dword [esp + 0x70], eax
test ebx, ebx
jb 0x43c993
ja 0x43c974
test eax, eax
je 0x43c993
push 0x5b214c
call fcn.004b7f6d
add esp, 4
add edi, 1
adc esi, 0
cmp esi, ebx
jb 0x43c974
ja 0x43c993
cmp edi, dword [esp + 0x70]
jb 0x43c974
pop edi
pop esi
mov eax, ebp
pop ebp
xor edx, edx
pop ebx
add esp, 0x6c
ret