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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3d000]
push edi
jmp 0x45521a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x455221
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x455210
mov eax, 1
add ebx, ebx
jne 0x455233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x455228
jne 0x455244
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455228
xor ecx, ecx
sub eax, 3
jb 0x455258
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4552ca
mov ebp, eax
add ebx, ebx
jne 0x455263
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x455270
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x455294
inc ecx
add ebx, ebx
jne 0x455280
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x455275
jne 0x455291
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x455275
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4552b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4552a5
jmp 0x455216
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4552b4
add edi, ecx
jmp 0x455216
pop esi
mov edi, esi
mov ecx, 0xe11
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4552d2
cmp byte [edi], 0x11
jne 0x4552d2
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 0x4552d7
lea edi, [esi + 0x53000]
mov eax, dword [edi]
or eax, eax
je 0x45534f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x580c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x581c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x455304
mov ecx, edi
jns 0x455333
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 + 0x581c8]
or eax, eax
je 0x455349
mov dword [ebx], eax
add ebx, 4
jmp 0x455321
call dword [esi + 0x581c4]
mov ebp, dword [esi + 0x581cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x455383
sub esp, 0xffffff80
jmp 0x41d348
Function at 0x4019db
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x400
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x401a01
inc edi
cmp edi, 0x1f6502b1
jl 0x4019e7
cmp dword [0x283041c], 0x400
jne 0x401a41
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeCmpStringHandles]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.00401e41
push esi
call fcn.00401f83
push esi
call fcn.00401f92
add esp, 0xc
xor edi, edi
cmp edi, 0xd036
jge 0x401a52
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0xd2ced2
jg 0x401a78
inc edi
cmp edi, 0x263ff
jl 0x401a43
mov eax, dword [0x442564]
mov dword [0x283041c], eax
call fcn.00401746
mov edi, 0x3078f
cmp dword [0x283041c], 0x51f
jne 0x401aa4
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
dec edi
jne 0x401a8c
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10
Function at 0x40408b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403012
and dword [ebp - 0x14], 0
cmp dword [0x44d0c0], 0
mov dword [ebp - 0x18], eax
jne 0x40413e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4041e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4041e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44d0c0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44d0c4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44d0c8], eax
call edi
push eax
call esi
mov dword [0x44d0d0], eax
test eax, eax
je 0x40413e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44d0cc], eax
mov eax, dword [0x44d0cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404197
cmp dword [0x44d0d0], ecx
je 0x404197
push eax
call esi
push dword [0x44d0d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404197
test ebx, ebx
je 0x404197
call edi
test eax, eax
je 0x40418e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40418e
test byte [ebp - 8], 1
jne 0x404197
or dword [ebp + 0x10], 0x200000
jmp 0x4041ca
mov eax, dword [0x44d0c4]
cmp eax, dword [ebp - 0x18]
je 0x4041ca
push eax
call esi
test eax, eax
je 0x4041ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4041ca
mov eax, dword [0x44d0c8]
cmp eax, dword [ebp - 0x18]
je 0x4041ca
push eax
call esi
test eax, eax
je 0x4041ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44d0c0]
call esi
test eax, eax
je 0x4041e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4041e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004043f6
leave
ret

Function at 0x4043f6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428310]
jne 0x404400
repz ret
jmp fcn.004052c9
Function at 0x51dea0
Capabilities:
Terminate process

Disassembly:
test byte [0x5cc2e8], 0x20
jne 0x51debe
vmovq xmm0, xmm0
vcvttpd2qq xmm0, xmm0
vmovd eax, xmm0
vpextrd edx, xmm0, 1
ret
mov ecx, esp
add esp, 0xfffffff8
and esp, 0xfffffff8
movsd qword [esp], xmm0
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov esp, ecx
btr edx, 0x1f
sbb ecx, ecx
cmp edx, 0x41e00000
jae 0x51df1e
cvttsd2si eax, xmm0
cdq
ret
mov ecx, edx
bts edx, 0x14
shr ecx, 0x14
and edx, 0x1fffff
sub ecx, 0x433
jge 0x51df18
neg ecx
push ebx
xor ebx, ebx
shrd ebx, eax, cl
je 0x51df11
cvttss2si ebx, dword [0x532bec]
pop ebx
shrd eax, edx, cl
shr edx, cl
ret
shld edx, eax, cl
shl eax, cl
ret
cmp edx, 0x43e00000
jae 0x51df37
test ecx, ecx
je 0x51dee8
call 0x51dee8
neg eax
adc edx, 0
neg edx
ret
jecxz 0x51df3f
ja 0x51df3f
test eax, eax
je 0x51df47
cvttss2si ecx, dword [0x532be8]
mov edx, SysReAllocStringLen
xor eax, eax
ret

Function at 0x51e623
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x51e662
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x51e662
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x51e662
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x51e662
cmp dword [ecx + 0x74], 0xe
jbe 0x51e662
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x52adc0
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1c910dc5
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5a593b37
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0xb134f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x499000]
push edi
jmp 0xb1350a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xb13511
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb13500
mov eax, 1
add ebx, ebx
jne 0xb13523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xb13534
jne 0xb13553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb13553
dec eax
add ebx, ebx
jne 0xb13540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xb13518
add ebx, ebx
jne 0xb1354f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xb135a5
xor ecx, ecx
sub eax, 3
jb 0xb1356b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xb135da
sar eax, 1
mov ebp, eax
jmp 0xb13576
add ebx, ebx
jne 0xb13576
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb13544
inc ecx
add ebx, ebx
jne 0xb13584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xb13544
add ebx, ebx
jne 0xb13591
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xb13586
jne 0xb135a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xb13586
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xb135c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xb135b6
jmp 0xb13506
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xb135c4
add edi, ecx
jmp 0xb13506
pop esi
mov edi, esi
mov ecx, 0xc459
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xb135e2
cmp byte [edi], 0x28
jne 0xb135e2
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 0xb135e7
lea edi, [esi + 0x70f000]
mov eax, dword [edi]
or eax, eax
je 0xb1365f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x719d4c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x719e84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xb13614
mov ecx, edi
jns 0xb13643
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 + 0x719e8c]
or eax, eax
je 0xb13659
mov dword [ebx], eax
add ebx, 4
jmp 0xb13631
call dword [esi + 0x719e88]
mov ebp, dword [esi + 0x719e90]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0xb13693
sub esp, 0xffffff80
jmp 0x59c641
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040bbb3
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040bbb3
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.0040bbb3
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.0040bbb3
mov dword [0x41203c], eax
call fcn.0040bbb3
test eax, eax
jge 0x402550
push 8
call fcn.0040bbb3
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.0040bbb3
pop ecx
push 1
call fcn.0040bbb3
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.0040bbb3
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.0040bbb3
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0040bbb3
jmp 0x402495

Function at 0x40bbb3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40bbc2
pop dword [ebp - 0x50]
mov eax, 0x69c6b88a
sub eax, 0x6985fcc8
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3dcf1
push 0
mov eax, 0x22d4d1d6
sub eax, 0x2293f0fe
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xa38d49b8
sub ecx, 0xa38cf055
xor esi, esi
add esi, eax
mov edi, 0x4777b6f6
add edi, 0xb8c984ce
add edi, dword [ebp - 0x50]
mov ebx, 0x27e134a1
add ebx, 0x36eebaad
sub dword [ebp - 0x1c], 0x73e1681b
mov edx, dword [edi]
xor dword [ebp - 0x20], edx
add edx, ebx
mov dword [esi], edx
sub dword [ebp - 0x2c], eax
add esi, 0x5e022644
add esi, 0xa1fdd9c0
add edi, 4
loop 0x40bc23
add eax, 0xc3bf1ba4
sub eax, 0xc3bdc345
mov ebx, eax
add eax, 0x31eb1e63
sub eax, 0x31eb1e5e
mov ecx, 0xd9a139a7
add ecx, 0x269ec659
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x9dccd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9dcd1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9dcce2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9dcd80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dcdd2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9dcdd8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f52c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f4f85

Function at 0x9fa0bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f9f3e

