joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50fea0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x50feab
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x50ffae
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x8c2e84]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x8c2e84]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x8c2e84]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x8c2e84]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x8c2e84]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x8c2e84]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x8c2e84]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x8c2e84]
xor eax, edx
inc ecx
dec edi
jne 0x50fec6
pop edi
test esi, esi
je 0x50ffd0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x8c2e84]
xor eax, edx
inc ecx
dec esi
jne 0x50ffb2
pop esi
pop ebx
not eax
ret

Function at 0x510840
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x510881
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x510876
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x510894
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x5117d0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x511885
cmp dword [ebp + 4], 0xffffffff
jne 0x511885
push ebx
lea ebx, [ebp + 0x138]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x8de8cc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
cmp esi, 1
jne 0x51184d
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x51184d
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push esi
push ecx
push edi
call fcn.005105d0
add esp, 0x10
test eax, eax
jne 0x511870
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.00510b10
add esp, 4
mov dword [ebp], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc

Function at 0x511ce0
Capabilities:
Create directory

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x208
test ecx, ecx
je 0x511da8
mov al, byte [ecx]
test al, al
je 0x511da8
push ebx
push esi
push edi
mov ebx, ecx
mov esi, ecx
cmp al, 0x2f
je 0x511d0b
cmp al, 0x5c
jne 0x511d0d
mov ebx, esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x511d03
mov edi, dword [esp + 0x218]
cmp ebx, ecx
je 0x511d44
mov esi, ebx
lea eax, [esp + 0xc]
sub esi, ecx
push esi
push ecx
push eax
call fcn.0051724e
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x18], 0
push ecx
push edi
call fcn.00511ce0
add esp, 0x14
inc ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x110]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
add esp, 0x208
ret
Function at 0x516fc4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x516fe4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051693a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x517007
test byte [esp + 8], 2
je 0x517007
call fcn.005169ad
mov dword [eax], 0xd
call fcn.005169b6
mov dword [eax], 5
jmp 0x516fe0
xor eax, eax
ret

Function at 0x527c67
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x527c9f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00525cf4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00525ccc
jmp 0x527cab
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x52935d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x52939f
call fcn.0052ee4f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52939f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x529396
xor eax, eax
jmp 0x5293a7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005293ad
pop edi
pop esi
pop ebx
ret 4

Function at 0x52f37f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x52f3ad
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x52f3cb
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0052f2e5
jmp 0x52f3cb
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52f3cb
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0052f2e5
test edi, edi
mov eax, edi
jne 0x52f3b5
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401443
pop dword [ebp - 0x48]
mov eax, 0x87fee7ad
sub eax, 0x87bed36a
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x65863ec5
add dword [ebp - 0x58], 0xe8cc0686
mov dword [ebp - 0x54], 0x99d5fcf
add dword [ebp - 0x54], 0x2895ec76
mov dword [ebp - 0x50], 0x16e44464
add dword [ebp - 0x50], 0x3567ffca
mov dword [ebp - 0x4c], 0xfb487cb3
add dword [ebp - 0x4c], 0x4b7834d
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4fdb1bb4
add eax, 0xb06564c4
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xa952efdb
sub dword [ebp - 0x58], 0x34e08685
mov dword [ebp - 0x54], 0x20dfc23a
add dword [ebp - 0x54], 0x208c9f3b
mov dword [ebp - 0x50], 0xa9711a54
sub dword [ebp - 0x50], 0x4601ade8
mov dword [ebp - 0x4c], 0x6920990
sub dword [ebp - 0x4c], 0x6920990
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xb7569ea9
sub eax, 0xb7161e2d
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x36309
push 0
call eax
mov ecx, 0xa13d6fe
add ecx, 0xf5ec6843
mov esi, eax
mov edx, 0x14c54978
sub edx, 0x14803578
add edx, dword [ebp - 0x48]
mov edi, 0x81e23458
xor dword [ebp - 0x2c], 0xea38c147
mov ebx, dword [edx]
xor dword [ebp - 4], 0x74c15b65
sub ebx, edi
mov dword [esi], ebx
xor dword [ebp - 0x24], 0x27260de
add esi, 0x815b6100
sub esi, 0x815b60fc
add edx, 0xc94ca222
sub edx, 0xc94ca21e
loop 0x40155f
add eax, 0x876f731b
sub eax, 0x876e8344
mov ebx, eax
add eax, 0x23db5059
add eax, 0xdc24afac
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4087cc
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
pop ebp
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edx, edx
lea esp, [esp]
xor eax, eax
test dl, 1
je 0x4087ec
mov eax, 0x80
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x4087f8
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x408802
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x40880c
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x408816
or eax, 8
shr ecx, 1
test cl, 1
je 0x408820
or eax, 4
shr ecx, 1
test cl, 1
je 0x40882a
or eax, 2
test cl, 2
je 0x408832
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
test al, 1
je 0x4088f4
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x4088e7
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x4087e0
pop edi
pop esi
pop ebx
ret 4

