joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cc70
Capabilities:
Create thread

Disassembly:
mov eax, dword [ecx + 0x5f90]
test eax, eax
je 0x41cc7f
xor eax, eax
ret 4
mov eax, dword [esp + 4]
lea edx, [esp + 4]
push edx
push 0
push ecx
push 0x410970
push 0
push 0
mov dword [ecx + 0x5f90], eax
mov dword [esp + 0x1c], 0
call fcn.0045233c
add esp, 0x18
test eax, eax
jne 0x41ccc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4732cc
call fcn.00446e00
add esp, 8
xor eax, eax
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 4

Function at 0x41cce0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x482b84]
sub esp, 0x214
test eax, eax
push ebx
mov ebx, ecx
je 0x41ce9a
mov eax, dword [0x481a98]
test eax, eax
jne 0x41ce9a
mov eax, dword [ebx + 0x4e00]
test eax, eax
jne 0x41cd22
call fcn.0042c3e0
test eax, eax
jne 0x41cd1b
call fcn.0042c480
mov ecx, ebx
call fcn.0041cfe0
call fcn.0042b620
test eax, eax
mov dword [esp + 4], eax
je 0x41cd39
push 0
call fcn.0042b5e0
add esp, 4
push ebp
push esi
push edi
lea esi, [ebx + 0x4f08]
push 0x105
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call ebp
mov cl, byte [eax + ebx + 0x4f07]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x41cd71
push 0x4695f4
push esi
call edi
push 0x473330
push esi
call edi
mov dl, byte [0x481910]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
mov byte [esp + 0x11c], dl
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x11d]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebx + 0x2c44]
lea ecx, [esp + 0x14]
push eax
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebp
test eax, eax
jne 0x41cdd3
mov ecx, ebx
call fcn.00408e40
push eax
lea eax, [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call ebp
test eax, eax
jne 0x41cded
mov ecx, ebx
call fcn.00408e30
lea edx, [esp + 0x14]
push eax
push edx
call edi
mov eax, dword [ebx + 0x20c8]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea ecx, [esp + 0x120]
push 0x47332c
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea edx, [esp + 0x11c]
lea eax, [esp + 0x14]
push esi
push edx
push 0x473328
push eax
call edi
test eax, eax
jne 0x41ce48
call fcn.00445b80
test eax, eax
je 0x41ce48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x473304
call fcn.00446e00
add esp, 8
push 0x14
lea ecx, [esp + 0x120]
push 0x47332c
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x11c]
lea eax, [esp + 0x14]
push esi
push edx
push 0x4732fc
push eax
call edi
add ebx, 0x4e04
push esi
push ebx
lea ecx, [esp + 0x1c]
push 0x4732f4
push ecx
call edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
test eax, eax
je 0x41ce9a
push 1
call fcn.0042b5e0
add esp, 4
pop ebx
add esp, 0x214
ret
Function at 0x41ceb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, ecx
call fcn.004457a0
test eax, eax
je 0x41cecf
mov eax, dword [0x481a98]
test eax, eax
je 0x41cfd1
call fcn.0042b620
test eax, eax
mov dword [esp + 4], eax
je 0x41cee6
push 0
call fcn.0042b5e0
add esp, 4
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
lea esi, [ebx + 0x4f08]
push edi
push esi
call ebp
test eax, eax
jne 0x41cf2d
push 0x105
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
call ebp
mov cl, byte [eax + ebx + 0x4f07]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x41cf25
push 0x4695f4
push esi
call edi
push 0x473330
push esi
call edi
mov al, byte [0x481910]
mov ecx, 0x41
mov byte [esp + 0x14], al
xor eax, eax
lea edi, [esp + 0x15]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebx + 0x2c44]
push ecx
push edx
call edi
lea eax, [esp + 0x14]
push eax
call ebp
test eax, eax
jne 0x41cf71
mov ecx, ebx
call fcn.00408e40
lea ecx, [esp + 0x14]
push eax
push ecx
call edi
lea edx, [esp + 0x14]
push edx
call ebp
test eax, eax
jne 0x41cf8b
mov ecx, ebx
call fcn.00408e30
push eax
lea eax, [esp + 0x18]
push eax
call edi
push esi
push 0
lea ecx, [esp + 0x1c]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
pop esi
test eax, eax
pop ebp
jne 0x41cfbf
call fcn.00445b80
test eax, eax
je 0x41cfbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x473348
call fcn.00446e00
add esp, 8
mov eax, dword [esp + 4]
test eax, eax
je 0x41cfd1
push 1
call fcn.0042b5e0
add esp, 4
pop ebx
add esp, 0x10c
ret
Function at 0x41cfe0
Capabilities:
Create thread

Disassembly:
sub esp, 0x24
push ebp
mov ebp, ecx
lea eax, [esp + 0x14]
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x4e00]
test eax, eax
mov dword [esp + 0x10], 1
jne 0x41d126
push ebx
push esi
push edi
call fcn.00445710
test eax, eax
lea edi, [ebp + 0x4e04]
push 0x14
je 0x41d02e
mov ecx, dword [ebp + 0x20c8]
push ecx
push 0x473378
jmp 0x41d03a
mov edx, dword [ebp + 0x20c8]
push edx
push 0x47336c
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0x4e00]
add esp, 0x10
test eax, eax
jne 0x41d0f7
push 1
push 0x46efbc
call fcn.0043d810
add esp, 8
test eax, eax
jne 0x41d06c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [esp + 0x20]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x41d0f7
push 0
push 0
lea ecx, [esp + 0x28]
push 1
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x41d0f7
push edi
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
test esi, esi
jne 0x41d0cc
mov ebx, dword [sym.imp.KERNEL32.dll_OpenEventA]
push edi
push eax
push 0x1f0003
call ebx
mov esi, eax
test esi, esi
jne 0x41d0cc
push edi
push eax
push 0x100000
call ebx
mov esi, eax
test esi, esi
je 0x41d0f7
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 1
lea eax, [ebp + 0x4e00]
push 0
push eax
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test esi, esi
je 0x41d0f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebp
push 0x41d660
push 0
push 0
call fcn.0045233c
add esp, 0x18
test eax, eax
pop edi
pop esi
pop ebx
je 0x41d126
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
add esp, 0x24
ret
Function at 0x41d3d0
Capabilities:
Create thread

Disassembly:
sub esp, 0x114
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0x5f70]
xor edi, edi
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0x2074], edi
jne 0x41d404
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
cmp dword [ebp + 0x2070], edi
jne 0x41d41a
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
cmp dword [ebp + 0x20d0], edi
jne 0x41d430
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
mov ecx, ebp
call fcn.00411a20
mov eax, dword [esp + 0x124]
push edi
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
cmp ax, 0xffff
jne 0x41d464
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x114
ret 4
cmp ax, di
jbe 0x41d55d
and eax, 0xffff
push ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x128]
lea ecx, [esp + 0x1c]
push 0x106
push ecx
push edx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileA]
test eax, eax
jbe 0x41d510
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 2
push esi
call fcn.00451b7b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41d510
lea edx, [esp + 0x1c]
push esi
push edx
push ebx
call fcn.0042f1a0
mov esi, dword [ebp + 0x575c]
push 0xc
mov edi, dword [esi + 4]
call fcn.00451b7b
add esp, 0x10
mov ecx, esi
test esi, esi
jne 0x41d4e2
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x41d4ea
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x41d4fe
mov dword [eax], ebx
mov eax, dword [ebp + 0x5760]
mov edi, 1
inc eax
mov dword [ebp + 0x5760], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x41d47b
test edi, edi
pop ebx
je 0x41d55d
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push 0
push ebp
push 0x447080
push 0
push 0
call fcn.0045233c
add esp, 0x18
test eax, eax
jne 0x41d556
xor edi, edi
jmp 0x41d55d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x114
ret 4
Function at 0x41e300
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b878
push eax
mov dword fs:[0], esp
mov al, byte [ecx + 0x1588]
sub esp, 0x1c
test al, al
push esi
lea esi, [ecx + 0x1588]
jne 0x41e3b9
push 0x104
push esi
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x41e3b9
lea ecx, [esp + 4]
call fcn.00448b20
push 1
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call fcn.00448ba0
test eax, eax
je 0x41e3a8
push 0
push 0x473430
lea ecx, [esp + 0xc]
call fcn.004490e0
lea ecx, [esp + 4]
call fcn.00449470
cmp byte [eax], 0
je 0x41e38f
test eax, eax
je 0x41e38f
push 0x104
push eax
push esi
call fcn.0042f1a0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.00448c80
push 0
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.00448b80
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x41e5d0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x17c8], eax
mov eax, dword [esi + 8]
test eax, eax
mov dword [esi + 0x17c4], edi
je 0x41e5f9
push eax
call ebx
cmp edi, 5
je 0x41e616
cmp edi, 1
je 0x41e616
mov esi, dword [esi + 0x2b34]
test esi, esi
je 0x41e642
push esi
call ebx
pop edi
pop esi
pop ebx
ret 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0
push esi
push 0x41e530
push 0
push 0
call fcn.0045233c
add esp, 0x18
test eax, eax
je 0x41e642
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret 8

