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

Disassembly:
push 0x224
mov eax, 0x60025c
call fcn.004db4be
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
xor edi, edi
mov dword [ebp - 0x224], edi
lea eax, [ebp - 0x224]
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x4790e0
push edi
push edi
push 0xb
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x636188
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], edi
call fcn.0040d2ee
push 0x43
pop ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x228], ebx
lea ecx, [ebp - 0x230]
call fcn.0040f41c
mov esi, dword [ebp - 0x230]
push esi
mov word [esi], bx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x479088
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x21c]
push edi
push edx
push edi
push esi
push edi
mov dword [ebp - 0x21c], edi
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x479088
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004e0bc0
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
mov ecx, dword [ebp - 0x224]
add esp, 0xc
push edi
push 0x104
push eax
call fcn.005c3b9c
mov ecx, dword [ebp - 0x21c]
push edi
call fcn.005c3b1a
push ecx
push eax
push ecx
push ecx
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x220]
add ecx, 0x58
push 3
call fcn.0041cc62
push dword [ebp - 0x228]
inc dword [ebp - 0x220]
push ecx
push ecx
mov ecx, dword [ebp - 0x22c]
push edi
push edi
push 4
push edi
push eax
lea ecx, [ecx + 0x58]
call fcn.0041c87a
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_ILFree]
inc ebx
inc dword [ebp - 0x228]
cmp bx, 0x5a
jbe 0x478fb0
mov ebx, dword [ebp - 0x22c]
push 0xfffe
push edi
push 0x101e
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0xb
push dword [ebx + 0x58]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
lea ecx, [ebx + 0x58]
call fcn.00434658
mov edi, dword [ebp - 0x220]
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x4790e0
call fcn.00407965
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x4790f4
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
call fcn.004db46d
ret

Function at 0x4795b6
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov ebx, ecx
push 0x428
push dword [ebx + 4]
lea edi, [ebx + 0x58]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4020
push 0
push 0x1036
push eax
mov dword [edi], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi]
call fcn.005c961b
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x6349bc
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 1
push 0x1003
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push ecx
xor eax, eax
mov ecx, edi
push eax
push 0x12c
push eax
push 0x6349bc
push eax
call fcn.0041c76a
mov ecx, ebx
call fcn.00478f49
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop ebx
call fcn.004da623
leave
ret 0x10
Function at 0x47d2c7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10
mov eax, 0x6005b5
call fcn.004db48b
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [0x6714c8]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47d412
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47d412
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x47d412
lea eax, [esi + 8]
mov ecx, edi
mov dword [ebp - 0x18], eax
movzx eax, word [esi + 6]
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 4]
push eax
movzx eax, word [esi + 2]
push eax
call fcn.0047e541
xor ebx, ebx
cmp dword [edi + 0x48], ebx
jne 0x47d374
push dword [ebp + 8]
call fcn.0044c488
cmp ax, 0x20
mov al, byte [edi + 0x85]
pop ecx
setne cl
and al, 0xdf
dec cl
and cl, 0x20
or al, cl
mov ecx, edi
mov byte [edi + 0x85], al
movzx eax, word [esi + 6]
push eax
call fcn.0047e511
test eax, eax
je 0x47d412
mov dword [ebp - 4], ebx
test byte [edi + 0x85], 0x20
je 0x47d399
push 0x2040
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [0x6714c8]
call dword [sym.imp.USER32.dll_LoadImageW]
jmp 0x47d3a8
push dword [ebp + 8]
push dword [0x6714c8]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x47d40e
push dword [edi + 0xa0]
push esi
push dword [edi + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp eax, 0xffffffff
je 0x47d407
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x47d3ef
mov esi, dword [ebp - 0x18]
cmp word [esi], bx
je 0x47d3e1
push esi
lea ecx, [edi + 0x4c]
call fcn.0040e1e6
mov eax, dword [ebp - 0x10]
add esi, 2
sub eax, 1
mov dword [ebp - 0x10], eax
jne 0x47d3d0
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov edi, dword [edi + 0x50]
push dword [eax + 0x48]
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
mov ebx, eax
sub ebx, edi
neg ebx
sbb ebx, ebx
inc ebx
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
jmp 0x47d414
xor eax, eax
call fcn.004db459
ret 0x14
Function at 0x480573
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x667710]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.00413668
jmp 0x4805cb
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.00480573
mov esi, eax
test esi, esi
jne 0x48061f
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4805bd
cmp dword [esp + 0xc], esi
je 0x48060e
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.004803ef
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x480630
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004da623
mov esp, ebp
pop ebp
ret 4

Function at 0x480d38
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x800
lea eax, [ebp - 0x808]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x81c], esi
call fcn.004e0bc0
add esp, 0xc
lea eax, [esi + 4]
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x808]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x828], eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [esi + 0x24]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp - 0x820], eax
call edi
mov ecx, dword [ebp - 0x81c]
mov esi, eax
lea eax, [ebp - 0x818]
xorps xmm0, xmm0
movups xmmword [ebp - 0x818], xmm0
mov ecx, dword [ecx + 0x30]
or ecx, 0x420
push ecx
push eax
push ebx
mov ebx, dword [ebp - 0x820]
lea eax, [ebp - 0x808]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
push ebx
call edi
mov edi, dword [ebp - 0x824]
push dword [edi]
call dword [sym.imp.USER32.dll_GetParent]
push 2
lea ecx, [ebp - 0x818]
push ecx
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [edi]
call esi
push eax
push 0
push 0xfffffffffffffff0
push dword [edi]
call esi
push eax
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0x16
lea eax, [ebp - 0x818]
mov ecx, edi
push eax
push 0
call fcn.00403895
push ebx
push dword [ebp - 0x828]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
xor ecx, ebp
call fcn.004da623
leave
ret
Function at 0x48722e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebx, eax
test ebx, ebx
je 0x487348
lea eax, [ebx*2 + 2]
call fcn.0053eb10
mov edi, esp
test edi, edi
je 0x487348
lea eax, [ebx + 1]
push eax
push edi
push dword [esi + 0x23c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, edi
call fcn.00414841
test eax, eax
je 0x487348
xor ebx, ebx
push ebx
push ebx
push 0x184
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00486e34
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov ebx, eax
test ebx, ebx
jle 0x4872fe
push ecx
push ebx
lea ecx, [esi + 0x20]
call fcn.00492955
push ebx
push 0
push dword [esi + 0x20]
push 0
push edi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
mov ebx, eax
test ebx, ebx
jne 0x4872e2
xor ecx, ecx
mov word [esi + 0x34], cx
jmp 0x4872fe
push ecx
push ebx
lea ecx, [esi + 0x20]
call fcn.00492955
push 0x104
lea eax, [esi + 0x34]
push edi
push eax
call fcn.005143d6
add esp, 0xc
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push ebx
push 0x1a7
push dword [esi + 0x240]
call edi
push 0
push dword [esi + 0x30]
push 0x186
push dword [esi + 0x240]
call edi
push 1
push 0
push dword [esi + 0x240]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [esi + 0x30]
push 0x10428
push 0x111
push dword [esi + 4]
call edi
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004da623
leave
ret 0x10

Function at 0x489489
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0
push 0
lea ebx, [ecx + 4]
push 0x46b
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.0040390c
push 1
push dword [ebx]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
push 0x15
push ecx
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004da623
leave
ret
Function at 0x490535
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x18], eax
je 0x49059b
push 4
pop eax
test ebx, ebx
lea esi, [ebx - 0x20]
push 0xffffffffffffffe6
cmove esi, eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClassLongW]
test eax, 0x20000
jne 0x4905b3
lea eax, [ebp - 0x14]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
test ebx, ebx
push 0x24
movsd dword es:[edi], dword [esi]
pop eax
cmove ebx, eax
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00491ba2
jmp 0x4905b3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4905b3
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
pop edi
pop esi
and dword [eax], 0
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004da623
leave
ret 0x10

Function at 0x491083
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, eax
test ebx, ebx
je 0x4910a4
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassLongW]
mov ecx, eax
or eax, 0x20000
and ecx, 0xfffdffff
cmp dword [ebp + 8], 0
cmove eax, ecx
push eax
push 0xffffffffffffffe6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetClassLongW]
test ebx, ebx
je 0x4910de
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x492e27
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi + 0x28]
test edx, edx
jne 0x492e45
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [esi + 0x28], edx
mov eax, edx
pop esi
ret

