joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ae35
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x5c], edi
je 0x41ae72
call fcn.0041aae1
test eax, eax
je 0x41ae78
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41ad40
push edi
push edi
call fcn.0042ce4c
add esp, 0x18
mov dword [esi + 0x78], eax
cmp eax, edi
je 0x41ae72
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x80]
cmp eax, edi
je 0x41ae72
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x80]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x80]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x38]
push dword [esi + 0x34]
push edi
push edi
push dword [esi + 0x60]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x41ae72
push edi
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x41ae74

Function at 0x41bc51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x41bcfe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x41bcfe
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41bcf7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41bcf0
cmp dword [ebp + 0xc], 0
je 0x41bcf0
push edi
push eax
push dword [ebp + 0xc]
call fcn.0042c9b0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0041b944
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x41bd00
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41c79c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x41c790
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x58], eax
pop esi
leave
ret
Function at 0x41e6b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41e6dc
cmp dword [edi + 0x54], 0
jne 0x41e6dc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042569d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041e679
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x423aaa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x423af1
call fcn.0042569d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x423af1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x423b0d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00423624
mov esi, eax
test edi, edi
je 0x423b0b
test ebx, ebx
je 0x423b0b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ba9a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4541c0]
jne 0x42baa4
repz ret
jmp fcn.00431f2e
Function at 0x43c2cf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00430baf
and dword [ebp - 4], 0
cmp dword [0x51a820], 0
mov ebx, eax
jne 0x43c380
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43c431
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x449618
push edi
call esi
test eax, eax
je 0x43c431
push eax
call fcn.00430b3d
mov dword [esp], 0x449608
push edi
mov dword [0x51a820], eax
call esi
push eax
call fcn.00430b3d
mov dword [esp], 0x4495f4
push edi
mov dword [0x51a824], eax
call esi
push eax
call fcn.00430b3d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x51a828], eax
call esi
push eax
call fcn.00430b3d
pop ecx
mov dword [0x51a830], eax
test eax, eax
je 0x43c380
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00430b3d
pop ecx
mov dword [0x51a82c], eax
mov eax, dword [0x51a82c]
cmp eax, ebx
je 0x43c3d8
cmp dword [0x51a830], ebx
je 0x43c3d8
push eax
call fcn.00430bb8
push dword [0x51a830]
mov esi, eax
call fcn.00430bb8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43c3d8
test edi, edi
je 0x43c3d8
call esi
test eax, eax
je 0x43c3cf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43c3cf
test byte [ebp - 0xc], 1
jne 0x43c3d8
or dword [ebp + 0x10], 0x200000
jmp 0x43c411
mov eax, dword [0x51a824]
cmp eax, ebx
je 0x43c411
push eax
call fcn.00430bb8
pop ecx
test eax, eax
je 0x43c411
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43c411
mov eax, dword [0x51a828]
cmp eax, ebx
je 0x43c411
push eax
call fcn.00430bb8
pop ecx
test eax, eax
je 0x43c411
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x51a820]
call fcn.00430bb8
pop ecx
test eax, eax
je 0x43c431
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43c433
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4403e9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x51a84c], 0
push esi
jne 0x44035c
call fcn.00440282
test eax, eax
je 0x44039f
mov eax, dword [0x51a84c]
cmp eax, 1
jne 0x44037d
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x44039f
pop esi
ret
push eax
call dword [0x51a854]
test eax, eax
jne 0x4403e7
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4403a3
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x51a84c]
call dword [0x51a854]
mov edi, eax
test edi, edi
je 0x4403c8
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4403e4
mov edi, esi
add esi, 0xff0
push edi
push dword [0x51a84c]
call dword [0x51a850]
add edi, 0x10
cmp edi, esi
jb 0x4403d0
mov eax, edi
pop edi
pop esi
ret
jmp 0x440349
Function at 0x4254c5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e50f
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425576
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425627
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425627
push eax
call fcn.0041e49d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425576
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4255ce
cmp dword [0x44f200], ebx
je 0x4255ce
push eax
call fcn.0041e518
push dword [0x44f200]
mov esi, eax
call fcn.0041e518
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4255ce
test edi, edi
je 0x4255ce
call esi
test eax, eax
je 0x4255c5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4255c5
test byte [ebp - 0xc], 1
jne 0x4255ce
or dword [ebp + 0x10], 0x200000
jmp 0x425607
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425607
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e518
pop ecx
test eax, eax
je 0x425627
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425629
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x1b203ae9
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x6c8659a5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403a90
Capabilities:
Encode data using xor

