Function at 0x10077680
Capabilities:
Create thread
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101648b9
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
cmp dword [esp + 0x284], 0x64
mov ecx, dword [esp + 0x290]
mov eax, dword [esp + 0x28c]
mov ebp, dword [esp + 0x268]
mov ebx, dword [esp + 0x280]
mov esi, dword [esp + 0x27c]
mov dword [ecx], 0xffffffff
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x24], 0xffffffff
mov dword [eax], 0xffffffff
ja 0x10077fef
push 0x14
call fcn.100ee40d
add esp, 4
mov dword [esp + 0x54], eax
xor edi, edi
mov dword [esp + 0x260], edi
cmp eax, edi
je 0x1007773a
mov ecx, eax
call fcn.100f17a1
mov edi, eax
mov dword [esp + 0x38], eax
jmp 0x1007773e
mov dword [esp + 0x38], edi
mov dword [esp + 0x260], 0xffffffff
test edi, edi
je 0x10077773
push 0
push edi
push 0x1016b5b4
push esi
call fcn.1004a8a0
xor esi, esi
add esp, 0x10
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x1007777c
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov eax, dword [esp + 0x24]
jmp 0x10077ff2
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x284]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x284]
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x284]
push edx
mov edx, dword [esp + 0x284]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x44], esi
call fcn.10044710
add esp, 0x28
test eax, eax
je 0x10077768
mov eax, ebx
mov dword [esp + 0x40], esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100777d2
sub eax, edx
cmp eax, 2
jne 0x10077937
lea edx, [esp + 0x234]
mov dword [esp + 0x40], 1
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10077800
mov eax, ebx
mov edx, ebx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10077810
lea edi, [esp + 0x234]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10077825
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10077843
lea edi, [esp + 0x234]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
lea ebx, [ebx]
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x10077860
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
xor ebp, ebp
cmp dword [esp + 0x7c], ebp
lea ebx, [esp + 0x234]
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x3c], ebx
jle 0x100778ed
mov eax, dword [esp + 0x78]
nop
xor esi, esi
test eax, eax
jle 0x100778e4
jmp 0x100778a0
mov edx, ebp
imul edx, dword [esp + 0x30]
add edx, dword [esp + 0x1c]
movzx edi, byte [edx + esi*4]
movzx eax, byte [edx + esi*4 + 2]
lea ecx, [edx + esi*4]
movzx edx, byte [ecx + 1]
add edi, edx
add edi, eax
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
movzx eax, dl
mov edx, eax
shl edx, 8
or edx, eax
shl edx, 8
or edx, eax
mov dword [ecx], edx
mov eax, dword [esp + 0x78]
add esi, 1
cmp esi, eax
jl 0x100778a0
add ebp, 1
cmp ebp, dword [esp + 0x7c]
jl 0x10077890
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
cmp esi, dword [edi + 0x3268]
mov dword [esp + 0x28], 0
jl 0x10077e03
cmp dword [edi + 0x3264], 0
je 0x10077e03
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0xb0]
cmp esi, eax
jae 0x1007797c
mov eax, esi
mov dword [esp + 0x14], esi
jmp 0x10077980
xor edx, edx
cmp dword [esp + 0x7c], esi
jle 0x100778ed
mov ecx, dword [esp + 0x78]
xor eax, eax
test ecx, ecx
jle 0x1007796e
lea esp, [esp]
mov ecx, edx
imul ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x1c]
mov byte [ecx + eax*4 + 3], 0
lea ecx, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
add eax, 1
cmp eax, ecx
jl 0x10077950
add edx, 1
cmp edx, dword [esp + 0x7c]
jl 0x10077943
jmp 0x100778ed
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 0x326c]
test ecx, ecx
jle 0x10077994
cmp eax, ecx
jle 0x10077994
mov eax, ecx
mov dword [esp + 0x14], eax
cmp eax, 0x40
jl 0x100779a2
mov eax, 0x40
mov dword [esp + 0x14], eax
lea edi, [eax*4]
push edi
mov dword [esp + 0x58], eax
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x10077dd8
mov esi, dword [esp + 0x14]
imul esi, esi, 0x168
push esi
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x48], eax
je 0x10077d54
push edi
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
je 0x10077d54
mov ebx, dword [esp + 0x20]
push edi
push 0
push ebx
call fcn.101004d0
mov ebp, dword [esp + 0x54]
push esi
push 0
push ebp
call fcn.101004d0
mov esi, dword [esp + 0x40]
push edi
push 0
push esi
call fcn.101004d0
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
cdq
idiv edi
mov edx, dword [esp + 0x50]
add esp, 0x24
xor ecx, ecx
mov dword [esp + 0x6c], eax
xor eax, eax
cmp edi, eax
mov dword [edx + 0x3260], eax
mov dword [esp + 0x18], eax
jle 0x10077bc8
mov eax, 0x58
sub eax, dword [esp + 0x3c]
add ebp, 4
sub esi, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x6c]
lea edx, [eax + ecx - 1]
mov eax, dword [esp + 0x14]
add eax, 0xffffffff
cmp dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
jne 0x10077a87
mov eax, dword [esp + 0x34]
add eax, 0xffffffff
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [ebp - 4], edx
mov edx, dword [esp + 0x294]
xor eax, eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x160], eax
mov eax, dword [esp + 0x40]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
lea ebx, [ebp - 4]
mov dword [ebp + 0x14], eax
lea edi, [ebp + 0x18]
mov ecx, 0xa
lea esi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x30]
mov dword [ebp + 0x40], ecx
mov edx, dword [esp + 0x60]
mov dword [ebp + 0x44], edx
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
mov dword [ebp + 0x48], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov dword [ebp + 0x4c], ecx
add edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10077af2
mov eax, dword [esp + 0x284]
mov ecx, dword [esp + 0x288]
push 0x1c
mov dword [ebp + 0x158], eax
mov dword [ebp + 0x54], ecx
call fcn.100ee40d
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x260], 2
xor ecx, ecx
cmp eax, ecx
je 0x10077b43
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov byte [eax + 4], cl
jmp 0x10077b45
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
cmp eax, ecx
mov dword [ebp + 0x15c], eax
je 0x10077bba
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov dword [edx + esi], ebx
call fcn.1002d8d0
push 0
push 0
push ebx
push 0x10076cc0
push 0
push 0
mov edi, eax
call fcn.10101c4f
push edi
mov dword [esi], eax
call fcn.1002d970
add esp, 0x1c
cmp dword [esi], 0
je 0x10077bc0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
add eax, 1
add esi, 4
add ecx, 1
add ebp, 0x168
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], esi
jl 0x10077a63
jmp 0x10077bc8
mov dword [esp + 0x18], ecx
jmp 0x10077bc8
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x18], eax
jne 0x10077cef
mov ecx, eax
add ecx, 0xffffffff
mov dword [esp + 0x18], ecx
nop
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10077cef
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx + 0x160]
cmp dword [edx + 0x14], 0
lea edi, [eax + ebp*4]
ja 0x10077c71
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebp*4]
lea ebx, [eax + ebp*4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp ebp, dword [esp + 0x18]
mov dword [ebx], 0
jge 0x10077c54
mov eax, dword [esp + 0x18]
sub eax, ebp
add eax, eax
add eax, eax
lea esi, [edi + 4]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [ebx + 4]
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], 1
sub eax, 1
test eax, eax
mov dword [esp + 0x14], eax
jne 0x10077be0
jmp 0x10077cef
mov dl, 0x7c
mov cl, 0x25
mov byte [esp + 0x22a], dl
mov byte [esp + 0x22d], dl
mov edx, dword [eax + ebp*4]
mov byte [esp + 0x228], cl
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22b], cl
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22e], cl
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
mov eax, dword [edx + 0x160]
cmp dword [eax + 0x18], 0x10
jb 0x10077ccc
mov eax, dword [eax + 4]
jmp 0x10077ccf
add eax, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10101d65
add esp, 0x14
mov ebp, dword [esp + 0x14]
test ebp, ebp
mov edi, dword [esp + 0x20]
jle 0x10077d1f
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
mov edx, ebp
cmp dword [eax + ecx], 0
je 0x10077d17
mov esi, dword [eax]
mov dword [esi + 0x164], 1
add eax, 4
sub edx, 1
jne 0x10077d05
xor esi, esi
test ebp, ebp
jle 0x10077d54
mov ebx, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
jmp 0x10077d30
mov eax, dword [edi + esi*4]
test eax, eax
je 0x10077d4d
push 0xffffffffffffffff
push eax
call ebx
mov eax, dword [edi + esi*4]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [edi + esi*4], 0
add esi, 1
cmp esi, ebp
jl 0x10077d30
mov ecx, dword [esp + 0x20]
push ecx
call fcn.100ff58b
mov edi, dword [esp + 0x4c]
add esp, 4
test edi, edi
je 0x10077dc7
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x10077dbe
add edi, 0x160
mov ebx, eax
mov ebp, 0xf
mov edi, edi
mov esi, dword [edi]
test esi, esi
je 0x10077daf
cmp dword [esi + 0x18], 0x10
jb 0x10077d98
mov edx, dword [esi + 4]
push edx
call fcn.100ee438
add esp, 4
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100ee438
add esp, 4
add edi, 0x168
sub ebx, 1
jne 0x10077d80
mov edi, dword [esp + 0x48]
push edi
call fcn.100ff58b
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10077dd8
push eax
call fcn.100ff58b
add esp, 4
mov eax, dword [esp + 0x1c]
push eax
call fcn.100ff58b
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], 0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 4
push 1
call eax
mov eax, dword [esp + 0x24]
jmp 0x10077ff2
push 0x168
xor ebp, ebp
lea ecx, [esp + 0xc4]
push ebp
push ecx
call fcn.101004d0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add ecx, 0xffffffff
mov edx, edi
mov dword [esp + 0xcc], edx
mov edx, dword [esp + 0x2a0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x68]
mov ecx, 0xa
lea esi, [esp + 0x80]
lea edi, [esp + 0xe8]
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xe0], ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x114], edx
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x128]
add esp, 0xc
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], ecx
mov dword [esp + 0x224], ebp
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10077eb7
mov edx, dword [esp + 0x284]
mov eax, dword [esp + 0x288]
push 0x1c
mov dword [esp + 0x220], edx
mov dword [esp + 0x11c], eax
call fcn.100ee40d
add esp, 4
mov dword [esp + 0x68], eax
mov dword [esp + 0x260], 1
cmp eax, ebp
je 0x10077f0c
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebp
mov byte [eax + 4], 0
jmp 0x10077f0e
xor eax, eax
mov dword [esp + 0x260], 0xffffffff
lea ecx, [esp + 0xc0]
mov dword [esp + 0x220], eax
call fcn.10072db0
mov eax, dword [esp + 0x220]
cmp dword [eax + 0x14], ebp
jbe 0x10077fb4
mov cl, 0x25
mov dl, 0x7c
mov byte [esp + 0x228], cl
mov byte [esp + 0x229], 0x64
mov byte [esp + 0x22a], dl
mov byte [esp + 0x22b], cl
mov byte [esp + 0x22c], 0x64
mov byte [esp + 0x22d], dl
mov byte [esp + 0x22e], cl
mov byte [esp + 0x22f], 0x64
mov byte [esp + 0x230], 0
cmp dword [eax + 0x18], 0x10
jb 0x10077f8a
mov eax, dword [eax + 4]
jmp 0x10077f8d
add eax, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x234]
push edx
push eax
call fcn.10101d65
mov eax, dword [esp + 0x234]
add esp, 0x14
cmp eax, ebp
mov esi, eax
je 0x10077dd8
cmp dword [eax + 0x18], 0x10
lea edi, [eax + 0x18]
jb 0x10077fd3
mov eax, dword [eax + 4]
push eax
call fcn.100ee438
add esp, 4
mov dword [edi], 0xf
mov dword [esi + 0x14], 0
push esi
mov byte [esi + 4], 0
call fcn.100ee438
jmp 0x10077dd5
or eax, 0xffffffff
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100ffa66
add esp, 0x250
ret