Function at 0x100214e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7083
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
mov dword [ebp - 4], 0
cmp byte [edx], 0
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jne 0x10021537
xor ecx, ecx
jmp 0x10021549
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021540
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.10004460
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.10015df0
test al, al
jne 0x1002175e
sub esp, 8
lea ecx, [ebp - 0x124]
call fcn.100059e0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, str.cFNaDl1WFhUKEFxeQwhcWlkAFFtUBA0GHANBBBlj
call fcn.10045550
mov edx, eax
lea ecx, [ebp - 0x124]
call fcn.10007e30
lea edx, [ebp - 0x60]
mov ecx, eax
call fcn.10023e20
mov edx, 0x100bf040
mov ecx, eax
call fcn.10007e30
add esp, 4
mov ecx, eax
call fcn.100054d0
mov edx, 0x100bf03c
mov ecx, eax
call fcn.10007e30
mov edx, dword [0x100dd628]
mov ecx, eax
call fcn.10007e30
mov edx, 0x100beff4
mov ecx, eax
call fcn.10007e30
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x124]
call fcn.10005aa0
mov ecx, eax
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x100215fd
mov ecx, dword [ecx]
cmp dword [0x100db224], 0x10
push 0x1388
push 1
push 0
push 0
push 0
push 0x100baab6
push 0x100baab7
push ecx
push 0x100baafa
mov eax, 0x100db210
cmovae eax, dword [0x100db210]
cmp dword [0x100db104], 0x10
push 0x100baafb
mov edx, 0x100db0f0
cmovae edx, dword [0x100db0f0]
push 0x100bab0e
push eax
mov ecx, 2
call fcn.1001ddc0
add esp, 0x30
mov byte [ebp - 4], 2
cmp dword [ebp - 0x64], 0x10
jb 0x1002166d
push dword [ebp - 0x78]
call fcn.100852d7
add esp, 4
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x124]
call fcn.10005aa0
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 0x10
jb 0x1002168a
mov edx, dword [edx]
sub esp, 0x18
mov esi, esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [edx], 0
jne 0x100216a9
xor ecx, ecx
jmp 0x100216b9
mov ecx, edx
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100216b0
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.10004460
mov ecx, 1
call fcn.1002bd20
add esp, 0x18
cmp dword [ebp - 0x64], 0x10
jb 0x100216e0
push dword [ebp - 0x78]
call fcn.100852d7
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x128], eax
lea ecx, [ebp - 0x120]
call fcn.10005ac0
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x124]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x128], eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xd4], vtable.std::ios_base.0
call fcn.10081506
add esp, 4
or ebx, 0xffffffff
jmp 0x100219d8
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100047d0
mov byte [ebp - 4], 5
mov edx, dword [0x100dd72c]
cmp byte [edx], 0
jne 0x10021793
xor ecx, ecx
jmp 0x100217a1
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021798
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
cmp dword [0x100db224], 0x10
mov edx, 0x100db210
cmovae edx, dword [0x100db210]
cmp byte [edx], 0
jne 0x100217c7
xor ecx, ecx
jmp 0x100217d9
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100217d0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
mov edx, dword [0x100dd4bc]
cmp byte [edx], 0
jne 0x100217f2
xor ecx, ecx
jmp 0x10021800
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100217f7
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
cmp dword [0x100db0ec], 0x10
mov edx, 0x100db0d8
cmovae edx, dword [0x100db0d8]
cmp byte [edx], 0
jne 0x10021826
xor ecx, ecx
jmp 0x10021839
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x10021830
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021830
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
mov edx, dword [0x100dd714]
cmp byte [edx], 0
jne 0x10021852
xor ecx, ecx
jmp 0x10021860
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021857
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
cmp dword [0x100db1dc], 0x10
mov edx, 0x100db1c8
cmovae edx, dword [0x100db1c8]
cmp byte [edx], 0
jne 0x10021886
xor ecx, ecx
jmp 0x10021899
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x10021890
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021890
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
push 1
push str._SMDB
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
cmp byte [edi], 0
jne 0x100218bb
xor ecx, ecx
jmp 0x100218c9
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100218c0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.10008ba0
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x2c]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.100047d0
mov ecx, 3
call fcn.1002bd20
push 0x44
lea eax, [ebp - 0x16c]
push 0
push eax
call fcn.10088b00
add esp, 0x24
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x16c]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push eax
push 0
mov dword [ebp - 0x16c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
mov byte [ebp - 0x11], al
test al, al
je 0x100219ae
lea ecx, [ebp - 0x48]
call fcn.1000e7b0
mov esi, eax
cmp esi, 0xffffffff
je 0x1002199f
mov ecx, dword [0x100dd480]
mov edi, dword [0x100dd47c]
sub ecx, edi
mov eax, 0x63e7063f
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x1002199f
mov eax, dword [ebp - 0x88]
imul esi, esi, 0x148
mov dword [esi + edi + 0x118], eax
lea eax, [ebp - 0x88]
push eax
call fcn.10022810
mov al, byte [ebp - 0x11]
xor ebx, ebx
test al, al
sete bl
cmp dword [ebp - 0x18], 0x10
jb 0x100219c6
push dword [ebp - 0x2c]
call fcn.100852d7
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0x34], 0x10
jb 0x100219e9
push dword [ebp - 0x48]
call fcn.100852d7
add esp, 4
cmp dword [ebp - 0x4c], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x48], 0
jb 0x10021a0c
push dword [ebp - 0x60]
call fcn.100852d7
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret