Function at 0x4398e0
Capabilities:
Check if file exists
Check mutex on windows
Create thread
Get file size
Read .ini file
Read file on windows
Resolve function by parsing pe exports
Suspend thread

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x464136
push eax
mov eax, 0x1180
mov dword fs:[0], esp
call fcn.00454ff0
mov eax, dword [esp + 0x1190]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push eax
mov ecx, 0x47a9a8
mov dword [esp + 0x2c], ebx
call fcn.0040dbe0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x7a]
mov word [esp + 0x78], bx
rep stosd dword es:[edi], eax
push str.scan_log.dat
lea ecx, [esp + 0x7c]
push 0x47afc0
push ecx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439a87
push ebx
push ebx
push 3
push ebx
push 1
lea eax, [esp + 0x8c]
push SysReAllocString
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x439a87
push ebx
push esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.00455403
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x4399ae
lea ecx, [esp + 0x20]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x439a78
test edi, edi
jbe 0x439a78
mov eax, dword [esp + 0x20]
cmp edi, eax
jne 0x439a78
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x24]
push edx
lea edx, [esp + 0x18]
push ecx
push edx
push 0x53494c53
push eax
mov eax, dword [esp + 0x24]
mov ecx, 0x47b630
push eax
call fcn.00412ee0
test eax, eax
je 0x439a78
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439a78
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
lea ebx, [ecx + edx]
jbe 0x439a78
mov edx, dword [esp + 0x24]
mov ecx, 0x239
xor eax, eax
lea edi, [esp + 0x8ac]
cmp edx, 0x8e4
rep stosd dword es:[edi], eax
mov ecx, edx
jb 0x439a37
mov ecx, 0x8e4
mov eax, ecx
mov esi, ebx
lea edi, [esp + 0x8ac]
mov edx, dword [0x47b63c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8ac]
push ecx
push 1
push edx
mov ecx, 0x47b634
call fcn.0043bad0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add ebx, edx
inc ebp
cmp ebp, eax
jb 0x439a18
mov eax, dword [esp + 0x10]
push eax
call fcn.004535f0
add esp, 4
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x7a]
mov word [esp + 0x78], bx
rep stosd dword es:[edi], eax
push str.inject_log.dat
lea ecx, [esp + 0x7c]
push 0x47afc0
push ecx
stosw word es:[edi], ax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x78]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439bf3
push ebx
push ebx
push 3
push ebx
push 1
lea eax, [esp + 0x8c]
push SysReAllocString
push eax
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x439bf3
push ebx
push esi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call fcn.00455403
add esp, 4
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x439b1a
lea ecx, [esp + 0x1c]
push ebx
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebp, ebx
je 0x439be4
test edi, edi
jbe 0x439be4
mov eax, dword [esp + 0x1c]
cmp edi, eax
jne 0x439be4
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
push edx
lea edx, [esp + 0x18]
push ecx
push edx
push 0x53494c49
push eax
mov eax, dword [esp + 0x24]
mov ecx, 0x47b630
push eax
call fcn.00412ee0
test eax, eax
je 0x439be4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x439be4
mov ecx, dword [esp + 0x14]
mov edx, eax
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
lea ebx, [ecx + edx]
jbe 0x439be4
mov edx, dword [esp + 0x24]
mov ecx, 0x1a2
xor eax, eax
lea edi, [esp + 0x8ac]
cmp edx, 0x688
rep stosd dword es:[edi], eax
jb 0x439ba1
mov edx, 0x688
mov ecx, edx
mov esi, ebx
mov eax, ecx
lea edi, [esp + 0x8ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov edx, dword [0x47b64c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8ac]
push ecx
push 1
push edx
mov ecx, 0x47b644
call fcn.0043be00
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add ebx, edx
inc ebp
cmp ebp, eax
jb 0x439b84
mov eax, dword [esp + 0x10]
push eax
call fcn.004535f0
add esp, 4
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0x404
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov dword [0x47b810], 0x473e18
mov dword [0x47a158], 0x47b7a0
mov edx, dword [esp + 0x11a0]
mov dword [0x47b7a0], 0x84
push edx
push ebx
push 0x47b7a0
mov dword [0x47b804], 0x300
call fcn.0043a650
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0xc
mov dword [0x47b824], eax
mov dword [0x47b828], ebx
call fcn.00455403
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x1198], ebx
je 0x439c8d
mov ecx, eax
call fcn.0043a900
jmp 0x439c8f
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x1198], 0xffffffff
mov dword [0x47b828], eax
je 0x439ca9
mov dword [0x47b82c], ebx
mov edi, dword [esp + 0x11a8]
mov ebp, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x4744e4
push edi
call ebp
test eax, eax
jbe 0x439ce5
push str.SafeBoxKrnl
call fcn.00435b10
add esp, 4
test eax, eax
mov eax, 0x457
jne 0x43a630
mov eax, dword [esp + 0x28]
jmp 0x43a630
push 0x4749d8
push edi
call ebp
test eax, eax
jbe 0x439e94
mov eax, dword [0x46f42c]
mov dword [esp + 0x28], 0x4bc
mov dword [esp + 0x10], eax
push ebx
push str.360SafeBoxTrayWnd
mov dword [esp + 0x11a0], 1
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x20], eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.ProtectSelf
push str.protect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.00408010
cmp ebp, ebx
je 0x439da4
mov edx, 0x474954
test edx, edx
jne 0x439d5f
xor esi, esi
jmp 0x439d6c
push 0x474954
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push esi
lea ecx, [esp + 0x14]
call fcn.00408340
test eax, eax
je 0x439da4
mov ecx, dword [esp + 0x10]
lea edi, [esi + esi]
push edi
lea eax, [esi + esi + 2]
push 0x474954
push eax
push ecx
call fcn.00407060
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx - 8], esi
mov eax, dword [esp + 0x10]
mov word [edi + eax], bx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x439e2b
cmp ebp, ebx
je 0x439e2b
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x474310
call fcn.00407200
push ecx
mov byte [esp + 0x11a4], 2
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x47430c
call fcn.00407200
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x11ac], 3
call fcn.00407110
push ecx
mov byte [esp + 0x11ac], 4
mov ecx, esp
mov dword [esp + 0x34], esp
push str.360
call fcn.00407200
push ebx
mov byte [esp + 0x11b0], 1
call fcn.0043b010
add esp, 0x18
cmp eax, 2
jne 0x439e2b
mov esi, 0x4bb
jmp 0x439e50
push ebx
call fcn.00432e80
push str.SafeBoxKrnl
call fcn.00435bf0
add esp, 8
push ebx
push ebx
push 0x5f5
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, dword [esp + 0x28]
push ebx
push 0x57f
call fcn.004045c0
mov eax, dword [esp + 0x18]
mov edx, dword [0x46f430]
add esp, 8
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x439e8d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x439e8d
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004535f0
add esp, 4
mov eax, esi
jmp 0x43a630
push str._360uninst
push edi
call ebp
test eax, eax
jbe 0x439eaa
mov eax, 0x4bc
jmp 0x43a630
push str._360inst
push edi
call ebp
test eax, eax
jbe 0x439ee3
push 1
mov esi, 0x4bc
call fcn.00433170
add esp, 4
test eax, eax
je 0x439ece
mov esi, 0x4bb
push ebx
push 0x57f
call fcn.004045c0
add esp, 8
mov eax, esi
jmp 0x43a630
push 0x47490c
push edi
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jbe 0x439f26
lea eax, [esp + 0x14]
push eax
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.SoftProtect
push str.main
call ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00408010
test esi, esi
je 0x43a62e
push str._runas
push edi
call ebp
test eax, eax
jbe 0x439f41
push 0
call fcn.00403a80
add esp, 4
jmp 0x43a62e
push str._brunas
push edi
call ebp
test eax, eax
jbe 0x439f5c
push 1
call fcn.00403a80
add esp, 4
jmp 0x43a62e
push str.360SAFEBOXTRAY
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x439f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x43a62e
call fcn.00439440
call fcn.00439620
test eax, eax
je 0x43a62e
push str.RICHED32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x20], eax
call fcn.004394b0
call fcn.004394f0
call fcn.00406660
call fcn.00439570
test eax, eax
je 0x43a62e
call fcn.00435c60
mov ecx, dword [0x47b7a4]
mov esi, 1
push ecx
call fcn.00405c00
add esp, 4
test eax, eax
jne 0x43a009
xor esi, esi
push esi
push 0x9f
push 0x9e
push 0xc6
push 0x79
push esi
call fcn.0043ac60
add esp, 0x18
cmp eax, 1
jne 0x43a009
push str.http:__www.360.cn
call fcn.00401ea0
add esp, 4
push str.360SafeBoxFillDataComplete
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x43a027
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call fcn.00433640
test eax, eax
jne 0x43a056
push 1
push 0x79
push 0x9b
push eax
call fcn.0043b230
add esp, 0x10
test edi, edi
je 0x43a62e
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x43a62e
test esi, esi
je 0x43a067
call fcn.004338f0
test eax, eax
jne 0x43a116
lea edx, [esp + 0x14]
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 1
push str.ProtectType
push str.main
call ebx
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.00408010
cmp esi, 1
jne 0x43a0af
call fcn.00404010
test eax, eax
jne 0x43a0af
push esi
push 0x79
push 0xc7
push eax
call fcn.0043b230
add esp, 0x10
mov eax, dword [0x46f42c]
mov dword [esp + 0x28], eax
push 0
lea ecx, [esp + 0x2c]
push 0x46f644
push ecx
mov dword [esp + 0x11a4], 5
call fcn.004076f0
lea edx, [esp + 0x20]
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 0x10
push eax
mov eax, dword [esp + 0x2c]
push eax
push str.InitSuc
push str.protect
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x14]
call fcn.00408010
lea ecx, [esp + 0x28]
mov dword [esp + 0x1198], 0xffffffff
call fcn.00408010
test edi, edi
je 0x43a121
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [esp + 0x280]
call fcn.00413e80
lea ecx, [esp + 0x280]
mov dword [esp + 0x1198], 6
mov dword [esp + 0x288], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x47b7d4
mov dword [esp + 0x290], eax
call esi
mov edx, dword [0x47b808]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x288]
push 0x47b7d4
mov dword [esp + 0x294], edx
mov dword [0x47b808], eax
call edi
mov eax, dword [0x47b7a8]
push 0
push 0x4096e0
push 0
push 0xd9
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
test eax, eax
jne 0x43a214
mov ecx, dword [0x47a158]
add ecx, 0x1c
push ecx
call esi
mov ecx, dword [0x47b82c]
test ecx, ecx
je 0x43a1dd
mov eax, dword [ecx + 4]
test eax, eax
jle 0x43a1d2
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x47b82c]
test ecx, ecx
je 0x43a1dd
push 1
call fcn.0043a800
mov ecx, dword [0x47a158]
mov dword [0x47b82c], 0
add ecx, 0x1c
push ecx
call edi
mov ecx, dword [0x47b828]
test ecx, ecx
je 0x43a204
push 1
call fcn.0043a7b0
push 0x47b7a0
call fcn.0043a6e0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.004335b0
mov ecx, 0x47b780
call fcn.004438e0
mov edx, dword [0x47b85c]
mov ecx, dword [edx + 8]
call fcn.0040b6d0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43a35e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push ebx
mov ecx, 0x47b780
call fcn.004444b0
mov eax, dword [0x47b85c]
mov edx, ebx
mov ecx, dword [eax + 8]
call fcn.0040b460
test eax, eax
je 0x43a267
lea esi, [eax + 0x10]
jmp 0x43a269
xor esi, esi
push esi
call edi
cmp eax, 0x26
jne 0x43a343
push ebx
call fcn.0043a880
mov eax, dword [esi + 0x9a4]
add esp, 4
cmp eax, 2
je 0x43a343
mov ecx, dword [0x46f42c]
mov dword [esp + 0x18], ecx
test esi, esi
mov byte [esp + 0x1198], 7
mov dword [esp + 0x14], ebx
jne 0x43a2ab
xor ebp, ebp
jmp 0x43a2b0
push esi
call edi
mov ebp, eax
push ebp
lea ecx, [esp + 0x1c]
call fcn.00408340
test eax, eax
je 0x43a2f5
lea eax, [ebp + ebp]
lea edx, [ebp + ebp + 2]
cmp edx, eax
jb 0x43a2e4
mov edi, dword [esp + 0x18]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], ebp
mov edx, dword [esp + 0x18]
mov word [eax + edx], 0
mov eax, dword [0x47b798]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
mov ecx, 0x47b790
call fcn.0043b700
mov ecx, dword [0x46f430]
mov byte [esp + 0x1198], 6
mov eax, dword [esp + 0x18]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43a343
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43a343
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.004535f0
add esp, 4
mov ecx, dword [0x47b85c]
mov edx, ebx
mov ecx, dword [ecx + 8]
call fcn.0040b730
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x43a242
mov ecx, 0x47b780
call fcn.00443910
mov ecx, 0x47b780
call fcn.00444330
mov edx, dword [esp + 0x284]
push edx
call fcn.00433a70
lea eax, [esp + 0x3c]
xor esi, esi
push eax
push esi
push esi
push 0x4370b0
push esi
push esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
call fcn.004555fa
lea ecx, [esp + 0x58]
mov edi, eax
push ecx
push esi
push esi
push 0x437810
push esi
push esi
call fcn.004555fa
lea edx, [esp + 0x68]
mov ebp, eax
push edx
push esi
push esi
push 0x438a80
push esi
push esi
call fcn.004555fa
add esp, 0x4c
mov ebx, eax
lea eax, [esp + 0x30]
push eax
push esi
push esi
push 0x437a80
push esi
push esi
call fcn.004555fa
add esp, 0x18
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_CreateTimerQueue]
push 0x10
push 0x6ddd00
push 0x2bf20
mov esi, eax
push 0
push 0x4360b0
lea ecx, [esp + 0x40]
push esi
push ecx
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
lea edx, [esp + 0x14]
push edx
call fcn.00408910
mov eax, dword [eax]
add esp, 4
push eax
push 0
push str.AntiCF
push str.protect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], eax
call fcn.00408010
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43a458
call fcn.00406ce0
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
lea ecx, [esp + 0x44]
call fcn.0043a900
lea ecx, [esp + 0x50]
call fcn.0043a900
mov dword [esp + 0x40], 0x466964
mov eax, dword [0x47a158]
mov byte [esp + 0x1198], 8
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x47b828]
push eax
call fcn.0043a970
mov edx, dword [0x47a158]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x40]
call fcn.00435e60
mov dword [esp + 0x1c], 1
push 1
push 0
push 0
lea eax, [esp + 0x68]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x43a4f9
mov eax, dword [esp + 0x1c]
mov ecx, eax
inc eax
cmp ecx, 0x64
mov dword [esp + 0x1c], eax
jl 0x43a4d2
mov ecx, 0x47b7a0
call fcn.00436e90
lea ecx, [esp + 0x40]
mov byte [esp + 0x1198], 6
call fcn.00434800
push str.SafeBoxKrnl
call fcn.00435b10
mov edx, dword [esp + 0x38]
add esp, 4
push 0
push 0
push 0x12
push edx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0
push 0
mov eax, dword [esp + 0x38]
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0
mov ecx, dword [esp + 0x30]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_SuspendThread]
push edi
call esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push ebp
call esi
push ebp
call edi
push ebx
call esi
push ebx
call edi
mov ebx, dword [esp + 0x24]
push ebx
call esi
push ebx
call edi
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x47a158]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x47b82c]
test ecx, ecx
je 0x43a5dc
mov eax, dword [ecx + 4]
test eax, eax
jle 0x43a5d1
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x47b82c]
test ecx, ecx
je 0x43a5dc
push 1
call fcn.0043a800
mov ecx, dword [0x47a158]
mov dword [0x47b82c], 0
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x47b828]
test ecx, ecx
je 0x43a607
push 1
call fcn.0043a7b0
push 0x47b7a0
call fcn.0043a6e0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x280]
mov dword [esp + 0x1198], 0xffffffff
call fcn.00414290
xor eax, eax
mov ecx, dword [esp + 0x1190]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118c
ret 0x10