joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d4f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4af9fc]
jne 0x46d4fb
repz ret
jmp fcn.00476e1c

Function at 0x470a86
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x470aad
call fcn.0047134b
mov dword [eax], esi
call fcn.00471338
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470d20
mov eax, esi
jmp 0x470b02
test dword [ebp + 0xc], 0xfffffff9
jne 0x470a93
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x470ada
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047135e
pop ecx
call fcn.00471338
mov eax, dword [eax]
jmp 0x470b02
test al, 0x10
jne 0x470b00
test al, 1
je 0x470b00
test byte [ebp + 0xc], 2
je 0x470b00
call fcn.0047134b
mov dword [eax], 5
call fcn.00471338
mov dword [eax], 0xd
jmp 0x470ad1
xor eax, eax
pop esi
pop ebp
ret

Function at 0x480a48
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x480a6f
call fcn.0047134b
mov dword [eax], esi
call fcn.00471338
push 0x16
pop esi
mov dword [eax], esi
call fcn.00470d20
mov eax, esi
jmp 0x480ac4
test dword [ebp + 0xc], 0xfffffff9
jne 0x480a55
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x480a9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0047135e
pop ecx
call fcn.00471338
mov eax, dword [eax]
jmp 0x480ac4
test al, 0x10
jne 0x480ac2
test al, 1
je 0x480ac2
test byte [ebp + 0xc], 2
je 0x480ac2
call fcn.0047134b
mov dword [eax], 5
call fcn.00471338
mov dword [eax], 0xd
jmp 0x480a93
xor eax, eax
pop esi
pop ebp
ret
Function at 0x486b07
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4af9fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004796d6
and dword [ebp - 0x14], 0
cmp dword [0x4b230c], 0
mov dword [ebp - 0x18], eax
jne 0x486bba
push 0x496bbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x486c62
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x496bb0
push ebx
call edi
test eax, eax
je 0x486c62
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x496ba0
push ebx
mov dword [0x4b230c], eax
call edi
push eax
call esi
push 0x496b8c
push ebx
mov dword [0x4b2310], eax
call edi
push eax
call esi
push 0x496b70
push ebx
mov dword [0x4b2314], eax
call edi
push eax
call esi
mov dword [0x4b231c], eax
test eax, eax
je 0x486bba
push 0x496b58
push ebx
call edi
push eax
call esi
mov dword [0x4b2318], eax
mov eax, dword [0x4b2318]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x486c13
cmp dword [0x4b231c], ecx
je 0x486c13
push eax
call esi
push dword [0x4b231c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x486c13
test ebx, ebx
je 0x486c13
call edi
test eax, eax
je 0x486c0a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x486c0a
test byte [ebp - 8], 1
jne 0x486c13
or dword [ebp + 0x10], 0x200000
jmp 0x486c46
mov eax, dword [0x4b2310]
cmp eax, dword [ebp - 0x18]
je 0x486c46
push eax
call esi
test eax, eax
je 0x486c46
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x486c46
mov eax, dword [0x4b2314]
cmp eax, dword [ebp - 0x18]
je 0x486c46
push eax
call esi
test eax, eax
je 0x486c46
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b230c]
call esi
test eax, eax
je 0x486c62
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x486c64
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d4f1
leave
ret
Function at 0x103dd20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa8a000]
push edi
or ebp, 0xffffffff
jmp 0x103dd42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x103dd49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103dd38
mov eax, 1
add ebx, ebx
jne 0x103dd5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x103dd6c
jne 0x103dd8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103dd8b
dec eax
add ebx, ebx
jne 0x103dd78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x103dd50
add ebx, ebx
jne 0x103dd87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x103dddd
xor ecx, ecx
sub eax, 3
jb 0x103dda3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x103de12
sar eax, 1
mov ebp, eax
jmp 0x103ddae
add ebx, ebx
jne 0x103ddae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103dd7c
inc ecx
add ebx, ebx
jne 0x103ddbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103dd7c
add ebx, ebx
jne 0x103ddc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x103ddbe
jne 0x103ddda
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x103ddbe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x103ddfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x103ddee
jmp 0x103dd3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x103ddfc
add edi, ecx
jmp 0x103dd3e
pop esi
mov edi, esi
mov ecx, 0x28142
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x103de1a
cmp byte [edi], 0xa9
jne 0x103de1a
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 0x103de1f
lea edi, [esi + 0xc1b000]
mov eax, dword [edi]
or eax, eax
je 0x103de97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc3e104]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc3e298]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x103de4c
mov ecx, edi
jns 0x103de7b
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 + 0xc3e2a0]
or eax, eax
je 0x103de91
mov dword [ebx], eax
add ebx, 4
jmp 0x103de69
call dword [esi + 0xc3e29c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x103dec8
cmp al, 0xef
ja 0x103debb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x103de9d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x103deaa
mov ebp, dword [esi + 0xc3e2a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x103defc
sub esp, 0xffffff80
jmp 0x51de73
Function at 0x4f4a92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x4f4b67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x4f4b31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x4f4b5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f4b71
test eax, eax
je 0x4f4b67
add ebx, 0x14
jmp 0x4f4b3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x4f4b71
Capabilities:
Contain obfuscated stackstrings
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x4f4ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x4f4ddd
mov eax, 1
test eax, eax
je 0x4f4ddd
push ebx
call dword [0x4f804c]
test eax, eax
je 0x4f4ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x4f4dd3
mov ebx, eax
and eax, 0x80000000
jne 0x4f4d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4f4ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4f4ddd
mov eax, 1
test eax, eax
je 0x4f4ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [0x4f8048]
pop ecx
test eax, eax
je 0x4f4ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4f4ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x4f4ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x4f4b67
push ecx
push ebx
push dword [ebp - 4]
call dword [0x4f8048]
pop ecx
test eax, eax
je 0x4f4ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x4f4ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x4f4e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x4f4fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x4f4fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.004f4ff8
test eax, eax
je 0x4f4fee
add ebx, 0x28
dec ecx
jne 0x4f4fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x4f509e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x4f50c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x4f512e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x4f50e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x4f512e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x4f5105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x4f512e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x4f5123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x4f512e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x4f516b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x4f5172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x4f51a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x4f51a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x406ecf
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
push 5
push 1
call fcn.00407087
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 5
push 1
call fcn.00407087
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 4
push 1
call fcn.00407087
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 5
push 1
call fcn.00407087
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 5
push 1
call fcn.00407087
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 0x1388
push 1
call fcn.00407087
mov dword [ebp - 0x34], eax
push str._Build_IMM76L__AppleWebKit_534.30__KHTML__like_Gecko__Version_4.0_Safari_534.30
push dword [ebp - 0x34]
push str.__zh_cn__GT_N
push dword [ebp - 0x2c]
push 0x49a51a
push dword [ebp - 0x24]
push 0x49a51a
push dword [ebp - 0x1c]
push str.__Linux__U__Android
push dword [ebp - 0x14]
push 0x49a51a
push dword [ebp - 0xc]
push str.User_Agent:_Mozilla_
mov ecx, 0xd
call fcn.004015f8
add esp, 0x34
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x406fe8
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x406ff8
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x407008
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x407018
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x407028
push ebx
call fcn.00413c8e
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407038
push ebx
call fcn.00413c8e
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40704c
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x40706c
push eax
mov ebx, eax
call fcn.0040158d
inc eax
push eax
call fcn.00413c94
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x407071
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x407082
push ebx
call fcn.00413c8e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4214a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49211b
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.004848bb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x421522
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481d1d
mov eax, dword [eax]
push 0x4d0210
push eax
call fcn.00474294
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484b46
test bl, bl
je 0x421522
push 0x4d0210
lea ecx, [esp + 0xc]
call fcn.00484f22
push 0x4d3d8c
lea ecx, [esp + 0xc]
call fcn.00484f22
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 0x42155e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484b46
jmp 0x421629
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 0x4215e2
lea edx, [esp + 0x7c]
push 0x4d3d88
push edx
call fcn.00474294
add esp, 8
test eax, eax
je 0x4215e2
lea eax, [esp + 0x7c]
push 0x4d3d84
push eax
call fcn.00474294
add esp, 8
test eax, eax
je 0x4215e2
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 0x421572
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.00484b46
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 0x421e20
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 0x421e82
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 0x421e90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49219b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4dadc0]
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 0x421fc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x421ef6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484b46
xor eax, eax
jmp 0x42203f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484ccf
push esi
lea ecx, [esp + 0xc]
call fcn.00484f5e
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 0x42201d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00421e20
test eax, eax
jne 0x42201d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00421e20
test eax, eax
jne 0x42201d
lea eax, [esp + 0x14]
push 0x4d3da0
push eax
call fcn.00475440
mov esi, eax
add esp, 8
test esi, esi
jne 0x421ffc
lea ecx, [esp + 0x14]
push 0x4d3d9c
push ecx
call fcn.004753c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x421ffc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x421fff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484c7f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x421f0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484b46
xor eax, eax
jmp 0x42203f
mov byte [esi], 0
push 0x4d3d98
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.00484b46
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