Function at 0x40892f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x408969
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edx]
movzx ebp, byte [ecx]
mov ebx, eax
and ebx, 0xff
xor ebx, ebp
shr eax, 8
xor eax, dword [edi + ebx*4]
inc ecx
dec esi
mov dword [edx], eax
jne 0x40894b
pop edi
pop ebp
pop ebx
pop esi
ret 0x10
Function at 0x4092d1
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00409481
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 0x4093cf
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 0x409372
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4093b5
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x409389
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4093a4
test al, 0x40
je 0x40939b
mov ecx, dword [edi + 0x20]
jmp 0x4093a2
test al, 0x80
je 0x4093b5
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4093b5
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 0x409341
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x420105
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0xb28bc1
push dword [0x1167fc8]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420144
push ebx
call fcn.0046cb7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42015b
mov eax, 0x556879
push eax
push 1
mov ebx, 0x46f9b0
call fcn.0046cb93
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4201ad
push reloc.WS2_32.dll_getpeername
push 0
push 0xb28bcd
push getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42019a
mov eax, 0x556879
push eax
push 2
mov ebx, 0x46fa40
call fcn.0046cb93
add esp, 0x1c
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x6259b1
push dword [ebp - 4]
mov ecx, 3
call fcn.00401077
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push eax
call fcn.004033c2
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4201f2
push ebx
call fcn.0046cb7b
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push 0
push 0
push 0
push getpeername
push 0
push 0xb747d5
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x420223
mov eax, 0x556879
push eax
push 4
mov ebx, 0x46d870
call fcn.0046cb93
add esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x420249
push ebx
call fcn.0046cb7b
add esp, 4
cmp dword [ebp - 0x14], 0xffffffff
mov eax, 0
setne al
jmp 0x42025a
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42026b
push ebx
call fcn.0046cb7b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x47e080
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5468bb
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.00539f81
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x47e102
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00536d7b
mov eax, dword [eax]
push 0x1147d8c
push eax
call fcn.00528914
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0053a20c
test bl, bl
je 0x47e102
push 0x1147d8c
lea ecx, [esp + 0xc]
call fcn.0053a59c
push 0x1147d98
lea ecx, [esp + 0xc]
call fcn.0053a59c
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 0x47e13e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0053a20c
jmp 0x47e209
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 0x47e1c2
lea edx, [esp + 0x7c]
push 0x1147d94
push edx
call fcn.00528914
add esp, 8
test eax, eax
je 0x47e1c2
lea eax, [esp + 0x7c]
push 0x1147d90
push eax
call fcn.00528914
add esp, 8
test eax, eax
je 0x47e1c2
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 0x47e152
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.0053a20c
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 0x47f490
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 0x47f4f2
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 0x47f500
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5469fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x1163e28]
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 0x47f638
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47f566
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0053a20c
xor eax, eax
jmp 0x47f6af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0053a349
push esi
lea ecx, [esp + 0xc]
call fcn.0053a5d8
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x1147ddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x47f68d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0047f490
test eax, eax
jne 0x47f68d
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.0047f490
test eax, eax
jne 0x47f68d
lea eax, [esp + 0x14]
push 0x1147db8
push eax
call fcn.00529ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f66c
lea ecx, [esp + 0x14]
push 0x1147db4
push ecx
call fcn.00529a40
mov esi, eax
add esp, 8
test esi, esi
jne 0x47f66c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47f66f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0053a2f9
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47f57e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0053a20c
xor eax, eax
jmp 0x47f6af
mov byte [esi], 0
push 0x1147db0
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.0053a20c
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 0x48575a
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x547108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0053b7f6
xor ebp, ebp
mov dword [esi], 0x11275b0
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.00493510
call fcn.004751b0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.005392d2
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.004751b0
mov dword [ebx], 0x11270e0
mov dword [edi], 0x11274c8
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x11269d0
lea ecx, [esi + 0xb0]
call fcn.004751b0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], method.CBitmap.virtual_0
mov byte [esp + 0x38], 5
mov dword [esi], 0x11274d0
mov dword [esi + 0xac], ebp
call fcn.00544854
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00541026
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4858b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x547175
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x11274d0
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.0054107d
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x1126838
call fcn.004753b0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.0054107d
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x1126838
call fcn.004753b0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.00539305
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x1126838
call fcn.004753b0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00542a90
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret