joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42735e
Capabilities:
Hide graphical window

Disassembly:
push 0x30
mov eax, 0x42be60
call fcn.00428a04
mov byte [ebp - 0xf], 1
lea eax, [ebp - 0x20]
xor ebx, ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x20], 8
mov dword [ebp - 0x1c], 3
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov eax, dword [0x434f40]
push 0xd5
push eax
mov dword [0x434f44], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
test eax, eax
jne 0x4273c7
mov ecx, dword [ebp + 4]
mov ebx, 0x8007000e
push ebx
push 0x408a54
push 0x4e
pop edx
call fcn.0040e705
jmp 0x42745c
push ebx
push 0x427070
push ebx
push 0x190
push dword [0x434f40]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 2
test esi, esi
jne 0x427407
mov ecx, dword [ebp + 4]
mov ebx, 0x8007000e
push ebx
push 0x408a54
push 0x52
pop edx
call fcn.0040e705
mov esi, dword [ebp - 0x18]
jmp 0x427447
mov eax, dword [0x435324]
mov edi, 0x434f44
cmp dword [eax - 8], ebx
je 0x42741e
push eax
mov ecx, edi
call fcn.00423bf0
mov eax, dword [0x43532c]
cmp dword [eax - 8], ebx
je 0x427433
push ecx
push eax
mov ecx, edi
call fcn.0042584c
jmp 0x427447
mov eax, dword [0x435330]
cmp dword [eax - 8], ebx
je 0x42746c
push 1
push eax
mov ecx, edi
call fcn.004256d5
mov edi, dword [ebp - 0x14]
test esi, esi
je 0x427455
push esi
call dword [sym.imp.USER32.dll_DestroyWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
lea ecx, [ebp - 0x10]
call fcn.004277bc
mov eax, ebx
call fcn.004289c0
ret
mov ecx, dword [0x435328]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42748e
cmp eax, 4
jle 0x427483
sub eax, 3
jmp 0x427485
mov eax, ebx
push eax
push ecx
mov ecx, edi
call fcn.00422c26
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x435320], 0
je 0x4274a5
call fcn.0042721b
push 7
pop ecx
push ebx
xor eax, eax
lea edi, [ebp - 0x3c]
push ebx
rep stosd dword es:[edi], eax
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x42744e
cmp eax, 0xffffffff
je 0x4274fb
lea eax, [ebp - 0x3c]
push eax
push edi
push esi
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4274fb
lea eax, [ebp - 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4274fb
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x4274bf
Function at 0x427538
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor eax, eax
push edi
mov dword [ebp - 4], eax
mov dword [0x435320], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x4276bb
mov eax, dword [ebp - 0xc]
cmp eax, 2
jl 0x4276bb
xor edi, edi
inc edi
dec eax
cmp eax, edi
jl 0x4276bb
mov dword [ebp - 8], 2
mov esi, dword [ebx + edi*4]
movzx eax, word [esi]
cmp eax, 0x2d
je 0x42759b
cmp eax, 0x2f
jne 0x427699
add esi, 2
push 0x408a84
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4276af
push 0x408a88
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4276af
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jge 0x4276aa
push 0x408a94
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x427606
push dword [ebx + edi*4 + 4]
mov ecx, 0x435330
mov dword [0x435334], 1
call dword [0x4362a8]
push 2
pop ecx
jmp 0x42767c
push 0x408a9c
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x427635
push dword [ebx + edi*4 + 4]
mov ecx, 0x43532c
mov dword [0x435334], 1
call dword [0x4362a8]
push 4
jmp 0x427603
push 0x408aac
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x427664
push dword [ebx + edi*4 + 4]
mov ecx, 0x435324
mov dword [0x435338], 1
call dword [0x4362a8]
push 8
jmp 0x427603
push 0x408ac0
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
neg eax
pop ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x10
or ecx, dword [ebp - 4]
add edi, 2
add dword [ebp - 8], 2
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 4], ecx
cmp edi, eax
jle 0x427587
mov eax, ecx
jmp 0x4276bd
cmp edi, 1
jne 0x4276aa
push esi
mov ecx, 0x435328
call dword [0x4362a8]
mov eax, dword [ebp - 4]
jmp 0x4276bd
mov dword [0x435320], 1
jmp 0x4276aa
xor eax, eax
mov ecx, eax
call fcn.00427933
test ebx, ebx
je 0x4276cf
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x428b70
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x42f2f0
call fcn.00428e5c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x428bd0
cmp eax, 0xffffffff
je 0x428bd0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x428bc9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x428bc9
cmp edx, 0x10000000
jae 0x428bc9
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x428bc6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x428c40
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 0x428c7e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x428c76
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x428c80
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x428c66
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x428d60
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
jne 0x428d8f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x428d8f
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4ccd0a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add ebp, 0x24
push esp
call fcn.004cab68
add eax, 0x64b17aa6
mov eax, dword [0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4ccd2c
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004cab68
add ebp, dword [edi - 0x774cd72]
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.004cab68
arpl word [esi - 0x74b615e1], sp
xor al, 0x8b
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4ccd55
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4ccd55
call fcn.004cab68
mov ebx, 0x8b7cd8ed
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004cab68
bound ecx, qword [edx + 0x75ff76d6]
or bh, bh
jne 0x4ccd9e
push dword [ebp]
call fcn.004cb368
xchg edx, eax
cmp byte [ecx], al
add byte [eax], al
test eax, eax
je 0x4cce60
invalid
cmp dword [ebx + 0x7c], 0
jne 0x4cce60
push 0
push 0
push 0x18b
push dword [ebx + 0x20]
inc edi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, eax
jl 0x4ccd7a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1ac]
mov eax, dword [esi + 0x6c]
sub eax, 0x10
push eax
call fcn.0040fbe3
add eax, 0x10
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 0xc], edi
jne 0x4cce02
push dword [esi + 0x60]
lea ecx, [ebp + 8]
call fcn.0040fbc4
mov esi, 0x56b23c
lea ecx, [ebp + 8]
push esi
push 0x56b244
call fcn.0042dc91
push 0x26
lea ecx, [ebp + 8]
call fcn.0043d32d
push 0x56a004
push esi
lea ecx, [ebp + 8]
call fcn.0042dc91
mov esi, dword [ebp + 8]
push esi
push edi
push 0x180
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x10]
mov edi, eax
push edi
push 0x19a
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esi - 0x10]
call fcn.0040fd17
mov eax, edi
jmp 0x4cce63
or eax, 0xffffffff
call fcn.00534f1e
ret 8
Function at 0x55222a
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x5650d7
call fcn.00534f83
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x552322
cmp byte [esi + 0x46], bl
je 0x552322
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x552266
xor al, al
jmp 0x552324
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.005524d6
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x552293
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x5522ba
dec eax
je 0x5522be
dec eax
dec eax
je 0x552310
xor bl, bl
jmp 0x552312
mov byte [esi + 0x46], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x5522ce
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
sub ebx, ecx
je 0x5522f6
cmp eax, 0x10
jae 0x5522dd
lea edi, [ebp - 0x28]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.0053a8c9
add esp, 0x10
cmp ebx, eax
jne 0x5522b6
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x46], 0
je 0x552310
test ebx, ebx
jne 0x552287
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0041354a
jmp 0x552281
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402bd0
mov al, bl
jmp 0x552324
mov al, 1
call fcn.00534f32
ret
Function at 0x1000739c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x100073ab
pop dword [ebp - 8]
mov eax, 0x6d4a1905
add eax, 0xa2b65aa6
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x1a7d95d6
sub dword [ebp - 0x18], 0xcc2b508b
mov dword [ebp - 0x14], 0x55904aac
sub dword [ebp - 0x14], 0x235cfe67
mov dword [ebp - 0x10], 0xa7caafe5
add dword [ebp - 0x10], 0xa4819449
mov dword [ebp - 0xc], 0xb7391f56
add dword [ebp - 0xc], 0x48c6e0aa
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x2318a09e
sub dword [ebp - 0x18], 0xaea63748
mov dword [ebp - 0x14], 0x4b1e891e
add dword [ebp - 0x14], 0xf64dd857
mov dword [ebp - 0x10], 0x4775c356
sub dword [ebp - 0x10], 0xe40656ea
mov dword [ebp - 0xc], 0x1e738a83
sub dword [ebp - 0xc], 0x1e738a83
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xff64578f
sub eax, 0xef63a763
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x38c11
push 0
call eax
mov ecx, 0xe0962aaa
add ecx, 0x1f6a2290
xor ebx, ebx
add ebx, eax
mov edx, 0x10046200
add edx, dword [ebp - 8]
mov edi, 0x1b7a4ba4
add edi, 0xedfb9c82
xor dword [ebp - 4], edx
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 4], ecx
mov dword [ebx], esi
sub dword [ebp - 4], 0x7ba4e986
add ebx, 4
add edx, 0x908301ab
add edx, 0x6f7cfe59
loop 0x100074c4
add eax, 0xfae37406
sub eax, 0xfae24c4b
mov ebx, eax
add eax, 0xbba7fa11
add eax, 0x445805f4
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4020a7
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.006:107_4:_00007:277_0:_004:_04:_008:_08:_08:_8:_7:2_3:_9:193_4:_
lea ecx, [ebp - 0x1c]
call fcn.004021b1
push 0xc
call fcn.004067ce
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401e79
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x45ac00
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x402057
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push ecx
call fcn.00401c94
pop ecx
pop ecx
mov edx, 0x45ac00
add edx, 0x188
mov esi, section..Shine
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.0040223e
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004067bb
leave
ret

Function at 0x4058ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40590e
jl 0x405905
test edi, edi
jne 0x40590e
xor eax, eax
xor edx, edx
jmp 0x4059cf
cmp dword [ebx + 0x38], 0
je 0x405923
push eax
push edi
push dword [ebp + 8]
call fcn.004059d5
jmp 0x4059cf
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40596a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40596a
cmp eax, edi
jb 0x405944
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004073a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x405970
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4059c4
mov ecx, ebx
call fcn.004051fe
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4059af
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040db73
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4059c4
jmp 0x405982
test edx, edx
je 0x4059c4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040db73
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x406f70
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406faf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406faf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406faf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406faf
cmp dword [ecx + 0x74], 0xe
jbe 0x406faf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401e10
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x401e80
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.004012c0
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4082a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4082b7
pop dword [ebp - 8]
mov eax, 0x201a5195
sub eax, 0x1fd9cede
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x66005cf5
add dword [ebp - 0x18], 0xe851e856
mov dword [ebp - 0x14], 0x1f2ccfc2
sub dword [ebp - 0x14], 0xecf9837d
mov dword [ebp - 0x10], 0x63a9ec72
sub dword [ebp - 0x10], 0x175da844
mov dword [ebp - 0xc], 0xcae8299c
sub dword [ebp - 0xc], 0xcae8299c
lea eax, [ebp - 0x18]
push eax
mov eax, 0xfd91d834
add eax, 0x2aec7d8
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xec5ca77f
add dword [ebp - 0x18], 0x8815c1d7
mov dword [ebp - 0x14], 0x98790880
add dword [ebp - 0x14], 0xa8f358f5
mov dword [ebp - 0x10], 0xb5d61283
add dword [ebp - 0x10], 0xad9959e9
mov dword [ebp - 0xc], 0xfcf7f8b2
add dword [ebp - 0xc], 0x308074e
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xadb5ac15
sub eax, 0xad750c01
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x37226
push 0
call eax
mov ecx, 0x4149
mov edx, eax
mov ebx, 0x43be00
add ebx, dword [ebp - 8]
mov esi, 0xc64a0832
add esi, 0x920768c3
xor dword [ebp - 4], esi
mov edi, dword [ebx]
add dword [ebp - 4], edx
sub edi, esi
mov dword [edx], edi
add dword [ebp - 4], edx
add edx, 0x78b0b1ca
sub edx, 0x78b0b1c6
add ebx, 0x924d47f5
sub ebx, 0x924d47f1
loop 0x4083cd
add eax, 0xf7f7
mov ebx, eax
add eax, 0x1455d9d2
sub eax, 0x1455d9cd
mov ecx, 0x35b6b4fd
sub ecx, 0x3576b4fd
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4067e9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40680d
xor eax, eax
test eax, eax
je 0x406820
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406820
xor ecx, ecx
jmp 0x406823
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x40694c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x46992c], 0
push esi
jne 0x406983
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40695d
mov dword [ecx*4 + 0x469928], eax
inc ecx
cmp ecx, 0x100
jl 0x406958
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4069b4
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x469928]
xor eax, esi
inc ecx
dec edx
jne 0x406996
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401103
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40113e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x401125
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x401136
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x401140
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40111b
xor eax, eax
pop edi
pop esi
ret

Function at 0x40340d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x403454
push 7
push str..custom
push edi
call fcn.0040167b
add esp, 0xc
test eax, eax
je 0x40345b
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x403431
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.0040379a
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x4032ca
mov dword [ebp - 0x14], 0x4032d5
call fcn.00403208
add esp, 0x28
test eax, eax
je 0x4034bb
push dword [ebp - 4]
call fcn.004037b1
pop ecx
jmp 0x403454
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x403456
Function at 0x403d02
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov edi, ecx
mov ecx, 0x461b74
call fcn.00403c4c
test al, al
je 0x403d25
push 3
pop ebx
jmp 0x403d2e
mov ecx, edi
call fcn.00403c98
mov ebx, eax
push 5
push dword [ebp + 0x18]
push dword [ebp + 8]
call fcn.0042d5a0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x403d7a
mov ecx, esi
call fcn.0040353a
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], ebx
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x3c], ecx
inc dword [edi + 0x18]
test byte [ebp + 0x14], 8
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x40], ecx
mov ecx, dword [edi]
mov dword [ebp - 4], eax
mov dword [ecx + ebx*4], esi
jne 0x403d91
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x403d91
cmp dword [ebp + 0x10], 0
je 0x403d91
mov ecx, dword [ebp + 0x10]
call fcn.00403562
push dword [ebp + 0x10]
call sym.qmmacro.exe_q_free
pop ecx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x404100
Capabilities:
Enumerate pe sections

Disassembly:
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00403eff
mov al, byte [0xfc22f96]
mov bh, 0x47
push es
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00403eff
dec ecx
sub byte [edi + 0x7f], cl
mov ax, word [edi + 6]
mov eax, dword [edi + 6]
cmp ax, bx
jbe 0x404159
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x404153
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x404144
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00403eff
clc
aas
movsb byte es:[edi], byte [esi]
or cl, byte [ebp - 0x17af57bb]
pop edi
std
invalid

Function at 0x404210
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00403eff
sub al, 0x5f
not bl
lea eax, [ebp - 0x40]
push eax
call fcn.00403f0f
push eax
push esi
push dword [ebp + 8]
call fcn.00403ec4
add esp, 0x10
les edx, [eax]
mov dword [ebp - 0x88], eax
call fcn.00403eff
loop 0x4042b4
fisubr dword [ebp + ecx*4 + 0x5d88e845]
call 0xe99dcac0
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
invalid
inc ebp
out dx, al