Function at 0x40fa00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5851d0
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x60940c]
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 edi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
call fcn.0047c820
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0
push ecx
mov ecx, eax
call fcn.004131f0
mov byte [ebp - 4], 2
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x8c], esp
mov dword [ebp - 0x90], ecx
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0040bf60
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
call fcn.0047e120
add esp, 0x14
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40fab3
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b090
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40fb1e
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.00405980
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x20]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040b140
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0xe0]
mov ecx, edi
push eax
call fcn.00408200
mov byte [ebp - 4], 6
sub esp, 0x14
mov esi, esp
mov dword [ebp - 0x8c], esp
mov dword [ebp - 0x90], esi
mov eax, dword [ebp - 0xe0]
mov dword [esi], eax
lea ecx, [esi + 4]
lea eax, [ebp - 0xdc]
push eax
call fcn.00406360
mov byte [ebp - 4], 7
mov al, byte [ebp - 0xd0]
mov byte [esi + 0x10], al
mov byte [ebp - 4], 8
mov byte [ebp - 4], 6
call fcn.00424a50
add esp, 0x14
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0xe0]
push 0
push eax
call fcn.0047c0f0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00412ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x58]
push 0
push ecx
mov ecx, eax
call fcn.0047c0f0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40fc03
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.00405980
mov ecx, dword [ebp - 0x18]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x20]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x20]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040b140
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0xd
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.start_exe_try
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0040ac20
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
push 0
push eax
mov ecx, edi
call fcn.004095d0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x40fc5c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
lea eax, [ebp - 0x40]
mov dword [ebp - 0x14], 0xf
push eax
mov ecx, edi
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00408540
mov ebx, eax
mov byte [ebp - 4], 0xf
xor eax, eax
mov dword [ebp - 0xcc], vtable.el::base::Writer.0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0x80
mov dword [ebp - 0xc0], str.D:jenkinsworkspacemicroclient_buildlauncherAppRunner.cpp
mov dword [ebp - 0xbc], 0x2b
mov dword [ebp - 0xb8], str.void_const___thiscall_AppRunner::RunExe_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____bool_
mov word [ebp - 0xb4], ax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], al
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0x59aeec
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0xcc]
push dword [section..data]
push 1
push eax
call fcn.0048d730
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x40ff53
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.app.
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40fd6b
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
push ebx
lea ecx, [esi + 0x24]
call fcn.0040e8b0
cmp byte [esi + 0x20], 0
je 0x40ff53
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40fdd0
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.tring_to_start_process:
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40fe22
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea ecx, [esi + 0x24]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00488330
cmp byte [esi + 0x20], 0
je 0x40ff53
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.__with_args
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40fe92
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov ecx, dword [esi + 0x24]
cmovae eax, dword [ebp + 8]
add ecx, 0x58
push eax
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40feeb
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.__dir
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x40ff39
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x40ff53
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
lea ecx, [esi + 0x24]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.00488330
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.0040e200
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40ff7b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b090
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], 0xf
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x30], 0
push eax
mov byte [ebp - 0x40], 0
call fcn.0047f1c0
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x11c]
push 0x3c
push 0
push eax
call fcn.0054eaa0
add esp, 0x14
mov dword [ebp - 0x11c], 0x3c
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov dword [ebp - 0x118], 0x40
cmovae eax, dword [ebp - 0x70]
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], str.open
mov dword [ebp - 0x100], 5
mov dword [ebp - 0xfc], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
push 0xe
test eax, eax
je 0x41042f
push str.start_exe_succ
call fcn.0040ac20
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x28]
push 0
push eax
mov ecx, edi
call fcn.004095d0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x410097
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
push dword [ebp - 0xe4]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x8c], eax
mov ecx, edi
lea eax, [ebp - 0x40]
push eax
call fcn.00408540
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 0x14
xor eax, eax
mov dword [ebp - 0xcc], vtable.el::base::Writer.0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0x80
mov dword [ebp - 0xc0], str.D:jenkinsworkspacemicroclient_buildlauncherAppRunner.cpp
mov dword [ebp - 0xbc], 0x41
mov dword [ebp - 0xb8], str.void_const___thiscall_AppRunner::RunExe_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____bool_
mov word [ebp - 0xb4], ax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], al
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0x59aeec
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0xcc]
push dword [section..data]
push 1
push eax
call fcn.0048d730
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.app.
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x4101c4
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x410355
push dword [ebp - 0x90]
lea ecx, [esi + 0x24]
call fcn.0040e8b0
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41022e
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.start_process_succ:
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x410280
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
push dword [ebp - 0x8c]
add ecx, 0x68
call fcn.0040e530
mov eax, dword [0x610e4c]
test dword [eax + 0x3c], 0x2000
jbe 0x4102c6
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.__pid
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x410318
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x410355
mov ecx, dword [esi + 0x24]
push ebx
add ecx, 0x68
call fcn.0040e530
mov eax, dword [0x610e4c]
test dword [eax + 0x3c], 0x2000
jbe 0x410355
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xcc]
call fcn.0040e200
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x41037d
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b090
push ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00498420
add esp, 4
cmp byte [ebp + 0x20], 0
je 0x410424
call fcn.0042dd60
movups xmm0, xmmword [ebp - 0x11c]
mov eax, dword [ebp - 0xe4]
sub esp, 0x3c
mov ecx, esp
sub esp, 0x18
mov dword [ebp - 0x8c], esp
movups xmmword [ecx], xmm0
movups xmm0, xmmword [ebp - 0x10c]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xfc]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [ebp - 0xec]
movq qword [ecx + 0x30], xmm0
mov dword [ecx + 0x38], eax
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040aaf0
mov byte [ebp - 4], 0x17
mov byte [ebp - 4], 0x12
mov ecx, edi
call fcn.00410800
call fcn.0042dc90
jmp 0x4106a8
mov edi, dword [ebp - 0xe4]
jmp 0x4106aa
push str.start_exe_fail
call fcn.0040ac20
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x28]
push 0
push eax
mov ecx, edi
call fcn.004095d0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x410463
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040b090
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, edi
lea eax, [ebp - 0x40]
push eax
call fcn.00408540
mov edi, eax
mov byte [ebp - 4], 0x19
xor eax, eax
mov dword [ebp - 0xcc], vtable.el::base::Writer.0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0x80
mov dword [ebp - 0xc0], str.D:jenkinsworkspacemicroclient_buildlauncherAppRunner.cpp
mov dword [ebp - 0xbc], 0x52
mov dword [ebp - 0xb8], str.void_const___thiscall_AppRunner::RunExe_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char____bool_
mov word [ebp - 0xb4], ax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0xac], al
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0x59aeec
mov dword [ebp - 0xa0], 2
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0xcc]
push dword [section..data]
push 1
push eax
call fcn.0048d730
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x20], 0
je 0x41066e
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.app.
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x41057a
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x41066e
push edi
lea ecx, [esi + 0x24]
call fcn.0040e8b0
cmp byte [esi + 0x20], 0
je 0x41066e
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x4105df
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x41066e
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push str.start_process_failed:
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
mov eax, dword [0x610e4c]
add esp, 8
test dword [eax + 0x3c], 0x2000
jbe 0x410631
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
cmp byte [esi + 0x20], 0
je 0x41066e
mov ecx, dword [esi + 0x24]
push ebx
add ecx, 0x68
call fcn.0040e530
mov eax, dword [0x610e4c]
test dword [eax + 0x3c], 0x2000
jbe 0x41066e
mov ecx, dword [esi + 0x24]
add ecx, 0x58
push 0x59aef0
lea eax, [ecx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
call fcn.0040d440
add esp, 8
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xcc]
call fcn.0040e200
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x410696
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040b090
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
xor edi, edi
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x4106c9
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4106f9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x410726
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.0040b0e0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x4107ad
push dword [ebp - 0x8c]
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0xd8]
push ecx
call fcn.00405980
mov ecx, dword [ebp - 0xd4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xdc]
add esp, 0x10
sub ecx, esi
imul ecx
lea ecx, [ebp - 0xdc]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040b140
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x4107c9
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040b090
mov dword [ebp + 0x1c], 0xf
mov eax, edi
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
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.0052b33d
mov esp, ebp
pop ebp
ret 0x1c