Function at 0x570390
Capabilities:
Enumerate pe sections
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x813242
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
push edi
mov dword [esp + 0x64], esi
mov al, byte [ebx + 4]
test al, al
mov dword [esp + 0x24], ebx
mov edi, 0xffff
je 0x5703cd
mov dword [esp + 0x60], edi
jmp 0x5703de
mov cl, byte [ebx + 5]
neg cl
sbb ecx, ecx
and ecx, 0xcafe
mov dword [esp + 0x60], ecx
mov ecx, dword [ebx + 0x2c]
mov dl, byte [ebx + 5]
test dl, dl
lea ecx, [ecx + ecx + 2]
je 0x5703f0
mov ebp, ecx
jmp 0x5703f9
neg al
sbb eax, eax
and eax, 2
mov ebp, eax
mov cl, byte [ebx + 6]
mov dword [esp + 0x44], ebp
test cl, cl
je 0x57040a
mov dword [esp + 0x40], edi
jmp 0x57041b
mov dl, byte [ebx + 7]
neg dl
sbb edx, edx
and edx, 0xcafe
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x44]
lea eax, [edx + edx + 2]
mov dl, byte [ebx + 7]
test dl, dl
je 0x57042d
mov ecx, eax
jmp 0x570434
neg cl
sbb ecx, ecx
and ecx, 2
mov edx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x48], ecx
lea edx, [edx + edx + 2]
lea eax, [eax + eax + 2]
mov dword [esp + 0x68], edx
add edx, ecx
mov dword [esp + 0x3c], eax
lea ecx, [edx + ebp + 0x16]
mov dl, byte [ebx + 8]
test dl, dl
mov dword [esp + 0x18], ecx
je 0x57046e
mov dl, byte [ebx + 9]
test dl, dl
je 0x57046e
lea eax, [ecx + eax + 2]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x7c]
cmp eax, esi
je 0x570492
mov ecx, dword [ebx + 0x80]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, edi
jae 0x5704b8
mov eax, dword [ebx + 0x7c]
cmp eax, esi
jne 0x57049d
xor edi, edi
jmp 0x5704b8
mov ecx, dword [ebx + 0x80]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov cl, byte [esp + 0x13]
cmp edi, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x84], cl
mov eax, edi
jge 0x5704d3
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.007d7320
add esp, 4
mov ebp, eax
cmp edi, esi
mov dword [esp + 0x88], ebp
mov ebx, ebp
jbe 0x57050a
mov esi, edi
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.005299d0
add esp, 8
add ebx, 4
dec esi
jne 0x5704f4
xor esi, esi
lea eax, [ebp + edi*4]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xb0], 1
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov cl, byte [esp + 0x13]
cmp edi, esi
mov byte [esp + 0xb0], 2
mov byte [esp + 0x28], cl
mov eax, edi
jge 0x570556
xor eax, eax
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.007d7320
add esp, 4
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], eax
push ecx
push edi
push eax
lea ecx, [esp + 0x34]
call fcn.005743a0
mov eax, dword [esp + 0x2c]
lea edx, [edi + edi*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov byte [esp + 0xb0], 4
cmp eax, esi
je 0x5705b9
mov edx, dword [esp + 0x7c]
cmp edx, esi
je 0x5705b9
mov ecx, dword [esp + 0x80]
cmp ecx, esi
je 0x5705b9
push edx
push eax
call ecx
mov eax, dword [esp + 0x7c]
add esp, 8
push eax
call fcn.007d7349
add esp, 4
mov dword [esp + 0x14], esi
test edi, edi
jbe 0x570759
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x24]
and ecx, 3
mov dword [edx + esi*4], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [eax + 0x7c]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [edx + eax]
call fcn.00570090
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov byte [esp + 0xb0], 5
lea ebp, [ecx + eax]
mov eax, dword [ecx + eax]
test eax, eax
jne 0x5706b4
mov eax, dword [ebx]
test eax, eax
je 0x570632
mov dword [ebp], eax
jmp 0x5706b4
mov edx, dword [ebp + 4]
test edx, edx
je 0x57064e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x57064e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x57064e
push ecx
push edx
call eax
add esp, 8
mov eax, dword [ebp + 4]
push eax
call fcn.007d7349
xor ecx, ecx
add esp, 4
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [ebx + 8]
cmp eax, ecx
jbe 0x5706b4
push eax
call fcn.007d7320
add esp, 4
mov dword [ebp + 4], eax
test eax, eax
jne 0x570684
mov edx, dword [ebx + 8]
mov dword [ebp], edx
jmp 0x5706b4
mov ecx, dword [ebx + 8]
mov edi, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov dword [ebp + 0x10], ecx
mov eax, dword [esp + 0x98]
mov byte [esp + 0xb0], 4
test eax, eax
je 0x5706eb
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x5706eb
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x5706eb
push edx
push eax
call ecx
mov eax, dword [esp + 0xa0]
add esp, 8
push eax
call fcn.007d7349
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
add esp, 4
lea ebx, [eax + edx]
mov eax, dword [eax + edx]
test eax, eax
je 0x57071d
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov ecx, dword [esp + 0x88]
mov eax, dword [ebx + 8]
mov ebp, dword [esp + 0x18]
mov edx, dword [ecx + esi*4]
mov ecx, dword [esp + 0x20]
add edx, eax
add ecx, 0x14
add ebp, edx
mov edx, dword [esp + 0x38]
inc esi
add edx, 0x60
cmp esi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x20], ecx
jb 0x5705d8
mov eax, dword [esp + 0x18]
xor esi, esi
push esi
push eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.0042c390
mov eax, dword [esp + 0x4c]
mov byte [esp + 0xb0], 6
cmp eax, esi
je 0x5707a5
push 0x141
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x50]
mov edx, ebp
add ebp, 0x12
lea ecx, [eax + 0xc]
add ebp, 2
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov esi, dword [ecx + 0xc]
mov dword [edx + 0xc], esi
mov cx, word [ecx + 0x10]
mov word [edx + 0x10], cx
mov dx, word [esp + 0x60]
mov word [ebp - 2], dx
mov cl, byte [eax + 5]
test cl, cl
je 0x5707f1
lea ecx, [eax + 0x20]
mov eax, dword [eax + 0x20]
call dword [eax + 0x24]
jmp 0x5707f4
add eax, 0x1e
mov edx, dword [esp + 0x44]
mov esi, eax
mov ecx, edx
mov edi, ebp
mov eax, ecx
mov ebx, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebp, edx
and ecx, 3
add ebp, 2
rep movsb byte es:[edi], byte [esi]
mov cx, word [esp + 0x40]
mov word [ebp - 2], cx
mov al, byte [ebx + 7]
test al, al
je 0x570830
mov edx, dword [ebx + 0x38]
lea ecx, [ebx + 0x38]
call dword [edx + 0x24]
jmp 0x570833
lea eax, [ebx + 0x34]
mov edx, dword [esp + 0x48]
mov esi, eax
mov ecx, edx
mov edi, ebp
mov eax, ecx
add ebp, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x4c]
lea ecx, [ebx + 0x4c]
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [esp + 0x68]
mov ecx, eax
mov edi, ebp
mov edx, ecx
add ebp, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebx + 8]
test al, al
je 0x5708ab
mov al, byte [ebx + 9]
test al, al
je 0x5708ab
mov ax, word [ebx + 0x60]
lea ecx, [ebx + 0x64]
mov word [ebp], ax
add ebp, 2
mov edx, dword [ecx]
call dword [edx + 0x24]
mov esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, eax
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x570979
xor ebx, ebx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx*4]
add ebp, edx
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx + edx]
lea esi, [ebx + edx]
test eax, eax
je 0x5708f6
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov edi, dword [esi + 8]
lea esi, [ebx + eax]
mov eax, dword [ebx + eax]
test eax, eax
je 0x57091e
push 0x141
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov esi, dword [esi + 4]
mov ecx, edi
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
lea esi, [ebx + eax]
mov eax, dword [ebx + eax]
test eax, eax
je 0x570958
push 0x146
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov edi, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebp, edi
inc eax
add ebx, 0x14
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x5708c1
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x570998
push 0x141
push str.C:ReposBvSrcNoCrtLibdatavect.h
push 0x8fcf74
call fcn.006d2b10
add esp, 0xc
mov al, byte [ebx + 8]
mov edi, dword [esp + 0x50]
test al, al
mov dword [esp + 0x3c], edi
je 0x5709b5
mov cl, byte [ebx + 9]
test cl, cl
je 0x5709b5
mov ebp, 1
jmp 0x5709b7
xor ebp, ebp
mov esi, dword [edi]
xor edx, edx
mov ecx, esi
and ecx, 0x40
cmp cl, 0x40
sete dl
and ebp, 0xff
cmp ebp, edx
je 0x5709e5
test al, al
je 0x5709e0
mov al, byte [ebx + 9]
test al, al
je 0x5709e0
or esi, 0x40
jmp 0x5709e3
and esi, 0xffffffbf
mov dword [edi], esi
mov eax, dword [ebx + 0x7c]
xor edi, edi
cmp eax, edi
je 0x570a0f
mov ecx, dword [ebx + 0x80]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0xffff
jae 0x570a35
mov eax, dword [ebx + 0x7c]
cmp eax, edi
jne 0x570a1a
xor edx, edx
jmp 0x570a3a
mov ecx, dword [ebx + 0x80]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jmp 0x570a3a
mov edx, 0xffff
mov esi, dword [esp + 0x3c]
cmp word [esi + 8], dx
je 0x570a9b
mov eax, dword [ebx + 0x7c]
cmp eax, edi
je 0x570a6c
mov ecx, dword [ebx + 0x80]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 0xffff
jae 0x570a92
mov eax, dword [ebx + 0x7c]
cmp eax, edi
jne 0x570a77
xor edx, edx
jmp 0x570a97
mov ebx, dword [ebx + 0x80]
sub ebx, eax
mov eax, 0x2aaaaaab
imul ebx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
jmp 0x570a97
mov edx, 0xffff
mov word [esi + 8], dx
mov ebx, dword [esp + 0xb8]
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
call fcn.004485e0
mov dword [esp + 0x64], 1
mov eax, dword [esp + 0x50]
mov byte [esp + 0xb0], 4
cmp eax, edi
je 0x570aef
mov edx, dword [esp + 0x58]
cmp edx, edi
je 0x570aef
mov ecx, dword [esp + 0x5c]
cmp ecx, edi
je 0x570aef
push edx
push eax
call ecx
mov eax, dword [esp + 0x58]
add esp, 8
push eax
call fcn.007d7349
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
add esp, 4
cmp esi, eax
mov byte [esp + 0xb0], 1
mov ebp, eax
je 0x570b20
mov ecx, esi
call fcn.0040e080
add esi, 0x14
cmp esi, ebp
jne 0x570b0e
mov esi, dword [esp + 0x2c]
push esi
call fcn.007d7349
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x30], edi
push eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.007d7349
mov ecx, dword [esp + 0xb0]
add esp, 8
mov eax, ebx
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret 4