joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405770
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x18d0
call fcn.004292a0
mov eax, dword [0x44e6d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x45dcb4], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x18d0], edi
je 0x4057e6
lea eax, [ebp - 0x18cc]
push eax
mov esi, edi
call fcn.00405af0
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push 0x452960
lea ecx, [ebp - 0x18cc]
push ecx
push str.flags
push 0x44fa30
call esi
cmp dword [0x459a94], 0
je 0x4057e6
push 0x452960
push 0x459b00
push 0x44fa50
push 0x44fa30
call esi
mov eax, dword [0x45dcac]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4057f8
push eax
call esi
mov eax, dword [0x45dca0]
test eax, eax
je 0x405804
push eax
call esi
mov eax, dword [0x45dca4]
test eax, eax
je 0x405810
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x454a88
call esi
push 0
push 0x453a88
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0042559c
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 4
push 0x454a88
call ebx
test eax, eax
jne 0x40591d
cmp dword [0x453960], eax
jne 0x40591d
jmp 0x405860
movzx ecx, word [eax + 0x458a88]
mov word [ebp + eax - 0x10cc], cx
add eax, 2
test cx, cx
jne 0x405860
lea edi, [ebp - 0x10cc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x405880
mov edx, dword [0x443f70]
mov dword [edi], edx
xor esi, esi
call fcn.004255ae
cdq
mov ecx, 0x1a
idiv ecx
inc esi
add edx, 0x61
cmp esi, 6
mov word [ebp + esi*2 - 0xce], dx
jl 0x405896
xor edx, edx
lea eax, [ebp - 0xcc]
mov word [ebp - 0xc0], dx
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4058c5
lea edi, [ebp - 0x10cc]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4058e0
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4058e0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x10cc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [ebp - 0x10cc]
push ecx
push 0x454a88
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edi, dword [ebp - 0x18d0]
push 0x453a88
call ebx
mov ecx, edi
call fcn.0040c496
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00425324
mov esp, ebp
pop ebp
ret
Function at 0x405970
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c87b
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x44e6d0]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push edi
mov eax, dword [0x44e6d0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], eax
xor ebx, ebx
call fcn.00401920
lea eax, [esp + 0x10]
mov dword [esp + 0x260], ebx
call fcn.00406bc0
lea ebx, [esp + 0x10]
call fcn.00406c10
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
movzx edx, word [eax]
mov word [ecx + eax], dx
add eax, 2
test dx, dx
jne 0x4059e5
lea ecx, [esp + 0x14]
push ecx
push 0x11
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x405a60
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
lea edx, [esp + 0x24]
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 0x405940
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, eax
test edi, edi
jne 0x405a62
mov word [esi], ax
jmp 0x405a62
mov edi, ebx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jne 0x405a9f
test ebx, ebx
je 0x405a8a
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x405a9f
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00425324
mov esp, ebp
pop ebp
ret
Function at 0x406170
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c776
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x158c
call fcn.004292a0
mov eax, dword [0x44e6d0]
xor eax, esp
mov dword [esp + 0x1588], eax
push ebx
push esi
push edi
mov eax, dword [0x44e6d0]
xor eax, esp
push eax
lea eax, [esp + 0x15a0]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push eax
mov edi, 0x35e
mov esi, ecx
call fcn.00402390
add esp, 4
push 1
push 0
push 0
mov dword [esp + 0x15b4], 0
mov eax, dword [eax]
push eax
push 0x12081800
push 0
push 0x4446f8
push 1
lea ecx, [esp + 0x3c]
call fcn.004155a6
mov byte [esp + 0x15a8], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40621c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x594]
push ecx
push 0x800
call edi
push 0x452960
push 0x1000
lea edx, [esp + 0x59c]
push edx
push 0x458a88
push str.ImageDefDir
push 0x44fa30
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ebx, [esp + 0x344]
lea ecx, [esp + 0x594]
call fcn.00403540
test eax, eax
jne 0x406284
lea ecx, [esp + 0x1c]
call fcn.00414d66
lea ecx, [esp + 0x594]
mov dword [eax + 0x2c], ecx
jmp 0x406293
lea edx, [esp + 0x594]
push edx
push 0x800
call edi
lea ecx, [esp + 0x1c]
call fcn.00415e07
cmp eax, 1
jne 0x406378
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.00415f36
mov ecx, dword [eax]
lea edx, [esp + 0x594]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4062c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4062f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x594]
push 0x5c
push ecx
call fcn.004256f6
add esp, 8
test eax, eax
je 0x40630c
xor edx, edx
mov word [eax], dx
push 0x452960
lea eax, [esp + 0x598]
push eax
push str.ImageDefDir
push 0x44fa30
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.00415f36
mov ecx, dword [eax]
mov edx, 0x459c90
mov edi, edi
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x406340
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00404c00
lea ecx, [esp + 0x1c]
mov dword [esp + 0x15a8], 0xffffffff
call fcn.004154a3
mov ecx, dword [esp + 0x15a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1588]
xor ecx, esp
call fcn.00425324
mov esp, ebp
pop ebp
ret
Function at 0x4063b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x45dcbc], 0
mov eax, 0x2001f
je 0x4063c7
mov eax, 0x2011f
lea ecx, [ebp - 4]
push ecx
push edx
push 0
push eax
push 0
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esp, ebp
pop ebp
ret

