joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ba0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bdfb
mov eax, dword fs:[0]
push eax
sub esp, 0x33c
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x344], esi
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x340], ebx
mov dword [ebp - 0x324], 0xf
mov dword [ebp - 0x328], ebx
mov byte [ebp - 0x338], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x218], bl
cmp edi, ebx
je 0x401d43
lea eax, [ebp - 0x218]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x401d43
mov cx, word [0x40e230]
mov dl, byte [0x40e232]
lea esi, [ebp - 0x218]
mov word [ebp - 0x33c], cx
mov byte [ebp - 0x33a], dl
mov dword [ebp - 0x340], esi
lea ecx, [ecx]
mov al, byte [esi]
push 0x104
lea ecx, [ebp - 0x31c]
push ecx
lea edx, [ebp - 0x33c]
push edx
mov byte [ebp - 0x33c], al
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x401d00
lea eax, [ebp - 0x31c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401c82
sub eax, edx
mov esi, eax
cmp esi, 0x104
jae 0x401cf8
push esi
lea eax, [ebp - 0x31c]
push eax
push edi
call fcn.00403c4a
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x401cf8
add edi, esi
push edi
lea ecx, [ebp - 0x33c]
push ecx
lea edx, [ebp - 0x114]
push str._s_s
push edx
call fcn.00403ae4
lea eax, [ebp - 0x114]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401cd6
sub eax, edx
mov edi, eax
lea eax, [ebp - 0x114]
lea esi, [ebp - 0x338]
call fcn.00401520
mov edi, dword [ebp - 0x348]
mov esi, dword [ebp - 0x340]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x401d00
mov dword [ebp - 0x340], esi
test ebx, ebx
jne 0x401d19
cmp byte [esi], bl
jne 0x401c50
mov esi, dword [ebp - 0x344]
lea edi, [ebp - 0x338]
call fcn.004012e0
cmp dword [ebp - 0x324], 0x10
jb 0x401de4
mov ecx, dword [ebp - 0x338]
push ecx
jmp 0x401ddc
lea edx, [ebp - 0x338]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], 0
cmp esi, edx
je 0x401dcc
mov edi, 0x10
cmp dword [esi + 0x14], edi
jb 0x401d6f
mov eax, dword [esi]
push eax
call fcn.00403841
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], 0
cmp dword [ebp - 0x324], edi
jae 0x401db0
mov ecx, dword [ebp - 0x328]
inc ecx
push ecx
lea edx, [ebp - 0x338]
push edx
push esi
call fcn.004034e0
mov ecx, dword [ebp - 0x328]
mov edx, dword [ebp - 0x324]
add esp, 0xc
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x401de4
mov eax, dword [ebp - 0x338]
mov ecx, dword [ebp - 0x328]
mov edx, dword [ebp - 0x324]
mov dword [esi], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
jmp 0x401de4
cmp dword [ebp - 0x324], 0x10
jb 0x401de4
mov eax, dword [ebp - 0x338]
push eax
call fcn.00403841
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040338b
mov esp, ebp
pop ebp
ret
Function at 0x401e10
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40be46
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
mov esi, ecx
mov dword [ebp - 0x154], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x104
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
test eax, eax
jne 0x401e76
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edi
mov byte [ebx], al
jmp 0x401f0e
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x14c]
call fcn.00401ba0
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x150]
push ecx
lea edi, [ebp - 0x14c]
mov byte [ebp - 0x150], 0x5c
call fcn.004013b0
inc eax
push eax
mov edx, edi
push edx
lea esi, [ebp - 0x130]
call fcn.00401380
mov edi, eax
mov esi, ebx
mov byte [ebp - 4], 1
call fcn.004012e0
mov esi, 0x10
cmp dword [ebp - 0x11c], esi
jb 0x401edc
mov eax, dword [ebp - 0x130]
push eax
call fcn.00403841
add esp, 4
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
cmp dword [ebp - 0x138], esi
jb 0x401f0e
mov ecx, dword [ebp - 0x14c]
push ecx
call fcn.00403841
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040338b
mov esp, ebp
pop ebp
ret
Function at 0x402740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push 0x37f
push 0
push str.winsta0
mov ebx, eax
call dword [sym.imp.USER32.dll_OpenWindowStationA]
push 0x1ff
push 0
push 0
push str.default
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_OpenDesktopA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov eax, dword [ebp + 8]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push edi
call dword [sym.imp.USER32.dll_SetProcessWindowStation]
push ebx
call dword [sym.imp.USER32.dll_SetThreadDesktop]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_CloseWindowStation]
push esi
call dword [sym.imp.USER32.dll_CloseDesktop]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x402960
Capabilities:
Create thread
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40bf18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x41007c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.config.ini.lock
lea eax, [esi + 0xc0]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402af0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4029b6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.004023a0
push 0
push 0
push esi
push 0x4027d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp - 0x18], 0x10
jb 0x4029ea
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00403841
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040338b
mov esp, ebp
pop ebp
ret 8