Function at 0x492e49
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi + 0x28]
test edx, edx
je 0x492e67
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea edx, [eax + 1]
neg edx
sbb edx, edx
inc edx
mov dword [esi + 0x28], edx
xor eax, eax
test edx, edx
pop esi
sete al
ret
Function at 0x49868a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x601caf
call fcn.004db52a
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x498707
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x498707
call fcn.00402368
mov esi, eax
jmp 0x4987de
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x49872a
call fcn.00402368
jmp 0x4987d1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x498720
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x49875a
mov esi, 0x8007000e
jmp 0x4987d3
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004a79de
jmp 0x498780
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x498753
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x498720
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.00499286
mov esi, eax
test edi, edi
je 0x4987de
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4987f7
lea ecx, [ebp - 0x418]
call fcn.004a7d55
mov eax, esi
call fcn.004db47c
ret 0x10
Function at 0x49a61c
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea esi, [eax + 0x14]
mov eax, dword [ebp + 8]
push eax
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._Event
push esi
call edi
mov esi, dword [ebp - 4]
push dword [ebp + 8]
add esi, 0x21c
push esi
call ebx
push str._Mapping
push esi
call edi
mov ebx, dword [ebp - 4]
xor esi, esi
lea eax, [ebx + 0x14]
push eax
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebx + 4], eax
test eax, eax
je 0x49a689
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
jmp 0x49a68b
mov ecx, esi
mov eax, dword [ebp + 0xc]
mov dword [ebx], ecx
mov dword [ebx + 0x10], eax
test eax, eax
je 0x49a6cf
push dword [ebp + 8]
push eax
push esi
push 4
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
push 0xf001f
push eax
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 0xc], eax
cmp dword [ebx], esi
je 0x49a6d2
push dword [ebx + 0x10]
push esi
push eax
call fcn.004e0bc0
add esp, 0xc
jmp 0x49a6d2
mov dword [ebx + 0xc], esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x49a7d9
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x667710]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x110
push 0
push eax
mov esi, ecx
mov dword [ebp - 0x118], 0x114
call fcn.004e0bc0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
ja 0x49a846
push edi
mov ecx, esi
call fcn.004a77d0
test eax, eax
je 0x49a846
push ecx
lea ecx, [esi + 0xb4]
call fcn.00462eb7
xor eax, eax
inc eax
jmp 0x49a848
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004da623
leave
ret 4
Function at 0x4a7238
Capabilities:
Delete file

Disassembly:
push 0x484
mov eax, 0x60408b
call fcn.004db4be
mov edi, ecx
mov dword [ebp - 0x488], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x478]
push eax
call fcn.0040d2ee
and dword [ebp - 4], 0
mov esi, 0x6378f4
mov eax, dword [0x668294]
push esi
mov dword [ebp - 0x48c], eax
call fcn.00505bb3
pop ecx
push esi
mov esi, dword [ebp - 0x478]
lea ecx, [ebp - 0x48c]
push eax
push esi
push dword [esi - 8]
call fcn.0040f4c7
lea ecx, [ebp - 0x474]
call fcn.00420dfc
mov byte [ebp - 4], 2
push dword [ebp - 0x48c]
call fcn.00420f3c
jmp 0x4a7408
call fcn.00420ef2
test eax, eax
jne 0x4a73fd
lea eax, [ebp - 0x484]
push eax
lea ecx, [ebp - 0x474]
call fcn.00420e5d
cmp dword [ebp + 0xc], 0
mov byte [ebp - 4], 3
jne 0x4a73cb
xor ebx, ebx
cmp dword [edi + 0x30], ebx
jle 0x4a73cb
lea eax, [edi + 0x2c]
mov dword [ebp - 0x480], eax
push ebx
mov ecx, eax
call fcn.004a808a
add eax, 0xc
push 0x2f
mov dword [ebp - 0x47c], eax
push dword [eax]
call fcn.004e0fe2
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4a7317
or edi, 0xffffffff
jmp 0x4a7321
mov eax, dword [ebp - 0x47c]
sub edi, dword [eax]
sar edi, 1
mov ecx, dword [ebp - 0x480]
push ebx
call fcn.004a808a
mov ecx, dword [ebp - 0x480]
mov eax, dword [eax + 0xc]
mov eax, dword [eax - 8]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x490]
push eax
push ebx
call fcn.004a808a
lea ecx, [eax + 0xc]
call fcn.0042a0b3
mov edi, dword [ebp - 0x490]
lea ecx, [ebp - 0x47c]
mov eax, dword [0x668294]
push edi
mov dword [ebp - 0x47c], eax
push dword [edi - 8]
push esi
push dword [esi - 8]
call fcn.0040f4c7
push dword [ebp - 0x484]
mov esi, dword [ebp - 0x47c]
push esi
call fcn.005144ec
pop ecx
pop ecx
lea ecx, [esi - 0xc]
test eax, eax
je 0x4a7449
mov esi, 0x668010
cmp ecx, esi
je 0x4a73a3
call fcn.00407965
lea ecx, [edi - 0xc]
cmp ecx, esi
je 0x4a73af
call fcn.00407965
mov eax, dword [ebp - 0x488]
inc ebx
mov esi, dword [ebp - 0x478]
cmp ebx, dword [eax + 0x30]
mov eax, dword [ebp - 0x480]
jl 0x4a72f0
push dword [ebp - 0x484]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x484]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x4a73f1
call fcn.00407965
mov edi, dword [ebp - 0x488]
mov esi, dword [ebp - 0x478]
lea ecx, [ebp - 0x474]
call fcn.00420ff4
lea ecx, [ebp - 0x474]
test eax, eax
jne 0x4a72af
call fcn.0042101e
mov ecx, dword [ebp - 0x48c]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x4a7431
call fcn.00407965
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x4a7441
call fcn.00407965
call fcn.004db46d
ret 8
cmp ecx, 0x668010
je 0x4a7456
call fcn.00407965
lea ecx, [edi - 0xc]
cmp ecx, 0x668010
je 0x4a73d7
call fcn.00407965
jmp 0x4a73d7
Function at 0x4a8d56
Capabilities:
Resolve dns

