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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4dc1c4]
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.004718b0
lea eax, [ebp - 0x258]
push 1
push eax
call fcn.00459b90
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 [0x504aec]
test eax, eax
mov ecx, dword [ebp + 8]
push 0
cmovne ecx, eax
push ecx
push 0
mov ecx, 0x504af4
call fcn.00417850
cmp dword [0x504aec], 0
mov ecx, str.helper
mov eax, str.helper_1
push 0
cmove eax, ecx
push eax
push 1
call fcn.004174c0
mov ecx, eax
call fcn.0045d600
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00492fb0
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.0046fb70
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 0x41c1e0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.0040ebe0
lea eax, [ebp - 0x224]
push eax
call fcn.004176e0
mov ecx, eax
call fcn.00410540
mov edx, dword [ebp - 0x210]
cmp edx, 8
jb 0x41c24f
mov ecx, dword [ebp - 0x224]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c245
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d312
push edx
push ecx
call fcn.004709c8
add esp, 8
push 0
push 0
push 1
push 0
push str.pre_run_0
call fcn.004174c0
mov ecx, eax
call fcn.0045d620
mov ecx, dword [0x504b44]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test ecx, ecx
jne 0x41c2d3
push 0x4dc088
call esi
cmp dword [0x504b44], 0
jne 0x41c2ba
push 0x1c
call fcn.00470998
mov esi, eax
add esp, 4
test esi, esi
je 0x41c2ac
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call edi
jmp 0x41c2ae
xor esi, esi
mov dword [0x504b44], esi
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x4dc088
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x504b44]
test ecx, ecx
jne 0x41c2d3
xor eax, eax
jmp 0x41c321
mov eax, dword [0x504b40]
test eax, eax
jne 0x41c321
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x504b40], 0
jne 0x41c311
push 0x30
call fcn.00470998
add esp, 4
test eax, eax
je 0x41c303
mov ecx, eax
call fcn.00412110
mov ecx, eax
jmp 0x41c305
xor ecx, ecx
xchg dword [ebp - 0x24c], eax
mov dword [0x504b40], ecx
mov eax, dword [0x504b44]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x504b40]
mov ecx, eax
call fcn.00414680
or ebx, 0xffffffff
test eax, eax
jne 0x41c407
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d2d5
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xbe
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.Init_common_data_fail___exit
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41d2d5
mov ecx, dword [0x504b4c]
test ecx, ecx
jne 0x41c461
push 0x4dc0a4
call esi
cmp dword [0x504b4c], 0
jne 0x41c447
push 0x1c
call fcn.00470998
mov esi, eax
add esp, 4
test esi, esi
je 0x41c43f
lea ecx, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push ecx
call edi
jmp 0x41c441
xor esi, esi
mov dword [0x504b4c], esi
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4dc0a4
call eax
mov ecx, dword [0x504b4c]
test ecx, ecx
jne 0x41c461
xor eax, eax
jmp 0x41c4af
mov eax, dword [0x504b48]
test eax, eax
jne 0x41c4af
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x504b48], 0
jne 0x41c49f
push 0x50
call fcn.00470998
add esp, 4
test eax, eax
je 0x41c491
mov ecx, eax
call fcn.00410500
mov ecx, eax
jmp 0x41c493
xor ecx, ecx
xchg dword [ebp - 0x24c], eax
mov dword [0x504b48], ecx
mov eax, dword [0x504b4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x504b48]
cmp dword [0x504aec], 0
mov edi, dword [eax + 0x30]
jne 0x41c577
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00492fb0
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.004075c0
lea eax, [ebp - 0x254]
push eax
call fcn.004175d0
mov ecx, eax
call fcn.00414550
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x41d317
push eax
push dword [ebp - 0x24c]
call fcn.00496796
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 0x41c556
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 0x41c573
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41c5da
call fcn.0040c7b0
mov ecx, eax
test ecx, ecx
je 0x41d321
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.0040beb0
test al, al
jne 0x41c5ba
push 0x36
push str.HELPERFUZZYMODE_A2251B37_99C5_4AC8_9FDC_8DEAD06CC315
lea ecx, [ebp - 0x248]
call fcn.0040d1b0
lea eax, [ebp - 0x248]
push eax
call fcn.00448020
add esp, 4
test eax, eax
mov eax, 1
jne 0x41c5e0
test edi, edi
jne 0x41c5e0
mov bl, al
jmp 0x41c5e2
mov eax, dword [ebp - 0x244]
xor bl, bl
test al, 1
je 0x41c604
mov edx, dword [ebp - 0x248]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c604
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
test bl, bl
je 0x41c6e0
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41cba8
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xc7
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.Use_origin_mode_without_fuzzy
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41cba8
mov edx, dword [edx + 8]
call edx
movzx eax, al
test edi, edi
je 0x41ca66
sub eax, 1
jne 0x41c7ac
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xce
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.force_fuzzy_mode_
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
lea eax, [ebp - 0x244]
push eax
call fcn.004175d0
mov ecx, eax
call fcn.004145d0
push eax
call fcn.00448020
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 0x41c7ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41c8c6
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d2d5
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xd2
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.error_to_try_fuzzy_mode_by_command__FFM__mutex___exit
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41d2d5
call fcn.00419d70
mov esi, eax
call fcn.0046f870
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
test esi, esi
jne 0x41c9a5
sub eax, 1
jne 0x41d2d5
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xd8
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.error_to_try_fuzzy_mode_by_command__FFM__runapp___exit
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41d2d5
sub eax, 1
jne 0x41d2d5
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xdc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.force_fuzzy_mode_prepare_end_
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41d2d5
sub eax, 1
jne 0x41cb9b
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xe0
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00407b10
mov esi, eax
push str.IN_Fuzzy_mode.
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
mov edx, dword [ebp - 0x210]
cmp edx, 0x10
jb 0x41cb46
mov ecx, dword [ebp - 0x224]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cb3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32b
push edx
push ecx
call fcn.004709c8
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 0x41cb9b
mov ecx, dword [ebp - 0x23c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41cb91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d32b
push edx
push ecx
call fcn.004709c8
add esp, 8
call fcn.004179c0
test eax, eax
je 0x41d2d2
cmp dword [0x504aec], 0
jne 0x41cdb2
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41cc84
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xf1
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.re_create_self_mutex
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
lea eax, [ebp - 0x244]
push eax
call fcn.004175d0
mov ecx, eax
call fcn.004145d0
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 0x41ccc5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41d2d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41cdb5
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d2d5
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0xfd
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.Instance_break._exit
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
jmp 0x41d2d5
or ebx, 0xffffffff
call fcn.0046f870
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41ce84
push 0x4b
push str.d:jenkins.jenkinsworkspacepcmanage_helpercommonhelpercommonhelper.cpp
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0xf
mov byte [ebp - 0x224], al
call fcn.0040eaf0
push 3
push 0x4bda2c
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0xf
mov byte [ebp - 0x23c], 0
call fcn.0040eaf0
call fcn.0046f870
mov edi, eax
lea ecx, [ebp - 0x9c]
push 0x102
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00407b10
mov esi, eax
push str.ready_to_do_work
push esi
call fcn.00409160
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x9c]
call fcn.00409290
lea ecx, [ebp - 0x23c]
call fcn.00408540
lea ecx, [ebp - 0x224]
call fcn.00408540
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 0x41cecf
mov edi, 1
jmp 0x41d2d7
push 0
push 0
push 1
push 0
push str.pre_run_1
call fcn.004174c0
mov ecx, eax
call fcn.0045d620
mov edi, dword [0x504114]
xorps xmm0, xmm0
add edi, 0x10
mov dword [ebp - 0x294], 0x4beaac
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 [0x504b28]
mov ebx, eax
push 4
mov ecx, dword [esi + 8]
inc ecx
push ecx
push dword [esi]
call fcn.0049a473
add esp, 0xc
test eax, eax
je 0x41cf82
mov dword [esi], eax
mov eax, dword [esi + 8]
push 4
inc eax
push eax
push dword [esi + 4]
call fcn.0049a473
add esp, 0xc
test eax, eax
je 0x41cf82
mov ecx, dword [esi + 8]
mov dword [esi + 4], eax
lea edx, [ecx*4]
mov ecx, dword [esi]
add ecx, edx
je 0x41cf73
mov dword [ecx], ebx
mov eax, dword [esi + 4]
add eax, edx
je 0x41cf7f
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.00421660
push dword [ebp - 0x258]
lea eax, [ebp - 0x308]
push eax
push 0x4dc0c0
push 0x4dc028
push 0x507b74
call fcn.004158b0
movzx esi, ax
add esp, 0x14
mov eax, dword [ebp - 0x314]
test eax, eax
jne 0x41cfe3
call fcn.00448d96
mov dword [ebp - 0x314], eax
test eax, eax
jne 0x41cfe3
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41d06c
push 0
push 0
push eax
call fcn.00448e98
test si, si
je 0x41d06c
lea eax, [ebp - 0x328]
mov dword [ebp - 0x320], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x4dc02c
mov dword [ebp - 0x31c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4dc044]
mov dword [ebp - 0x318], eax
lea eax, [ebp - 0x320]
push 0x4dc02c
mov dword [0x4dc044], eax
call ebx
mov ecx, dword [0x4dc078]
mov eax, dword [0x4dc080]
mov edx, dword [0x4dc074]
sub eax, ecx
push 0
push dword [0x507b78]
push 0
push 0
push eax
mov eax, dword [0x4dc07c]
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 0x41d0b0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
call edi
test eax, eax
jne 0x41d0b0
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
push esi
call dword [eax + 4]
inc esi
test eax, eax
jne 0x41d084
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 0x41d080
test eax, eax
je 0x41d146
lea eax, [ebp - 0x278]
push eax
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x294]
call dword [eax]
test eax, eax
jne 0x41d0ff
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 0x41d11a
je 0x41d136
cmp eax, 0xf
je 0x41d136
cmp eax, 0xa0
jmp 0x41d11f
cmp eax, 0x200
je 0x41d136
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x41d080
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x41d080
mov edi, dword [ebp - 0x270]
mov ecx, 0x504af4
call fcn.004195f0
push dword [ebp - 0x25c]
call sub.gdiplus.dll_GdiplusShutdown
mov ebx, dword [0x504114]
add ebx, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x504b2c]
test esi, esi
je 0x41d1c3
cmp dword [esi + 4], 0
jle 0x41d191
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x504b2c]
test esi, esi
je 0x41d1c3
mov eax, dword [esi]
test eax, eax
je 0x41d1aa
push eax
call fcn.00496430
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004709c8
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov dword [0x504b2c], 0
call eax
mov esi, dword [0x504b28]
test esi, esi
je 0x41d21d
mov eax, dword [esi]
test eax, eax
je 0x41d1f4
push eax
call fcn.00496430
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41d20b
push eax
call fcn.00496430
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004709c8
add esp, 8
mov ecx, 0x504af4
call fcn.00419c50
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x2a8]
call fcn.0040e380
lea ecx, [ebp - 0x2b0]
call fcn.00437370
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 0x41d263
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x328]
call fcn.00415f30
mov eax, dword [ebp - 0x284]
test eax, eax
je 0x41d28b
push eax
call fcn.00496430
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 0x41d2bc
push eax
call fcn.00496430
add esp, 4
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
jmp 0x41d2d7
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 0x41d2f2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x23d]
call fcn.00471930
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00470c70
mov esp, ebp
pop ebp
ret 0x10
call fcn.00496349
push 0x80004005
call fcn.0040be90
push 0x80004005
call fcn.0040be90
call fcn.00496349
int3