joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b74d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x41f8d8
cmp edx, dword [eax]
je 0x40b76f
add eax, 8
inc ecx
cmp eax, 0x41f968
jb 0x40b760
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x41f8d8]
jne 0x40b89d
mov eax, dword [0x41ffd0]
cmp eax, 1
je 0x40b877
test eax, eax
jne 0x40b7a0
cmp dword [0x41ffd4], 1
je 0x40b877
cmp edx, 0xfc
je 0x40b89d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b7d7
lea eax, [ebp - 0x1a4]
push 0x40eb3f
push eax
call fcn.0040ba2f
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004097ea
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b81a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004097ea
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40eb3b
push edi
call fcn.0040b92f
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x40eb1f
push eax
call fcn.0040ba2f
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040ba3b
lea eax, [ebp - 0xa0]
push 0x40eb1b
push eax
call fcn.0040ba3b
push dword [esi + 0x41f8dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040ba3b
push 0x12010
lea eax, [ebp - 0xa0]
push 0x40eaf3
push eax
call fcn.0040d298
add esp, 0x2c
pop edi
jmp 0x40b89d
lea eax, [ebp + 8]
lea esi, [esi + 0x41f8dc]
push 0
push eax
push dword [esi]
call fcn.004097ea
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40bc81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
jne 0x40bca1
xor eax, eax
jmp 0x40be07
mov eax, dword [ebp + 8]
sar eax, 5
lea ebx, [eax*4 + 0x4215c8]
mov eax, dword [ebp + 8]
and eax, 0x1f
lea esi, [eax + eax*8]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x40bcd1
push 2
push edi
push dword [ebp + 8]
call fcn.004094ed
add esp, 0xc
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x40bda0
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp + 8], edi
jbe 0x40bddb
lea eax, [ebp - 0x414]
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x40bd2b
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
mov cl, byte [ecx]
cmp cl, 0xa
jne 0x40bd16
inc dword [ebp - 0x10]
mov byte [eax], 0xd
inc eax
mov byte [eax], cl
inc eax
mov ecx, eax
lea edx, [ebp - 0x414]
sub ecx, edx
cmp ecx, 0x400
jl 0x40bcf7
mov edi, eax
lea eax, [ebp - 0x414]
sub edi, eax
lea eax, [ebp - 0xc]
push 0
push eax
lea eax, [ebp - 0x414]
push edi
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x40bd95
mov eax, dword [ebp - 0xc]
add dword [ebp - 8], eax
cmp eax, edi
jl 0x40bd67
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
jb 0x40bcf1
xor edi, edi
mov eax, dword [ebp - 8]
cmp eax, edi
jne 0x40be04
cmp dword [ebp + 8], edi
je 0x40bddb
push 5
pop esi
cmp dword [ebp + 8], esi
jne 0x40bdcd
call fcn.00409189
mov dword [eax], 9
call fcn.00409192
mov dword [eax], esi
jmp 0x40bdd6
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x40bd67
lea ecx, [ebp - 0xc]
push edi
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x40bdc2
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], edi
mov dword [ebp - 8], eax
jmp 0x40bd69
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x40bd69
push dword [ebp + 8]
call fcn.00409116
pop ecx
or eax, 0xffffffff
jmp 0x40be07
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x40bdf0
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x40bc9a
call fcn.00409189
mov dword [eax], 0x1c
call fcn.00409192
mov dword [eax], edi
jmp 0x40bdd6
sub eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d893
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x40d8f7
push 0x3d
push dword [ebp + 8]
call fcn.0040de4f
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
mov dword [ebp - 8], esi
je 0x40d8f7
cmp dword [ebp + 8], esi
je 0x40d8f7
mov eax, dword [0x4200dc]
xor ebx, ebx
cmp byte [esi + 1], bl
sete bl
cmp eax, dword [0x4200e0]
jne 0x40d8dd
push eax
call fcn.0040da72
pop ecx
mov dword [0x4200dc], eax
cmp eax, edi
jne 0x40d935
cmp dword [ebp + 0xc], edi
je 0x40d8ff
cmp dword [0x4200e4], edi
je 0x40d8ff
call fcn.0040d360
test eax, eax
je 0x40d935
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp ebx, edi
jne 0x40da13
push 4
call fcn.004083c6
cmp eax, edi
pop ecx
mov dword [0x4200dc], eax
je 0x40d8f7
mov dword [eax], edi
cmp dword [0x4200e4], edi
jne 0x40d935
push 4
call fcn.004083c6
cmp eax, edi
pop ecx
mov dword [0x4200e4], eax
je 0x40d8f7
mov dword [eax], edi
sub esi, dword [ebp + 8]
mov edi, dword [0x4200dc]
mov dword [ebp - 4], edi
push esi
push dword [ebp + 8]
call fcn.0040da1a
mov esi, eax
pop ecx
test esi, esi
pop ecx
jl 0x40d995
cmp dword [edi], 0
je 0x40d995
test ebx, ebx
je 0x40d98d
push dword [edi + esi*4]
lea edi, [edi + esi*4]
call fcn.00408738
pop ecx
cmp dword [edi], 0
je 0x40d977
mov eax, dword [edi + 4]
inc esi
mov dword [edi], eax
add edi, 4
jmp 0x40d967
mov eax, esi
shl eax, 2
push eax
push dword [ebp - 4]
call fcn.0040db20
pop ecx
test eax, eax
pop ecx
je 0x40d9c7
jmp 0x40d9c2
mov eax, dword [ebp + 8]
mov dword [edi + esi*4], eax
jmp 0x40d9c7
test ebx, ebx
jne 0x40da13
test esi, esi
jge 0x40d99f
neg esi
lea eax, [esi*4 + 8]
push eax
push edi
call fcn.0040db20
pop ecx
test eax, eax
pop ecx
je 0x40d8f7
mov ecx, dword [ebp + 8]
mov dword [eax + esi*4], ecx
and dword [eax + esi*4 + 4], 0
mov dword [0x4200dc], eax
cmp dword [ebp + 0xc], 0
je 0x40da13
push dword [ebp + 8]
call fcn.004097ea
inc eax
inc eax
push eax
call fcn.004083c6
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x40da13
push dword [ebp + 8]
push esi
call fcn.0040ba2f
mov eax, esi
pop ecx
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 8]
and byte [eax], 0
inc eax
neg ebx
sbb ebx, ebx
not ebx
and ebx, eax
push ebx
push esi
call dword [sym.imp.kernel32.dll_SetEnvironmentVariableA]
push esi
call fcn.00408738
pop ecx
xor eax, eax
jmp 0x40d8fa
Function at 0x401840
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401859
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401894
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401890
lea ebx, [ebx]
cmp esi, eax
jae 0x401894
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401880
cmp esi, eax
jb 0x40189a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00406e9a
Function at 0x403500
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0xa54
mov eax, dword [0x42ec90]
xor eax, esp
mov dword [esp + 0xa50], eax
push edi
push 0x40e
xor edi, edi
lea ecx, [esp + 0x64a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x650], ax
call fcn.00413f10
push 0x228
lea edx, [esp + 0x1c]
push edi
push edx
mov dword [esp + 0x20], edi
call fcn.00413f10
add esp, 0x18
push 0x208
lea eax, [esp + 0x648]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x40357f
pop edi
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.0041185e
add esp, 0xa54
ret
push esi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
jne 0x4035ac
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.0041185e
add esp, 0xa54
ret
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4036a4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x1c], eax
je 0x40368f
lea edx, [esp + 0x38]
push str.TP3Helper.exe
push edx
call fcn.00411f30
add esp, 8
test eax, eax
jne 0x40368f
push 0x40e
push eax
lea ecx, [esp + 0x24a]
push ecx
mov word [esp + 0x24c], ax
call fcn.00413f10
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
push 0
push 0x100411
call ebx
mov esi, eax
test esi, esi
je 0x40368b
push 0x208
lea eax, [esp + 0x244]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x403684
push 0x208
lea ecx, [esp + 0x244]
push ecx
lea edx, [esp + 0x658]
push edx
call fcn.004121bd
add esp, 0xc
test eax, eax
jne 0x403684
push eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x403684
push 0xbb8
push esi
mov edi, 1
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4035d5
pop ebp
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa58]
pop esi
mov eax, edi
pop edi
xor ecx, esp
call fcn.0041185e
add esp, 0xa54
ret

Function at 0x40d7eb
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 0x40d832
call fcn.004082ee
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40d832
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d84e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040d363
mov esi, eax
test edi, edi
je 0x40d84c
test ebx, ebx
je 0x40d84c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41185e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42ec90]
jne 0x411868
repz ret
jmp fcn.004161b6

Function at 0x41c562
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.00415bc5
and dword [ebp - 4], 0
cmp dword [0x432bb8], 0
mov ebx, eax
jne 0x41c613
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x41c6c4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x41c6c4
push eax
call fcn.00415b53
mov dword [esp], 0x427f48
push edi
mov dword [0x432bb8], eax
call esi
push eax
call fcn.00415b53
mov dword [esp], 0x427f34
push edi
mov dword [0x432bbc], eax
call esi
push eax
call fcn.00415b53
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x432bc0], eax
call esi
push eax
call fcn.00415b53
pop ecx
mov dword [0x432bc8], eax
test eax, eax
je 0x41c613
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00415b53
pop ecx
mov dword [0x432bc4], eax
mov eax, dword [0x432bc4]
cmp eax, ebx
je 0x41c66b
cmp dword [0x432bc8], ebx
je 0x41c66b
push eax
call fcn.00415bce
push dword [0x432bc8]
mov esi, eax
call fcn.00415bce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41c66b
test edi, edi
je 0x41c66b
call esi
test eax, eax
je 0x41c662
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41c662
test byte [ebp - 0xc], 1
jne 0x41c66b
or dword [ebp + 0x10], 0x200000
jmp 0x41c6a4
mov eax, dword [0x432bbc]
cmp eax, ebx
je 0x41c6a4
push eax
call fcn.00415bce
pop ecx
test eax, eax
je 0x41c6a4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x41c6a4
mov eax, dword [0x432bc0]
cmp eax, ebx
je 0x41c6a4
push eax
call fcn.00415bce
pop ecx
test eax, eax
je 0x41c6a4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432bb8]
call fcn.00415bce
pop ecx
test eax, eax
je 0x41c6c4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41c6c6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43624e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pushal
mov edx, dword [ebp + 8]
add edx, dword [edx + 0x3c]
mov edx, dword [edx + 0x78]
add edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
add esi, dword [ebp + 8]
push ecx
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
xor edi, edi
mov ecx, dword [eax]
inc eax
adc edi, ecx
rol ecx, 8
or cl, cl
jne 0x43626e
cmp edi, dword [ebp + 0xc]
pop ecx
loopne 0x436267
jne 0x4362ab
sub esi, 4
sub esi, dword [ebp + 8]
sub esi, dword [edx + 0x20]
shr esi, 1
add esi, dword [edx + 0x24]
add esi, dword [ebp + 8]
lodsd eax, dword [esi]
movzx eax, ax
shl eax, 2
add eax, dword [edx + 0x1c]
add eax, dword [ebp + 8]
mov edx, dword [eax]
add edx, dword [ebp + 8]
mov dword [esp + 0x1c], edx
jmp 0x4362b3
mov dword [esp + 0x1c], 0
popal
leave
ret 8
Function at 0x435f40
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b72ab
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.004ab3aa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x435fc2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a8b9d
mov eax, dword [eax]
push 0x69b23c
push eax
call fcn.0049a2f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ab635
test bl, bl
je 0x435fc2
push 0x69b23c
lea ecx, [esp + 0xc]
call fcn.004ab9c5
push 0x69edb4
lea ecx, [esp + 0xc]
call fcn.004ab9c5
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 0x435ffe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ab635
jmp 0x4360c9
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 0x436082
lea edx, [esp + 0x7c]
push 0x69edb0
push edx
call fcn.0049a2f4
add esp, 8
test eax, eax
je 0x436082
lea eax, [esp + 0x7c]
push 0x69edac
push eax
call fcn.0049a2f4
add esp, 8
test eax, eax
je 0x436082
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 0x436012
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.004ab635
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 0x4368c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x436922
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x436930
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b732b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6a7b30]
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 0x436a68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x436996
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ab635
xor eax, eax
jmp 0x436adf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004ab772
push esi
lea ecx, [esp + 0xc]
call fcn.004aba01
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x436abd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.004368c0
test eax, eax
jne 0x436abd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.004368c0
test eax, eax
jne 0x436abd
lea eax, [esp + 0x14]
push 0x69edc8
push eax
call fcn.0049b400
mov esi, eax
add esp, 8
test esi, esi
jne 0x436a9c
lea ecx, [esp + 0x14]
push 0x69edc4
push ecx
call fcn.0049b380
mov esi, eax
add esp, 8
test esi, esi
jne 0x436a9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x436a9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004ab722
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4369ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ab635
xor eax, eax
jmp 0x436adf
mov byte [esi], 0
push 0x69edc0
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.004ab635
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 0x449ca0
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 0x449d0e
cmp si, 0x69
ja 0x449d0e
add esi, 0xffd0
cmp si, 0x11
je 0x449cde
push 0x11
call edi
test ax, ax
jge 0x449cde
or esi, 0x2000
cmp si, 0x10
je 0x449cf3
push 0x10
call edi
test ax, ax
jge 0x449cf3
or esi, 0x4000
cmp si, 0x12
je 0x449d08
push 0x12
call edi
test ax, ax
jge 0x449d08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x449d1b
mov esi, 0xbd
jmp 0x449ccf
cmp si, 0x6e
jne 0x449d28
mov esi, 0xbe
jmp 0x449ccf
cmp si, 0x6f
jne 0x449cc9
mov esi, 0xbf
jmp 0x449ccf

Function at 0x44b4d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6b8460]
xor edx, edx
cmp eax, edx
jne 0x44b4f6
xor eax, eax
mov byte [eax + 0x6b8360], al
inc eax
cmp eax, 0x100
jl 0x44b4de
mov dword [0x6b8460], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6b8360
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44b587
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 0x44b55a
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 0x44b528
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44b600
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 0x44b653
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 0x44b63a
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 0x452090
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 0x452228
cmp ebp, ebx
jle 0x452228
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 0x4520ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4520f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x452104
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x45210b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004ab376
add esp, 4
cmp eax, ebx
je 0x45212c
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.004ab376
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 0x45221e
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 0x452205
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4521f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4521e6
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 0x4521f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4521f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x452190
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 0x452181
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