joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48cf9c
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov ebp, eax
mov ebx, edi
test ebx, ebx
jle 0x48cfde
mov esi, 1
push 0
lea eax, [esp + 8]
push eax
push edi
mov eax, esi
dec eax
add eax, ebp
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp], al
push 0x32
call sub.kernel32.dll_Sleep_2
inc esi
dec ebx
jne 0x48cfb2
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48cfec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
call sub.kernel32.dll_GetTickCount
mov esi, eax
mov ebx, esi
jmp 0x48d010
mov eax, dword [0x491df4]
mov eax, dword [eax]
call fcn.0045b03c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
test ebp, ebp
je 0x48d01a
sub ebx, esi
cmp edi, ebx
ja 0x48cffd
mov al, 1
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48d024
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d0f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0x50
mov byte [ebp - 0x10], 0x4c
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0xe], 0x59
mov byte [ebp - 0xd], 0x49
mov byte [ebp - 0xc], 0x4e
mov byte [ebp - 0xb], 0x47
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov esi, edi
mov byte [ebp - 5], 0
jmp 0x48d0c8
mov edx, 0x3e8
mov eax, 1
call fcn.0048cfec
test al, al
je 0x48d0dd
lea eax, [ebp - 0x1c]
movzx edx, byte [ebp - 6]
call fcn.00404ce0
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00408a40
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
movzx edx, byte [ebp + ebx - 0x11]
call fcn.00404ce0
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00404f20
jne 0x48d0bf
inc ebx
jmp 0x48d0c1
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
cmp ebx, 7
jge 0x48d0d4
sub esi, edi
cmp esi, dword [ebp - 4]
jb 0x48d076
cmp ebx, 7
jne 0x48d0dd
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d0ff
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404b1c
ret
Function at 0x48d10c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f78
xor eax, eax
push ebp
push 0x48d21a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x48d13f
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, eax
add eax, 0x23
cmp eax, 0x16d
jne 0x48d1fc
lea eax, [ebp - 0x10]
push eax
mov ecx, 6
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404ff0
mov eax, dword [ebp - 0x10]
mov edx, 0x48d230
call fcn.00404f20
jne 0x48d1fc
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov esi, edi
mov eax, dword [ebp - 0xc]
call fcn.0048d024
jmp 0x48d1ee
mov edx, 0x3e8
mov eax, 1
call fcn.0048cfec
test al, al
je 0x48d1fc
mov eax, dword [ebp - 4]
call fcn.0048ce84
test al, al
je 0x48d1be
mov eax, dword [ebp - 4]
call fcn.00404f88
mov edx, dword [ebp - 0xc]
call fcn.0048cf9c
test ebx, ebx
jne 0x48d1cf
cmp byte [ebp - 5], 0x4f
jne 0x48d1e7
mov ebx, 1
jmp 0x48d1e7
cmp byte [ebp - 5], 0x4b
jne 0x48d1e5
mov ebx, 2
mov edx, esi
mov eax, edi
call fcn.0048cfec
jmp 0x48d1e7
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov esi, eax
cmp ebx, 2
je 0x48d1fc
mov eax, esi
sub eax, edi
cmp eax, dword [ebp - 0xc]
jb 0x48d18f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d221
lea eax, [ebp - 0x10]
call fcn.00404af8
lea eax, [ebp - 4]
call fcn.00404af8
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x3ae440d4
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x42db661f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x406a00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x406a22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x406a29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x406a18
mov eax, 1
add ebx, ebx
jne 0x406a3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x406a30
jne 0x406a4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x406a30
xor ecx, ecx
sub eax, 3
jb 0x406a60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x406ad2
mov ebp, eax
add ebx, ebx
jne 0x406a6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x406a78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x406a9c
inc ecx
add ebx, ebx
jne 0x406a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x406a7d
jne 0x406a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x406a7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x406abc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x406aad
jmp 0x406a1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x406abc
add edi, ecx
jmp 0x406a1e
pop esi
mov edi, esi
mov ecx, 1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x406ada
cmp byte [edi], 1
jne 0x406ada
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 0x406adf
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x406b57
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x68d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x690c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x406b0c
mov ecx, edi
jns 0x406b3b
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 + 0x6910]
or eax, eax
je 0x406b51
mov dword [ebx], eax
add ebx, 4
jmp 0x406b29
call dword [esi + 0x6920]
mov ebp, dword [esi + 0x6914]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x406b8b
sub esp, 0xffffff80
jmp 0x40106c
Function at 0x68f151bd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [ebp + 0x5d88d445]
aam 0x50
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.68f14db2
push eax
push esi
push dword [ebp + 8]
call fcn.68f14d67
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.68f14da2
jo 0x68f15214
xor byte [ecx - 0xb77b], cl
invalid
cmpsb byte [esi], byte es:[edi]
pop ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.68f14da2
push cs
add byte [ecx + ecx*2 - 0x73], ah
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x68f16e0a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x3a4], 0
je 0x68f16e38
lea eax, [ebp - 0x714]
push eax
call fcn.68f14db2
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.68f14d67
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x68f16e43
jmp 0x68f16e48
jmp 0x68f16744

