Function at 0x1017403
Capabilities:
Accept command line arguments
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1036118]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [0x1037598], eax
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x10375c4], eax
call esi
push ebx
push ebx
push ebx
push ebx
mov dword [0x10375dc], eax
call esi
push 0x1037560
mov dword [0x10375e0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push 0x1001348
call dword [sym.imp.KERNEL32.dll_RegisterApplicationRestart]
push ebx
push ebx
xor edi, edi
inc edi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0x398]
push eax
push edi
push ebx
mov esi, 0x10046f0
push esi
push 0x80000001
mov dword [0x10360b4], edi
mov dword [ebp - 0x39c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10174e5
lea eax, [ebp - 0x3a4]
push eax
push 0x10360b4
lea eax, [ebp - 0x3a0]
push eax
push ebx
push 0x10049f0
push dword [ebp - 0x398]
mov dword [ebp - 0x3a0], ebx
mov dword [ebp - 0x3a4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10174d9
mov dword [ebp - 0x39c], edi
push dword [ebp - 0x398]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0x1cc]
mov edi, eax
call fcn.0100c141
movzx eax, word [edi]
cmp ax, 0x22
je 0x1017517
cmp ax, 0x20
jbe 0x1017531
inc edi
inc edi
cmp word [edi], 0x20
ja 0x1017507
jmp 0x1017531
cmp ax, 0x22
je 0x101752f
inc edi
inc edi
movzx eax, word [edi]
cmp ax, bx
jne 0x1017511
cmp word [edi], 0x22
jne 0x1017531
jmp 0x101752f
cmp ax, 0x20
ja 0x1017539
inc edi
inc edi
movzx eax, word [edi]
cmp ax, bx
jne 0x1017529
movzx eax, word [edi]
cmp ax, 0x2f
je 0x101754c
cmp ax, 0x2d
jne 0x101773d
lea ecx, [ebp - 0x9c]
call fcn.0100c141
inc edi
push 0x1004b10
lea ecx, [ebp - 0x9c]
inc edi
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x10175ac
mov dword [0x1037578], 1
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
lea edi, [edi + eax*2]
mov dword [ebp - 0x9c], 0x1004b94
call fcn.0101889f
jmp 0x1017531
push 0x1004b0c
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x10175e7
mov dword [0x103607c], ebx
mov dword [0x10375b0], 1
jmp 0x101758c
push 0x1004af8
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x1017620
inc eax
mov dword [0x103607c], eax
mov dword [0x103757c], eax
jmp 0x101758c
push 0x1004af4
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
je 0x1017672
push 0x1004af0
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x101767d
mov dword [0x103607c], ebx
jmp 0x101758c
push 0x1004adc
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x10176bb
mov dword [0x10360b4], ebx
mov dword [0x10375f0], 1
jmp 0x101758c
push 0x1004acc
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x10176f4
inc eax
mov dword [0x10360b4], eax
mov dword [0x10375f0], eax
jmp 0x101758c
push 0x1004ac0
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
push edi
call fcn.01020274
add esp, 0xc
test eax, eax
jne 0x1018251
call fcn.01018488
test eax, eax
je 0x101758c
mov dword [0x10375f4], 1
jmp 0x101758c
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1017792
push edi
lea ecx, [ebp - 0x1cc]
mov dword [0x103607c], ebx
call fcn.0100bc31
mov eax, dword [ebp - 0x1bc]
inc eax
push eax
push 0x2e
lea ecx, [ebp - 0x1cc]
call fcn.0100af11
test eax, eax
jge 0x1017792
lea ecx, [ebp - 0x1cc]
cmp dword [0x10375b0], ebx
je 0x1017788
push 0x10049b4
jmp 0x101778d
push 0x1004ab4
call fcn.0100bc6c
cmp dword [ebp - 0x1bc], ebx
jne 0x10177b9
lea ecx, [ebp - 0x1cc]
cmp dword [0x10375b0], ebx
je 0x10177af
push 0x10049c0
jmp 0x10177b4
push 0x10049d8
call fcn.0100bc31
call fcn.01018488
test eax, eax
je 0x1017993
cmp dword [0x10375f4], ebx
jne 0x1017993
lea ecx, [ebp - 0x9c]
call fcn.0100c141
lea ecx, [ebp - 0x2fc]
call fcn.0100c141
lea ecx, [ebp - 0x134]
call fcn.0100c141
push ebx
push 0x105
lea ecx, [ebp - 0x9c]
call fcn.0100ae4f
push dword [ebp - 0x94]
mov byte [ebp - 0x88], 1
push dword [ebp - 0x90]
call fcn.01018442
pop ecx
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 0x88], bl
call fcn.0100c1b2
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x2fc]
call fcn.01018c97
push 0x1004a14
lea ecx, [ebp - 0x2fc]
call fcn.0100bc6c
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x134]
call fcn.01018c97
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx ecx, word [eax]
cmp cx, 0x22
je 0x1017978
cmp cx, 0x20
jbe 0x1017884
inc eax
inc eax
cmp word [eax], 0x20
ja 0x101787c
push 1
push dword [ebp - 0x128]
push eax
push dword [ebp - 0x2f0]
push ebx
push dword [0x1037580]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x1017922
lea ecx, [ebp - 0x264]
call fcn.0100c141
lea ecx, [ebp - 0x394]
call fcn.0100c141
push 0x104
lea eax, [ebp - 0x264]
push eax
push 0x64
push ebx
call fcn.010184ff
push 0x200
lea eax, [ebp - 0x394]
push eax
push 0x76
push ebx
call fcn.010184ff
add esp, 0x20
push 0x10
push dword [ebp - 0x258]
push dword [ebp - 0x388]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 0x1004b94
lea ecx, [ebp - 0x394]
mov dword [ebp - 0x394], esi
call fcn.0101889f
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], esi
call fcn.0101889f
mov esi, 0x1004b94
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], esi
call fcn.0101889f
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2fc], esi
call fcn.0101889f
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.0101889f
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], esi
call fcn.0101889f
mov eax, ebx
jmp 0x1018335
cmp cx, 0x22
je 0x101798c
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
jne 0x1017972
cmp word [eax], 0x22
jne 0x1017884
inc eax
inc eax
jmp 0x1017884
cmp dword [ebp - 0x39c], ebx
jne 0x1017a92
cmp dword [0x10375f0], ebx
jne 0x1017a92
cmp dword [0x103607c], ebx
je 0x1017a92
cmp dword [0x1037820], ebx
jne 0x1017a92
lea ecx, [ebp - 0x264]
call fcn.0100c141
lea ecx, [ebp - 0x134]
call fcn.0100c141
push 0x104
lea eax, [ebp - 0x264]
push eax
push 0x64
push ebx
call fcn.010184ff
push 0x200
lea eax, [ebp - 0x134]
push eax
push 0x73
push ebx
call fcn.010184ff
add esp, 0x20
push 4
push dword [ebp - 0x258]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
sub eax, 6
neg eax
push ebx
sbb eax, eax
inc eax
mov dword [0x10360b4], eax
lea eax, [ebp - 0x398]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1017a6b
push 4
push 0x10360b4
push 4
push ebx
push 0x10049f0
push dword [ebp - 0x398]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x398]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x1004b94
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], edi
call fcn.0101889f
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], edi
call fcn.0101889f
push dword [0x10360b4]
mov edi, 0x10375f8
mov ecx, edi
call fcn.0100ce33
cmp eax, ebx
jge 0x1017ad3
cmp eax, 0x80080001
jne 0x1017ab3
push 0x70
jmp 0x1017ac0
cmp eax, 0x800401f8
jne 0x1017abe
push 0x6f
jmp 0x1017ac0
push 0x71
call fcn.010156d4
xor ebx, ebx
pop ecx
inc ebx
mov esi, 0x1004b94
jmp 0x101795a
call fcn.01012a51
cmp dword [0x103757c], ebx
je 0x1017cbb
cmp dword [0x1036098], ebx
je 0x1017b48
push ebx
push 1
push 0x2c2
push esi
mov ecx, 0x1004858
mov edx, 0x103759c
call fcn.01014f7e
add esp, 0x10
mov dword [0x1036098], eax
cmp eax, ebx
je 0x1017b48
push 1
push 0x1004858
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.0100f42a
test eax, eax
jge 0x1017b38
push 0x12c
call fcn.010156d4
pop ecx
push 1
push 0x1004858
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x103609c], ebx
je 0x1017bac
push ebx
push 1
push 0x2bc
push esi
mov ecx, 0x10047a8
mov edx, 0x10375a0
call fcn.01014f7e
add esp, 0x10
mov dword [0x103609c], eax
cmp eax, ebx
je 0x1017bac
push 1
push 0x10047a8
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.01010694
test eax, eax
jge 0x1017b9c
push 0x12c
call fcn.010156d4
pop ecx
push 1
push 0x10047a8
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360a0], ebx
je 0x1017c10
push ebx
push 1
push 0x2bd
push esi
mov ecx, 0x10047d4
mov edx, 0x10375a4
call fcn.01014f7e
add esp, 0x10
mov dword [0x10360a0], eax
cmp eax, ebx
je 0x1017c10
push 1
push 0x10047d4
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.0100f518
test eax, eax
jge 0x1017c00
push 0x12d
call fcn.010156d4
pop ecx
push 1
push 0x10047d4
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360ac], ebx
je 0x1017c30
push 1
mov ecx, edi
call fcn.0100f4a1
test eax, eax
jge 0x1017c30
push 0x137
call fcn.010156d4
pop ecx
call fcn.010160f1
call fcn.010161c6
lea ecx, [ebp - 0x264]
call fcn.0100c141
lea ecx, [ebp - 0x134]
call fcn.0100c141
mov esi, 0x104
push esi
lea eax, [ebp - 0x264]
push eax
push 0x64
push ebx
call fcn.010184ff
push esi
lea eax, [ebp - 0x134]
push eax
push 0x1f7
push ebx
call fcn.010184ff
add esp, 0x20
push ebx
push dword [ebp - 0x258]
push dword [ebp - 0x128]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 0x1004b94
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], esi
call fcn.0101889f
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x264], esi
call fcn.0101889f
jmp 0x10181f1
cmp dword [0x103607c], ebx
jne 0x1017e24
cmp dword [0x1036098], ebx
je 0x1017d1c
push ebx
push 1
push 0x2c2
push esi
mov ecx, 0x1004858
mov edx, 0x103759c
call fcn.01014f7e
add esp, 0x10
mov dword [0x1036098], eax
cmp eax, ebx
je 0x1017d1c
push 1
push 0x1004858
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.0100f42a
push 1
push 0x1004858
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x103609c], ebx
je 0x1017d80
push ebx
push 1
push 0x2bc
push esi
mov ecx, 0x10047a8
mov edx, 0x10375a0
call fcn.01014f7e
add esp, 0x10
mov dword [0x103609c], eax
cmp eax, ebx
je 0x1017d80
push 1
push 0x10047a8
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.01010694
test eax, eax
jge 0x1017d70
push 0x12c
call fcn.010156d4
pop ecx
push 1
push 0x10047a8
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360a0], ebx
je 0x1017de4
push ebx
push 1
push 0x2bd
push esi
mov ecx, 0x10047d4
mov edx, 0x10375a4
call fcn.01014f7e
add esp, 0x10
mov dword [0x10360a0], eax
cmp eax, ebx
je 0x1017de4
push 1
push 0x10047d4
push esi
call fcn.010128b0
add esp, 0xc
push 1
mov ecx, edi
call fcn.0100f518
test eax, eax
jge 0x1017dd4
push 0x12d
call fcn.010156d4
pop ecx
push 1
push 0x10047d4
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360ac], ebx
je 0x1017e04
push 1
mov ecx, edi
call fcn.0100f4a1
test eax, eax
jge 0x1017e04
push 0x137
call fcn.010156d4
pop ecx
call fcn.010160f1
push edi
lea eax, [ebp - 0x1cc]
push eax
push dword [0x10375b0]
call fcn.0101e117
add esp, 0xc
jmp 0x10181f1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x10375b8], eax
cmp dword [0x1037828], ebx
je 0x1017ea3
call fcn.01012a51
mov edi, 0x10375f8
mov ecx, edi
call fcn.0100ca8a
mov ecx, edi
call fcn.01010819
mov ecx, edi
call fcn.0100cb06
mov ecx, edi
call fcn.0100cb8e
mov ecx, edi
call fcn.010108e5
mov ecx, edi
call fcn.0100cbf8
mov ecx, edi
call fcn.0100cac8
cmp dword [0x1037838], ebx
je 0x1017ea3
xor edi, edi
inc edi
mov dword [0x1036098], edi
mov dword [0x103609c], edi
mov dword [0x10360a0], edi
mov dword [0x10360a4], edi
mov dword [0x10360a8], edi
mov dword [0x10360ac], edi
jmp 0x1017ea6
xor edi, edi
inc edi
cmp dword [0x1036098], ebx
je 0x1017efa
push ebx
push edi
push 0x2c2
push esi
mov ecx, 0x1004858
mov edx, 0x103759c
call fcn.01014f7e
add esp, 0x10
mov dword [0x1036098], eax
cmp eax, ebx
je 0x1017efa
push edi
push 0x1004858
push esi
call fcn.010128b0
add esp, 0xc
push edi
mov ecx, 0x10375f8
call fcn.0100f42a
push edi
push 0x1004858
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x103609c], ebx
je 0x1017f5d
push ebx
push edi
push 0x2bc
push esi
mov ecx, 0x10047a8
mov edx, 0x10375a0
call fcn.01014f7e
add esp, 0x10
mov dword [0x103609c], eax
cmp eax, ebx
je 0x1017f5d
push edi
push 0x10047a8
push esi
call fcn.010128b0
add esp, 0xc
push edi
mov ecx, 0x10375f8
call fcn.01010694
test eax, eax
jge 0x1017f4e
push 0x12c
call fcn.010156d4
pop ecx
push edi
push 0x10047a8
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360a0], ebx
je 0x1017fc0
push ebx
push edi
push 0x2bd
push esi
mov ecx, 0x10047d4
mov edx, 0x10375a4
call fcn.01014f7e
add esp, 0x10
mov dword [0x10360a0], eax
cmp eax, ebx
je 0x1017fc0
push edi
push 0x10047d4
push esi
call fcn.010128b0
add esp, 0xc
push edi
mov ecx, 0x10375f8
call fcn.0100f518
test eax, eax
jge 0x1017fb1
push 0x12d
call fcn.010156d4
pop ecx
push edi
push 0x10047d4
push esi
call fcn.0101293f
add esp, 0xc
cmp dword [0x10360ac], ebx
je 0x1017fe2
push edi
mov ecx, 0x10375f8
call fcn.0100f4a1
test eax, eax
jge 0x1017fe2
push 0x137
call fcn.010156d4
pop ecx
push 8
mov dword [0x10375bc], ebx
mov dword [0x10375b4], ebx
call fcn.0101e637
pop ecx
cmp eax, ebx
je 0x10181f1
mov ecx, dword [0x10375b4]
push 8
mov dword [eax], 5
mov dword [eax + 4], ecx
mov dword [0x10375b4], eax
call fcn.0101e637
pop ecx
cmp eax, ebx
je 0x10181f1
mov ecx, dword [0x10375b4]
push 8
mov dword [eax], 4
mov dword [eax + 4], ecx
mov dword [0x10375b4], eax
call fcn.0101e637
pop ecx
cmp eax, ebx
je 0x10181f1
mov ecx, dword [0x10375b4]
push 8
mov dword [eax], 3
mov dword [eax + 4], ecx
mov dword [0x10375b4], eax
call fcn.0101e637
pop ecx
cmp eax, ebx
je 0x10181f1
mov ecx, dword [0x10375b4]
push 8
mov dword [eax], 2
mov dword [eax + 4], ecx
mov dword [0x10375b4], eax
call fcn.0101e637
pop ecx
cmp eax, ebx
je 0x10181f1
mov ecx, dword [0x10375b4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [0x10375b4], eax
mov dword [0x10375d0], edi
cmp dword [0x10375c0], ebx
jne 0x10180ef
lea eax, [ebp - 0x3a0]
push eax
push ebx
push ebx
push 0x10170b1
push ebx
push ebx
call fcn.010200cf
add esp, 0x18
mov dword [0x10375c0], eax
jmp 0x10180e7
push ebx
push dword [0x10375c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10180ef
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1037580], ebx
je 0x10180cb
mov edi, 0x1037560
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10375b4]
mov dword [0x10375d0], ebx
cmp eax, ebx
je 0x1018111
mov eax, dword [eax]
mov dword [0x10375d0], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x10375d0], ebx
je 0x101818b
push ebx
push dword [0x10375c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x101818b
mov eax, dword [0x10375d0]
call fcn.010157fd
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x10375b4]
xor ecx, ecx
jmp 0x101815d
mov edx, dword [eax]
cmp edx, dword [0x10375d0]
je 0x1018163
mov ecx, eax
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x101814e
jmp 0x101817f
cmp ecx, ebx
je 0x101816f
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
jmp 0x1018178
mov ecx, dword [eax + 4]
mov dword [0x10375b4], ecx
push eax
call fcn.0101e6a1
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x10180f4
cmp dword [0x1037828], ebx
je 0x10181b6
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [0x10375c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1017e2f
cmp dword [0x1036080], ebx
jne 0x10181d7
push 0x1415
push dword [0x1037584]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push dword [0x10375c0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x10375c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x10375c4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [0x10375dc]
call esi
push dword [0x10375e0]
call esi
push 0x1037560
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x101822c
mov ecx, dword [eax + 4]
push eax
mov dword [0x10375b4], ecx
call fcn.0101e6a1
pop ecx
mov eax, dword [0x10375b4]
cmp eax, ebx
jne 0x101821c
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0x1004b94
call fcn.0101889f
xor eax, eax
jmp 0x1018335
push edi
lea ecx, [ebp - 0x9c]
call fcn.0100bc31
mov eax, dword [ebp - 0x8c]
inc eax
push eax
push 0x20
lea ecx, [ebp - 0x9c]
call fcn.0100af11
cmp eax, 0xffffffff
jle 0x1018283
push eax
lea ecx, [ebp - 0x9c]
call fcn.0100bc9c
lea ecx, [ebp - 0x134]
call fcn.0100c141
lea ecx, [ebp - 0x2fc]
call fcn.0100c141
push 0x104
lea eax, [ebp - 0x134]
push eax
push 0x64
push ebx
call fcn.010184ff
add esp, 0x10
call fcn.01018488
test eax, eax
push 0x200
lea eax, [ebp - 0x2fc]
push eax
je 0x10182c9
push 0x75
jmp 0x10182cb
push 0x66
push ebx
call fcn.010184ff
add esp, 0x10
push 0x30
push dword [ebp - 0x128]
push dword [ebp - 0x2f0]
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, 0x1004b94
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2fc], esi
call fcn.0101889f
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x134], esi
call fcn.0101889f
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
call fcn.0101889f
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], esi
call fcn.0101889f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0101f9b2
leave
ret 0x10