Function at 0x41e750
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x50]
lea edi, [ebx + 0x50]
test eax, eax
jne 0x41e7b3
lea eax, [esp + 0xc]
push eax
push 0
push ebx
push 0x438a80
push 0
push 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
je 0x41e7a4
push 2
push 0
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
push esi
jne 0x41e7ad
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004457a0
test eax, eax
je 0x41e7d1
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call fcn.00433710
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov edx, dword [esp + 0x14]
push edx
call fcn.00430ef0
add esp, 4
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x41e7f0
Capabilities:
Create thread

Disassembly:
push ecx
mov eax, dword [ecx + 0x50]
push esi
push edi
lea edi, [ecx + 0x50]
test eax, eax
jne 0x41e851
lea eax, [esp + 8]
push eax
push 0
push ecx
push 0x438a80
push 0
push 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41e820
pop edi
pop esi
pop ecx
ret
push 2
push 0
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
push esi
jne 0x41e84b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x41e860
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x438f10
push 0
push 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x41e888
pop edi
pop esi
pop ecx
ret
push 2
push 0
add edi, 0x58
push 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
push esi
jne 0x41e8b6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x41ed00
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
mov ebx, ecx
test eax, eax
mov dword [ebx + 0x394], eax
je 0x41ee41
mov eax, dword [0x485b0c]
test eax, eax
jne 0x41ee41
mov eax, dword [0x485b08]
test eax, eax
je 0x41ee41
call fcn.004457a0
test eax, eax
je 0x41ed46
mov eax, dword [0x481a98]
test eax, eax
je 0x41ee41
push ebp
push esi
lea ebp, [ebx + 0x2cf4]
push edi
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x44]
lea esi, [ebx + 0x44]
test eax, eax
jne 0x41ee29
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 4
push ebx
push 0x41ea70
push 0
push 0
call fcn.0045233c
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x41eda8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4734bc
call fcn.00446cb0
add esp, 8
jmp 0x41ee29
push 2
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x41ede5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x47347c
call fcn.00446cb0
add esp, 8
push edi
call ebp
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
push 0
call esi
push 0
call esi
push edi
call ebp
mov eax, dword [ebx + 0x48]
xor edi, edi
test eax, eax
jne 0x41ee25
mov ecx, edi
inc edi
cmp ecx, 0xa
jge 0x41ee25
push 0
call esi
push 0xa
call esi
push 0
call esi
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x41ee0a
mov ebp, dword [esp + 0x10]
mov ebx, dword [ebx + 0x48]
test ebx, ebx
je 0x41ee37
push ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x41f890
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b8db
push eax
mov eax, dword [0x485b08]
mov dword fs:[0], esp
sub esp, 8
test eax, eax
push ebx
push esi
push edi
mov ebx, ecx
je 0x41f95c
mov eax, dword [0x485b0c]
test eax, eax
jne 0x41f95c
lea edi, [ebx + 0x2cf4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x33c
call fcn.00451b7b
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x1c], 0
je 0x41f8fc
mov ecx, eax
call fcn.00434600
mov esi, eax
jmp 0x41f8fe
xor esi, esi
test esi, esi
mov dword [esp + 0x1c], 0xffffffff
je 0x41f955
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esi + 8], eax
je 0x41f934
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x41f934
mov ecx, dword [eax + 0x108]
add eax, 4
lea edx, [esi + 0x10]
push eax
push edx
mov dword [esi + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi]
push ecx
push ebx
mov ecx, esi
call dword [eax + 8]
test eax, eax
jne 0x41f972
mov ecx, esi
call fcn.00434670
push esi
call fcn.00451f5e
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push 0
push esi
push 0x4351a0
push 0
push 0
call fcn.0045233c
add esp, 0x18
test eax, eax
je 0x41f99e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc
Function at 0x41fba0
Capabilities:
Create thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45b91b
push eax
mov eax, dword [0x485b08]
mov dword fs:[0], esp
sub esp, 8
push esi
xor esi, esi
push edi
cmp eax, esi
mov edi, ecx
je 0x41fcfc
cmp dword [0x485b0c], esi
jne 0x41fcfc
lea eax, [edi + 0x2cf4]
push ebp
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x14
call fcn.00451b7b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov dword [esp + 0x1c], esi
je 0x41fc0a
mov ecx, eax
call fcn.00449800
mov ebp, eax
jmp 0x41fc0c
xor ebp, ebp
cmp ebp, esi
mov dword [esp + 0x1c], 0xffffffff
je 0x41fcdb
mov eax, dword [esp + 0x24]
mov ecx, ebp
push eax
push edi
call fcn.00449850
test eax, eax
je 0x41fccb
mov esi, dword [edi + 0x2cd4]
push ebx
push 0xc
mov ebx, dword [esi + 4]
call fcn.00451b7b
add esp, 4
mov ecx, esi
test esi, esi
jne 0x41fc4d
mov ecx, eax
mov dword [eax], ecx
mov ecx, ebx
test ebx, ebx
jne 0x41fc57
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
test eax, eax
je 0x41fc6b
mov dword [eax], ebp
mov ebx, dword [edi + 0x2cd8]
lea edx, [esp + 0x28]
push edx
push 0
push ebp
push 0x42a040
inc ebx
push 0
push 0
mov dword [edi + 0x2cd8], ebx
mov esi, 1
mov dword [esp + 0x40], 0
call fcn.0045233c
add esp, 0x18
test eax, eax
pop ebx
je 0x41fcdb
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov ecx, ebp
call fcn.00449820
push ebp
call fcn.00451f5e
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
mov ecx, dword [esp + 0x10]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x41fd20
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [0x485b08]
sub esp, 0x108
test eax, eax
push esi
mov esi, ecx
je 0x41fe18
mov eax, dword [0x485b0c]
test eax, eax
jne 0x41fe18
mov eax, dword [esi + 0x2cb4]
test eax, eax
jne 0x41fe18
push edi
push 0
mov dword [esi + 0x1120], 0
call fcn.00425d10
push 0
mov ecx, esi
call fcn.0041ed00
mov ecx, esi
mov dword [esi + 0x394], 1
mov dword [esi + 0x388], 0
mov dword [esi + 0x1560], 0
call fcn.004255b0
mov al, byte [0x481910]
mov ecx, 0x41
mov byte [esp + 8], al
xor eax, eax
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
call fcn.0042b620
mov esi, eax
test esi, esi
je 0x41fdbc
push 0
call fcn.0042b5e0
add esp, 4
lea ecx, [esp + 8]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 7]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp cl, 0x5c
je 0x41fdf2
lea eax, [esp + 8]
push 0x4695f4
push eax
call edi
lea ecx, [esp + 8]
push 0x473388
push ecx
call edi
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
pop edi
je 0x41fe18
push 1
call fcn.0042b5e0
add esp, 4
pop esi
add esp, 0x108
ret
Function at 0x420d20
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push 0
push 0
push 0x12
mov eax, dword [esi + 0x1574]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x5a4
jne 0x420d4f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x485b10]
test eax, eax
je 0x420d7b
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x485b10], 0
mov dword [0x485b14], 0
mov eax, dword [0x481bac]
test eax, eax
je 0x420da5
lea ecx, [esp + 8]
push ecx
push 4
push esi
push 0x4244c0
push 0
push 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
je 0x420df8
jmp 0x420dcd
mov eax, dword [0x481ba4]
test eax, eax
je 0x420df8
lea edx, [esp + 8]
push edx
push 4
push esi
push 0x424140
push 0
push 0
call fcn.0045233c
mov esi, eax
add esp, 0x18
test esi, esi
je 0x420de8
push 0xfffffffffffffff1
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret
call ebx
push eax
push 0x47356c
call fcn.00446e00
add esp, 8
pop esi
pop ebx
pop ecx
ret

Function at 0x4210c0
Capabilities:
Create thread
Resume thread
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x1580]
lea esi, [edi + 0x1580]
test eax, eax
je 0x4210ef
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi]
push eax
call ebx
mov dword [esi], 0
lea eax, [edi + 0x1574]
push eax
push 4
push edi
push 0x424650
push 0
push 0
mov dword [eax], 0
call fcn.0045233c
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x421130
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x473614
call fcn.00446e00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 2
push 0
push 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x42116b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4735d8
call fcn.00446e00
add esp, 8
push edi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
ret
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call ebx
pop edi
pop esi
mov eax, 1
pop ebx
ret