Function at 0x4068f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004292a0
mov eax, dword [0x44e6d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0xffe
mov esi, ecx
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov word [ebp - 0x1004], ax
call fcn.00426140
push 0x44
xor edi, edi
lea edx, [ebp - 0x1058]
push edi
push edx
call fcn.00426140
add esp, 0x18
mov eax, 1
mov dword [ebp - 0x1058], 0x44
mov dword [ebp - 0x102c], 1
mov word [ebp - 0x1028], ax
test esi, esi
je 0x406979
mov eax, esi
call fcn.004063f0
push eax
push str.__s_
lea edx, [ebp - 0x1004]
call fcn.00402350
add esp, 8
lea eax, [ebp - 0x1004]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x406982
mov ecx, dword [str._r__o__t_0]
mov edx, dword [0x4447b8]
mov dword [eax], ecx
mov ecx, dword [0x4447bc]
mov dword [eax + 4], edx
mov edx, dword [0x4447c0]
mov dword [eax + 8], ecx
mov ecx, dword [0x4447c4]
mov dword [eax + 0xc], edx
mov dx, word [0x4447c8]
mov dword [eax + 0x10], ecx
mov word [eax + 0x14], dx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1058]
push ecx
push 0
push 0
push 0x20
push 1
push 0
lea edx, [ebp - 0x1004]
push 0
push edx
mov eax, esi
call fcn.004063f0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x406a25
mov eax, dword [ebp - 0x1010]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x1014]
push ecx
call esi
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00425324
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00425324
mov esp, ebp
pop ebp
ret
Function at 0x407ce5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x407d2d
call fcn.00412214
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x407d2d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x407d70
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x407d59
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x407d59
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x407d6d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40903b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x40905f
cmp dword [edi + 0x54], 0
jne 0x40905f
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00412214
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00408ffc
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40f068
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40f0af
call fcn.00412214
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f0af
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f0cb
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ebe0
mov esi, eax
test edi, edi
je 0x40f0c9
test ebx, ebx
je 0x40f0c9
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40ff44
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43b50f
call fcn.004265a0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ff69
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40ffaf
lea ecx, [ebp - 0x10]
call fcn.00407300
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040750f
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004015b0
mov eax, esi
call fcn.00426678
ret 8

