Function at 0x10033320
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ddbf
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x100cb2bc]
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.10042a90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033486
push 0x37
push str.d:work_basic_mgamejs_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.100065f0
push 3
push 0x100a38bc
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.100065f0
mov byte [ebp - 4], 1
call fcn.10042a90
mov edi, eax
lea ecx, [ebp - 0x10c]
push 0x2b
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10003990
mov esi, eax
push str.CreateWndByJsonEx
push esi
mov byte [ebp - 4], 2
call fcn.10004a70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x10c]
call fcn.10004ba0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10033436
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003342c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100335a3
push edx
push ecx
call fcn.10051a28
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 0x10033483
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10033479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100335a8
push edx
push ecx
call fcn.10051a28
add esp, 8
mov esi, dword [ebp - 0x74]
cmp dword [ebx + 0x1c], 0
je 0x10033549
call fcn.10042a90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10033585
push 0x37
push str.d:work_basic_mgamejs_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.100065f0
push 3
push 0x100a38bc
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.100065f0
mov byte [ebp - 4], 4
call fcn.10042a90
mov edi, eax
lea ecx, [ebp - 0x1a4]
push 0x2d
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10003990
mov esi, eax
push str.CreateWndByJson_Failed__main_wnd_exist_
push esi
mov byte [ebp - 4], 5
call fcn.10004a70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x1a4]
call fcn.10004ba0
lea ecx, [ebp - 0x58]
call fcn.10004360
lea ecx, [ebp - 0x70]
call fcn.10004360
jmp 0x10033585
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10033550
sub ecx, edx
push ecx
push esi
lea ecx, [ebx + 4]
call fcn.100065f0
lea eax, [ebx + 0x30]
mov dword [ebx + 0x38], 1
push eax
push 0
push ebx
push 0x10034190
push 0
push 0
call fcn.1007a3ef
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.10051a36
mov esp, ebp
pop ebp
ret 8
call fcn.10076ce3
call fcn.10076ce3
int3