Function at 0x10054520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da3cf
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x10116404]
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.100649b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10054686
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.10009f20
push 3
push 0x100e2cf8
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.10009f20
mov byte [ebp - 4], 1
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10006e30
mov esi, eax
push str.CreateWndByJsonEx
push esi
mov byte [ebp - 4], 2
call fcn.10008110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.100081d0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10054636
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005462c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100547a3
push edx
push ecx
call fcn.1008f7e1
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 0x10054683
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10054679
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100547a8
push edx
push ecx
call fcn.1008f7e1
add esp, 8
mov esi, dword [ebp - 0x74]
cmp dword [ebx + 0x1c], 0
je 0x10054749
call fcn.100649b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10054785
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.10009f20
push 3
push 0x100e2cf8
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.10009f20
mov byte [ebp - 4], 4
call fcn.100649b0
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10006e30
mov esi, eax
push str.CreateWndByJson_Failed__main_wnd_exist_
push esi
mov byte [ebp - 4], 5
call fcn.10008110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.100081d0
lea ecx, [ebp - 0x58]
call fcn.100079d0
lea ecx, [ebp - 0x70]
call fcn.100079d0
jmp 0x10054785
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054750
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 4]
call fcn.10009f20
lea eax, [ebx + 0x30]
mov dword [ebx + 0x38], 1
push eax
push 0
push ebx
push 0x10055390
push 0
push 0
call fcn.100b05ff
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.1008fb60
mov esp, ebp
pop ebp
ret 8
call fcn.100adb49
call fcn.100adb49
int3