Function at 0x510d40
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2817
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x63b404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 2
call fcn.0051d5f0
mov edi, eax
test edi, edi
je 0x510e62
push str.config
lea ecx, [ebp - 0x20]
call fcn.005455a0
push eax
mov ecx, edi
mov dword [ebp - 4], 0x17
call fcn.00546600
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00500b70
push 0x1a
mov dword [ebp - 0x10], 0
mov esi, 0xc
call fcn.0056f8a6
push 0xffffffffffffffff
push str.modules.dat
mov ebx, eax
lea eax, [ebp - 0x10]
push 0xd
push ebx
push eax
mov dword [ebp - 0x28], ebx
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x1c
push eax
mov ecx, edi
call fcn.00546600
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x510e07
push 2
push ebx
call fcn.0056f898
add esp, 8
mov ecx, edi
call fcn.004ffe10
mov dword [0x648c04], eax
test eax, eax
je 0x510e39
push 0x63fa48
mov ecx, eax
call fcn.00500010
test al, al
jne 0x510e39
mov ecx, dword [0x648c04]
push 0
push 0x63fcb8
call fcn.005001c0
mov eax, dword [edi]
test eax, eax
je 0x510e50
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [edi], 0
push 8
push edi
mov dword [edi + 4], 0
call fcn.0056f898
add esp, 8
cmp dword [0x648c08], 0
jne 0x511166
push 0x18
call fcn.0056f5ce
mov edi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0x1d
mov esi, 0xc
push 0x1a
mov dword [ebp - 0x10], 0
call fcn.0056f8a6
push 0xffffffffffffffff
push str.ModuleThread
mov ebx, eax
lea eax, [ebp - 0x10]
push 0xd
push ebx
push eax
mov dword [ebp - 0x28], ebx
call fcn.00585d85
xor ecx, ecx
add esp, 0x1c
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x18]
call fcn.005456c0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [edi + 0x10]
mov dword [edi], vtable.OThread.0
call fcn.00545740
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], 0
mov word [edi + 8], 0
mov dword [edi + 0xc], 0xfffffffe
test eax, eax
je 0x510f06
push 2
push eax
call fcn.0056f898
add esp, 8
test ebx, ebx
je 0x510f15
push 2
push ebx
call fcn.0056f898
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.Modules::ModuleThread.0
mov eax, dword [edi + 4]
mov dword [0x648c08], edi
mov byte [edi + 9], 1
test eax, eax
jne 0x510f58
push eax
push 4
push edi
push 0x550410
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push dword [edi + 0xc]
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [edi + 4]
test eax, eax
je 0x510f5f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x63f958
push 0x63fe18
call fcn.00545b40
mov edi, eax
add esp, 8
test edi, edi
je 0x511166
push 0xa
mov dword [ebp - 0x10], 0
mov esi, 4
call fcn.0056f8a6
push 0xffffffffffffffff
push str.data
push 5
push eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
xor ecx, ecx
add esp, 0x18
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0x20
mov ecx, dword [0x648c04]
push eax
push edi
call fcn.005005c0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x510fe3
push 2
push eax
call fcn.0056f898
add esp, 8
test esi, esi
je 0x511166
push 0xa
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 4
call fcn.0056f8a6
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push str.data
inc ecx
mov dword [ebp - 0x20], eax
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x1c]
xor edx, edx
add esp, 0x18
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0x21
push eax
mov ecx, esi
call fcn.00532760
mov dword [ebp - 4], 0xffffffff
mov bl, al
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x51105d
push 2
push ecx
call fcn.0056f898
add esp, 8
test bl, bl
je 0x51115e
mov ecx, esi
xor edi, edi
call fcn.00534620
test eax, eax
je 0x51115e
push edi
mov ecx, esi
call fcn.00532cd0
push 0x63fa50
mov ecx, esi
call fcn.00535900
push 0x63fbb0
mov ecx, esi
mov dword [ebp - 0x1c], eax
call fcn.00535430
push 0x63fb00
mov ecx, esi
mov ebx, eax
call fcn.00535430
push 0x52
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0x28
call fcn.0056f8a6
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push str.Resuming_module_download_url__s__to___s_
inc ecx
mov dword [ebp - 0x28], eax
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00585d85
mov ecx, dword [ebp - 0x24]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0x22
lea eax, [ebp - 0x28]
push dword [ebp - 0x10]
push ebx
push eax
push 0x5e
push str.Modules::initialise
push str.d:jenkinsworkspaceclient3.exe.fgmussexe_srcmodules.cpp
push edx
call fcn.00550890
mov dword [ebp - 4], 0xffffffff
add esp, 0x34
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x511130
push 2
push eax
call fcn.0056f898
add esp, 8
mov dword [ebp - 0x28], 0
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov edx, ebx
mov dword [ebp - 0x24], 0
call fcn.00511970
add esp, 4
mov ecx, esi
call fcn.00536a80
mov ecx, esi
inc edi
call fcn.00534620
cmp edi, eax
jb 0x511076
push ecx
mov ecx, esi
call fcn.004ff890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret