joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ceb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x552d10]
push edi
push 0xf0
push eax
mov edi, 1
push esi
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ced58
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ced58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4ced58
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x4cec06
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4ced43
mov edx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov ecx, 0x403
add esi, 8
mov dword [ebp - 0x114], edx
cmp cx, ax
jne 0x4cec96
push 3
lea edx, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], edx
call fcn.004cdc50
mov eax, dword [ebp - 0x108]
mov edx, dword [ebp - 0x110]
push eax
mov eax, dword [edx + 4]
push 0
push 0x143
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x4cec74
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x4ced17
push eax
call fcn.00402d0e
add esp, 4
jmp 0x4ced17
mov edx, 0x1234
cmp dx, ax
jne 0x4ced17
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.004cdc50
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, ecx
je 0x4ceced
push eax
call fcn.00402d0e
add esp, 4
mov ecx, dword [ebp - 0x110]
lea edx, [ebp - 0x138]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x40b
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x4ced17
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x4cec00
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00401316
mov esp, ebp
pop ebp
ret 4
Function at 0x4d1500
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.004ca430
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4d15ce
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x4d1554
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4d15b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4d15b7
push ebx
push edi
call fcn.004ccda0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4d15a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x4d15c0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x4d15c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d15ce
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b488
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
cmp byte [esi + 0x104], 0
mov dword [ebp - 0x30], eax
mov eax, 2
mov dword [esi + 0x128], eax
mov dword [esi + 0x10c], edi
je 0x4d2267
push 0
push edi
call fcn.004d19a0
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d2234
test edi, edi
je 0x4d21b8
push 0
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 5
push ecx
mov byte [esi + 0x124], 1
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
call ebx
test eax, eax
je 0x4d221d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.004cda60
test eax, eax
jne 0x4d2204
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [esi + 0x124], 0
je 0x4d221d
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x4d21e1
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test edi, edi
je 0x4d2234
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.004d15e0
mov ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 4], 0
call fcn.00406280
cmp dword [ebp - 0x18], 8
jb 0x4d2261
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00406ec9
add esp, 4
mov eax, dword [esi + 0x128]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 8
Function at 0x4d41a0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push 0x7f02
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 8], eax
test eax, eax
je 0x4d41c9
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 4], eax
jmp 0x4d41d0
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0xb4]
push esi
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp byte [ebx + 0xad], 0
mov edi, eax
je 0x4d423c
push 0
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d423c
call esi
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x4d423c
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebx + 0xad], 0
jne 0x4d41f4
mov eax, dword [ebp - 4]
pop edi
pop esi
test eax, eax
je 0x4d424c
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
cmp dword [ebx + 0xa8], 1
pop ebx
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4d43a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
cmp dword [esi + 0x10], 0
je 0x4d4426
cmp dword [esi + 0x14], 8
jb 0x4d43bd
mov eax, dword [esi]
jmp 0x4d43bf
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4d4426
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004e15a0
mov ecx, dword [esi + 0x10]
add esp, 0xc
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x3c], 0x3c
jb 0x4d43ee
mov eax, dword [esi]
jmp 0x4d43f0
mov eax, esi
lea edx, [ebp - 0x3c]
push edx
push 0
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4d4426
cmp dword [ebp - 0x30], 4
jne 0x4d4426
mov eax, 0x1bb
cmp word [ebp - 0x24], ax
jne 0x4d4426
push esi
call fcn.00491bf0
mov ecx, eax
call fcn.0049a7d0
test al, al
mov al, 1
jne 0x4d4428
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d50e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x28], 0
jne 0x4d5167
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov bl, 1
mov byte [esi + 0x28], bl
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x34], 0
test eax, eax
je 0x4d5167
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2c], eax
call edi
cmp dword [esi + 0x2c], 0
mov dword [esi + 0x30], eax
je 0x4d5166
test eax, eax
je 0x4d5166
lea edi, [esi + 0x20]
push edi
push 0
push esi
push 0x4d4df0
push 0
push 0
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [edi], 0
mov dword [esi + 0x24], eax
je 0x4d5166
test eax, eax
je 0x4d5166
mov byte [esi + 0x29], bl
pop edi
mov bl, byte [esi + 0x29]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x4d82a0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bc28
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp byte [ebp + 8], bl
je 0x4d82d8
lea ecx, [esi + 4]
call fcn.004d7b00
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
sar eax, 2
test eax, eax
jne 0x4d83da
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x14]
push ecx
push 0x5329b4
push 1
push ebx
push 0x53615c
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x14]
test eax, eax
jne 0x4d832d
cmp ecx, ebx
je 0x4d832d
mov edx, dword [ecx]
push ebx
lea eax, [ebp + 8]
push eax
push 0x53616c
push ecx
mov ecx, dword [edx + 0xc]
call ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4d83b5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x14]
call eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 2
call eax
test eax, eax
jne 0x4d839c
lea ecx, [ecx]
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [esi + 4]
call fcn.004d8190
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4d837f
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x10]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 2
call eax
test eax, eax
je 0x4d8360
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x4d83af
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], bl
cmp ecx, ebx
je 0x4d83c7
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x4d83da
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4d9cf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50be10
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x54e938]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.BrokerMAPIObject.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov eax, 7
xor ecx, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ebx
mov dword [ebp - 4], ebx
mov word [esi + 0x1c], cx
xor edx, edx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
mov word [esi + 0x38], dx
mov dword [esi + 0x68], eax
xor eax, eax
mov dword [esi + 0x64], ebx
mov word [esi + 0x54], ax
mov eax, 0xf
mov dword [esi + 0x84], eax
mov dword [esi + 0x80], ebx
mov byte [esi + 0x70], bl
mov dword [esi + 0xa0], eax
mov dword [esi + 0x9c], ebx
mov byte [esi + 0x8c], bl
mov dword [esi + 0xbc], eax
mov dword [esi + 0xb8], ebx
mov byte [esi + 0xa8], bl
push str.MAPI32.DLL
mov byte [ebp - 4], 6
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0xf8], ebx
call fcn.004297a0
add esp, 4
mov dword [esi + 0xf8], eax
cmp eax, ebx
je 0x4d9eb0
push 8
call fcn.004051ca
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4d9e50
mov ecx, dword [esi + 0xf8]
push str.MAPIFreeBuffer
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xf8]
push str.MAPIAllocateBuffer
push edx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], eax
jmp 0x4d9e52
xor edi, edi
mov ecx, dword [esi + 0xf8]
push str.MAPIInitialize
mov dword [esi + 0xc4], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
call edi
mov edx, dword [esi + 0xf8]
push str.MAPIUninitialize
push edx
mov dword [esi + 4], eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
cmp ecx, ebx
je 0x4d9eb0
cmp eax, ebx
je 0x4d9eb0
push ebx
call ecx
test eax, eax
mov eax, esi
js 0x4d9ebc
mov dword [esi + 0xd0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov dword [esi + 0xd0], 3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f0939
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401878
and dword [ebp - 0x14], 0
cmp dword [0x552cb8], 0
mov dword [ebp - 0x18], eax
jne 0x4f09ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4f0a94
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53600c
push ebx
call edi
test eax, eax
je 0x4f0a94
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x535ffc
push ebx
mov dword [0x552cb8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x552cbc], eax
call edi
push eax
call esi
push 0x535fcc
push ebx
mov dword [0x552cc0], eax
call edi
push eax
call esi
mov dword [0x552cc8], eax
test eax, eax
je 0x4f09ec
push 0x535fb4
push ebx
call edi
push eax
call esi
mov dword [0x552cc4], eax
mov eax, dword [0x552cc4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4f0a45
cmp dword [0x552cc8], ecx
je 0x4f0a45
push eax
call esi
push dword [0x552cc8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4f0a45
test ebx, ebx
je 0x4f0a45
call edi
test eax, eax
je 0x4f0a3c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4f0a3c
test byte [ebp - 8], 1
jne 0x4f0a45
or dword [ebp + 0x10], 0x200000
jmp 0x4f0a78
mov eax, dword [0x552cbc]
cmp eax, dword [ebp - 0x18]
je 0x4f0a78
push eax
call esi
test eax, eax
je 0x4f0a78
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4f0a78
mov eax, dword [0x552cc0]
cmp eax, dword [ebp - 0x18]
je 0x4f0a78
push eax
call esi
test eax, eax
je 0x4f0a78
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x552cb8]
call esi
test eax, eax
je 0x4f0a94
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4f0a96
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401316
leave
ret
Function at 0x4f51ea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x552d4c], 0
push esi
push edi
jne 0x4f5160
call fcn.004f50cc
test eax, eax
je 0x4f51a5
mov eax, dword [0x552d4c]
cmp eax, 1
jne 0x4f5181
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4f51a5
jmp 0x4f51e7
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4f51e7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4f51a9
xor eax, eax
jmp 0x4f51e7
mov eax, dword [esi]
push dword [0x552d4c]
call edi
mov edi, eax
test edi, edi
je 0x4f51cb
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4f51e7
lea edi, [esi + 0xff0]
push esi
push dword [0x552d4c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x4f51d1
mov eax, esi
pop edi
pop esi
ret
jmp 0x4f514c

Function at 0x4f5bc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
xor esi, esi
mov eax, dword [edx + 0x3c]
movzx ecx, word [eax + edx + 6]
add eax, edx
cmp edi, ecx
jae 0x4f5c10
movzx ecx, word [eax + 0x14]
add ecx, esi
lea eax, [ecx + eax + 0x18]
test eax, eax
je 0x4f5c10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4f5bfa
add ecx, edx
cmp ecx, ebx
ja 0x4f5c0a
mov ebx, dword [eax + 8]
add ebx, ecx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 4], ebx
ja 0x4f5c12
inc edi
add esi, 0x28
jmp 0x4f5bd1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x409960
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x409982
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x409989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x409978
mov eax, 1
add ebx, ebx
jne 0x40999b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x409990
jne 0x4099ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x409990
xor ecx, ecx
sub eax, 3
jb 0x4099c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x409a32
mov ebp, eax
add ebx, ebx
jne 0x4099cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4099d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4099fc
inc ecx
add ebx, ebx
jne 0x4099e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4099dd
jne 0x4099f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4099dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x409a1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x409a0d
jmp 0x40997e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x409a1c
add edi, ecx
jmp 0x40997e
pop esi
mov edi, esi
mov ecx, 0x28
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x409a3a
cmp byte [edi], 0
jne 0x409a3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x409a3f
lea edi, [esi + 0x7000]
mov eax, dword [edi]
or eax, eax
je 0x409aae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9064]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x90b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x409a6c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x90b8]
or eax, eax
je 0x409aa8
mov dword [ebx], eax
add ebx, 4
jmp 0x409a89
call dword [esi + 0x90bc]
popal
jmp 0x4013ec
Function at 0x402a7a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x4237d0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402b0e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402acb
cmp dword [ebp + 0x10], ebx
jne 0x402b02
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402a7a
test eax, eax
jne 0x402add
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ab2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406092
cmp eax, ebx
je 0x402b15
push ebx
push dword [0x4237d0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402b0e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x4237d0], ebx
jne 0x402b0b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402b0b
jmp 0x402b0e
Function at 0x402e9f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402ebc
mov dword [ebp - 8], reloc.SHELL32.dll_ShellExecuteA
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402ecb
mov ebx, 0x40e8d8
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402ee0
mov ecx, dword [0x423778]
add ecx, eax
push ecx
call fcn.00403091
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040307b
test eax, eax
je 0x403032
test byte [ebp + 0x17], 0x80
je 0x40301b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40a848
mov dword [ebp - 0xc], eax
call fcn.00406175
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403071
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f30
mov esi, dword [ebp + 0x14]
mov edi, 0x40a8d8
push esi
push edi
call fcn.0040307b
test eax, eax
je 0x403032
sub dword [ebp + 0x14], esi
mov dword [0x40a860], edi
mov dword [0x40a864], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40a848
mov dword [0x40a868], ebx
mov dword [0x40a86c], eax
call fcn.00406195
test eax, eax
mov dword [ebp - 0x10], eax
jl 0x403013
mov esi, dword [0x40a868]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x4237d4], 1
mov edi, eax
je 0x402fd2
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402f9f
cmp dword [ebp + 0x14], 0
jne 0x402fd2
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x50]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
call fcn.00404f16
mov dword [ebp - 0xc], edi
test esi, esi
je 0x403007
cmp dword [ebp + 0x10], 0
jne 0x402fef
push esi
push ebx
push dword [ebp + 0xc]
call fcn.00405a17
test eax, eax
je 0x403017
add dword [ebp - 4], esi
jmp 0x402ffb
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40a868]
cmp dword [ebp - 0x10], 1
jne 0x402f53
jmp 0x403071
cmp dword [ebp + 0x14], 0
jg 0x402f23
jmp 0x403071
push 0xfffffffffffffffc
jmp 0x403034
push 0xfffffffffffffffe
jmp 0x403034
test edi, edi
je 0x403066
cmp dword [ebp + 0x14], esi
jge 0x403027
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040307b
test eax, eax
jne 0x40306e
push 0xfffffffffffffffd
pop eax
jmp 0x403074
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403042
mov esi, dword [ebp + 0x14]
mov edi, 0x40a8d8
push esi
push edi
call fcn.0040307b
test eax, eax
je 0x403032
push esi
push edi
push dword [ebp + 0xc]
call fcn.00405a17
test eax, eax
je 0x403017
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403037
jmp 0x403071
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10