Disassembly:
inc esi
push ebx
add al, byte [eax]
add byte [eax], al
mov edx, dword [0x416502a8]
inc edx
push esi
mov ebp, 0x41023ce2
add al, ch
sub esp, esp
invalid
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, 0xc0802b46
xor eax, 0x24868b22
or byte [eax], al
add byte [ebp - 0x5ee70140], al
mov ah, 0x7e
inc ecx
add byte [ebp + 0x6c700fd4], al
add dword [eax], eax
add byte [edi - 0x5d], bh
sar dh, 0x18
mov eax, dword [0x417eb4]
test esp, edx
pshufw mm5, qword [ecx + eax], 0
jg 0x403a5e
mov ah, 2
add cl, ch
add eax, dword [ecx]
add dl, ch
mov ah, 0x3d
add al, byte [ecx + 0x7b]
xor dword [ebp + 0xa], 0xa31046f0
mov word [edx], es
sbb al, 0
mov dl, 0x24
mov ecx, dword [esi + 0x6c]
mov eax, dword [0x13028c]
cmp esi, dword [ebx + 0xd8b1874]
sbb dword [edx], eax
inc ecx
add byte [ecx + 0x4102c0], ah
inc ecx
mov cl, 0x89
or eax, 0xcf4102b8
sub eax, 0x4104c0
ja 0x403aa9
add al, byte [ecx]
mov ecx, dword [0x40d07e]
add al, 4
jge 0x5a403c25
aam 0x15
fmul dword [ebx]
inc ecx
add byte [eax + 0x78e752f8], dh
add edi, edx
inc eax
mov dword [0x413f9d], eax
call 0x88404100
mov dword [0x410bb2], eax
or al, 0x15
mov ah, 0xb
inc ecx
fimul word [ecx + 0x85086]
add byte [ebx - 0x2f435eb], cl
add byte [ebx + 0x83086], cl
cmpsd dword [esi], dword es:[edi]
adc edx, dword [edx + 0x854]
mov dword [edi], eax
mov ecx, dword [esi + 0x834]
mov dword [edi + 4], ecx
mov eax, dword [ebx]
cmp byte [eax], cl
add byte [eax], al
mov eax, dword [esi + 0xd70830]
mov edx, dword [esi + 0xf134]
sub ecx, eax
mov eax, dword [esi + 0x3900085e]
stc
ret 0xc085

