joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475e34
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
mov edx, dword [0x4169ac]
call fcn.00404d04
xor eax, eax
push ebp
push 0x475f87
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49a144], 0
jne 0x475e8a
mov ecx, dword [0x49a900]
mov dl, 1
mov eax, dword [0x407768]
call fcn.0040c880
call fcn.00403ba4
lea eax, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d3c
mov eax, dword [ebp - 4]
call fcn.004049c8
mov dword [ebp - 0x2c], eax
mov esi, 0x475f98
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
call fcn.00405c88
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004049d8
test eax, eax
jle 0x475f25
mov dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x50]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x475f1c
lea eax, [ebp - 0x54]
mov edx, dword [ebp - 4]
call fcn.0040440c
mov eax, dword [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x50]
mov ecx, 0x10
call fcn.004043f4
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00408640
test eax, eax
jne 0x475f1c
mov dword [ebp - 0x10], 0x15
jmp 0x475f2c
mov dword [ebp - 0x10], 0x10
jmp 0x475f2c
mov dword [ebp - 0x10], 0x15
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [0x49a144]
call fcn.00475d64
mov eax, dword [ebp - 0x18]
call fcn.00475d64
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
call fcn.00405ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475f8e
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x20]
mov edx, dword [0x4169ac]
call fcn.00404dd4
ret