Disassembly:
push 0x820
mov eax, 0x604144
call fcn.004db4be
mov ebx, edx
mov edi, ecx
test edi, edi
je 0x4a8e63
test ebx, ebx
je 0x4a8e63
lea eax, [ebp - 0x818]
xor esi, esi
push eax
lea edx, [ebp - 0x814]
mov dword [ebp - 0x814], esi
mov dword [ebp - 0x818], esi
call fcn.004a8842
pop ecx
push dword [ebp - 0x814]
call dword [sym.imp.WS2_32.dll_gethostbyname]
push dword [ebp - 0x814]
mov dword [ebp - 0x818], eax
call fcn.004da631
mov eax, dword [ebp - 0x818]
pop ecx
test eax, eax
je 0x4a8e16
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
je 0x4a8ed2
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x814], esi
push ecx
lea edx, [ebp - 0x814]
mov dword [ebp - 0x818], esi
mov ecx, eax
call fcn.004a87aa
push dword [ebp - 0x814]
push ebx
call fcn.00504cbe
push dword [ebp - 0x814]
call fcn.004da631
add esp, 0x10
jmp 0x4a8ed2
mov eax, dword [0x673200]
test byte [eax + 4], 1
je 0x4a8ed2
push ecx
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.004a9820
push esi
xor ebx, ebx
lea ecx, [ebp - 0x82c]
push edi
inc ebx
push str.ResolveToIP:_cant_resolve_host_name:
mov dword [ebp - 4], ebx
call fcn.004a9b63
mov ecx, eax
call fcn.004a9b63
mov ecx, eax
call fcn.004a9bc0
mov ecx, ebx
jmp 0x4a8eca
mov eax, dword [0x673200]
test byte [eax + 4], 1
je 0x4a8ed2
push ecx
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x82c]
call fcn.004a9820
xor esi, esi
lea ecx, [ebp - 0x82c]
push esi
push 0x63f130
push ebx
push str.__or_ip_address:
push edi
push str.ResolveToIP:_No_host_name:
mov dword [ebp - 4], esi
call fcn.004a9b63
mov ecx, eax
call fcn.004a9b63
mov ecx, eax
call fcn.004a9b63
mov ecx, eax
call fcn.004a9b63
mov ecx, eax
call fcn.004a9b63
mov ecx, eax
call fcn.004a9bc0
xor ecx, ecx
inc ecx
mov edx, eax
call fcn.004a96a7
pop ecx
call fcn.004db46d
ret