Function at 0x4027d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40403f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.Salmimo
push str.Limoclass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402818
xor eax, eax
jmp 0x402833
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4023e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
mov eax, dword fs:[0x18]
mov ecx, dword [eax + 0x30]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
push 0x208
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.0040d380
add esp, 0xc
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0xc]
je 0x4024c6
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
lea edi, [ebp - 0x224]
xor al, al
mov ecx, 0x208
rep stosb byte es:[edi], al
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x2c]
shr ecx, 1
add ecx, 1
cmp ecx, 0x103
jbe 0x40245e
mov dword [ebp - 0x10], 0x103
jmp 0x40246d
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x2c]
shr eax, 1
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.USER32.dll_CharLowerW]
mov ecx, eax
call fcn.00402e10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x1c], 0x7d016c6b
jne 0x4024b9
cmp dword [ebp - 0x18], 0xb4e9
jne 0x4024b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
jmp 0x4024c8
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
jmp 0x402420
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402e31
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [edi]
xor dl, dl
movzx esi, word [edi]
mov cl, 0x5f
mov byte [esp + 0x17], al
mov al, 0x10
mov byte [esp + 0x24], 0xf7
mov bl, 0x56
test si, si
je 0x402ed5
mov ecx, 0x5610f75f
mov dword [esp + 0x1c], 0xbe28efe2
mov eax, esi
mov ebp, ecx
mov edx, 0xbe28efe2
mov dword [esp + 0x18], eax
nop word [eax + eax]
xor esi, esi
movzx eax, ax
and ecx, 0x1ffffff
lea edi, [edi + 2]
shld esi, ecx, 7
shrd ebp, edx, 0x19
shl ecx, 7
shr edx, 0x19
or ecx, ebp
or esi, edx
cdq
xor ecx, eax
xor edx, esi
mov ebx, ecx
mov eax, edx
shrd ebx, eax, 0x18
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov ebp, ecx
mov dword [esp + 0x28], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, dword [esp + 0x18]
mov byte [esp + 0x16], al
movzx eax, word [edi]
mov dword [esp + 0x24], esi
mov esi, eax
mov dword [esp + 0x18], esi
test ax, ax
jne 0x402e70
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x16]
mov dh, byte [esp + 0x17]
xorps xmm0, xmm0
movlpd qword [esp + 0x28], xmm0
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x28], dh
mov byte [esp + 0x29], dl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2b], cl
mov eax, dword [esp + 0x28]
mov byte [esp + 0x2d], bl
mov edx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402f10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x402f2f
or eax, 0xffffffff
or edx, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [edi]
xor bh, bh
mov byte [esp + 0xf], bl
mov cl, 0x5f
mov byte [esp + 0x10], 0xf7
mov al, 0x56
mov byte [esp + 0x14], 0x10
test bl, bl
je 0x402fbb
mov ecx, 0x5610f75f
mov dword [esp + 0x24], 0xbe28efe2
mov eax, ecx
mov edx, 0xbe28efe2
nop dword [eax]
xor esi, esi
lea edi, [edi + 1]
shrd eax, edx, 0x19
and ecx, 0x1ffffff
mov bh, bl
shld esi, ecx, 7
shr edx, 0x19
or esi, edx
shl ecx, 7
or ecx, eax
movsx eax, bl
mov bl, byte [edi]
cdq
xor ecx, eax
xor edx, esi
mov eax, edx
mov esi, ecx
shrd esi, eax, 0x18
mov eax, edx
mov dword [esp + 0x18], esi
mov esi, ecx
shrd esi, eax, 0x10
mov eax, edx
mov dword [esp + 0x14], esi
mov esi, ecx
shrd esi, eax, 8
mov eax, ecx
mov dword [esp + 0x10], esi
test bl, bl
jne 0x402f60
mov bl, byte [esp + 0xf]
mov eax, dword [esp + 0x18]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov byte [esp + 0x1a], cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x1b], cl
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bh
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x14]
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x18]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404ee0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 0xd226
push 0x800f576c
mov edx, 0x83
mov ecx, 1
call fcn.004027e0
mov ebp, dword [esp + 0x34]
add esp, 8
push ebp
call eax
xor ecx, ecx
mov edx, 2
lea esi, [eax + 0x32]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b170
add esp, 4
lea ecx, [esi + esi]
mov ebx, eax
mov edx, 0x68
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push 0xd3c3
push 0xcb8f576c
lea ecx, [edx - 0x67]
call fcn.004027e0
add esp, 8
push ebp
push ebx
call eax
mov byte [esp + 0x11], 0x37
mov byte [esp + 0x12], 0x5b
mov byte [esp + 0x13], 0x40
mov byte [esp + 0x14], 0x5b
mov byte [esp + 0x15], 0xc
mov byte [esp + 0x16], 0x5b
mov byte [esp + 0x17], 0x78
mov byte [esp + 0x18], 0x5b
mov byte [esp + 0x19], 8
mov byte [esp + 0x1a], 0x5b
mov byte [esp + 0x1b], 0x44
mov byte [esp + 0x1c], 0x5b
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1e], 0x5b
mov byte [esp + 0x1f], 0x10
mov byte [esp + 0x20], 0x5b
mov byte [esp + 0x21], 0x35
mov byte [esp + 0x22], 0x5b
mov byte [esp + 0x23], 0x48
mov byte [esp + 0x24], 0x5b
mov byte [esp + 0x25], 0x5b
mov byte [esp + 0x26], 0x5b
mov al, byte [esp + 0x11]
mov byte [esp + 0x27], 0
cmp byte [esp + 0x27], 0
jne 0x404ffa
xor esi, esi
lea edi, [esi + 0x7f]
mov al, byte [esp + esi + 0x11]
movzx ecx, al
sub ecx, 0x5b
mov eax, ecx
shl eax, 4
add eax, ecx
add eax, eax
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x11], dl
inc esi
cmp esi, 0x16
jb 0x404fd4
mov edx, 0x32
push 0xd3c7
push 0x8d0f576c
lea ecx, [edx - 0x31]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x11]
push ecx
push ebx
call eax
push 0x92f8
push 0x9604574d
mov edx, 0x87
mov ecx, 1
call fcn.004027e0
add esp, 8
push ebx
push ebp
call eax
test eax, eax
jne 0x40505e
push 0x92f8
push 0x9604574d
mov edx, 0x87
lea ecx, [eax + 1]
call fcn.004027e0
add esp, 8
push ebx
push ebp
call eax
push ebx
call fcn.0040b190
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x4054b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
mov eax, dword fs:[0x18]
mov edx, 0x59
push ebx
mov dword [esp + 8], 0
push ebp
mov eax, dword [eax + 0x30]
push esi
push edi
mov dword [esp + 0x18], ecx
lea ecx, [edx - 0x52]
mov eax, dword [eax + 0x10]
push 0x19f
push 0xdf575743
mov esi, dword [eax + 0x44]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp ecx, 3
jl 0x4055c5
xor edi, edi
test ecx, ecx
jle 0x4055c5
lea ebx, [edi + 0x7f]
mov byte [esp + 0x1f], 0x71
mov byte [esp + 0x20], 0x24
mov byte [esp + 0x21], 0x5f
mov byte [esp + 0x22], 0x24
mov byte [esp + 0x23], 0x1b
mov byte [esp + 0x24], 0x24
mov byte [esp + 0x25], 0x14
mov byte [esp + 0x26], 0x24
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x28], 0x24
mov byte [esp + 0x29], 0x24
mov byte [esp + 0x2a], 0x24
mov al, byte [esp + 0x1f]
mov byte [esp + 0x2b], 0
cmp byte [esp + 0x2b], 0
jne 0x405584
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x1f]
mov edx, 0x24
movzx eax, al
sub edx, eax
imul eax, edx, 0x27
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + ecx + 0x1f], dl
inc ecx
cmp ecx, 0xc
jb 0x405560
lea ebx, [edi*4]
mov edx, 0x1b
add ebx, ebp
push 0xe247
push 0x98be576c
lea ecx, [edx - 0x1a]
mov esi, dword [ebx]
call fcn.004027e0
add esp, 8
lea ecx, [esp + 0x1f]
push ecx
push esi
call eax
test eax, eax
je 0x4055cf
inc edi
mov ebx, 0x7f
cmp edi, dword [esp + 0x14]
jl 0x405510
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebp, dword [esp + 0x18]
mov byte [ebp + 0x30], 1
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov edx, 2
lea esi, [eax + 5]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040b170
add esp, 4
mov dword [ebp + 0x2c], eax
test eax, eax
je 0x4055c5
mov edi, eax
lea ecx, [esi + esi]
mov edx, 0x68
xor al, al
rep stosb byte es:[edi], al
mov esi, dword [ebx + 4]
lea ecx, [edx - 0x67]
mov edi, dword [ebp + 0x2c]
push 0xd3c3
push 0xcb8f576c
call fcn.004027e0
add esp, 8
push esi
push edi
call eax
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret
Function at 0x405f50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
nop dword [eax]
mov eax, dword [0x455ee4]
test eax, eax
jne 0x405f9d
push 0xc8
call fcn.0040b170
add esp, 4
test eax, eax
je 0x405f96
mov word [eax], 0x101
mov dword [eax + 4], 0x1e
mov dword [eax + 8], 5
mov dword [eax + 0x10], 3
jmp 0x405f98
xor eax, eax
mov dword [0x455ee4], eax
test byte [eax + 0x10], 1
je 0x405faf
cmp dword [ebp + 0x98], 1
sete cl
jmp 0x405fb1
mov cl, 1
mov eax, dword [eax + 0x10]
shr eax, 1
test al, 1
je 0x405fc6
cmp dword [ebp + 0x9c], 2
sete al
jmp 0x405fc8
mov al, 1
test cl, cl
je 0x405fd0
test al, al
jne 0x405ff3
mov edx, 0x45
push 0xfc5e
push 0x8d0f7053
lea ecx, [edx - 0x44]
call fcn.004027e0
add esp, 8
push 0xa
call eax
jmp 0x405f60
xor eax, eax
mov ecx, dword [eax + 0x413638]
cmp ecx, 0xffffffff
je 0x406008
test ecx, ecx
jne 0x40609a
add eax, 0x110
cmp eax, 0x42680
jl 0x405ff5
mov esi, dword [0x455c80]
mov eax, dword [0x455c84]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ebx, [esi + eax*4]
cmp esi, ebx
je 0x40605b
nop dword [eax]
push 0
push dword [esi]
call edi
mov edx, 0x45
push 0xfc5e
push 0x8d0f7053
lea ecx, [edx - 0x44]
call fcn.004027e0
add esp, 8
push 0xa
call eax
add esi, 4
cmp esi, ebx
jne 0x406030
push 0
push dword [ebp + 0x20]
call edi
push 0
push dword [ebp + 0x24]
call edi
push 0
push dword [ebp + 0x28]
call edi
mov esi, dword [ebp + 0x1c]
mov edx, 0x72
push 0x6dc1
push 0x5fd26543
lea ecx, [edx - 0x71]
call fcn.004027e0
add esp, 8
push esi
call eax
pop edi
mov al, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x45
push 0xfc5e
push 0x8d0f7053
lea ecx, [edx - 0x44]
call fcn.004027e0
add esp, 8
push 0x64
call eax
jmp 0x405ff3
Function at 0x40ab60
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [0x455ee0]
push ebp
mov ebp, ecx
test eax, eax
jne 0x40abce
push edi
push 0x427
call fcn.0040b170
mov edi, eax
add esp, 4
mov dword [0x455ee0], edi
test edi, edi
jne 0x40ab8b
pop edi
pop ebp
pop ecx
ret
push ebx
push esi
mov ebx, 0x40e0e0
mov dword [esp + 0x10], 0x26
xor esi, esi
sub ebx, edi
nop
mov eax, esi
lea ecx, [edi + esi]
xor edx, edx
inc esi
div dword [esp + 0x10]
mov al, byte [edx + 0x40e0b0]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp esi, 0x427
jb 0x40aba0
pop esi
pop ebx
mov eax, edi
mov dword [ebp + 0xc4], 0x427
pop edi
pop ebp
pop ecx
ret