joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ee1cc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4ee1d4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4ee3c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4ee3dc
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004045d4
lea ecx, [ebp - 0x10]
mov edx, 0x4ee3f0
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004045d4
lea ecx, [ebp - 0x14]
mov edx, 0x4ee408
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004045d4
lea ecx, [ebp - 0x18]
mov edx, 0x4ee424
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004045d4
lea ecx, [ebp - 0x1c]
mov edx, 0x4ee440
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004045d4
lea ecx, [ebp - 0x24]
mov edx, 0x4ee458
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f98
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040963c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4ee470
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x28]
call fcn.004e5894
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4ee480
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x2c]
call fcn.004e5894
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4ee498
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040963c
inc eax
je 0x4ee369
lea ecx, [ebp - 0x34]
mov edx, 0x4ee498
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x34]
call fcn.00409600
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040ae1c
fstp qword [ebp - 0x3c]
wait
call fcn.0040b230
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4ee384
lea ecx, [ebp - 0x40]
mov edx, 0x4ee498
mov eax, esi
call fcn.004ebdbc
mov eax, dword [ebp - 0x40]
call fcn.004e5894
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4ee4a8
mov eax, esi
call fcn.004ebdbc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004045d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee3cd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045a4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045a4
ret
Function at 0x4fa63c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x4fa663
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4fa7ec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4fa7e5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4fa6b2
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
test edi, edi
je 0x4fa6a8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x4fa7ca
mov edx, dword [ebp - 4]
test al, 8
je 0x4fa72e
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4fa713
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00468a14
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4fa750
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00468a14
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00468a14
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x4fa7a8
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x4fa578
push ebx
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x4fa7ca
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x4fa578
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa7ec
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x51211c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x51218d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x594ee4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x512177
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0051210c
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x511f14]
call fcn.005121b4
mov dword [0x594f48], eax
mov eax, dword [ebp - 4]
call fcn.005120bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512194
lea eax, [ebp - 8]
call fcn.00406274
ret