Function at 0x410925
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x44e6d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x4109bd
push 0x43ee04
push 4
push eax
call fcn.00426714
push eax
call fcn.00401370
add esp, 0x10
push ebx
push edi
call fcn.00426850
mov edi, dword [eax]
call fcn.00426850
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.004267ed
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00426850
cmp dword [eax], ebx
je 0x4109d4
call fcn.00426850
push dword [eax]
call fcn.004091bc
pop ecx
jmp 0x4109db
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x410968
jmp 0x410a62
call fcn.00426850
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x410a5e
cmp dword [ebp - 0x234], esi
jae 0x410a5e
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00426140
add esp, 0xc
push 0x43eb64
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x410a4d
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x410a4d
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x410a4d
push ebx
push ebx
push esi
jmp 0x410a56
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x410a60
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00425324
leave
ret

Function at 0x425324
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44e6d0]
jne 0x42532e
repz ret
jmp fcn.0042aa86
Function at 0x432c52
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042a495
and dword [ebp - 4], 0
cmp dword [0x452898], 0
mov ebx, eax
jne 0x432d03
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x432db4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x432db4
push eax
call fcn.0042a423
mov dword [esp], 0x441af4
push edi
mov dword [0x452898], eax
call esi
push eax
call fcn.0042a423
mov dword [esp], 0x441ae0
push edi
mov dword [0x45289c], eax
call esi
push eax
call fcn.0042a423
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4528a0], eax
call esi
push eax
call fcn.0042a423
pop ecx
mov dword [0x4528a8], eax
test eax, eax
je 0x432d03
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042a423
pop ecx
mov dword [0x4528a4], eax
mov eax, dword [0x4528a4]
cmp eax, ebx
je 0x432d5b
cmp dword [0x4528a8], ebx
je 0x432d5b
push eax
call fcn.0042a49e
push dword [0x4528a8]
mov esi, eax
call fcn.0042a49e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432d5b
test edi, edi
je 0x432d5b
call esi
test eax, eax
je 0x432d52
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x432d52
test byte [ebp - 0xc], 1
jne 0x432d5b
or dword [ebp + 0x10], 0x200000
jmp 0x432d94
mov eax, dword [0x45289c]
cmp eax, ebx
je 0x432d94
push eax
call fcn.0042a49e
pop ecx
test eax, eax
je 0x432d94
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x432d94
mov eax, dword [0x4528a0]
cmp eax, ebx
je 0x432d94
push eax
call fcn.0042a49e
pop ecx
test eax, eax
je 0x432d94
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x452898]
call fcn.0042a49e
pop ecx
test eax, eax
je 0x432db4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x432db6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4037b4
xor eax, eax
jmp 0x403834
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4037cb
xor eax, eax
jmp 0x403834
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x403817
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x403817
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4037ee
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x403823
xor eax, eax
jmp 0x403834
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x403831
xor eax, eax
jmp 0x403834
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x408760
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49f868]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x4087db
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40879f
mov eax, dword [ebp - 0x18]
jmp 0x4088d2
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x4087ce
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
jmp 0x4088d2
mov dword [ebp - 0x20], str.XRArDNOQ1Fpspj7n5fjIuYFluS1n8SX0tnwAlih3NEI03gu5MM1ytPK6HIFdWI5XktTITuC4YWWuguKUMkLz7c7RbSIGGagWVAU8FwjFd5r6P6iUhhtGW1kU7B2k0TGhLCGTNFw8Gq2gNOBbws0BimG0eURXSeKirLjPkiadbgYGA1tNU29Kms9qQP0HF53lzGPx4YMe4KYmUHOTSAGn6Ep0RcBTX3nNUpfmGnGXfWfuQxNAW6nsmuR3LLk9KmK3gkvrFkRMhPnBJPL2HUQLNzBnBcillSnuvgvDlM1veess
mov edx, dword [ebp - 0x1c]
mov byte [edx], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.004013e0
add esp, 4
push eax
push 0x460230
push 0x17
push 0
push 0x49571c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x408814
mov eax, dword [ebp - 0x18]
jmp 0x4088d2
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0x80
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x408863
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0x18]
jmp 0x4088d2
mov dword [ebp - 0x10], 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0x20
mov eax, dword [ebp + 0xc]
push eax
push 0x45adec
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x4088b3
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 0x18]
jmp 0x4088d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8d2
mov esp, ebp
pop ebp
ret 8