joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2ec8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b2f6a
cmp dword [ebx + 0x94], 0
jne 0x4b2f64
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4b2e14
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b2f64
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4b2f2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b2f64
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00434f18
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b2f39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b3188
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4fb284]
cmp dword [eax + 0x170], 0
je 0x4b32ed
test bl, bl
jne 0x4b323b
cmp dword [esi + 0x9c], 0
jne 0x4b3230
mov eax, esi
call fcn.004b6078
push eax
push 0x4b3094
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b3201
mov eax, dword [0x4fb284]
cmp byte [eax + 0xd3], 0
je 0x4b3201
mov eax, dword [esi + 0xd8]
call fcn.0040824c
mov edi, eax
cmp edi, 0
jl 0x4b3201
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b31ea
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b3230
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434f18
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b3210
inc dword [esi + 0x9c]
jmp 0x4b32ed
cmp dword [esi + 0x9c], 0
jle 0x4b32ed
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b32ed
cmp dword [esi + 0x44], 0
je 0x4b3298
mov eax, dword [0x4fb284]
cmp byte [eax + 0xd3], 0
je 0x4b3298
mov eax, dword [esi + 0xd8]
call fcn.0040824c
mov edi, eax
cmp edi, 0
jl 0x4b3298
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b3281
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b32c7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00434f18
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b32a7
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a6374]
call fcn.0040840c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b3f3c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b3fa7
cmp byte [ebx + 0xd3], 0
jne 0x4b3fa7
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406b8c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b3f94
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b3fb4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a50
jmp 0x4b3fb4
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406a50
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b57dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b584a
mov eax, esi
call fcn.0048de48
test al, al
je 0x4b584a
mov eax, dword [ebx + 0x84]
call fcn.0048dac8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4b584a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b583e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0048dac8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00484ad0
jmp 0x4b584a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b5614
pop esi
pop ebx
ret

Function at 0x4be9b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 0x30]
push eax
call sub.kernel32.dll_GetSystemInfo_1
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
dec ecx
js 0x4bea01
lea eax, [ebp - 0x30]
cmp word [eax + 0x20], 3
je 0x4be9e8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4be9d8
jmp 0x4bea01
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4be9e9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d0320
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40c834]
call fcn.0040775c
xor eax, eax
push ebp
push 0x4d046a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f5098], 0
jne 0x4d0374
mov ecx, dword [0x4f5548]
mov dl, 1
mov eax, dword [0x40d9ec]
call fcn.00417ecc
call fcn.00405980
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.0040486c
mov eax, ebx
call fcn.004068d4
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x4d0478
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.0040998c
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x4d03bb
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x4d0410
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x4d0409
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406cb8
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406c50
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412944
test eax, eax
jne 0x4d0409
mov ebx, 0x15
jmp 0x4d0415
mov ebx, 0x10
jmp 0x4d0415
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x4f5098]
call fcn.004d018c
mov eax, dword [ebp - 4]
call fcn.004d018c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004099a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0471
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406a48
lea eax, [ebp - 0xc]
mov edx, dword [0x40c834]
call fcn.00407834
ret
Function at 0x4d5284
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4d529c
add esp, 0xfffffff0
call fcn.004053dc
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4d53b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.0040423c
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4d53a0
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.004d018c
xor eax, eax
push ebp
push 0x4d538d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.004d018c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406cb8
jmp 0x4d535e
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407260
mov eax, dword [ebx + 4]
call fcn.00406dc0
dec eax
jle 0x4d5372
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x4d534c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5394
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d53bd
lea eax, [ebp - 4]
call fcn.00406708
ret
Function at 0x4e700c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff99c
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a38
xor eax, eax
push ebp
push 0x4e7102
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.00414204
lea edx, [ebp - 8]
xor eax, eax
call fcn.004074f4
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.00414204
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040486c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4e70ba
or ebx, 0xffffffff
jmp 0x4e70e7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b44e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x664]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7109
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a48
ret

Function at 0x4e8694
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdfc
mov ebx, edx
push esp
push eax
mov eax, dword [0x4f593c]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov edx, ebx
lea eax, [esp + 4]
call fcn.00414494
add esp, 0x204
pop ebx
ret
Function at 0x4e86d4
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4e86dc
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a38
xor eax, eax
push ebp
push 0x4e8878
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e8836
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x42c21c]
call fcn.004386cc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4e8825
push dword fs:[edx]
mov dword fs:[edx], esp
test bl, bl
je 0x4e874d
lea eax, [ebp - 0xc]
mov ecx, 0x4e8894
mov edx, dword [ebp - 4]
call fcn.00406f24
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4e8768
lea eax, [ebp - 0x10]
mov ecx, 0x4e88ac
mov edx, dword [ebp - 4]
call fcn.00406f24
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
call fcn.004e85f4
lea eax, [ebp - 0x14]
mov edx, 0x4e88c4
call fcn.00406e64
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 0
push 0x4e88e4
lea eax, [ebp - 0x20]
call fcn.004e85f4
push dword [ebp - 0x20]
push 0x4e88c4
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00407008
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov ecx, 0
call fcn.00406c94
mov eax, dword [ebp - 0x18]
call fcn.004065c0
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e882c
mov eax, dword [ebp - 8]
call fcn.00404ea8
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b44e4
lea eax, [ebp - 0x24]
call fcn.004e85f4
lea eax, [ebp - 0x24]
mov edx, 0x4e88c4
call fcn.00406e64
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp - 0x28]
call fcn.00406adc
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
ret
Function at 0x4ea854
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ac
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a38
xor eax, eax
push ebp
push 0x4ea939
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40e]
mov edx, dword [ebp - 4]
call fcn.00414204
lea edx, [ebp - 8]
xor eax, eax
call fcn.004074f4
lea eax, [ebp - 0x60e]
mov edx, dword [ebp - 8]
call fcn.00414204
lea eax, [ebp - 0x654]
xor ecx, ecx
mov edx, 0x44
call fcn.0040486c
mov dword [ebp - 0x654], 0x44
mov dword [ebp - 0x628], 1
mov word [ebp - 0x624], bx
push 0x4fb418
lea eax, [ebp - 0x654]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x40e]
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4ea900
or ebx, 0xffffffff
jmp 0x4ea91e
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b44e4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x4fb418]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ea940
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406a48
ret
Function at 0x4ea948
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4ea950
push ebx
push esi
xor edx, edx
push ebp
push 0x4eab18
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004e9d10
lea edx, [ebp - 0x14]
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b5058
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00413c10
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4fb3e8]
call fcn.00413c10
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00406e64
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00413fd8
lea edx, [ebp - 8]
mov eax, dword [0x4fb3e8]
call fcn.00413ee4
lea eax, [ebp - 0xc]
mov edx, dword [0x4fb3ec]
call fcn.00406aa4
call fcn.004045c8
mov esi, eax
test esi, esi
jle 0x4eaa63
mov ebx, 1
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x1c]
mov eax, 0x4eab34
call fcn.004074a8
test eax, eax
jg 0x4eaa10
lea edx, [ebp - 0x20]
mov eax, ebx
call fcn.00404628
mov edx, dword [ebp - 0x20]
mov eax, 0x4eab44
call fcn.004074a8
test eax, eax
jle 0x4eaa39
push dword [ebp - 0xc]
push 0x4eab54
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x24]
push 0x4eab68
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00407008
jmp 0x4eaa5b
push dword [ebp - 0xc]
push 0x4eab34
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.00404628
push dword [ebp - 0x28]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00407008
inc ebx
dec esi
jne 0x4ea9da
mov eax, dword [ebp - 4]
call fcn.004140e0
push 0
mov ecx, 0x4eab78
mov edx, 0x4eab8c
mov eax, dword [0x4fb40c]
mov ebx, dword [eax]
call dword [ebx + 0x14]
test al, al
je 0x4eaac9
push 0
mov eax, dword [ebp - 4]
call fcn.00406adc
push eax
push 0x4eaba8
push dword [ebp - 8]
push 0x4eabc0
push dword [ebp - 0xc]
lea eax, [ebp - 0x2c]
mov edx, 4
call fcn.00407008
mov eax, dword [ebp - 0x2c]
call fcn.00406adc
push eax
push 0x4eabc8
push 0x4eabd0
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x4eaaf1
push dword [ebp - 4]
push dword [ebp - 8]
push 0x4eab34
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00407008
mov eax, dword [ebp - 0x30]
mov edx, 1
call fcn.004ea854
mov eax, dword [0x4f593c]
mov eax, dword [eax]
call fcn.004b44e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eab1f
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00406a48
ret
Function at 0x10003b09
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x28
push 0x2219288
call 0x10008ee0
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov esi, 0x14c
cmp word [eax + 4], si
jne 0x10003b35
add eax, 0x78
jmp 0x10003b3a
add eax, 0x88
mov esi, dword [eax]
add esi, ecx
cmp dword [eax], edx
je 0x10003c28
cmp dword [eax + 4], edx
je 0x10003c28
cmp dword [esi + 0x1c], edx
je 0x10003c28
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
cmp eax, edx
je 0x10003c28
mov eax, dword [esi + 0x1c]
add eax, ecx
mov dword [ebp - 0x30], eax
cmp dword [esi + 0x24], edx
je 0x10003c18
mov edi, dword [esi + 0x24]
add edi, ecx
mov dword [ebp - 0x38], edi
mov ebx, dword [esi + 0x20]
add ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x28]
jae 0x10003c28
and dword [ebp - 0x1c], 0
xor eax, eax
inc eax
je 0x10003ba9
movzx ecx, word [edi]
add ecx, dword [esi + 0x10]
cmp eax, ecx
jmp 0x10003bda
mov eax, dword [ebx]
add eax, ecx
mov dword [ebp - 0x2c], eax
xor ecx, ecx
inc ecx
je 0x10003bc7
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10003be3
push ecx
push eax
call dword [0x2219094]
test eax, eax
jmp 0x10003bda
push eax
call dword [0x2219034]
mov edx, dword [ebp - 0x2c]
call fcn.100062b9
xor ecx, ecx
cmp ecx, eax
jne 0x10003be3
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x10003c02
movzx eax, word [edi]
mov ecx, dword [ebp - 0x30]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x20], eax
xor eax, eax
je 0x10003c28
mov ecx, dword [ebx]
add ecx, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x10003c28
add ebx, 4
mov dword [ebp - 0x34], ebx
inc edi
inc edi
mov dword [ebp - 0x38], edi
inc dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
jmp 0x10003b8a
mov dword [ebp - 0x20], eax
jmp 0x10003c28
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
call 0x10008f1b
ret 4

Function at 0x100060b4
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x100062b9
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
test edx, edx
je 0x100062fe
or eax, 0xffffffff
test esi, esi
je 0x100062fa
push edi
mov cl, byte [edx]
movzx edi, al
movzx ecx, cl
xor edi, ecx
and edi, 0xf
shr eax, 4
xor eax, dword [edi*4 + 0x2219238]
shr ecx, 4
mov edi, eax
and edi, 0xf
xor ecx, edi
shr eax, 4
xor eax, dword [ecx*4 + 0x2219238]
dec esi
inc edx
test esi, esi
jne 0x100062c8
pop edi
not eax
jmp 0x10006300
xor eax, eax
not eax
pop esi
ret
Function at 0x10006e69
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [edx + 0x3c]
add eax, edx
movzx ecx, word [eax + 0x14]
sub esp, 0x14
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
lea eax, [ecx + eax + 0x18]
xor ecx, ecx
cmp dword [eax + 4], edi
jne 0x10006e95
cmp dword [eax], 0x7373622e
jne 0x10006e95
mov ecx, eax
add eax, 0x28
dec esi
je 0x10006e9f
test ecx, ecx
je 0x10006e86
test ecx, ecx
je 0x10006ebd
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10006eb9
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x10006eb9
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
jmp 0x10006ec0
push 0xb
jmp 0x10006ebf
push 2
pop edi
mov eax, edi
test edi, edi
jne 0x10006f8c
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 4]
and esi, 0xfff
neg esi
sbb esi, esi
shr eax, 0xc
neg esi
add esi, eax
mov eax, dword [ebp - 0xc]
lea edi, [eax + edx]
mov eax, esi
push ebx
shl eax, 0xc
push eax
mov dword [ebp - 0x14], edi
call fcn.10003fdc
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x10006f88
push dword [ebp - 4]
push edi
push ebx
call fcn.10005dd2
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add esp, 0xc
test esi, esi
jbe 0x10006f62
mov eax, ebx
sub eax, edi
mov dword [ebp - 8], ebx
lea edi, [eax + ecx + 0x221b690]
mov ebx, 0x1000
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
lea eax, [eax + ecx - 0x7e47c82f]
push 1
push eax
mov eax, ebx
call fcn.10007ff0
mov ecx, dword [edi + 0xc]
sub ecx, dword [edi + 8]
add dword [ebp - 8], ebx
add ecx, dword [edi + 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jb 0x10006f2e
mov ebx, dword [ebp - 0x10]
lea eax, [ecx - 0x43175ac3]
test eax, eax
jne 0x10006f7d
sub ebx, dword [ebp - 0x14]
mov dword [0x221a344], ecx
mov dword [0x221a348], ebx
jmp 0x10006f8b
push ebx
call fcn.10006dda
xor eax, eax
inc eax
jmp 0x10006f8b
push 8
pop eax
pop ebx
pop edi
pop esi
leave
ret 4
Function at 0x403550
Capabilities:
Set current directory

Disassembly:
test al, al
je 0x403564
inc dword [0x4aa39c]
add dword [0x4a6920], 0xf0
mov edx, dword [0x4a6920]
push esi
push edi
mov ecx, 0x3c
mov esi, 0x4a8ed8
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov esi, edx
mov dword [esi + 0x2c], ecx
test al, al
je 0x403593
push 0
mov eax, 0x4ac290
call fcn.00415760
cmp dword [0x4aa3cc], 0
mov dword [0x4ac898], 0
mov dword [0x4ac89c], 0
je 0x4035bb
push 0x4aaa30
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
cmp byte [esp + 0x10], 0
jne 0x40363f
or ecx, 0xffffffff
cmp byte [esi + 0xce], 0
jne 0x4035ea
xor eax, eax
cmp byte [esp + 0x14], 0x65
sete al
mov byte [esi + 0xce], al
test al, al
je 0x4035ea
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 0x24], ecx
cmp dword [0x4ac8a4], 0
je 0x4035fc
cmp dword [0x4ac8a0], 0
jne 0x403605
cmp byte [esi + 0xce], 0
je 0x40363f
cmp byte [esi + 0xce], 0
mov byte [esi + 0xcc], 0
jne 0x40363f
cmp dword [0x4ac8a4], 0
jge 0x403627
pop edi
mov dword [esi + 0xc0], ecx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xbc], eax
mov edx, dword [0x4ac8a4]
mov dword [esi + 0xc0], edx
pop edi
pop esi
ret