Function at 0x68f19187
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x68f5f80b
call fcn.68f54c62
mov edx, dword [ebx + 4]
cmp edx, 0x200
mov esi, dword [sym.GrooveUtil.DLL_class_GCMenuHelper__GCMenuHelper::ms_pCurrentMenu]
jne 0x68f1921f
mov eax, dword [esi + 0x9c]
cmp eax, 0x11f
je 0x68f1921f
cmp eax, 0x101
je 0x68f1921f
cmp dword [esi + 0x98], 0
je 0x68f192f2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x68fac0cc]
cmp eax, 0x1f4
jbe 0x68f192f2
movzx eax, word [ebx + 0xc]
mov dword [ebp - 0x18], eax
movzx eax, word [ebx + 0xe]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp - 0x18]
shl eax, 0x10
or eax, ecx
push eax
push dword [ebx + 8]
push dword [ebx + 4]
push dword [esi + 0x98]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x68f192f2
mov edi, 0x100
cmp edx, edi
jb 0x68f192f2
cmp edx, 0x109
ja 0x68f192f2
cmp byte [esi + 0x90], 0
je 0x68f1924b
cmp dword [ebx + 8], 0x27
jne 0x68f1924b
mov cl, 1
jmp 0x68f1924d
xor cl, cl
cmp byte [esi + 0x91], 0
je 0x68f19260
cmp dword [ebx + 8], 0x25
jne 0x68f19260
mov al, 1
jmp 0x68f19262
xor al, al
test cl, cl
jne 0x68f192f2
test al, al
jne 0x68f192f2
mov eax, dword [ebx + 0xc]
shr eax, 0x1d
not al
and al, 1
cmp edx, 0x104
jne 0x68f19288
test al, al
je 0x68f19299
cmp edx, edi
jne 0x68f192a8
mov eax, dword [ebx + 8]
cmp eax, 0x25
je 0x68f19299
cmp eax, 0x27
jne 0x68f192a8
push 0
push 0
push 0x1f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esi + 0x30]
mov edi, 0x68f79b40
push edi
lea ecx, [ebp - 0x10]
mov dword [0x68fac0cc], eax
call sym.GrooveUtil.DLL_protected:_void___thiscall_GCIPtrBase::QueryInterfaceNoRelease_struct__GUID_const___struct_IUnknown__
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push eax
mov dword [ebp - 0x14], eax
call dword [ecx + 0x10]
test eax, eax
jge 0x68f192e6
push edi
push dword [ebp - 0x14]
push eax
call fcn.68ef1079
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sym.GrooveUtil.DLL_public:_void___thiscall_GCAnyIPtr::destructor_void_
mov eax, dword [ebx + 4]
mov dword [esi + 0x9c], eax
xor eax, eax
call fcn.68f54d3a
ret
Function at 0x4082c6
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.00408350
mov esi, eax
call fcn.0040831c
push 0x41000c
push section.._nA._nA_2
call fcn.00408302
push 0
push 0x413070
push esi
call fcn.00406c30
add esp, 0x14
mov esi, eax
call fcn.00408334
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x408350
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov dword [0x413070], ebx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
cmp esi, ebx
jne 0x408387
xor eax, eax
jmp 0x408433
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
cmp byte [esi], 0x22
jne 0x4083ae
inc esi
mov dword [0x413070], esi
mov al, byte [esi]
cmp al, bl
je 0x4083a8
cmp al, 0x22
je 0x4083a8
inc esi
jmp 0x40839b
cmp byte [esi], bl
jne 0x4083c9
jmp 0x408380
mov dword [0x413070], esi
mov al, byte [esi]
cmp al, bl
je 0x4083c5
cmp al, 0x20
je 0x4083c5
cmp al, 9
je 0x4083c5
inc esi
jmp 0x4083b4
cmp byte [esi], bl
je 0x4083cc
mov byte [esi], bl
inc esi
push 1
mov ecx, 0x413074
pop eax
mov dl, byte [esi]
cmp dl, bl
je 0x4083df
cmp dl, 0x20
je 0x4083e4
cmp dl, 9
jne 0x4083e7
inc esi
jmp 0x4083d4
mov dl, byte [esi]
cmp dl, bl
je 0x408433
cmp dl, 0x22
jne 0x408409
inc esi
inc eax
mov dword [ecx], esi
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x408424
cmp dl, 0x22
je 0x408424
inc esi
jmp 0x4083fb
mov dword [ecx], esi
inc eax
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x408424
cmp dl, 0x20
je 0x408424
cmp dl, 9
je 0x408424
inc esi
jmp 0x408411
cmp byte [esi], bl
je 0x408433
mov byte [esi], bl
inc esi
cmp ecx, 0x413270
jl 0x4083d4
pop edi
pop esi
pop ebx
ret

