Function at 0x436019
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557133
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x5b327c]
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 ebx, ecx
mov ecx, dword [ebp + 8]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], 1
cmp ecx, 0x113
ja 0x436148
je 0x4360e2
lea eax, [ecx - 1]
cmp eax, 0xa2
ja case.0x435ea9.4
movzx eax, byte [eax + 0x4364bc]
jmp dword [eax*4 + 0x436484]
mov eax, dword [ebx]
lea edx, [ebp - 0x5c]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x78]
mov edi, eax
jmp 0x4363c0
mov eax, dword [ebx]
lea edx, [ebp - 0x5c]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x48]
mov edi, eax
jmp 0x4363c0
mov eax, dword [ebx]
lea edx, [ebp - 0x5c]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x4c]
mov edi, eax
jmp 0x4363c0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
mov ecx, ebx
call fcn.00439600
mov dword [ebp - 0x5c], edi
jmp 0x4363be
mov ecx, ebx
call fcn.00479b00
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
mov ecx, ebx
cmp esi, 1
sete al
push eax
call fcn.00439600
mov dword [ebp - 0x5c], edi
jmp 0x4363be
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x5c], edi
test esi, esi
je 0x4363be
mov ecx, dword [ebx + 0x37c]
test ecx, ecx
je 0x4363be
add ecx, 0x280
call fcn.00479b00
and dword [esi + 0x18], 0xfffffffb
mov dword [esi + 4], eax
jmp 0x4363be
lea ecx, [ebx + 0x30]
call fcn.00481c00
test eax, eax
je case.0x435ea9.6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
lea ecx, [ebx + 0x30]
test eax, eax
je 0x435fa4
push str.restore
call fcn.00481500
test eax, eax
je 0x435f9d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push 0x56b918
jmp 0x435fc3
push 0x56b918
call fcn.00481500
test eax, eax
je 0x435fbe
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx + 0x10c]
push str.restore
lea ecx, [ebx + 0x30]
call fcn.00481500
test eax, eax
je case.0x435ea9.6
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 0x10c]
mov dword [ebp - 0x5c], edi
jmp 0x4363be
mov dword [ebp - 0x5c], edi
cmp dword [ebx + 0x38c], edi
je 0x4363be
mov dword [ebx + 0x38c], edi
cmp dword [ebx + 0x388], edi
je 0x43600e
push 0
push 0
push 1
push 0x25
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [ebx + 0x388], edi
jmp 0x4363be
mov ecx, dword [ebx + 0x37c]
mov dword [ebp - 0x5c], edi
test ecx, ecx
je 0x436038
add ecx, 0x280
call fcn.00479b00
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x38c], edi
jne 0x4363be
push 0
lea esi, [ebx + 0x388]
mov dword [ebx + 0x38c], 1
mov dword [esi], edi
mov edi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push esi
push 0
push 0x26
call edi
cmp dword [esi], 0
je 0x4363be
push 0
push 0
push 0
push 0x25
call edi
jmp 0x4363be
call fcn.0041f790
mov ecx, eax
call fcn.0041f880
test eax, eax
je 0x4363be
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsZoomed]
mov ecx, ebx
test eax, eax
je 0x4360aa
call fcn.00435500
jmp 0x4363be
call fcn.00435280
jmp 0x4363be
mov eax, dword [ebx]
lea edx, [ebp - 0x5c]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x5c]
mov edi, eax
jmp 0x4363c0
mov eax, dword [ebx]
lea edx, [ebp - 0x5c]
push edx
push dword [ebp + 0x10]
push esi
push ecx
mov ecx, ebx
call dword [eax + 0x6c]
mov edi, eax
jmp 0x4363c0
cmp esi, 0x10
jne 0x436129
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 4]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebx + 4]
call esi
jmp 0x4363c0
cmp esi, 0x11
jne 0x4363c0
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00439b60
jmp 0x4363c0
cmp ecx, 0x7e8
ja 0x43626c
je 0x43623d
sub ecx, 0x40a
je 0x4361bf
sub ecx, 0x5a
je 0x4361af
sub ecx, 0x12d
jne case.0x435ea9.4
test esi, esi
je 0x4363c0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43619f
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x43619f
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], edi
push 0x28
push esi
call fcn.0046282d
add esp, 8
jmp 0x4363c0
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4363c0
call fcn.00412080
mov ecx, eax
test ecx, ecx
je 0x436478
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
push str.play
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0
call fcn.0040a850
test al, al
jne 0x436200
push 4
push str.play
lea ecx, [ebp - 0x60]
call fcn.004171c0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0043b3f0
mov edx, dword [ebp - 0x60]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4363be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4363be
mov ecx, dword [ebx + 0x3a4]
test ecx, ecx
je 0x4363c0
call fcn.0043f070
mov ecx, dword [ebx + 0x3a4]
test ecx, ecx
je 0x436261
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [ebx + 0x3a4], edi
jmp 0x4363c0
sub ecx, 0x7e9
je 0x4362de
sub ecx, 1
je 0x436281
mov dword [ebp - 0x5c], edi
jmp 0x4363c0
push 0xb
push str.start_delay
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418e10
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebx + 0x3a8]
call fcn.004fa710
lea ecx, [ebp - 0x28]
imul esi, eax, 0x3e8
mov dword [ebp - 4], 0xffffffff
call fcn.00404f30
push 0
push esi
push 0x11
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4363c0
test esi, esi
setne byte [ebp - 0x60]
test esi, esi
je 0x4363be
call fcn.00470ad0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4363b7
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxmain_window.cc
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.00418e10
push 3
push 0x568dcc
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418e10
mov byte [ebp - 4], 3
call fcn.00470ad0
mov edi, eax
lea ecx, [ebp - 0xfc]
push 0x2a7
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00404570
mov esi, eax
push str.MainWindow::OnJkwInstallEnd_succ
push esi
mov byte [ebp - 4], 4
call fcn.004058d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x60]
call fcn.00431ea0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.00407160
lea ecx, [ebp - 0x40]
call fcn.00404f30
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.00404f30
mov ecx, ebx
call fcn.004367a0
xor edi, edi
mov eax, dword [ebx + 0x360]
mov esi, dword [ebp + 8]
test eax, eax
je 0x436442
cmp esi, eax
jne 0x436442
mov eax, dword [ebp + 0x10]
add eax, 0xfffffdfe
cmp eax, 1
ja 0x436440
cmp dword [0x5bb354], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x4363fc
call edi
sub eax, dword [0x5bb354]
cmp eax, 0x1f4
jb 0x436439
call edi
cmp dword [ebx + 0x37c], 0
mov dword [0x5bb354], eax
je 0x43642e
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x43642e
mov ecx, dword [ebx + 0x37c]
push 1
push 1
add ecx, 0x280
call fcn.0047e640
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x5c], 1
xor edi, edi
cmp dword [ebp - 0x5c], 0
je 0x43644c
mov eax, edi
jmp 0x43645a
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp - 0x64]
push esi
call fcn.00488ac0
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.004626cb
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040a830
nop
mov al, 0x5e
inc ebx
add dh, bl
pop esi
inc ebx
add ch, dh
pop esi
inc ebx
add bl, cl
pushal
inc ebx
add bl, bl
pop edi
inc ebx
add bh, al
pop esi
inc ebx
add byte [esi], cl
pop edi
inc ebx
add byte [edi + ebx*2], dh
inc ebx
add byte [edi + 0x5f], ah
inc ebx
add byte [eax + 0x5fe30043], dh
inc ebx
add byte [ecx], bl
pushal
inc ebx
add byte [ebp + 0x60], bh
inc ebx
add byte [ecx + 0x62], bh
inc ebx
add byte [eax], al
add dword [edx], eax
or eax, 218956803
or eax, 218959117
or eax, 218957069
or eax, 218959117
push es
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
pop es
or byte [218959117], cl
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or dword [218959117], ecx
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218959117
or eax, 218827277
or al, 204