Function at 0x1005c840
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9e3f
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10129fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x74], esi
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005c9a6
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_imp.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000b040
mov byte [ebp - 4], 1
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10007ce0
mov esi, eax
push str.CreateWndByJsonEx
push esi
mov byte [ebp - 4], 2
call fcn.10009020
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.100090e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1005c956
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c94c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005cac3
push edx
push ecx
call fcn.1009e49f
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1005c9a3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005c999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005cac8
push edx
push ecx
call fcn.1009e49f
add esp, 8
mov esi, dword [ebp - 0x74]
cmp dword [ebx + 0x1c], 0
je 0x1005ca69
call fcn.1006cd40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1005caa5
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commonjs_basic_branchjs_basicjs_basicjs_basicweb_window_imp.cc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.1000b040
push 3
push 0x100f2f40
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000b040
mov byte [ebp - 4], 4
call fcn.1006cd40
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10007ce0
mov esi, eax
push str.CreateWndByJson_Failed__main_wnd_exist_
push esi
mov byte [ebp - 4], 5
call fcn.10009020
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.100090e0
lea ecx, [ebp - 0x58]
call fcn.10008880
lea ecx, [ebp - 0x70]
call fcn.10008880
jmp 0x1005caa5
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005ca70
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 4]
call fcn.1000b040
lea eax, [ebx + 0x30]
mov dword [ebx + 0x38], 1
push eax
push 0
push ebx
push 0x1005d6b0
push 0
push 0
call fcn.100bf243
add esp, 0x18
mov dword [ebx + 0x2c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009e81e
mov esp, ebp
pop ebp
ret 8
call fcn.100bc709
call fcn.100bc709
int3