Function at 0x40338b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41007c]
jne 0x403395
repz ret
jmp fcn.0040409e

Function at 0x404f53
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x405103
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40514b
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x405146
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x405130
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x405138
cmp edx, ebx
jne 0x405286
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x405107
add eax, dword [eax + 4]
jmp 0x4050f4
mov dword [ebp + 0xc], ebx
jmp 0x405156
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x40516e
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40518c
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
xchg esp, eax
invalid
or byte [ecx], al
add byte [eax], al
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 0x4051ea
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 0x4051d1
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4051da
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4051e4
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4051c6
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405150
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 0x405237
dec eax
je 0x40522e
sub eax, 3
je 0x405225
mov dword [ebp - 4], 0x40
jmp 0x405254
mov dword [ebp - 4], 4
jmp 0x40523a
mov dword [ebp - 4], 0x20
jmp 0x40523a
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x405286
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x405206
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00404a97
xor byte [esi], ch
push 0xffffffffffffffc8
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x405292
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4052c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add dh, al
test dword [eax + 0x62fffffc], esi
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00404aa7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404a5c
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00404aa7
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404a5c
invalid
inc dword [ebx - 0x7a76f33c]
enter 0xfffffffffffffffa, 0xffffffffffffffff
Function at 0x40661b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
add byte [eax], al
add byte [eax - 0x78b5b], al
inc dword [eax]
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00404aa7
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.00404a08
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x406a0f
Function at 0x428760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
jmp 0x42877a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x428781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x428770
mov eax, 1
add ebx, ebx
jne 0x428793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x428788
jne 0x4287a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428788
xor ecx, ecx
sub eax, 3
jb 0x4287b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42882a
mov ebp, eax
add ebx, ebx
jne 0x4287c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4287d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4287f4
inc ecx
add ebx, ebx
jne 0x4287e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4287d5
jne 0x4287f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4287d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428805
jmp 0x428776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428814
add edi, ecx
jmp 0x428776
pop esi
mov edi, esi
mov ecx, 0xed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428832
cmp byte [edi], 3
jne 0x428832
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 0x428837
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4288a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x428864
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2802c]
or eax, eax
je 0x4288a0
mov dword [ebx], eax
add ebx, 4
jmp 0x428881
call dword [esi + 0x2803c]
mov ebp, dword [esi + 0x28030]
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 0x4288da
sub esp, 0xffffff80
jmp 0x401613

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x328f2380
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
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
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x47a37a20
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
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 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0

Function at 0x438c92
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x438a14
add eax, 0xe3ad1f53
or esi, esi
call fcn.00438cc7
add esi, esi
sub eax, esi
mov esi, eax
xor dword [ecx], edx
sub eax, 1
add ecx, 1
and eax, eax
cmp ecx, ebx
jne fcn.00438c92
and eax, eax
ret
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0x40d0cc], 1
mov dword [0x40d0d0], 1
mov dword [0x40d0d4], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x40140b
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x40142e
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x401450
cmp eax, 0x20b
je 0x401475
jmp 0x4014a0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x401462
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014a5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x40148d
mov eax, 0
jmp 0x4014a5
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014a5
mov eax, 0
leave
ret

Function at 0x4016da
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
cmp dword [ebp + 8], 1
jne 0x40171f
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], sym._MessageBoxThread_0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov dword [esp + 4], str.new_text_layer
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_FindWindowA]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp], 0xa
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
cmp dword [ebp - 0x10], 0
je 0x40171f
cmp dword [ebp - 0x10], 0
je 0x401838
mov dword [ebp - 0x38], 0x73696874
mov dword [ebp - 0x34], 0x72747320
mov dword [ebp - 0x30], 0x20676e69
mov dword [ebp - 0x2c], 0x6c6c6977
mov dword [ebp - 0x28], 0x20656220
mov dword [ebp - 0x24], 0x62726167
mov dword [ebp - 0x20], 0x20656761
mov dword [ebp - 0x1c], 0x74657270
mov dword [ebp - 0x18], 0x73207974
mov dword [ebp - 0x14], 0x6e6f6f
mov byte [ebp - 0x38], 0
mov dword [ebp - 0xc], 0
jmp 0x401805
call sym._rand
mov edx, eax
mov ecx, 0xffffffaf
mov eax, ecx
imul dl
shr ax, 8
add eax, edx
sar al, 6
mov ecx, edx
sar cl, 7
sub eax, ecx
mov ecx, 0x5e
imul eax, ecx
mov ecx, eax
mov eax, edx
sub eax, ecx
movsx eax, al
add eax, 0x21
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4080b6
lea eax, [ebp - 0x38]
mov dword [esp], eax
call sym._sprintf
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0x25
jle 0x4017af
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowTextA]
call eax
sub esp, 8
mov dword [esp], 0x32
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
jmp 0x40175c
nop
leave
ret 4