Function at 0x1001b740
Capabilities:
Check mutex on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100ca1c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [ebp - 0x23d]
xor eax, eax
push edi
mov dword [ebp - 0x244], eax
call fcn.10067210
lea eax, [ebp - 0x258]
push 1
push eax
call fcn.10055140
add esp, 8
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 8
push eax
mov dword [ebp - 0x24c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [0x100f2a88]
test eax, eax
mov ecx, dword [ebp + 8]
push 0
cmovne ecx, eax
push ecx
push 0
mov ecx, 0x100f2a90
call fcn.10016eb0
cmp dword [0x100f2a88], 0
mov ecx, str.helper
mov eax, str.helper_1
push 0
cmove eax, ecx
push eax
push 1
call fcn.10016b20
mov ecx, eax
call fcn.10058c60
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10080c30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.commonhelpercommonhelper.log
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.10065410
mov ecx, esi
mov dword [ebp - 0x214], 0
xor eax, eax
mov dword [ebp - 0x210], 7
mov word [ebp - 0x224], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b860
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.1000e780
lea eax, [ebp - 0x224]
push eax
call fcn.10016d40
mov ecx, eax
call fcn.100100e0
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x1001b8cf
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b8c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c992
push edx
push ecx
call fcn.10066268
add esp, 8
push 0
push 0
push 1
push 0
push str.pre_run_0
call fcn.10016b20
mov ecx, eax
call fcn.10058c80
mov ecx, dword [0x100f2ae0]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test ecx, ecx
jne 0x1001b953
push 0x100ca088
call esi
cmp dword [0x100f2ae0], 0
jne 0x1001b93a
push 0x1c
call fcn.10066238
mov esi, eax
add esp, 4
test esi, esi
je 0x1001b92c
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call edi
jmp 0x1001b92e
xor esi, esi
mov dword [0x100f2ae0], esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x100ca088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100f2ae0]
test ecx, ecx
jne 0x1001b953
xor eax, eax
jmp 0x1001b9a1
mov eax, dword [0x100f2adc]
test eax, eax
jne 0x1001b9a1
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x100f2adc], 0
jne 0x1001b991
push 0x30
call fcn.10066238
add esp, 4
test eax, eax
je 0x1001b983
mov ecx, eax
call fcn.10011a80
mov ecx, eax
jmp 0x1001b985
xor ecx, ecx
xchg dword [ebp - 0x24c], eax
mov dword [0x100f2adc], ecx
mov eax, dword [0x100f2ae0]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x100f2adc]
mov ecx, eax
call fcn.10013d50
or ebx, 0xffffffff
test eax, eax
jne 0x1001ba87
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c955
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xbe
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.Init_common_data_fail___exit
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c955
mov ecx, dword [0x100f2ae8]
test ecx, ecx
jne 0x1001bae1
push 0x100ca0a4
call esi
cmp dword [0x100f2ae8], 0
jne 0x1001bac7
push 0x1c
call fcn.10066238
mov esi, eax
add esp, 4
test esi, esi
je 0x1001babf
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call edi
jmp 0x1001bac1
xor esi, esi
mov dword [0x100f2ae8], esi
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x100ca0a4
call eax
mov ecx, dword [0x100f2ae8]
test ecx, ecx
jne 0x1001bae1
xor eax, eax
jmp 0x1001bb2f
mov eax, dword [0x100f2ae4]
test eax, eax
jne 0x1001bb2f
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x100f2ae4], 0
jne 0x1001bb1f
push 0x50
call fcn.10066238
add esp, 4
test eax, eax
je 0x1001bb11
mov ecx, eax
call fcn.100100a0
mov ecx, eax
jmp 0x1001bb13
xor ecx, ecx
xchg dword [ebp - 0x24c], eax
mov dword [0x100f2ae4], ecx
mov eax, dword [0x100f2ae8]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x100f2ae4]
cmp dword [0x100f2a88], 0
mov edi, dword [eax + 0x30]
jne 0x1001bbf7
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10080c30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10007160
lea eax, [ebp - 0x254]
push eax
call fcn.10016c30
mov ecx, eax
call fcn.10013c20
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x1001c997
push eax
push dword [ebp - 0x24c]
call fcn.10084486
mov edx, dword [ebp - 0x254]
add esp, 8
mov esi, eax
mov ecx, ebx
neg esi
sbb esi, esi
add edx, 0xfffffff0
inc esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001bbd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001bbf3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1001bc5a
call fcn.1000c350
mov ecx, eax
test ecx, ecx
je 0x1001c9a1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x248]
push str.HELPERFUZZYMODE_A2251B37_99C5_4AC8_9FDC_8DEAD06CC315
mov dword [ebp - 0x248], eax
call fcn.1000ba50
test al, al
jne 0x1001bc3a
push 0x36
push str.HELPERFUZZYMODE_A2251B37_99C5_4AC8_9FDC_8DEAD06CC315
lea ecx, [ebp - 0x248]
call fcn.1000cd50
lea eax, [ebp - 0x248]
push eax
call fcn.100444e0
add esp, 4
test eax, eax
mov eax, 1
jne 0x1001bc60
test edi, edi
jne 0x1001bc60
mov bl, al
jmp 0x1001bc62
mov eax, dword [ebp - 0x244]
xor bl, bl
test al, 1
je 0x1001bc84
mov edx, dword [ebp - 0x248]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001bc84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
test bl, bl
je 0x1001bd60
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c228
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xc7
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.Use_origin_mode_without_fuzzy
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c228
mov edx, dword [edx + 8]
call edx
movzx eax, al
test edi, edi
je 0x1001c0e6
sub eax, 1
jne 0x1001be2c
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xce
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.force_fuzzy_mode_
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
lea eax, [ebp - 0x244]
push eax
call fcn.10016c30
mov ecx, eax
call fcn.10013ca0
push eax
call fcn.100444e0
mov edx, dword [ebp - 0x244]
or ebx, 0xffffffff
add esp, 4
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001be6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1001bf46
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c955
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xd2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.error_to_try_fuzzy_mode_by_command__FFM__mutex___exit
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c955
call fcn.100193d0
mov esi, eax
call fcn.10065110
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
test esi, esi
jne 0x1001c025
sub eax, 1
jne 0x1001c955
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xd8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.error_to_try_fuzzy_mode_by_command__FFM__runapp___exit
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c955
sub eax, 1
jne 0x1001c955
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xdc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.force_fuzzy_mode_prepare_end_
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c955
sub eax, 1
jne 0x1001c21b
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xe0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.100076b0
mov esi, eax
push str.IN_Fuzzy_mode.
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x1001c1c6
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c1bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c9ab
push edx
push ecx
call fcn.10066268
add esp, 8
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
cmp edx, 0x10
jb 0x1001c21b
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c211
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c9ab
push edx
push ecx
call fcn.10066268
add esp, 8
call fcn.10017020
test eax, eax
je 0x1001c952
cmp dword [0x100f2a88], 0
jne 0x1001c432
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c304
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xf1
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.re_create_self_mutex
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
lea eax, [ebp - 0x244]
push eax
call fcn.10016c30
mov ecx, eax
call fcn.10013ca0
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0x244]
or ebx, 0xffffffff
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001c345
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x1001c955
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001c435
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c955
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xfd
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.Instance_break._exit
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
jmp 0x1001c955
or ebx, 0xffffffff
call fcn.10065110
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001c504
push 0x48
push str.d:jenkins.jenkinsworkspacehalo_helperyingyanhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.1000e690
push 3
push 0x100aba2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.1000e690
call fcn.10065110
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0x102
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.100076b0
mov esi, eax
push str.ready_to_do_work
push esi
call fcn.10008d00
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.10008e30
lea ecx, [ebp - 0x23c]
call fcn.100080e0
lea ecx, [ebp - 0x224]
call fcn.100080e0
push 0
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 1
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x2a0], 0
push eax
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x1001c54f
mov edi, 1
jmp 0x1001c957
push 0
push 0
push 1
push 0
push str.pre_run_1
call fcn.10016b20
mov ecx, eax
call fcn.10058c80
mov edi, dword [0x100f2114]
xorps xmm0, xmm0
add edi, 0x10
mov dword [ebp - 0x294], 0x100aca44
push edi
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x100f2ac4]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.10088163
add esp, 0xc
test eax, eax
je 0x1001c602
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.10088163
add esp, 0xc
test eax, eax
je 0x1001c602
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x1001c5f3
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x1001c5ff
lea ecx, [ebp - 0x294]
mov dword [eax], ecx
inc dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call ebx
lea ecx, [ebp - 0x328]
call fcn.10020990
push dword [ebp - 0x258]
lea eax, [ebp - 0x308]
push eax
push 0x100ca0c0
push 0x100ca028
push 0x100f5748
call fcn.10014f10
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x314]
test eax, eax
jne 0x1001c663
call fcn.10045259
mov dword [ebp - 0x314], eax
test eax, eax
jne 0x1001c663
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1001c6ec
push 0
push 0
push eax
call fcn.1004535b
test si, si
je 0x1001c6ec
lea eax, [ebp - 0x328]
mov dword [ebp - 0x320], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x100ca02c
mov dword [ebp - 0x31c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x100ca044]
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x320]
push 0x100ca02c
mov dword [0x100ca044], eax
call ebx
mov ecx, dword [0x100ca078]
mov eax, dword [0x100ca080]
mov edx, dword [0x100ca074]
sub eax, ecx
push 0
push dword [0x100f574c]
push 0
push 0
push eax
mov eax, dword [0x100ca07c]
sub eax, edx
push eax
push ecx
push edx
push 0x86020000
push 0
push esi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 1
xor esi, esi
nop dword [eax]
test ebx, ebx
je 0x1001c730
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
call edi
test eax, eax
jne 0x1001c730
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x1001c704
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x1001c700
test eax, eax
je 0x1001c7c6
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
call dword [eax]
test eax, eax
jne 0x1001c77f
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x274]
cmp eax, 0x118
ja 0x1001c79a
je 0x1001c7b6
cmp eax, 0xf
je 0x1001c7b6
cmp eax, 0xa0
jmp 0x1001c79f
cmp eax, 0x200
je 0x1001c7b6
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x1001c700
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x1001c700
mov edi, dword [ebp - 0x270]
mov ecx, 0x100f2a90
call fcn.10018c50
push dword [ebp - 0x25c]
call sub.gdiplus.dll_GdiplusShutdown
mov ebx, dword [0x100f2114]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x100f2ac8]
test esi, esi
je 0x1001c843
cmp dword [esi + 4], 0
jle 0x1001c811
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x100f2ac8]
test esi, esi
je 0x1001c843
mov eax, dword [esi]
test eax, eax
je 0x1001c82a
push eax
call fcn.10084120
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10066268
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov dword [0x100f2ac8], 0
call eax
mov esi, dword [0x100f2ac4]
test esi, esi
je 0x1001c89d
mov eax, dword [esi]
test eax, eax
je 0x1001c874
push eax
call fcn.10084120
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1001c88b
push eax
call fcn.10084120
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.10066268
add esp, 8
mov ecx, 0x100f2a90
call fcn.100192b0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2a8]
call fcn.1000df20
lea ecx, [ebp - 0x2b0]
call fcn.10034d70
mov edx, dword [ebp - 0x2b8]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c8e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x328]
call fcn.10015590
mov eax, dword [ebp - 0x284]
test eax, eax
je 0x1001c90b
push eax
call fcn.10084120
add esp, 4
mov dword [ebp - 0x284], 0
mov eax, dword [ebp - 0x290]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0
test eax, eax
je 0x1001c93c
push eax
call fcn.10084120
add esp, 4
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
jmp 0x1001c957
or ebx, 0xffffffff
xor edi, edi
mov eax, dword [ebp - 0x258]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001c972
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x23d]
call fcn.10067290
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100665d9
mov esp, ebp
pop ebp
ret 0x10
call fcn.10084039
push 0x80004005
call fcn.1000ba30
push 0x80004005
call fcn.1000ba30
call fcn.10084039
int3