Function at 0x120cc10
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x120cc2e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x120cc23
pop esi
ret

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 0x5fd1f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11d000]
push edi
or ebp, 0xffffffff
jmp 0x5fd212
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5fd219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5fd208
mov eax, 1
add ebx, ebx
jne 0x5fd22b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5fd220
jne 0x5fd23c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fd220
xor ecx, ecx
sub eax, 3
jb 0x5fd250
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5fd2c2
mov ebp, eax
add ebx, ebx
jne 0x5fd25b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x5fd268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x5fd28c
inc ecx
add ebx, ebx
jne 0x5fd278
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5fd26d
jne 0x5fd289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5fd26d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5fd2ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5fd29d
jmp 0x5fd20e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5fd2ac
add edi, ecx
jmp 0x5fd20e
pop esi
mov edi, esi
mov ecx, 0x6ab7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5fd2ca
cmp byte [edi], 0x22
jne 0x5fd2ca
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 0x5fd2cf
lea edi, [esi + 0x1fa000]
mov eax, dword [edi]
or eax, eax
je 0x5fd347
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x20573c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x205840]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5fd2fc
mov ecx, edi
jns 0x5fd32b
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 + 0x205844]
or eax, eax
je 0x5fd341
mov dword [ebx], eax
add ebx, 4
jmp 0x5fd319
call dword [esi + 0x205854]
mov ebp, dword [esi + 0x205848]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x25f]
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 0x5fd37b
sub esp, 0xffffff80
jmp 0x4f683f
Function at 0x10001000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, edx
shr ecx, 3
xor eax, eax
push edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x100010a0
mov dl, al
shl dl, 3
lea eax, [eax*8 - 2]
add eax, esi
mov byte [ebp - 1], dl
mov ecx, 2
mov dword [ebp - 0x14], eax
jmp 0x10001040
lea esi, [eax + ecx]
mov bl, cl
lea edi, [ecx + 1]
sub bl, 2
mov bh, bl
add bh, dl
mov edx, dword [ebp + 0xc]
mov eax, edi
and eax, 7
xor bh, byte [eax + edx]
mov eax, dword [ebp + 0xc]
mov edx, ecx
and edx, 7
dec ecx
and bh, byte [edx + eax]
mov dl, byte [eax + ecx - 1]
add dl, bl
add dl, byte [ebp - 1]
and ecx, 7
shl dl, 4
xor dl, byte [ecx + eax]
mov al, bh
imul dl
xor byte [esi], al
mov dl, byte [ebp - 1]
mov ecx, edi
lea eax, [ecx - 2]
cmp eax, 8
mov eax, dword [ebp - 0x14]
jb 0x10001040
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x18]
jb 0x10001022
mov edx, dword [ebp - 0xc]
and edx, 7
mov dword [ebp - 0xc], edx
jbe 0x10001115
mov ecx, dword [ebp + 0xc]
mov bh, al
lea eax, [eax*8 - 2]
shl bh, 3
mov edx, 2
add eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], eax
lea esi, [edx + eax]
lea edi, [edx + 1]
mov bl, dl
sub bl, 2
mov eax, edi
and eax, 7
mov dh, bl
add dh, bh
xor dh, byte [eax + ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
and ecx, 7
and dh, byte [ecx + eax]
mov ecx, dword [ebp - 8]
dec ecx
mov dl, byte [ecx + eax - 1]
add dl, bl
add dl, bh
and ecx, 7
shl dl, 4
xor dl, byte [ecx + eax]
mov ecx, dword [ebp + 0xc]
mov al, dh
imul dl
xor byte [esi], al
mov edx, edi
mov dword [ebp - 8], edx
lea eax, [edx - 2]
cmp eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
jb 0x100010c4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10001120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov eax, edx
xor edx, edx
mov ebx, 6
div ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100011fc
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov al, cl
add al, al
lea edx, [eax + ecx]
lea eax, [ecx + ecx*2]
add dl, dl
add eax, eax
mov byte [ebp - 1], dl
lea edx, [eax - 2]
add eax, 0xfffffffe
add eax, edi
mov ecx, 2
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], eax
lea esp, [esp]
movzx ebx, byte [ebx + ecx]
lea esi, [eax + ecx]
lea eax, [edx + ecx]
imul ebx, eax
xor edx, edx
lea eax, [ecx - 1]
div dword [ebp - 8]
mov eax, dword [ebp + 0xc]
shr ebx, 7
lea edi, [ecx + 1]
xor bl, byte [edx + eax]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x1c], ebx
mov ebx, 6
div ebx
mov eax, dword [ebp + 0xc]
lea ebx, [ecx - 2]
add bl, byte [ebp - 1]
xor bl, byte [edx + eax]
mov eax, ecx
xor edx, edx
mov ecx, 6
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, edi
and bl, byte [edx + eax]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add al, bl
xor byte [esi], al
mov ebx, dword [ebp - 0x10]
lea eax, [ecx - 2]
cmp eax, 6
mov eax, dword [ebp - 0x24]
jb 0x10001180
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x28]
jb 0x10001158
mov edx, dword [ebp - 0x18]
test edx, edx
je 0x10001290
mov al, cl
shl al, 3
mov byte [ebp - 1], al
lea eax, [ecx + ecx*2]
add eax, eax
mov edx, 2
lea ecx, [eax - 2]
add eax, 0xfffffffe
add eax, edi
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x24], eax
lea ebx, [ebx]
movzx ebx, byte [edx + ecx - 2]
lea esi, [edx + eax]
mov eax, dword [ebp - 0x28]
add eax, edx
imul ebx, eax
lea edi, [edx + 1]
lea eax, [edx - 1]
xor edx, edx
div dword [ebp - 8]
shr ebx, 7
mov eax, edi
xor bl, byte [edx + ecx]
xor edx, edx
mov ecx, 6
div ecx
mov cl, byte [ebp - 0xc]
mov eax, dword [ebp + 0xc]
sub cl, 2
add cl, byte [ebp - 1]
xor cl, byte [edx + eax]
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp + 0xc]
and cl, byte [edx + eax]
mov edx, edi
add bl, cl
xor byte [esi], bl
mov ecx, dword [ebp + 0xc]
lea eax, [edx - 2]
cmp eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
jb 0x10001230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10002220
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10003338
push 0x3ab
call fcn.1000336e
mov ebx, eax
mov ecx, 0xea
mov esi, 0x10010f70
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 8
movsb byte es:[edi], byte [esi]
xor esi, esi
call fcn.10003315
xor byte [esi + ebx], al
inc esi
cmp esi, 0x3ab
jbe 0x10002251
pop edi
pop esi
pop ebx
ret
Function at 0x10002270
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x123c
call fcn.10009320
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x228
lea eax, [ebp - 0x122c]
push 0
push eax
mov dword [ebp - 0x1238], ecx
mov dword [ebp - 0x1230], 0
call fcn.100074f0
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call fcn.100074f0
push str.74xeN
call fcn.100032e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 0x1c
push str.74xeN
push dword [0x10012138]
call ebx
mov esi, eax
push str.74xeN
mov dword [ebp - 0x1234], esi
call fcn.100032e0
add esp, 4
test esi, esi
jne 0x10002312
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100032c9
mov esp, ebp
pop ebp
ret
push edi
push 0x1001116a
call fcn.100032e0
add esp, 4
push 0
push 2
push 0x1001116a
push dword [0x10012138]
call ebx
call eax
push 0x1001116a
mov edi, eax
call fcn.100032e0
add esp, 4
cmp edi, 0xffffffff
je 0x10002394
push str.78Ee
call fcn.100032e0
push 0x10011198
call fcn.100032e0
add esp, 8
push str.78Ee
push 0x10011198
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
mov esi, eax
push str.78Ee
mov dword [ebp - 0x123c], esi
call fcn.100032e0
push 0x10011198
call fcn.100032e0
add esp, 8
test esi, esi
jne 0x100023a7
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100032c9
mov esp, ebp
pop ebp
ret
push 0x1001115a
mov dword [ebp - 0x1230], 0x22c
call fcn.100032e0
push 0x10010fdf
call fcn.100032e0
add esp, 8
lea eax, [ebp - 0x1230]
push eax
push edi
push 0x1001115a
push dword [0x10012138]
call ebx
call eax
test eax, eax
je 0x100024f0
jmp 0x100023f0
push dword [ebp - 0x1228]
push 1
push 0x410
push 0x10010fdf
push dword [0x10012138]
call ebx
call eax
push dword [ebp - 0x1228]
mov esi, eax
lea eax, [ebp - 0x120c]
push eax
push 0x1000e414
lea eax, [ebp - 0x1004]
push 0x800
push eax
call dword [0x10012118]
add esp, 0x14
test esi, esi
je 0x10002487
lea eax, [ebp - 0x1004]
push eax
call dword [0x10012134]
mov ecx, 0x800
sub ecx, eax
push ecx
lea eax, [ebp - 0x1004]
push eax
call dword [0x10012134]
lea eax, [ebp + eax*2 - 0x1004]
push eax
push 0
push esi
call dword [ebp - 0x123c]
push esi
call dword [0x1001213c]
push 0x10010e65
lea eax, [ebp - 0x1004]
push eax
call dword [0x10012130]
jmp 0x100024b6
call dword [0x10012114]
push eax
push 0x10010e5d
push 0x800
lea eax, [ebp - 0x1004]
push eax
call dword [0x10012134]
lea eax, [ebp + eax*2 - 0x1004]
push eax
call dword [0x10012118]
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [0x10012134]
mov ecx, dword [ebp - 0x1238]
add eax, eax
push eax
lea edx, [ebp - 0x1004]
call fcn.10003100
add esp, 4
lea eax, [ebp - 0x1230]
push eax
push edi
call dword [ebp - 0x1234]
test eax, eax
jne 0x100023f0
push edi
call dword [0x1001213c]
push 0x1001115a
call fcn.100032e0
push 0x10010fdf
call fcn.100032e0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.100032c9
mov esp, ebp
pop ebp
ret
Function at 0x10002f70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10003338
push 0x3ab
call fcn.1000336e
mov ebx, eax
mov ecx, 0xea
mov esi, 0x10010f70
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
add esp, 8
movsb byte es:[edi], byte [esi]
xor esi, esi
call fcn.10003315
xor byte [esi + ebx], al
inc esi
cmp esi, 0x3ab
jbe 0x10002fa1
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10002ec0
push 0xffffffffffffffff
push dword [0x1001217c]
call dword [0x10012128]
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x1000775f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10010038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10004ad5
mov dword [ebp - 0x14], eax
cmp dword [0x10012088], edi
jne 0x10007850
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x100077dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10007930
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10007930
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10007930
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10012088], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x1001208c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10012090], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10012098], eax
test eax, eax
je 0x1000784d
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10012094], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10007875
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10007868
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000788a
push 4
pop eax
jmp 0x10007932
cmp dword [ebp - 0x14], edi
je 0x1000788a
push dword [0x10012088]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000786f
mov eax, dword [0x10012094]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x100078e8
cmp dword [0x10012098], esi
je 0x100078e8
push eax
call ebx
push dword [0x10012098]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100078e8
test eax, eax
je 0x100078e8
call ecx
test eax, eax
je 0x100078dd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100078dd
test byte [ebp - 8], 1
jne 0x100078e8
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10007918
mov eax, dword [0x1001208c]
cmp eax, esi
je 0x10007915
push eax
call ebx
test eax, eax
je 0x10007915
call eax
mov edi, eax
test edi, edi
je 0x10007915
mov eax, dword [0x10012090]
cmp eax, esi
je 0x10007915
push eax
call ebx
test eax, eax
je 0x10007915
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10012088]
call ebx
test eax, eax
je 0x10007930
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10007932
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100032c9
leave
ret
Function at 0x403570
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00403720
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40366e
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x403611
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x403654
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x403628
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x403643
test al, 0x40
je 0x40363a
mov ecx, dword [edi + 0x20]
jmp 0x403641
test al, 0x80
je 0x403654
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x403654
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4035e0
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x419070
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac04b
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.004a0be3
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4190f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049e555
mov eax, dword [eax]
push 0x520d04
push eax
call fcn.004903f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a0e6e
test bl, bl
je 0x4190f2
push 0x520d04
lea ecx, [esp + 0xc]
call fcn.004a11fe
push 0x520d10
lea ecx, [esp + 0xc]
call fcn.004a11fe
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 0x41912e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a0e6e
jmp 0x4191f9
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 0x4191b2
lea edx, [esp + 0x7c]
push 0x520d0c
push edx
call fcn.004903f4
add esp, 8
test eax, eax
je 0x4191b2
lea eax, [esp + 0x7c]
push 0x520d08
push eax
call fcn.004903f4
add esp, 8
test eax, eax
je 0x4191b2
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 0x419142
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.004a0e6e
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 0x4199f0
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 0x419a52
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 0x419a60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac0cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x531df8]
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 0x419b98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x419ac6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a0e6e
xor eax, eax
jmp 0x419c0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a0fab
push esi
lea ecx, [esp + 0xc]
call fcn.004a123a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x520d44
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x419bed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.004199f0
test eax, eax
jne 0x419bed
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 bind
mov ecx, edi
call fcn.004199f0
test eax, eax
jne 0x419bed
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.00491540
mov esi, eax
add esp, 8
test esi, esi
jne 0x419bcc
lea ecx, [esp + 0x14]
push 0x520d1c
push ecx
call fcn.004914c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x419bcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x419bcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a0f5b
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x419ade
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a0e6e
xor eax, eax
jmp 0x419c0f
mov byte [esi], 0
push 0x520d18
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.004a0e6e
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