Function at 0x510390
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [ebp - 0x34], edx
mov al, byte [eax + 8]
mov dword [ebp - 0x14], edx
test al, al
jne 0x510b67
mov eax, dword [0x647b30]
test eax, eax
je 0x510b4f
mov edi, dword [0x647b2c]
test edi, edi
je 0x510b4f
mov edi, dword [edi]
test edi, edi
je 0x510b4f
mov esi, dword [edi]
test esi, esi
je 0x510b4f
mov eax, dword [esi + 0x70]
cmp eax, 6
jne 0x5104ca
cmp dword [esi + 0x30], 0x194
jne 0x51041d
cmp dword [esi + 0x34], 0
je 0x510462
cmp dword [edi + 8], 2
je 0x510462
mov eax, dword [esi + 4]
mov byte [esi + 9], 1
test eax, eax
jne 0x510453
push eax
push 4
push esi
push 0x54f620
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [esi + 0xc]
mov dword [esi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi + 4]
test eax, eax
je 0x51045a
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
inc dword [edi + 8]
jmp 0x510b4f
push dword [edi + 4]
push 0x63e908
call fcn.00544d50
mov esi, eax
add esp, 8
test esi, esi
je 0x5104af
mov ecx, dword [0x647ae4]
push 0
push esi
call fcn.004ff490
mov eax, dword [esi]
test eax, eax
je 0x51049d
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
push edi
mov ecx, 0x647b2c
call fcn.00544560
push 0xc
push edi
call fcn.0056ea89
add esp, 8
jmp 0x510b4f
cmp eax, 5
jne 0x510b4f
push 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0x11
call fcn.0056ea97
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push str.Module_Downloaded
inc ecx
mov dword [ebp - 0x20], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x1c]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], edx
push eax
push 0x90
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x510554
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x20], 0
push dword [edi + 4]
mov dword [ebp - 0x1c], 0
push 0x63ea30
call fcn.00544d50
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x510a69
push 0xa
mov dword [ebp - 0x18], 0
mov esi, 4
call fcn.0056ea97
push 0xffffffffffffffff
push str.data
push 5
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x18]
push eax
call fcn.00584f75
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
mov ecx, dword [0x647ae4]
push eax
push ebx
call fcn.004ff890
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], esi
test eax, eax
je 0x5105e7
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test esi, esi
je 0x5109e6
push str.data
lea ecx, [ebp - 0x44]
call fcn.005447b0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00531970
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x510638
push 2
push ecx
call fcn.0056ea89
mov al, byte [ebp - 0xd]
add esp, 8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
test al, al
je 0x510999
mov ecx, esi
call fcn.00533830
test eax, eax
je 0x5109dc
push 0
mov ecx, esi
call fcn.00531ee0
test al, al
je 0x510963
push 0x63ea90
mov ecx, esi
call fcn.00534640
mov esi, eax
test esi, esi
je 0x510910
push str.Module_path:__s
lea ecx, [ebp - 0x5c]
call fcn.005447b0
push esi
push eax
push 0xa2
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 3
call fcn.0054faa0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004ffe40
push 0x61aa28
lea ecx, [ebp - 0x6c]
call fcn.005447b0
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x34], ecx
mov ecx, esi
push eax
call fcn.005466a0
test al, al
jne 0x510708
push 0x61e270
lea ecx, [ebp - 0x64]
call fcn.005447b0
or dword [ebp - 0x14], 2
mov ecx, esi
push eax
call fcn.005466a0
mov byte [ebp - 0xd], 1
test al, al
je 0x51070c
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x14]
test al, 2
je 0x510724
and eax, 0xfffffffd
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x14], eax
call fcn.004ffe40
mov eax, dword [ebp - 0x14]
and eax, 0xfffffffe
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x14], eax
call fcn.004ffe40
cmp byte [ebp - 0xd], 0
je 0x51076d
push 0x61aa28
lea ecx, [ebp - 0x54]
call fcn.005447b0
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00545810
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.004ffe40
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Module_path:__s__Creating_folders_
lea ecx, [ebp - 0x74]
call fcn.005447b0
push esi
push eax
push 0xa8
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 6
call fcn.0054faa0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.004ffe40
mov ecx, esi
call fcn.00547910
push str.Module_path:__s__Extracting_Data_
lea ecx, [ebp - 0x7c]
call fcn.005447b0
push esi
push eax
push 0xaa
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 7
call fcn.0054faa0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004ffe40
mov edx, dword [edi]
push 0
push 0
push ecx
add edx, 0x18
mov ecx, esi
call fcn.005386f0
add esp, 0xc
test al, al
je 0x51086b
push str.Module_path:__s__COMPLETED_
lea ecx, [ebp - 0x84]
call fcn.005447b0
push esi
push eax
push 0xad
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 8
call fcn.0054faa0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.004ffe40
mov ecx, dword [edi]
add ecx, 0x18
call fcn.005485b0
push dword [edi + 4]
push 0x63eda0
jmp 0x5108c1
push str.Module_path:__s__FAILED_
lea ecx, [ebp - 0x8c]
call fcn.005447b0
push esi
push eax
push 0xb4
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 9
call fcn.0054faa0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.004ffe40
mov ecx, dword [edi]
add ecx, 0x18
call fcn.005485b0
push dword [edi + 4]
push 0x63e908
call fcn.00544d50
mov ecx, dword [0x647ae4]
add esp, 8
push 0
push eax
call fcn.004ff490
mov eax, dword [esi]
test eax, eax
je 0x5108ee
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
mov esi, dword [ebp - 0x18]
add esp, 8
push ecx
mov ecx, esi
call fcn.004feb60
jmp 0x510a3b
push str.Module_Downloaded__Cannot_find_Module_path_in_json_
lea ecx, [ebp - 0x94]
call fcn.005447b0
push eax
push 0xbc
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 0xa
call fcn.0054faa0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.004ffe40
mov esi, dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.004feb60
jmp 0x510a3b
push str.Module_Downloaded__Cannot_find_Module_array_node_
lea ecx, [ebp - 0x9c]
call fcn.005447b0
push eax
push 0xc2
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 0xb
call fcn.0054faa0
lea ecx, [ebp - 0x9c]
jmp 0x5109cd
push str.Module_Downloaded__SQL_Failed_with_no_matching_result_
lea ecx, [ebp - 0xa4]
call fcn.005447b0
push eax
push 0xc9
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 0xc
call fcn.0054faa0
lea ecx, [ebp - 0xa4]
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
call fcn.004ffe40
push ecx
mov ecx, esi
call fcn.004feb60
jmp 0x510a3b
push str.Module_Downloaded__SQL_Failed_to_fetch_
lea ecx, [ebp - 0x4c]
call fcn.005447b0
push eax
push 0xd2
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push 0
mov dword [ebp - 4], 0xd
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x510a34
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, dword [ebx]
test eax, eax
je 0x510a52
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebx], 0
push 8
push ebx
mov dword [ebx + 4], 0
call fcn.0056ea89
add esp, 8
jmp 0x510af5
push 0x4e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0x26
call fcn.0056ea97
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push str.Module_Downloaded__SQL_Statement_Null_
inc ecx
mov dword [ebp - 0x28], eax
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0xe
push eax
push 0xd7
push str.Modules::ModuleThread::run
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x2c
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x510aee
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
push edi
mov ecx, 0x647b2c
call fcn.00544560
mov edi, dword [0x647b30]
xor esi, esi
xor eax, eax
test edi, edi
je 0x510b4f
mov ecx, dword [0x647b2c]
xor edx, edx
cmp eax, edi
jae 0x510b45
test ecx, ecx
je 0x510b45
mov ebx, dword [edx + ecx]
test ebx, ebx
je 0x510b45
cmp esi, eax
jae 0x510b47
mov dword [ecx + esi*4], ebx
mov ecx, dword [0x647b2c]
mov dword [edx + ecx], 0
mov edi, dword [0x647b30]
mov ecx, dword [0x647b2c]
mov esi, eax
inc eax
add edx, 4
cmp eax, edi
jb 0x510b1a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x3c]
cmp byte [eax + 8], 0
je 0x5103d3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret