joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42201a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x42204f
cmp edi, dword [esi + 0xc]
jge 0x42204f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42204f
cmp edi, dword [eax + 8]
jge 0x42204f
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x422051
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x422155
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x422189
jmp fcn.0041735f
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x4221fa
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x4222f3
cmp eax, dword [edi + 0xc]
jge 0x4222f3
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x42224b
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x4222dc
cmp dword [ebp + 0xc], ebx
je 0x4222dc
jmp 0x422275
push 0x10
call fcn.00421ee6
cmp eax, ebx
je 0x422261
mov ecx, eax
call fcn.0042214c
mov esi, eax
jmp 0x422263
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42228c
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42229c
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x4222ae
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0041735f
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0040c8f0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4222ee
cmp ecx, dword [esi + 8]
jge 0x4222ee
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x4222f4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4223b2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4223e0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4223fe
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042231c
jmp 0x4223fe
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4223fe
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042231c
test edi, edi
mov eax, edi
jne 0x4223e8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x433cbc]
test ecx, ecx
je 0x4224b1
jmp 0x4223b1
ret 8
Function at 0x413fc9
Capabilities:
Parse pe header

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

Disassembly:
push ebx
push esi
mov eax, dword [0x41b030]
inc ecx
dec ecx
test ecx, ecx
jl 0x4030dc
inc ecx
mov ebx, dword [edx]
mov esi, eax
shr esi, 0x1b
and esi, 0x1f
xor dword [edx], esi
xor eax, ebx
mov ebx, eax
shl ebx, 5
xor eax, ebx
mov ebx, eax
shl ebx, 0xa
xor eax, ebx
mov ebx, eax
shl ebx, 0xf
xor eax, ebx
mov ebx, eax
shl ebx, 0x14
xor eax, ebx
mov ebx, eax
shl ebx, 0x19
xor eax, ebx
mov ebx, eax
shl ebx, 0x1e
xor eax, ebx
add edx, 4
dec ecx
jne 0x40309e
pop esi
pop ebx
ret

Function at 0x403b8c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ecx, 0xe7f931c2
mov edi, edx
sub edi, 9
sub edi, 8
jl 0x403bd6
inc edi
mov esi, 8
mov edx, ecx
shr edx, 0x18
xor ebx, ebx
mov bl, byte [eax + esi]
xor ebx, edx
and ebx, 0xff
mov edx, ebx
mov byte [eax + esi], dl
xor ecx, edx
mov edx, ecx
shr edx, 8
xor ecx, edx
mov edx, ecx
shr edx, 0x10
xor ecx, edx
mov edx, ecx
shr edx, 0x18
xor ecx, edx
inc esi
dec edi
jne 0x403ba4
mov eax, ecx
pop edi
pop esi
pop ebx
ret

Function at 0x403bdc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ecx, 0xe7f931c2
mov edi, edx
sub edi, 9
sub edi, 8
jl 0x403c31
inc edi
mov edx, 8
mov bl, byte [eax + edx]
mov byte [esp], bl
movzx esi, byte [eax + edx]
mov ebx, ecx
shr ebx, 0x18
xor esi, ebx
and esi, 0xff
mov ebx, esi
mov byte [eax + edx], bl
xor ebx, ebx
mov bl, byte [esp]
xor ecx, ebx
mov ebx, ecx
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
shr ebx, 0x10
xor ecx, ebx
mov ebx, ecx
shr ebx, 0x18
xor ecx, ebx
inc edx
dec edi
jne 0x403bf5
mov eax, ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4044dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
xor edx, edx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrAddRef_qqrpv
xor eax, eax
push ebp
push 0x4045c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x44
call sub.rtl60.bpl__System__FillChar_qqrpvic
mov dword [ebp - 0x58], 0x44
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call sub.rtl60.bpl__System__LStrToPChar_qqrx17System_AnsiString
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x40459b
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [sym.imp.coreide60.bpl__Appstrs_ProductBaseName]
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov al, 9
call fcn.00404854
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x74]
mov al, 0xc
call fcn.00404854
mov eax, dword [ebp - 0x74]
mov ecx, 1
pop edx
call sub.rtl60.bpl__Sysutils_Format_qqrx17System_AnsiStringpx14System_TVarRecxi
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
call sub.rtl60.bpl__System__RaiseExcept_qqrv
mov ebx, dword [ebp - 0x14]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4045d0
lea eax, [ebp - 0x74]
mov edx, 2
call sub.rtl60.bpl__System__LStrArrayClr_qqrpvi
lea eax, [ebp - 0x5c]
call sub.rtl60.bpl__System__LStrClr_qqrpv
lea eax, [ebp - 4]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x404854
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x408], ecx
mov edi, edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4049c2
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x40499f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xa
push 0x4049d0
mov eax, dword [0x41c004]
push eax
call sub.kernel32.dll_FindResourceA
push eax
mov eax, dword [0x41c004]
push eax
call sub.kernel32.dll_LoadResource
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
mov esi, 1
jmp 0x4048bd
cmp byte [ebx], 0
jne 0x4048bc
inc esi
inc ebx
xor eax, eax
mov al, byte [ebp - 1]
cmp esi, eax
jl 0x4048b6
xor esi, esi
jmp 0x40496a
mov edx, 0x4049d4
lea eax, [ebp - 0x40c]
call sub.rtl60.bpl__System__PStrCpy_qqrp28System__SmallString_iuc_255_t1
lea eax, [ebp - 0x410]
mov dl, byte [ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x40c]
mov cl, 2
call sub.rtl60.bpl__System__PStrNCat_qqrv
lea edx, [ebp - 0x40c]
lea eax, [ebp - 0x414]
call sub.rtl60.bpl__System__PStrCpy_qqrp28System__SmallString_iuc_255_t1
lea eax, [ebp - 0x410]
lea edx, [ebx + 1]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x410]
lea eax, [ebp - 0x414]
mov cl, 3
call sub.rtl60.bpl__System__PStrNCat_qqrv
lea edx, [ebp - 0x414]
lea eax, [ebp - 0x408]
call sub.rtl60.bpl__System__LStrFromString_qqrr17System_AnsiStringrx28System__SmallString_iuc_255_
mov eax, dword [ebp - 0x408]
call sub.rtl60.bpl__Sysutils_StrToInt_qqrx17System_AnsiString
test al, al
je 0x40495e
xor al, 0x23
mov byte [ebp + esi - 0x402], al
jmp 0x404966
mov byte [ebp + esi - 0x402], 0
inc esi
add ebx, 2
cmp byte [ebx], 0
je 0x40497b
lea eax, [ebx + 1]
cmp byte [eax], 0
jne 0x4048cd
mov byte [ebp + esi - 0x402], 0
mov eax, edi
lea edx, [ebp - 0x402]
mov ecx, 0x401
call sub.rtl60.bpl__System__LStrFromArray_qqrr17System_AnsiStringpci
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4049a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4049c9
lea eax, [ebp - 0x408]
call sub.rtl60.bpl__System__LStrClr_qqrpv
ret
Function at 0x431ce9
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [0xa68c8c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x431d1a
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x431d16
imul eax, dword [ebx]
jmp 0x431d0b
mov ecx, eax
test ecx, ecx
je 0x431d39
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x431d32
push ebx
push eax
call fcn.00441397
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x431d20
call fcn.00441397
add esp, 4
mov eax, 0x5d1d78
mov dword [0xa68c8c], eax
mov dword [ebp - 8], esp
push 0
mov eax, 0x3d
call fcn.004413a3
cmp dword [ebp - 8], esp
je 0x431d6f
push 6
call fcn.0044139d
add esp, 4
mov dword [ebp - 4], eax
push 0
call fcn.00431ea1
mov dword [ebp - 8], eax
push 0x432268
call fcn.00431f0d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
mov eax, 0x3e
call fcn.004413a3
cmp dword [ebp - 0x10], esp
je 0x431db9
push 6
call fcn.0044139d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x431dc9
push ebx
call fcn.00441397
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
push 0
mov eax, 0x3f
call fcn.004413a3
cmp dword [ebp - 8], esp
je 0x431df0
push 6
call fcn.0044139d
add esp, 4
mov eax, dword [0xa68c8c]
push eax
mov ebx, eax
call fcn.0040ffae
pop eax
sub ebx, eax
push ecx
push ebx
push eax
shl ecx, 2
add ecx, ebx
push ecx
call fcn.00441391
add esp, 4
pop esi
mov edi, eax
pop ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
pop ecx
test ecx, ecx
je 0x431e4d
push eax
lodsd eax, dword [esi]
push esi
push edi
push ecx
test eax, eax
je 0x431e41
push eax
mov ebx, eax
call fcn.004010b6
inc eax
push eax
call fcn.00441391
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
pop edi
pop esi
stosd dword es:[edi], eax
dec ecx
jne 0x431e24
pop eax
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x431e6e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x431e6a
imul eax, dword [ebx]
jmp 0x431e5f
mov ecx, eax
test ecx, ecx
je 0x431e8d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x431e86
push ebx
push eax
call fcn.00441397
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x431e74
call fcn.00441397
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43486b
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00434a1b
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x434969
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x43490c
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x43494f
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x434923
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x43493e
test al, 0x40
je 0x434935
mov ecx, dword [edi + 0x20]
jmp 0x43493c
test al, 0x80
je 0x43494f
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x43494f
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4348db
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x454500
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x56e3cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0055b741
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x454582
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.005586e4
mov eax, dword [eax]
push 0xa20278
push eax
call fcn.00548934
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0055b9cc
test bl, bl
je 0x454582
push 0xa20278
lea ecx, [esp + 0xc]
call fcn.0055bda8
push 0xa23e40
lea ecx, [esp + 0xc]
call fcn.0055bda8
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4545be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0055b9cc
jmp 0x454689
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x454642
lea edx, [esp + 0x7c]
push 0xa23e3c
push edx
call fcn.00548934
add esp, 8
test eax, eax
je 0x454642
lea eax, [esp + 0x7c]
push 0xa23e38
push eax
call fcn.00548934
add esp, 8
test eax, eax
je 0x454642
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4545d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0055b9cc
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x455310
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56e48b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xa63658]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x455448
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x455376
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0055b9cc
xor eax, eax
jmp 0x4554bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0055bb55
push esi
lea ecx, [esp + 0xc]
call fcn.0055bde4
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xa23e78
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45549d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0xa23e70
push closesocket
call fcn.004b08a0
test eax, eax
jne 0x45549d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0xa23e5c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004b08a0
test eax, eax
jne 0x45549d
lea eax, [esp + 0x14]
push 0xa23e54
push eax
call fcn.00549b20
mov esi, eax
add esp, 8
test esi, esi
jne 0x45547c
lea ecx, [esp + 0x14]
push 0xa23e50
push ecx
call fcn.00549aa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45547c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45547f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0055bb05
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45538e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0055b9cc
xor eax, eax
jmp 0x4554bf
mov byte [esi], 0
push 0xa23e4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0055b9cc
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x46aa60
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x46aace
cmp si, 0x69
ja 0x46aace
add esi, 0xffd0
cmp si, 0x11
je 0x46aa9e
push 0x11
call edi
test ax, ax
jge 0x46aa9e
or esi, 0x2000
cmp si, 0x10
je 0x46aab3
push 0x10
call edi
test ax, ax
jge 0x46aab3
or esi, 0x4000
cmp si, 0x12
je 0x46aac8
push 0x12
call edi
test ax, ax
jge 0x46aac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46aadb
mov esi, 0xbd
jmp 0x46aa8f
cmp si, 0x6e
jne 0x46aae8
mov esi, 0xbe
jmp 0x46aa8f
cmp si, 0x6f
jne 0x46aa89
mov esi, 0xbf
jmp 0x46aa8f

Function at 0x46c290
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xa75398]
xor edx, edx
cmp eax, edx
jne 0x46c2b6
xor eax, eax
mov byte [eax + 0xa75298], al
inc eax
cmp eax, 0x100
jl 0x46c29e
mov dword [0xa75398], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xa75298
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46c347
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46c31a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46c2e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46c3c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46c413
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46c3fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473770
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x473908
cmp ebp, ebx
jle 0x473908
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x4737ce
dec eax
or eax, 0xfffffff8
inc eax
je 0x4737d5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4737e4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4737eb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0055b70d
add esp, 4
cmp eax, ebx
je 0x47380c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0055b70d
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4738fe
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4738e5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4738d1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4738c6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4738d4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4738d4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x473870
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x473861
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret