joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69fbd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1f0000]
push edi
jmp 0x69fbea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x69fbf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69fbe0
mov eax, 1
add ebx, ebx
jne 0x69fc03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x69fc14
jne 0x69fc33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69fc33
dec eax
add ebx, ebx
jne 0x69fc20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x69fbf8
add ebx, ebx
jne 0x69fc2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x69fc85
xor ecx, ecx
sub eax, 3
jb 0x69fc4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x69fcba
sar eax, 1
mov ebp, eax
jmp 0x69fc56
add ebx, ebx
jne 0x69fc56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69fc24
inc ecx
add ebx, ebx
jne 0x69fc64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x69fc24
add ebx, ebx
jne 0x69fc71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x69fc66
jne 0x69fc82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x69fc66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x69fca4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x69fc96
jmp 0x69fbe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x69fca4
add edi, ecx
jmp 0x69fbe6
pop esi
mov edi, esi
mov ecx, 0x32bd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x69fcc2
cmp byte [edi], 0x1d
jne 0x69fcc2
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 al, bl
loop 0x69fcc7
lea edi, [esi + 0x29c000]
mov eax, dword [edi]
or eax, eax
je 0x69fd3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a16e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a180c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x69fcf4
mov ecx, edi
jns 0x69fd23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a1810]
or eax, eax
je 0x69fd39
mov dword [ebx], eax
add ebx, 4
jmp 0x69fd11
call dword [esi + 0x2a1820]
mov ebp, dword [esi + 0x2a1814]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x69fd73
sub esp, 0xffffff80
jmp 0x46fd32
Function at 0x43a90c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x43a989
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043a36c
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43a931
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00439f6c
cmp dword [ebp - 4], 0
je 0x43a973
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404780
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a990
lea eax, [ebp - 4]
call fcn.004042b0
ret

Function at 0x43d954
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4d6b88], 0
je 0x43daa3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d5610]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43daa3
mov eax, dword [0x4d6b8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d6b88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43da72
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d6b88]
call fcn.0041e218
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43da6a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43da6a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43da6a
mov eax, dword [ebp - 0x14]
call fcn.004465e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43da6a
push ebp
call fcn.0043d910
pop ecx
test al, al
jne 0x43da6a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43da26
mov eax, dword [ebp - 0x14]
call fcn.00445110
dec eax
jle 0x43da6a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403674
cmp byte [ebp - 1], 0
je 0x43da6a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43da6a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d6b8c]
call fcn.0043d0dc
inc edi
dec ebx
jne 0x43d9b9
mov eax, dword [0x4d6b8c]
cmp dword [eax + 8], 0
jle 0x43da8a
mov eax, dword [0x4d6b8c]
call fcn.0043d16c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43daa3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043d778
pop ecx
test al, al
jne 0x43daa3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d398
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d543
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45d524
mov dl, 1
mov eax, dword [0x41c2cc]
call fcn.00403448
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004042b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45d513
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044b2b8
test al, al
je 0x45d506
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45d554
lea eax, [ebp - 0x254]
call fcn.0040a5e8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45d506
xor eax, eax
push ebp
push 0x45d4ff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45d58c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45d4e8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404530
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45d4e8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d506
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45d409
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0042082c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d54a
lea eax, [ebp - 0x260]
call fcn.004042b0
ret

Function at 0x45de78
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4d6be4]
cmp byte [eax + 0xa5], 0
jne 0x45dee9
cmp dword [0x4d6bfc], 0
jne 0x45deaa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45de34
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4d6bfc], eax
cmp dword [0x4d6bf8], 0
jne 0x45dec5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4d6bf8], eax
cmp dword [0x4d6c00], 0
jne 0x45dee9
push esp
push 0
push 0
push 0x45ddd8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4d6c00], eax
pop edx
ret
Function at 0x45e568
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4d6be4]
cmp dword [eax + 0x30], 0
je 0x45e612
cmp dword [ebx + 0x94], 0
jne 0x45e60c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e4f8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e60c
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_GetWindowLongA
test al, 8
je 0x45e5d2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e60c
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.0041e218
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e5e1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45f174
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45f1a9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004043a0
jmp 0x45f1b6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404304
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4602a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4602e9
mov eax, esi
call fcn.004468e4
test al, al
je 0x4602e9
mov eax, dword [ebx + 0x84]
call fcn.004465e0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4602e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.004465e0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47bb38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0047b6e7
push eax
push esi
push dword [ebp + 8]
invalid
push ebp
Function at 0x47bda8
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x47bdae
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax], al
add byte [eax - 0x15], ah
push ds
add byte [eax], al
add byte [eax - 0x15], ah
push ds
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x47be2a
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x47be11
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x47be1a
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x47be24
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x47be06
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x47bd90
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x47be77
dec eax
je 0x47be6e
sub eax, 3
je 0x47be65
mov dword [ebp - 4], 0x40
jmp 0x47be94
mov dword [ebp - 4], 4
jmp 0x47be7a
mov dword [ebp - 4], 0x20
jmp 0x47be7a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
cld
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x47bec6
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x47be46
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0047b6d7
add bh, bl
inc ebx
push cs
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x47bed2
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x47c5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebp, 0xfffff9ad
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
Function at 0x47c5ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0047b6b5
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
jmp dword [esi]
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
invalid
call dword [eax - 0x18]
xor esi, eax
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0047b69c
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0047b6d7
rcl ah, cl
shr dword [ebx + 0x10468], 1
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x481344
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x481369
cmp dword [esp + 4], 5
jb 0x481369
mov al, 1
jmp 0x48136b
xor eax, eax
add esp, 0x94
ret
Function at 0x10015429
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10015438
pop dword [ebp - 0x34]
mov eax, 0xbf1f3afb
add eax, 0x50e2193d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xad491beb
sub dword [ebp - 0x44], 0x5ef6d6a0
mov dword [ebp - 0x40], 0x30de86be
add dword [ebp - 0x40], 0x154c587
mov dword [ebp - 0x3c], 0x1174cbf3
add dword [ebp - 0x3c], 0x3ad7783b
mov dword [ebp - 0x38], 0x93d03964
add dword [ebp - 0x38], 0x6c2fc69c
lea eax, [ebp - 0x44]
push eax
mov eax, 0x160abbb1
sub eax, 0x6093afd
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xc448fc0a
add dword [ebp - 0x44], 0xb0296d4c
mov dword [ebp - 0x40], 0x36a6f2ea
add dword [ebp - 0x40], 0xac56e8b
mov dword [ebp - 0x3c], 0x13176dec
add dword [ebp - 0x3c], 0x5057fe80
mov dword [ebp - 0x38], 0xa3ce23fd
add dword [ebp - 0x38], 0x5c31dc03
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x19abf188
sub eax, 0x9aa7128
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3cefa
push 0
call eax
mov ecx, 0x1a583773
add ecx, 0xe5a816b3
mov esi, eax
mov edi, 0x703e6109
add edi, 0x9fc410f7
add edi, dword [ebp - 0x34]
mov edx, 0xa977842e
add dword [ebp - 0x2c], 0xaec7f8d5
mov ebx, dword [edi]
xor dword [ebp - 4], esi
sub ebx, edx
xor dword [ebp - 0x18], 0xea8ae99c
mov dword [esi], ebx
add dword [ebp - 0x10], eax
add esi, 0xe6ab7a98
add esi, 0x1954856c
add edi, 4
loop 0x10015554
add eax, 0x3b1d852a
sub eax, 0x3b1c59bf
xor ebx, ebx
add ebx, eax
add eax, 0xbfd4fe0c
sub eax, 0xbfd4fe07
mov ecx, 0x4b59be29
sub ecx, 0x3b59be29
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x11e04262
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x5bff129a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x53dd9c
push eax
push dword fs:[0]
push ebx
add byte [eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xe7
mov dword [0x98c0ec09], eax
mov eax, dword [0xf6a8b15c]
jecxz 0x401003
xor dword [ecx], ecx
iretd
ljmp 0x2bdb:0xc41a7522
jne 0x40109c
invalid
mov ch, byte [edx + 0x477bf67f]
jle 0x4010d4
salc
rcr cl, 1
cwde
add al, 0x60
sub byte [ecx + 0x485b75a6], bh
adc byte [eax], cl
xor eax, 0x4156615a
clc
or edi, dword [esi + 0x54]
xchg byte [ebx + 0x456a3141], bl
adc dword [edx + 0x30], ecx
jno 0x401110
sbb ebx, edi
cmp al, 0x6e
jae 0x40107e
out dx, al
aad 0x69
sub dword [edi + 0x33], ebx
retf
push ebp
mov cs, edx
mov bl, byte [edx + 0x3812e7a7]
adc eax, 0x31bdc80d
movsd dword es:[edi], dword [esi]
fild qword [eax]
add ch, al
cmpsd dword [esi], dword es:[edi]
dec eax
ret
Function at 0x401063
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4cf754]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401138
push edi
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push esi
push dword [ebp - 0x10c]
mov edi, 0x104
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401127
cmp dword [ebp - 0x114], 2
mov byte [ebp - 5], al
lea eax, [ebp - 0x108]
jne 0x401111
push edi
push dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb esi, esi
inc esi
jmp 0x401127
push eax
push edi
push dword [ebp - 0x110]
call section..text
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
jmp 0x40113a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00480dd2
leave
ret 4

Function at 0x401b57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.004873ba
mov ecx, dword [ebp + 8]
push eax
mov dword [ecx], eax
call fcn.00401a64
add esp, 0x1c
leave
ret
Function at 0x405fda
Capabilities:
Create directory

Disassembly:
push 0x84
mov eax, 0x49f597
call fcn.0048104e
push dword [ebp + 8]
call fcn.00408b88
xor ebx, ebx
mov esi, eax
xor eax, eax
mov dword [ebp - 0x14], esi
inc ebx
mov dword [ebp - 0x10], eax
pop ecx
cmp esi, ebx
je 0x406029
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x406018
mov al, bl
jmp 0x40611e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4060ca
test esi, esi
je 0x4060ca
lea ecx, [ebp - 0x20]
call fcn.00402cda
xor esi, esi
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 4], esi
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x4060bd
push esi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4060b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x40607a
xor bl, bl
jmp 0x4060b1
lea ecx, [ebp - 0x58]
call fcn.00406ae6
lea ecx, [ebp - 0x30]
call fcn.00402cda
push dword [ebp - 0x20]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.00406c75
test al, al
jne 0x4060a0
xor bl, bl
jmp 0x4060a8
mov eax, dword [ebp - 0x38]
shr eax, 4
and bl, al
push dword [ebp - 0x30]
call fcn.00481004
pop ecx
push dword [ebp - 0x20]
call fcn.00481004
mov al, bl
jmp 0x40611d
push dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
call fcn.00481004
pop ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4060db
xor al, al
jmp 0x40611e
lea ecx, [ebp - 0x90]
call fcn.00406ae6
lea ecx, [ebp - 0x68]
call fcn.00402cda
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 2
call fcn.00406c75
test al, al
je 0x406112
mov eax, dword [ebp - 0x70]
shr eax, 4
and al, bl
mov byte [ebp - 0x10], al
push dword [ebp - 0x68]
call fcn.00481004
mov al, byte [ebp - 0x10]
pop ecx
call fcn.00481017
ret

Function at 0x406124
Capabilities:
Create directory

Disassembly:
push 0xc
mov eax, 0x49f262
call fcn.0048104e
push dword [ebp + 8]
call fcn.00408b88
mov esi, eax
pop ecx
cmp esi, 1
je 0x406160
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x406153
mov al, 1
jmp 0x4061b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4061b3
test esi, esi
je 0x4061b3
lea ecx, [ebp - 0x18]
call fcn.00402cda
and dword [ebp - 4], 0
cmp esi, 1
setne al
movzx eax, al
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call fcn.00408735
add esp, 0xc
test al, al
je 0x4061aa
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 0x18]
mov esi, eax
call fcn.00481004
test esi, esi
pop ecx
setne al
jmp 0x4061b5
push dword [ebp - 0x18]
call fcn.00481004
pop ecx
xor al, al
call fcn.00481017
ret