{"name": "sub_4021F3", "code": "__int64 __fastcall sub_4021F3 ( int * @@a1@@ , __pid_t @@a2@@ ) { unsigned int @@v3@@ ; do @@v3@@ = waitpid ( @@a2@@ , @@a1@@ , Number ) ; while ( @@v3@@ == Number && * __errno_location ( ) == dword_4051B4 ) ; return @@v3@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "int"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}]}
{"name": "err", "code": "void __fastcall __noreturn err ( __int64 @@a1@@ ) { sub_4012DA ( ( __int64 ) String ) ; sub_4012DA ( @@a1@@ ) ; sub_4012DA ( ( __int64 ) String ) ; sub_4012FF ( ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "sub_4014C3", "code": "void __fastcall __noreturn sub_4014C3 ( __int64 @@a1@@ , unsigned int @@a2@@ , __int64 @@a3@@ ) { int v3 ; int v4 ; unsigned int v5 ; int @@pipedes@@ [ Number ] ; int @@v8@@ ; unsigned int @@v9@@ ; if ( ( unsigned int ) sub_401FB6 ( Number L , Number L ) == Number ) sub_40139D ( ) ; close ( Number ) ; if ( pipe ( @@pipedes@@ ) == Number ) sub_40139D ( ) ; if ( @@pipedes@@ [ Number ] != Number ) sub_40139D ( ) ; @@v9@@ = fork ( ) ; if ( @@v9@@ != Number ) { if ( @@v9@@ ) { close ( @@pipedes@@ [ Number ] ) ; sub_402575 ( & unk_406440 , write , ( unsigned int ) @@pipedes@@ [ Number ] , & unk_4063C0 , Number L ) ; v3 = sub_402977 ( & unk_406440 , @@a1@@ , @@a2@@ ) ; if ( v3 == Number ) sub_4013BD ( ) ; v4 = sub_402B23 ( @@a3@@ ) ; if ( ( unsigned int ) sub_402977 ( & unk_406440 , @@a3@@ , ( unsigned int ) ( v4 + Number ) ) == Number ) sub_4013BD ( ) ; if ( ( unsigned int ) sub_402AC1 ( & unk_406440 , String ) == Number ) sub_4013BD ( ) ; if ( ( unsigned int ) sub_402AC1 ( & unk_406440 , & unk_406340 ) == Number ) sub_4013BD ( ) ; if ( ( unsigned int ) sub_402AC1 ( & unk_406440 , qword_406398 ) == Number ) sub_4013BD ( ) ; if ( ( unsigned int ) sub_402977 ( & unk_406440 , String , Number L ) == Number ) sub_4013BD ( ) ; if ( ( unsigned int ) sub_402892 ( & unk_406440 ) == Number ) sub_4013BD ( ) ; close ( @@pipedes@@ [ Number ] ) ; v5 = sub_402B23 ( @@a3@@ ) ; sub_402CF0 ( @@a3@@ , v5 ) ; sub_402CF0 ( & unk_4063C0 , Number L ) ; if ( ( unsigned int ) sub_4021F3 ( & @@v8@@ , @@v9@@ ) == Number ) sub_401242 ( ) ; if ( ( @@v8@@ & Number ) != Number ) sub_4013FD ( ) ; if ( @@v8@@ >> Number ) sub_401413 ( ) ; sub_401242 ( ) ; } close ( @@pipedes@@ [ Number ] ) ; sub_4021D8 ( ) ; execvp ( * argv , argv ) ; _exit ( Number ) ; } sub_4013DD ( ) ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "pipedes", "t": {"T": 2, "n": 2, "s": 4, "t": "int"}, "location": "s16"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]}