Function at 0x513dcc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x513e86
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404c8c
mov eax, dword [0x595b78]
cmp dword [eax], 2
jne 0x513e3b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004050c8
mov eax, dword [ebx]
call fcn.00404e00
push eax
mov eax, dword [ebx]
call fcn.00404df0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404e00
mov edx, eax
dec edx
mov eax, ebx
call fcn.004050c8
jmp 0x513e6d
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a020
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404de0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513e8d
lea eax, [ebp - 0x3f0]
call fcn.00404580
ret
Function at 0x5377c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.005377b0
test eax, eax
jne 0x5377e5
mov eax, esi
call fcn.00404580
jmp 0x537876
mov eax, ebx
call fcn.0053790c
test al, al
je 0x53782b
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404670
test edi, edi
je 0x537822
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x537876
mov eax, esi
call fcn.00404580
jmp 0x537876
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x53786f
mov eax, dword [ebp + 0x208]
call fcn.0041ce6c
test eax, eax
jle 0x53785d
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0044b4e4
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004045d4
jmp 0x537876
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x210]
call fcn.004045d4
jmp 0x537876
mov eax, esi
call fcn.00404580
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x54f0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x54f2a3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042e7dc
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0047ca78
call fcn.0053a1c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x54f174
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00428aac
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042e7dc
mov eax, dword [eax + 0xc]
pop edx
call fcn.00428ab4
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428994
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409ecc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042e7dc
call fcn.00429b1c
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428a08
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428a44
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428a44
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428a44
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00428aac
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042e7dc
mov eax, dword [eax + 0xc]
pop edx
call fcn.00428940
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042e7dc
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.00428784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54f2aa
lea eax, [ebp - 4]
call fcn.00404580
ret
Function at 0x566378
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x566390
mov eax, ebx
call fcn.00565c48
cmp dword [ebx + 0x68], 0
jne 0x56639d
mov eax, ebx
call fcn.00565bd0
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.00565a50
lea eax, [esp + 0x10]
xor edx, edx
call fcn.00566d88
cmp eax, dword [esp]
je 0x56640b
lea eax, [esp + 0x10]
xor edx, edx
call fcn.00566d9c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x5663e7
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.00566d88
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x566400
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x566426
push 3
mov eax, dword [esi + 0x10]
call fcn.00470a44
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x566433
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
call fcn.00469848
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0046986c
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.00469894
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.004698b8
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.0041a38c
mov eax, ebp
mov edx, dword [0x5952f0]
mov byte [edx + 2], al
mov eax, dword [0x5952f0]
mov byte [eax], 0
mov eax, dword [0x5952f0]
mov byte [eax + 1], 0
mov eax, dword [0x5952f0]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00470a44
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00470a44
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00470a44
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [0x5952f0]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042e7dc
call fcn.00429b1c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00470a44
push eax
mov eax, dword [0x59528c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00470a44
push eax
call sub.user32.dll_ShowWindow
push 0
push esi
call sub.user32.dll_ReleaseDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5676c4
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409ab0
test al, al
je 0x56774b
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403034
or esi, 0x100
test esi, esi
jns 0x5676ff
call fcn.004035ac
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00404a40
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x56774b
mov dl, 1
mov eax, dword [0x4278f8]
call fcn.0042ff0c
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.004302dc
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x56774b
mov eax, esp
call fcn.0040f7d0
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret
Function at 0x571c08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x597974
test esi, esi
jne 0x571c22
xor eax, eax
jmp 0x571d24
cmp dword [ebp], 0
jne 0x571c2d
call fcn.00571b98
xor ebx, 0xffffffff
cmp edi, 8
jb 0x571cfd
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x571c39
test edi, edi
jbe 0x571d1f
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x571d01
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x582584
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [ebp - 4]
call fcn.00404a30
xor eax, eax
push ebp
push 0x5825fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404840
mov ebx, eax
inc ebx
lea eax, [ebp - 0xc]
mov ecx, 0x582610
mov edx, dword [ebp - 4]
call fcn.0040488c
mov eax, dword [ebp - 0xc]
call fcn.00404a40
push 0
lea edx, [ebp - 8]
push edx
push ebx
push eax
push esi
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x582602
lea eax, [ebp - 0xc]
call fcn.00404580
lea eax, [ebp - 4]
call fcn.00404580
ret
Function at 0x585a2c
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a30
xor eax, eax
push ebp
push 0x585c00
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x18], 0xffffffff
xor eax, eax
mov dword [ebp - 0x1c], eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x585bdd
mov eax, 0xfa1
call fcn.00408cc4
mov ebx, eax
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403034
mov dword [ebp - 0x64], 0x44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x585bbb
xor edi, edi
push 0x64
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x14], eax
mov eax, dword [0x595804]
mov eax, dword [eax]
call fcn.0048ad8c
inc edi
cmp edi, 0xa
jg 0x585b43
push ebx
push ebx
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x78]
mov edx, ebx
call fcn.00404778
mov edx, dword [ebp - 0x78]
mov eax, esi
call fcn.0041e29c
mov dl, 0xa
mov eax, esi
call fcn.0041e42c
cmp dword [ebp - 0x14], 0x102
je 0x585af6
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0x10], eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0xfa0
push ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp - 0x10]
mov byte [ebx + eax], 0
push ebx
push ebx
call sub.user32.dll_OemToCharA
mov eax, 0x32
call fcn.004e593c
lea edx, [ebp - 0x7c]
mov eax, esi
call fcn.0041d73c
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov edx, ebx
call fcn.00404778
mov edx, dword [ebp - 0x80]
pop eax
call fcn.00404848
mov edx, dword [ebp - 0x7c]
mov eax, esi
call fcn.0041e29c
cmp dword [ebp - 0x10], 0xfa0
jae 0x585b4c
mov dl, 0xa
mov eax, esi
call fcn.0041e42c
mov eax, ebx
call fcn.004027f4
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x585c07
lea eax, [ebp - 0x80]
mov edx, 3
call fcn.004045a4
lea eax, [ebp - 4]
call fcn.00404580
ret
Function at 0x426a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x426a32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x426a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x426a28
mov eax, 1
add ebx, ebx
jne 0x426a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x426a40
jne 0x426a5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426a40
xor ecx, ecx
sub eax, 3
jb 0x426a70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x426ae2
mov ebp, eax
add ebx, ebx
jne 0x426a7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x426a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x426aac
inc ecx
add ebx, ebx
jne 0x426a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x426a8d
jne 0x426aa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x426a8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jle 0x426acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x426abd
jmp 0x426a2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x426acc
add edi, ecx
jmp 0x426a2e
pop esi
sub edi, dword [edi - 4]
push edi
mov edi, esi
mov ecx, 0x3d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x426aee
cmp byte [edi], 0
jne 0x426aee
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 0x426af3
pop edi
mov eax, dword [edi]
or eax, eax
je 0x426b64
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x26000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x26064]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x426b1b
push edx
mov ecx, edi
jns 0x426b4b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x26068]
pop edx
or eax, eax
je 0x426b62
mov dword [ebx], eax
add ebx, 4
jmp 0x426b38
popal
ret
popal
jmp 0x4047f0