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

Disassembly:
push 0xffffffffffffffff
push 0x101910a6
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov ebx, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], eax
xor ebp, ebp
mov byte [eax], 0
cmp dword [0x101d084c], 0xffffaf6a
mov edi, 1
mov dword [esp + 0x7c], edi
cmp dword [0x101d0844], 0xffffcf60
push 0x10198a34
push esi
call fcn.1012e9d0
add esp, 8
test eax, eax
je 0x10056809
push 0x10198b24
push esi
call fcn.1012e9d0
add esp, 8
test eax, eax
jne 0x10056809
xor edi, edi
mov dword [esp + 0x7c], edi
mov ebx, ebx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x108], 1
push ecx
pop ecx
cmp edi, ebp
je 0x10056b68
mov eax, dword [esp + 0x110]
cmp dword [eax + 0x32c4], ebp
je 0x10056841
mov edi, ebx
mov dword [esp + 0x74], ebx
jmp 0x1005685f
mov dword [esp + 0x20], ebp
push eax
pop eax
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.10072480
add esp, 8
mov edi, edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x74], edi
cmp dword [0x101d0844], 0xffffcf60
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
cmp dword [0x101d0848], 0xffffce6e
mov bl, 0x49
mov dl, 0x36
mov cl, 0x34
mov al, 0x78
mov byte [esp + 0x84], 0x25
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], cl
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x2d
mov byte [esp + 0x8a], 0x25
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], dl
mov byte [esp + 0x8d], cl
mov byte [esp + 0x8e], al
mov byte [esp + 0x8f], 0
push edx
pop edx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.101302dd
add esp, 0x10
cmp dword [0x101d0834], 0x1bce
push edi
call fcn.10077490
add esp, 4
cmp dword [0x101d0834], 0x1bce
test al, al
mov esi, dword [esp + 0x30]
je 0x1005697d
cmp esi, 0x80000000
ja 0x10056e34
mov eax, dword [esp + 0x2c]
jb 0x10056941
cmp eax, ebp
jae 0x10056e34
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x10056e34
mov ecx, dword [esp + 0x24]
jb 0x1005695b
cmp eax, ecx
ja 0x10056e34
cmp edx, 0x80000000
jb 0x100569da
ja 0x10056969
cmp ecx, ebp
jb 0x100569da
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], SysReAllocString
mov edi, edi
jmp 0x100569d2
cmp esi, ebp
ja 0x10056e34
mov eax, dword [esp + 0x2c]
jb 0x10056996
cmp eax, 0x80000000
jae 0x10056e34
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x10056e34
mov ecx, dword [esp + 0x24]
jb 0x100569b0
cmp eax, ecx
ja 0x10056e34
cmp edx, ebp
ja 0x100569bc
cmp ecx, 0x80000000
jb 0x100569da
mov dword [esp + 0x24], SysReAllocString
mov dword [esp + 0x28], ebp
cmp dword [0x101d0844], 0xffffcf60
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ebp, eax
cmp dword [0x101d084c], 0x5095
cmp esi, dword [esp + 0x28]
ja 0x10056d6f
jb 0x100569fc
cmp ebp, dword [esp + 0x24]
jae 0x10056d6f
mov ebx, dword [esp + 0x74]
push eax
pop eax
cmp dword [0x101d084c], 0x5095
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x80]
push eax
push esi
push ebp
push ebx
call fcn.10078340
add esp, 0x24
test eax, eax
je 0x10056d6f
push 0x3f
lea ecx, [esp + 0xc1]
push 0
push ecx
mov byte [esp + 0xc8], 0
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0830], 0x391c
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
adc eax, dword [esp + 0x68]
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp dword [0x101d0828], 0xfffffa10
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x10056aa3
mov edi, dword [esp + 0x24]
ja 0x10056a95
cmp ecx, edi
jbe 0x10056aa3
mov ecx, edi
mov eax, edx
cmp dword [0x101d083c], 0xfffffaf2
push eax
push ecx
push esi
push ebp
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.1012f577
add esp, 0x18
cmp dword [0x101d0834], 0xffffe431
lea ecx, [esp + 0x63]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa4]
call fcn.10004620
mov byte [esp + 0x108], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x63]
lea edx, [esp + 0x9c]
je 0x10056b11
push ecx
push edx
push eax
call fcn.10054860
add esp, 0xc
add dword [esp + 0x18], 0x18
jmp 0x10056b21
push 1
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.100566a0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x9c]
call fcn.10002070
push edx
pop edx
mov ebp, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
adc esi, dword [esp + 0x68]
mov al, al
cmp esi, dword [esp + 0x28]
jb 0x10056a00
ja 0x10056d6f
cmp ebp, dword [esp + 0x24]
jb 0x10056a00
jmp 0x10056d6f
mov edi, esi
cmp dword [0x101d0838], 0xffff8227
cmp dword [0x101d0828], 0xfffffa10
jmp 0x10056b82
xor ebp, ebp
xor eax, eax
mov byte [esp + 0x9c], 0
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov word [esp + 0xb9], ax
mov byte [esp + 0xbb], al
cmp dword [0x101d0834], 0x1bce
push 0x10198a34
push edi
call fcn.1012e9d0
add esp, 8
mov ebx, eax
cmp dword [0x101d0840], 0xffffbb99
cmp ebx, ebp
je 0x10056c0c
sub eax, edi
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.10130910
add esp, 0xc
push eax
pop eax
jmp 0x10056c25
lea edx, [esp + 0x9c]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10056c17
mov eax, eax
lea edi, [ebx + 1]
mov cl, cl
lea edx, [esp + 0x84]
mov eax, edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov byte [esp + 0x108], 3
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10056c53
sub eax, edx
lea ebp, [esp + eax + 0x9c]
mov esi, ebp
lea ecx, [esp + 0x9c]
sub esi, ecx
lea eax, [esi + 1]
cmp eax, 0xffffffff
mov dword [esp + 0x74], eax
ja 0x1005726b
test eax, eax
jbe 0x1005726b
cmp eax, 0x10
jbe 0x10056cbd
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.10003a20
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx]
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], edx
jmp 0x10056cc4
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp ebp, ecx
je 0x10056cde
push esi
mov edx, ecx
push edx
push eax
call fcn.1012fbf0
add esp, 0xc
add eax, esi
mov dword [esp + 0x94], eax
mov byte [eax], 0
mov byte [esp + 0x108], 4
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x10056d2c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x108], 5
test eax, eax
je 0x10056d1d
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.100046a0
mov byte [esp + 0x108], 4
add dword [esp + 0x18], 0x18
jmp 0x10056d47
push 1
push 1
lea edx, [esp + 0x6b]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100566a0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10002070
mov ah, ah
test ebx, ebx
jne 0x10056b80
cmp dword [0x101d084c], 0xffffaf6a
cmp dword [0x101d0844], 0xffffcf60
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [0x101d0830], 0x391c
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [esp + 0x2c], ebp
mov al, al
push ecx
pop ecx
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jae 0x10056dc1
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov dh, dh
jmp 0x10056dc7
mov dword [esp + 0x20], ebx
push edx
pop edx
cmp ebx, 0x40
jl 0x10056ddf
mov ebx, 0x40
mov dword [esp + 0x20], ebx
cmp dword [0x101d082c], 0x5215
lea edi, [ebx*4]
push edi
call fcn.1012de1c
add esp, 4
mov dword [esp + 0x34], eax
cmp dword [0x101d0828], 0x5ef
test eax, eax
je 0x10056e34
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.1012de1c
add esp, 4
mov dword [esp + 0x38], eax
cmp dword [0x101d0838], 0xffff8227
test eax, eax
jne 0x10056e72
mov eax, dword [esp + 0x34]
push eax
call fcn.1012dedf
add esp, 4
mov ch, ch
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10056380
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.1012e3ba
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
push edi
push 0
push ecx
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0844], 0x309f
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.1012ea60
add esp, 0xc
mov bl, bl
xor edi, edi
cmp dword [0x101d0834], 0x1bce
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x6c], eax
cmp dword [0x101d0840], 0xffffbb99
mov eax, dword [esp + 0x134]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
cmp dword [0x101d0848], 0xffffce6e
push edx
pop edx
xor ebp, ebp
test ebx, ebx
jle 0x100570c7
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add esi, 0xc
mov ch, ch
mov ecx, dword [esp + 0x6c]
lea ebx, [edi + ecx - 1]
mov dl, dl
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp ebp, eax
jne 0x10056f12
mov ebx, dword [esp + 0x2c]
add ebx, 0xffffffff
push edx
pop edx
mov edx, dword [esp + 0x7c]
mov eax, ebx
push edx
sub eax, edi
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea edx, [esp + 0x90]
call fcn.100551d0
add esp, 0xc
mov byte [esp + 0x108], 6
cmp dword [0x101d084c], 0xffffaf6a
mov edx, dword [esp + 0x110]
lea edi, [esi - 0xc]
mov dword [edi], edx
cmp dword [0x101d0838], 0xffff8227
mov eax, dword [esp + 0x80]
mov dword [esi - 8], eax
cmp dword [0x101d083c], 0xfffffaf2
mov ecx, dword [esp + 0x11c]
mov dword [esi], ecx
mov esi, esi
mov edx, dword [esp + 0x120]
mov dword [esi + 4], edx
cmp dword [0x101d0844], 0xffffcf60
mov eax, dword [esp + 0x124]
mov dword [esi + 8], eax
cmp dword [0x101d0840], 0xffffbb99
mov ecx, dword [esp + 0x128]
mov dword [esi + 0xc], ecx
push eax
pop eax
mov edx, dword [esp + 0x12c]
mov dword [esi + 0x10], edx
cmp dword [0x101d0828], 0xfffffa10
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
mov dh, dh
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x18], ecx
mov bh, bh
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x98]
add edx, 1
push edx
call fcn.1012de1c
add esp, 4
mov dword [esi - 4], eax
cmp dword [0x101d0828], 0x5ef
mov eax, dword [esi - 4]
test eax, eax
je 0x100570a5
mov edx, dword [esp + 0x98]
nop
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x10057010
mov dh, dh
call fcn.10044820
mov dword [esp + 0x24], eax
nop
mov al, al
push 0
push 0
push edi
push 0x10051f70
push 0
push 0
call fcn.101301c7
add esp, 0x18
cmp dword [0x101d0844], 0xffffcf60
mov edi, dword [esp + 0x34]
mov dword [edi + ebp*4], eax
mov bl, bl
mov eax, dword [esp + 0x24]
push eax
call fcn.10044920
add esp, 4
cmp dword [0x101d082c], 0xffffadea
cmp dword [edi + ebp*4], 0
je 0x100570ab
lea edi, [ebx + 1]
mov ah, ah
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10002070
mov ecx, dword [esp + 0x64]
add dword [esp + 0x74], ecx
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x20]
jl 0x10056ef2
jmp 0x100570c3
xor ebp, ebp
mov edi, edi
jmp 0x100570af
xor ebp, ebp
mov edx, edx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10002070
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
xor edi, edi
cmp dword [0x101d0848], 0x3191
cmp ebp, ebx
jne 0x100571bc
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [0x101d0840], 0x4466
cmp eax, 0xffffffff
je 0x100571bc
xor ebp, ebp
mov edx, edx
test ebx, ebx
jle 0x100571ad
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
mov edx, dword [ecx + eax*8 + 0x20]
cmp byte [edx], 0
lea eax, [ecx + eax*8 + 0x20]
je 0x10057199
test edi, edi
jle 0x10057175
cmp byte [esi], 0
je 0x1005713e
mov byte [esi + ebp], 0x7c
push ebx
pop ebx
add ebp, 1
cmp dword [0x101d0830], 0x391c
mov edx, dword [eax]
mov eax, dword [esp + 0x78]
add eax, ebp
mov esi, eax
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x10057148
mov eax, eax
lea edx, [eax + 1]
jmp 0x10057160
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10057160
sub eax, edx
add ebp, eax
mov edx, edx
mov esi, dword [esp + 0x78]
jmp 0x100571a2
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10057180
sub eax, edx
mov ebp, eax
cmp dword [0x101d0830], 0xffffc6e3
jmp 0x100571a2
test edi, edi
jne 0x100571a2
mov byte [esi], 0
mov dl, dl
add edi, 1
cmp edi, ebx
jl 0x1005710e
mov edi, 1
cmp dword [0x101d0848], 0xffffce6e
mov ebp, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
jle 0x10057209
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10057202
push eax
call fcn.1006f2f0
add esp, 4
cmp dword [0x101d082c], 0x5215
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100d4eb0
add esp, 4
cmp dword [0x101d0840], 0x4466
mov dword [ebp + esi*4], 0
mov bh, bh
add esi, 1
cmp esi, ebx
jl 0x100571c6
push ebp
call fcn.1012dedf
add esp, 4
mov cl, cl
test ebx, ebx
jle 0x10057241
mov esi, dword [esp + 0x38]
add esi, 8
nop
mov eax, dword [esi]
test eax, eax
je 0x10057239
push eax
call fcn.1012dedf
add esp, 4
cmp dword [0x101d0844], 0xffffcf60
add esi, 0x28
sub ebx, 1
jne 0x10057220
mov edx, dword [esp + 0x38]
push edx
call fcn.1012dedf
add esp, 4
mov dl, dl
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10056380
mov eax, edi
jmp 0x10056e4a
push 0x10198a1c
call fcn.1011cd20
int3