Function at 0x9ff670
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x70f24cba
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x572d5dfe
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x12006556
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x12006565
pop dword [ebp - 0x34]
mov eax, 0x88f990eb
add eax, 0x8906d47a
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x36f32
push 0
mov eax, 0x2b7d17e4
sub eax, 0x197d0618
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0x2de7910a
add ecx, 0xd218af34
xor edi, edi
add edi, eax
mov ebx, 0x12024e00
add ebx, dword [ebp - 0x34]
mov edx, 0xb33e823c
sub edx, 0xc7891df0
xor dword [ebp - 0x18], ebx
mov esi, dword [ebx]
add dword [ebp - 0xc], 0xb660b3fa
xor esi, edx
xor dword [ebp - 0x14], ebx
mov dword [edi], esi
sub dword [ebp - 0x28], edx
add edi, 4
add ebx, 0xf1f26681
add ebx, 0xe0d9983
loop 0x120065c0
add eax, 0xf3cb
mov ebx, eax
add eax, 0x135d5eaa
sub eax, 0x135d5ea5
mov ecx, 0x58d7b750
sub ecx, 0x46d7b750
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x12008876
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x1200e9e4
call fcn.1200dc23
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
call dword [0x12011898]
xor ebx, ebx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x12008936
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x42c]
push eax
call fcn.12006556
add esp, 0xc
test eax, eax
jl 0x12008936
mov edi, dword [ebp - 0x42c]
cmp edi, 0x400
jg 0x12008918
push edi
call fcn.12005add
test al, al
pop ecx
je 0x12008918
mov eax, edi
call fcn.1200db56
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x12008924
push edi
lea ecx, [ebp - 0x428]
call fcn.12006556
push dword [ebp - 0x424]
push edi
push esi
push eax
call fcn.12006556
cmp eax, ebx
jne 0x1200896d
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1200894f
lea ecx, [ebp - 0x418]
call fcn.1200591a
lea ecx, [ebp - 0x428]
call fcn.120056c9
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.1200dc7c
ret 0x10
push 2
push ebx
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x424], edi
jne 0x1200898f
call fcn.12005001
mov esi, eax
jmp 0x12008a82
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x120089b2
call fcn.12005001
jmp 0x12008a74
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x41c], eax
je 0x120089a8
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x420], esi
jae 0x12008a0b
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x120089f4
lea ecx, [ebp - 0x418]
call fcn.1200591a
mov esi, 0x8007000e
lea ecx, [ebp - 0x428]
call fcn.120056c9
mov eax, esi
jmp 0x1200895f
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.12006556
mov dword [ebp - 4], 1
jmp 0x12008a32
cmp dword [ebp - 0x418], ebx
jne 0x12008a41
mov esi, 0x8007000e
jmp 0x12008a76
push esi
push dword [ebp - 0x41c]
push esi
push dword [ebp - 0x418]
call fcn.12006556
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x434]
call fcn.12006556
mov esi, eax
push dword [ebp - 0x424]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x120089f9
lea ecx, [ebp - 0x418]
call fcn.1200591a
jmp 0x120089f9
Function at 0x1200d17f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x12001c14]
jne 0x1200de49
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x12011b38], eax
mov dword [0x12011b34], ecx
mov dword [0x12011b30], edx
mov dword [0x12011b2c], ebx
mov dword [0x12011b28], esi
mov dword [0x12011b24], edi
mov word [0x12011b50], ss
mov word [0x12011b44], cs
mov word [0x12011b20], ds
mov word [0x12011b1c], es
mov word [0x12011b18], fs
mov word [0x12011b14], gs
pushfd
pop dword [0x12011b48]
mov eax, dword [ebp]
mov dword [0x12011b3c], eax
mov eax, dword [ebp + 4]
mov dword [0x12011b40], eax
lea eax, [ebp + 8]
mov dword [0x12011b4c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x12011a88], 0x10001
mov eax, dword [0x12011b40]
mov dword [0x12011a3c], eax
mov dword [0x12011a30], 0xc0000409
mov dword [0x12011a34], 1
mov eax, dword [0x12001c14]
mov dword [ebp - 0x328], eax
mov eax, dword [0x12011878]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x12011a80], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x12001fa4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x12011a80], 0
jne 0x1200df39
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x404460
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40449f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40449f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40449f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40449f
cmp dword [ecx + 0x74], 0xe
jbe 0x40449f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401541
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x22c]
push ebx
sub esp, 0x25c
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
and edi, 0x300
mov dword [esp], ebx
mov eax, edi
mov dword [esp + 4], esi
or eax, 9
mov dword [esp + 8], eax
call fcn.004081fa
sub esp, 0x10
test eax, eax
jne 0x4016a1
mov eax, dword [ebp - 0x22c]
test byte [ebp + 0x10], 2
je 0x4015d7
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x228], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x228]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x222]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
sub esp, 0x20
cmp eax, 0x103
jne 0x401642
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x23c], eax
jmp 0x4015ff
mov ecx, dword [ebp + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 8], ecx
call fcn.00401541
sub esp, 0xc
test eax, eax
jne 0x401659
lea edx, [ebp - 0x222]
xor eax, eax
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea edx, [ebp - 0x222]
sub esp, 0x10
test eax, eax
jne 0x401659
cmp dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x22c]
je 0x4015e5
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
push ecx
jmp 0x4016a1
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [esp], 3
call fcn.00408f4a
push edx
test eax, eax
jne 0x40168b
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push ecx
push ecx
jmp 0x4016a1
xor edx, edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov dword [esp], ebx
call eax
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc