Function at 0x422440
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514ba5
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x563524]
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, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x638], ebx
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 - 0x644]
mov dword [ebp - 0x644], 8
push eax
mov dword [ebp - 0x640], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049ff20
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.pcjiami_setup.log
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x423220
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x634]
call fcn.004046d0
test al, al
jne 0x422552
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422530
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x634]
call fcn.00405ac0
lea eax, [ebp - 0x634]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x56e8a8
call fcn.00436d00
mov edx, dword [ebp - 0x634]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422591
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x56bec4], eax
call fcn.00434c70
push 0x5270f4
push 0
call fcn.004bf766
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x5270f8
call fcn.00437140
add esp, 8
mov ecx, 0x56bec8
push 0
push dword [0x567dc0]
push 0
call fcn.00421f50
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x640], 0
call fcn.00406e70
mov dword [ebp - 4], 2
call fcn.00421ce0
mov ecx, eax
call fcn.00463770
mov eax, dword [0x56bf58]
test al, 1
jne 0x422630
or eax, 1
mov dword [0x56bf58], eax
mov ecx, 0x56bf54
mov byte [ebp - 4], 3
call fcn.0042dac0
push 0x51fd00
call fcn.00473904
add esp, 4
mov byte [ebp - 4], 2
mov ecx, 0x56bf54
call fcn.0042db10
push ebx
call fcn.00421bd0
mov ecx, eax
call fcn.00417f50
push ebx
push str.lpstrCmdLine_s
call fcn.00437140
add esp, 8
call fcn.00421bd0
mov ecx, eax
call fcn.00417b60
push eax
call fcn.00421df0
mov ecx, eax
call fcn.0040e580
push str.install
call fcn.00421df0
mov ecx, eax
call fcn.0040e5f0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0049ff20
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push dword [0x567dc0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
call fcn.00421df0
mov ecx, eax
call fcn.0040e4f0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_start
mov byte [ebp - 4], 4
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e1e0
call fcn.00421bd0
mov ecx, eax
call fcn.004193c0
mov ebx, eax
call fcn.00434c70
mov edi, eax
push edi
mov ecx, dword [edi]
call dword [ecx]
test eax, eax
jne 0x42276f
mov ecx, dword [edi]
lea eax, [ebp - 0x628]
push eax
push str.DLL_NETUL
push 0xcc
push dword [0x567dc0]
push edi
call dword [ecx + 8]
test eax, eax
jne 0x42273d
push str.InitCloudConfig_failed.
call fcn.00437140
add esp, 4
jmp 0x42276f
push str.InitCloudConfig_success.
call fcn.00437140
lea eax, [ebp - 0x628]
mov dword [ebp - 0x62c], esp
mov ecx, esp
push eax
call fcn.004043a0
mov byte [ebp - 4], 5
call fcn.00421bd0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00417e80
cmp dword [0x567dc0], 0
jne 0x422780
test ebx, ebx
jne 0x422780
xor eax, eax
jmp 0x422785
mov eax, 1
push eax
call fcn.0042d000
cmp dword [0x562250], 0
je 0x422830
push 0x523508
mov dword [ebp - 0x62c], 0
xor ebx, ebx
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x630], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x422826
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422802
lea ecx, [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x634]
push ecx
lea ecx, [ebp - 0x62c]
push ecx
call eax
movzx eax, word [ebp - 0x630]
mov ebx, 1
mov dword [ebp - 0x630], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x422826
mov eax, dword [0x56bf5c]
mov ecx, 1
cmp dword [ebp - 0x62c], 6
cmovae eax, ecx
mov dword [0x56bf5c], eax
mov dword [0x562250], 0
cmp dword [0x56bf5c], 0
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jne 0x422893
push str.xp_sp2
call fcn.00437140
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_low_ver
mov byte [ebp - 4], 6
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e1e0
push 0
push 0
push 0x527184
push 0
call fcn.0042d200
jmp 0x422dcc
mov ecx, 0x56bf04
call fcn.004075a0
test eax, eax
jne 0x4228ef
push str.CheckSingleInstance_failed__exit
call fcn.00437140
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.inst_running
mov byte [ebp - 4], 7
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e1e0
push 0
push 0
push 0x527218
push 0
call fcn.0042d200
jmp 0x422dcc
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x42322a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 8
push eax
call fcn.00421310
add esp, 4
test eax, eax
jg 0x42298c
jns 0x42298c
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.old_ver
mov byte [ebp - 4], 9
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e1e0
push 0
push 0
push 0x527244
push 0
call fcn.0042d200
mov edx, dword [ebp - 0x63c]
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x422dcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x422dcc
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x630], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x56bf48]
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 0xa
test ecx, ecx
jne 0x422a0d
push 0x56218c
call edi
cmp dword [0x56bf48], 0
jne 0x4229f4
push 0x1c
call fcn.0042e570
mov edi, eax
add esp, 4
mov dword [ebp - 0x62c], edi
test edi, edi
je 0x4229e6
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call ebx
jmp 0x4229e8
xor edi, edi
mov dword [0x56bf48], edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x56218c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x56bf48]
test ecx, ecx
jne 0x422a0d
xor eax, eax
jmp 0x422a69
mov eax, dword [0x56bf44]
test eax, eax
jne 0x422a69
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x56bf44], 0
jne 0x422a59
push 0x20
call fcn.0042e570
add esp, 4
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x422a47
mov ecx, eax
call fcn.0040d360
mov ecx, eax
jmp 0x422a49
xor ecx, ecx
mov byte [ebp - 4], 0xa
xchg dword [ebp - 0x62c], eax
mov dword [0x56bf44], ecx
mov eax, dword [0x56bf48]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x56bf44]
push 0
push 0
push str.install1_2
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e1e0
mov ecx, dword [0x56bf50]
test ecx, ecx
jne 0x422ae2
push 0x562238
call edi
cmp dword [0x56bf50], 0
jne 0x422ac9
push 0x1c
call fcn.0042e570
mov edi, eax
add esp, 4
mov dword [ebp - 0x62c], edi
test edi, edi
je 0x422abb
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call ebx
jmp 0x422abd
xor edi, edi
mov dword [0x56bf50], edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x562238
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x56bf50]
test ecx, ecx
jne 0x422ae2
xor eax, eax
jmp 0x422b3e
mov eax, dword [0x56bf4c]
test eax, eax
jne 0x422b3e
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x56bf4c], 0
jne 0x422b2e
push 0x64
call fcn.0042e570
add esp, 4
mov dword [ebp - 0x62c], eax
mov byte [ebp - 4], 0xc
test eax, eax
je 0x422b1c
mov ecx, eax
call fcn.004168f0
mov ecx, eax
jmp 0x422b1e
xor ecx, ecx
mov byte [ebp - 4], 8
xchg dword [ebp - 0x62c], eax
mov dword [0x56bf4c], ecx
mov eax, dword [0x56bf50]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x56bf4c]
mov ecx, eax
call fcn.004193c0
test eax, eax
je 0x422fed
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049ff20
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x567dc0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x423234
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x634], eax
mov byte [ebp - 4], 0xd
call fcn.00405300
mov ecx, eax
test ecx, ecx
je 0x42323e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x630]
call fcn.004046d0
test al, al
jne 0x422c02
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422be0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x630]
call fcn.00405ac0
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.00416f50
mov edx, dword [ebp - 0x630]
add esp, 8
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422c3d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [0x56bf50]
test ecx, ecx
jne 0x422c9c
push 0x562238
call edi
cmp dword [0x56bf50], 0
jne 0x422c83
push 0x1c
call fcn.0042e570
mov edi, eax
add esp, 4
mov dword [ebp - 0x630], edi
test edi, edi
je 0x422c7b
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call ebx
jmp 0x422c7d
xor edi, edi
mov dword [0x56bf50], edi
push 0x562238
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x56bf50]
test ecx, ecx
jne 0x422c9c
xor eax, eax
jmp 0x422cf8
mov eax, dword [0x56bf4c]
test eax, eax
jne 0x422cf8
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x56bf4c], 0
jne 0x422ce8
push 0x64
call fcn.0042e570
add esp, 4
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x422cd6
mov ecx, eax
call fcn.004168f0
mov ecx, eax
jmp 0x422cd8
xor ecx, ecx
mov byte [ebp - 4], 0xd
xchg dword [ebp - 0x630], eax
mov dword [0x56bf4c], ecx
mov eax, dword [0x56bf50]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x56bf4c]
mov ecx, eax
call fcn.00417b60
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404810
add eax, 0x10
mov dword [ebp - 0x62c], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 0x11
push eax
push eax
lea eax, [ebp - 0x62c]
push eax
call fcn.00431950
add esp, 0x10
test eax, eax
jne 0x422fab
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 1
push 0
push str.inst_frequency_limit
mov byte [ebp - 4], 0x12
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040e1e0
mov edx, dword [ebp - 0x62c]
mov eax, esi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422d86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x634]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422da7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x63c]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x422dc6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x56bf58]
test al, 1
jne 0x422dfc
or eax, 1
mov dword [0x56bf58], eax
mov ecx, 0x56bf54
mov byte [ebp - 4], 0x17
call fcn.0042dac0
push 0x51fd00
call fcn.00473904
add esp, 4
mov byte [ebp - 4], 2
mov ecx, 0x56bf54
call fcn.0042e080
call fcn.00421ce0
mov ecx, eax
call fcn.004638e0
call fcn.00435710
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.install_end
mov byte [ebp - 4], 0x18
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040e1e0
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x56bf04
call fcn.00407bc0
mov edi, dword [0x567dd0]
add edi, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x56bf00]
test esi, esi
je 0x422ebd
cmp dword [esi + 4], 0
jle 0x422e8b
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x56bf00]
test esi, esi
je 0x422ebd
mov eax, dword [esi]
test eax, eax
je 0x422ea4
push eax
call fcn.004bcaa3
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00473509
add esp, 8
push edi
mov dword [0x56bf00], 0
call ebx
mov esi, dword [0x56befc]
test esi, esi
je 0x422f12
mov eax, dword [esi]
test eax, eax
je 0x422ee9
push eax
call fcn.004bcaa3
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x422f00
push eax
call fcn.004bcaa3
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.00473509
add esp, 8
mov esi, dword [0x56bef4]
test esi, esi
je 0x422f44
cmp dword [esi], 0
je 0x422f44
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x422f2e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x422f21
mov esi, dword [0x567e58]
mov ecx, dword [0x567e5c]
cmp esi, ecx
jae 0x422f6e
mov eax, dword [esi]
test eax, eax
je 0x422f67
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x567e5c]
add esi, 4
cmp esi, ecx
jb 0x422f54
mov ecx, 0x56bec8
call fcn.00424b90
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x648]
call fcn.00406eb0
mov eax, dword [ebp - 0x640]
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.004734f8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x62c]
mov eax, esi
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422fcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x634]
mov eax, esi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x422fed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00422140
test eax, eax
jne 0x423034
mov ecx, 0x56bf04
call fcn.00407bc0
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov byte [ebp - 4], 0x13
push str.fail_init
call fcn.00421df0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e1e0
jmp 0x422da7
call fcn.00434c70
mov edi, eax
push str.SETUPDATA
push 0xd7
push dword [0x567dc0]
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
jne 0x42305c
push str.InitPackInfo_failed__exit
jmp 0x42308d
push str.InitPackInfo_success
call fcn.00437140
mov eax, dword [edi]
add esp, 4
push str.bizhi.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x567dc0]
push edi
call dword [eax + 0xc]
test eax, eax
jne 0x4230e6
push str.InitConfig_failed__exit
call fcn.00437140
add esp, 4
push 0
push 4
push 0x526d90
push 0
call fcn.0042d200
cmp eax, 6
jne 0x4230c2
push 1
push 0
push 0
push str.http:__lanjing.pcjiami.cn
push 0x52359c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x638], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov byte [ebp - 4], 0x14
push str.install_file_fail
jmp 0x42301f
push str.InitConfig_success
call fcn.00437140
sub esp, 0x24
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
mov ecx, dword [0x56bf48]
mov byte [ebp - 4], 0x15
test ecx, ecx
jne 0x42316b
push 0x56218c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x56bf48], 0
jne 0x423150
push 0x1c
call fcn.0042e570
mov edi, eax
add esp, 4
mov dword [ebp - 0x640], edi
test edi, edi
je 0x423148
lea ecx, [edi + 4]
mov dword [edi], vtable._BaseModule::CCriticalSection.0
push ecx
call ebx
jmp 0x42314a
xor edi, edi
mov dword [0x56bf48], edi
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x56218c
call ebx
mov ecx, dword [0x56bf48]
test ecx, ecx
jne 0x423171
xor eax, eax
jmp 0x4231cd
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x56bf44]
test eax, eax
jne 0x4231cd
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x56bf44], 0
jne 0x4231bd
push 0x20
call fcn.0042e570
add esp, 4
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4231ab
mov ecx, eax
call fcn.0040d360
mov ecx, eax
jmp 0x4231ad
xor ecx, ecx
mov byte [ebp - 4], 0x15
xchg dword [ebp - 0x640], eax
mov dword [0x56bf44], ecx
mov eax, dword [0x56bf48]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x56bf44]
push 0
push 0
push str.go_install
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040e1e0
push dword [ebp + 0x14]
push dword [ebp - 0x638]
call fcn.00424660
mov edx, dword [ebp - 0x63c]
add esp, 8
mov dword [ebp - 0x640], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x422dcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x422dcc
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
push 0x80004005
call fcn.004046b0
int3