Function at 0x409813
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
inc esi
cmp dword [0x4132ec], esi
push edi
jne 0x409833
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x4132e8], esi
mov byte [0x4132e4], al
jne 0x409899
mov ecx, dword [0x41335c]
test ecx, ecx
je 0x40987a
mov eax, dword [0x413358]
sub eax, 4
cmp eax, ecx
jmp 0x409873
mov eax, dword [eax]
test eax, eax
je 0x409865
call eax
mov eax, dword [0x413358]
sub eax, 4
cmp eax, dword [0x41335c]
mov dword [0x413358], eax
jae 0x40985d
mov eax, 0x410020
mov esi, 0x410024
cmp eax, esi
mov edi, eax
jae 0x409899
mov eax, dword [edi]
test eax, eax
je 0x409892
call eax
add edi, 4
cmp edi, esi
jb 0x40988a
mov eax, 0x410028
mov esi, 0x41002c
cmp eax, esi
mov edi, eax
jae 0x4098b8
mov eax, dword [edi]
test eax, eax
je 0x4098b1
call eax
add edi, 4
cmp edi, esi
jb 0x4098a9
cmp dword [ebp + 0x10], 0
pop edi
pop esi
jne 0x4098d2
push dword [ebp + 8]
mov dword [0x4132ec], 1
call fcn.004097e3
pop ebp
ret
Function at 0x40a403
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x413344], ebx
push esi
push edi
jne 0x40a483
push 0x40f608
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a4be
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x40f5fc
push edi
call esi
test eax, eax
mov dword [0x413344], eax
je 0x40a4be
push 0x40f5ec
push edi
call esi
push 0x40f5d8
push edi
mov dword [0x413348], eax
call esi
cmp dword [0x4132ac], 2
mov dword [0x41334c], eax
jne 0x40a483
push 0x40f5bc
push edi
call esi
test eax, eax
mov dword [0x413354], eax
je 0x40a483
push 0x40f5a4
push edi
call esi
mov dword [0x413350], eax
mov eax, dword [0x413350]
test eax, eax
je 0x40a4c8
call eax
test eax, eax
je 0x40a4af
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x413354]
test eax, eax
je 0x40a4af
test byte [ebp - 8], 1
jne 0x40a4c8
cmp dword [0x4132b8], 4
jb 0x40a4c2
or byte [ebp + 0x12], 0x20
jmp 0x40a4e7
xor eax, eax
jmp 0x40a4f7
or byte [ebp + 0x12], 4
jmp 0x40a4e7
mov eax, dword [0x413348]
test eax, eax
je 0x40a4e7
call eax
mov ebx, eax
test ebx, ebx
je 0x40a4e7
mov eax, dword [0x41334c]
test eax, eax
je 0x40a4e7
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x413344]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x28d17083
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x474253ea
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x404b74
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 2], 1
test eax, eax
je 0x404c01
push ebx
push esi
push edi
lea edi, [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x404bf6
mov esi, dword [edi - 8]
movzx ebx, byte [edi + 4]
mov eax, esi
mov byte [ebp - 1], 0
call fcn.0041b700
cmp eax, 0x1e
jb 0x404bf2
lea eax, [ebp - 8]
push eax
push 0x40
push 0x1e
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x404bf2
push 0
add ebx, 0xfffffffb
push ebx
push dword [ebp - 0x10]
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x404bda
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x1e
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp byte [ebp - 1], 0
jne 0x404bf6
mov byte [ebp - 2], 0
add edi, 0x10
dec dword [ebp - 0xc]
jne 0x404b8b
pop edi
pop esi
pop ebx
mov al, byte [ebp - 2]
leave
ret

Function at 0x404c6b
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
xor ecx, ecx
cmp ebx, esi
jbe 0x404c91
mov eax, dword [ebp + 8]
add eax, 0xc
cmp dword [eax - 0xc], esi
je 0x404ce6
mov dword [eax - 4], esi
mov byte [eax], 0
inc ecx
add eax, 0x10
cmp ecx, ebx
jb 0x404c7e
mov eax, ebx
imul eax, eax, 0x23
push edi
push 0x40
push 0x3000
push eax
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
cmp edi, esi
je 0x404cf4
mov dword [ebp - 4], esi
cmp ebx, esi
jbe 0x404cdd
mov esi, dword [ebp + 8]
add esi, 8
mov eax, dword [esi - 4]
push edi
push dword [esi - 8]
call fcn.0041b745
test eax, eax
je 0x404cdd
mov dword [esi], edi
add edi, eax
inc dword [ebp - 4]
mov byte [esi + 4], al
add esi, 0x10
cmp dword [ebp - 4], ebx
jb 0x404cbb
cmp dword [ebp - 4], ebx
jne 0x404cea
mov al, 1
jmp 0x404cf6
xor al, al
jmp 0x404cf7
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.00404b74
xor al, al
pop edi
pop esi
leave
ret 4

Function at 0x404fa6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp word [0x4223a8], 0
push esi
push edi
mov edi, 0x4223a8
mov esi, 0x4225b0
jne 0x404fe4
push 2
call fcn.00416570
mov ecx, edi
call fcn.00417a54
add eax, eax
push eax
push edi
push esi
call fcn.00416f41
xor ecx, ecx
push esi
mov word [eax + 0x4225b0], cx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test ebx, ebx
je 0x405000
or eax, 0xffffffff
mov ecx, edi
mov edx, ebx
call fcn.004172a6
push 0x401638
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
cmp byte [esp + 0xc], 0
je 0x40502e
cmp byte [0x422fd4], 1
jbe 0x40502e
push esi
call fcn.0041c510
push esi
call fcn.0041a586
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40502e
push edi
call fcn.0041a586
pop edi
pop esi
ret 4
Function at 0x4050e7
Capabilities:
Get session user name
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
push ebx
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 0
push edi
mov bl, 1
mov byte [ebp - 1], 0
jne 0x405117
call fcn.0041c7ea
mov dword [esi], eax
test eax, eax
jne 0x405113
xor al, al
jmp 0x40531c
mov byte [ebp - 1], 1
test byte [ebp + 0xc], 1
mov edi, CreateThread
je 0x405169
lea eax, [ebp - 0x228]
push eax
call fcn.0041651b
push 0x2711
push esi
lea ecx, [ebp - 0x224]
call fcn.0041c8ab
mov bl, al
test bl, bl
je 0x40518c
lea eax, [ebp - 0x3c]
push eax
call fcn.0041667b
cmp word [ebp - 0x3c], 0
je 0x405165
push 0x2712
push esi
lea ecx, [ebp - 0x3c]
call fcn.0041c8ab
mov bl, al
test bl, bl
je 0x40518c
test byte [ebp + 0xc], 2
je 0x40518c
lea eax, [ebp - 8]
push eax
push edi
push 0x2713
push 4
pop ebx
mov eax, esi
mov dword [ebp - 8], 0x2010001
call fcn.0041c7fe
mov bl, al
test byte [ebp + 0xc], 4
je 0x405205
test bl, bl
je 0x40530a
call fcn.00417007
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x2719
push 4
pop ebx
mov eax, esi
call fcn.0041c7fe
mov bl, al
test bl, bl
je 0x40530a
call fcn.0041702f
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x271b
push 4
pop ebx
mov eax, esi
call fcn.0041c7fe
mov bl, al
test bl, bl
je 0x40530a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push edi
push 0x271a
push 4
pop ebx
mov eax, esi
call fcn.0041c7fe
mov bl, al
test bl, bl
je 0x40530a
test byte [ebp + 0xc], 8
je 0x40525f
lea esi, [ebp - 0x10]
call fcn.0040d86d
mov eax, esi
push eax
mov eax, dword [ebp + 8]
push edi
push 0x271c
push 6
pop ebx
call fcn.0041c7fe
mov bl, al
test bl, bl
je 0x405307
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
push edi
push 0x271d
push 2
pop ebx
call fcn.0041c7fe
mov esi, dword [ebp + 8]
mov bl, al
test bl, bl
je 0x40530a
test byte [ebp + 0xc], 0x10
je 0x4052eb
push 0x103
lea eax, [ebp - 0x248]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp + 8], eax
test eax, eax
je 0x4052a5
xor ecx, ecx
push 0x271e
mov word [ebp + eax*2 - 0x248], cx
push esi
lea ecx, [ebp - 0x248]
call fcn.0041c8ab
mov bl, al
mov dword [ebp + 8], 0x104
test bl, bl
je 0x40530a
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x248]
push eax
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
test al, al
je 0x4052eb
mov eax, dword [ebp + 8]
test eax, eax
je 0x4052eb
xor ecx, ecx
push 0x271f
mov word [ebp + eax*2 - 0x248], cx
push esi
lea ecx, [ebp - 0x248]
call fcn.0041c8ab
mov bl, al
test bl, bl
je 0x40530a
test byte [ebp + 0xc], 0x20
je 0x40531a
push 2
push esi
call fcn.00405033
push 0x17
push esi
call fcn.00405033
jmp 0x40531a
mov esi, dword [ebp + 8]
cmp byte [ebp - 1], 1
jne 0x40531a
push dword [esi]
call fcn.00416f05
and dword [esi], 0
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 8