joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011aae
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [ebp + 0x10]
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
push ebx
call fcn.100062b2
mov dword [ebp - 4], 0xd4f3
add esp, 0x14
mov eax, dword [ebp - 4]
xor edx, edx
push 0x53
pop ecx
div ecx
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x290
mov dword [ebp - 8], 0x6d95
shr dword [ebp - 8], 5
shr dword [ebp - 8], 5
xor dword [ebp - 8], 0x1d
mov dword [ebp - 8], 0xb2ff
imul eax, dword [ebp - 8], 0x7b
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0x560095
cmp byte [ebx], 0
je 0x10011b65
push esi
push edi
mov edi, dword [ebp - 4]
mov dword [ebp - 8], 0x6d95
shr dword [ebp - 8], 5
shr dword [ebp - 8], 5
xor dword [ebp - 8], 0x1d
mov cl, byte [ebp - 8]
mov esi, dword [ebp - 4]
mov dword [ebp - 8], 0xb2ff
imul eax, dword [ebp - 8], 0x7b
shl esi, cl
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0x560095
mov cl, byte [ebp - 8]
mov edx, dword [ebp - 4]
movsx eax, byte [ebx]
mov dword [ebp - 4], eax
add dword [ebp - 4], esi
shl edx, cl
add dword [ebp - 4], edx
sub dword [ebp - 4], edi
inc ebx
cmp byte [ebx], 0
jne 0x10011b13
pop edi
pop esi
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10012d64
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
push dword [esp + 0x24]
push dword [esp + 0x24]
push edx
push ecx
call fcn.100062b2
mov dword [esp + 0x20], 0x5b9f
lea edi, [ecx + 4]
add dword [esp + 0x20], 0xfffff8c5
xor dword [esp + 0x20], 0xd90
mov dword [esp + 0x1c], 0x982a
shl dword [esp + 0x1c], 0xd
xor dword [esp + 0x1c], 0x130533b2
mov edx, dword [ecx]
mov eax, dword [edi]
add edi, 4
xor eax, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, esi
call fcn.100163e8
mov ebx, eax
mov dword [esp + 0x14], ebx
pop ecx
test ebx, ebx
je 0x10012e40
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x10012e37
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
mov byte [edx], cl
mov eax, ecx
shr eax, 8
lea edx, [edx + 4]
shr ecx, 0x10
mov byte [edx - 3], al
mov byte [edx - 2], cl
shr ecx, 8
inc ebp
mov byte [edx - 1], cl
cmp ebp, esi
jb 0x10012e0e
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
pop ebp
mov byte [ebx + eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x1001cb25
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
push esi
push dword [esp + 0x20]
push edx
push ecx
call fcn.100062b2
mov dword [esp + 0x1c], 0x8b96
lea edi, [esi + 4]
add dword [esp + 0x1c], 0xffff20a0
xor edx, edx
add dword [esp + 0x1c], 0xffff41f6
shl dword [esp + 0x1c], 0xc
xor dword [esp + 0x1c], 0xeee2dc93
mov dword [esp + 0x30], 0x710f
or dword [esp + 0x30], 0x6ece5f34
mov eax, dword [esp + 0x30]
push 0x49
pop ecx
div ecx
push 0x78
mov dword [esp + 0x34], eax
xor edx, edx
mov eax, dword [esp + 0x34]
pop ecx
div ecx
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0x37f97
mov ecx, dword [esi]
mov eax, dword [edi]
add edi, 4
xor eax, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
lea esi, [eax + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esi + esi]
call fcn.100163e8
mov ebx, eax
mov dword [esp + 0x24], ebx
pop ecx
test ebx, ebx
je 0x1001cc43
shr esi, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, ebx
lea ecx, [edi + esi*4]
mov esi, ecx
sub esi, edi
add esi, 3
shr esi, 2
cmp edi, ecx
cmova esi, eax
test esi, esi
je 0x1001cc38
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [edx], ax
mov eax, ecx
shr eax, 8
lea edx, [edx + 8]
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [edx - 4], ax
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, esi
jb 0x1001cbff
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [ebx + eax*2], cx
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0xc
ret
Function at 0x1001d6a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x78]
mov ebx, ecx
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
push edx
push ebx
call fcn.100062b2
mov dword [esp + 0x30], 0xa345
add esp, 0x18
mov eax, dword [esp + 0x18]
xor edx, edx
xor esi, esi
mov ecx, 0x388706b5
push 0x17
pop ebp
div ebp
push 0x75
mov dword [esp + 0x1c], eax
xor edx, edx
shl dword [esp + 0x1c], 2
xor dword [esp + 0x1c], 0xb586a132
xor dword [esp + 0x1c], 0xb586a8c9
mov dword [esp + 0x30], 0x3c18
mov eax, dword [esp + 0x30]
pop ebp
div ebp
push 0x30
mov dword [esp + 0x30], eax
xor edx, edx
or dword [esp + 0x30], 0xfaaa2e7e
xor dword [esp + 0x30], 0xfaaa5d3e
mov dword [esp + 0x2c], 0x292c
mov eax, dword [esp + 0x2c]
pop ebp
div ebp
push 0x7d
mov dword [esp + 0x2c], eax
xor edx, edx
mov eax, dword [esp + 0x2c]
pop ebp
div ebp
push 0x42
mov dword [esp + 0x2c], eax
xor edx, edx
xor dword [esp + 0x2c], 0xdf9
mov dword [esp + 0x34], 0xacd5
add dword [esp + 0x34], 0x8377
xor dword [esp + 0x34], 0x14058
mov dword [esp + 0x18], 0x91f4
xor dword [esp + 0x18], 0x59127442
xor dword [esp + 0x18], 0xd1a3ee64
xor dword [esp + 0x18], 0x1200e02f
xor dword [esp + 0x18], 0x9ab1bc65
mov dword [esp + 0x28], 0x8653
or dword [esp + 0x28], 0x93bc935f
shl dword [esp + 0x28], 4
xor dword [esp + 0x28], 0x3bc90d53
mov dword [esp + 0x14], 0x9841
mov eax, dword [esp + 0x14]
pop ebp
div ebp
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0x19
mov dword [esp + 0x10], eax
imul eax, dword [esp + 0x10], 0x44
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0xf441a
mov dword [esp + 0x38], 0xfe3f
add dword [esp + 0x38], 0xc16
xor dword [esp + 0x38], 0x102f3
mov dword [esp + 0x34], 0xb3bd
add dword [esp + 0x34], 0xffff84e2
xor dword [esp + 0x34], 0x629b
mov dword [esp + 0x20], 0x779
shl dword [esp + 0x20], 0xa
shl dword [esp + 0x20], 2
mov ebp, 0x10d238e9
or dword [esp + 0x20], 0x746c3a89
xor dword [esp + 0x20], 0x747fb8a8
mov dword [esp + 0x1c], 0x97f4
xor dword [esp + 0x1c], 0xacb5c4e6
imul eax, dword [esp + 0x1c], 0x15
mov dword [esp + 0x1c], eax
or dword [esp + 0x1c], 0x645395ef
xor dword [esp + 0x1c], 0x6edfb60f
cmp ecx, ebp
je 0x1001d8ac
cmp ecx, 0x13bcd39c
je 0x1001d883
cmp ecx, 0x30fa29dc
je 0x1001d8d5
cmp ecx, 0x388706b5
jne 0x1001d8cb
mov ecx, ebp
jmp 0x1001d863
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x14]
push edi
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
call fcn.1001de90
add esp, 0x10
test eax, eax
je 0x1001d8fd
mov ecx, 0x30fa29dc
jmp 0x1001d863
lea eax, [esp + 0x3c]
push eax
push ebx
push dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
call 0x1001ffe9
add esp, 0xc
mov ecx, 0x13bcd39c
cmp ecx, 0x2a61d71f
jne 0x1001d863
jmp 0x1001d8fd
push dword [esp + 0x1c]
lea eax, [esp + 0x40]
push dword [esp + 0x24]
lea ecx, [edi + 4]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
push eax
call fcn.1000a499
xor ecx, ecx
add esp, 0x10
inc ecx
test eax, eax
cmovne esi, ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x1001e725
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
push dword [esp + 0x80]
mov edi, dword [esp + 0x78]
push dword [esp + 0x80]
push dword [esp + 0x80]
push edi
push edx
push ecx
call fcn.100062b2
mov dword [esp + 0x28], 0x6541
add esp, 0x18
xor dword [esp + 0x10], 0x91bfb37d
xor edx, edx
shr dword [esp + 0x10], 0x10
xor esi, esi
shl dword [esp + 0x10], 0xe
mov ecx, 0xd16dbf6
xor dword [esp + 0x10], 0x246feaa2
mov dword [esp + 0x20], 0xafef
add dword [esp + 0x20], 0xd5f0
shr dword [esp + 0x20], 8
xor dword [esp + 0x20], 0x20f9
mov dword [esp + 0x34], 0x3fa
shl dword [esp + 0x34], 8
xor dword [esp + 0x34], 0x3a875
mov dword [esp + 0x2c], 0xdac3
shr dword [esp + 0x2c], 4
imul eax, dword [esp + 0x2c], 0x37
push 0x79
pop ebx
push 0x35
mov dword [esp + 0x30], eax
xor dword [esp + 0x30], 0x2ab2a
mov dword [esp + 0x3c], 0xacb2
shl dword [esp + 0x3c], 3
xor dword [esp + 0x3c], 0x56a81
mov dword [esp + 0x2c], 0x451e
shl dword [esp + 0x2c], 0xa
shr dword [esp + 0x2c], 1
xor dword [esp + 0x2c], 0x8a68a2
mov dword [esp + 0x28], 0xa9b5
xor dword [esp + 0x28], 0x71c268bb
shr dword [esp + 0x28], 0xb
xor dword [esp + 0x28], 0xe50b8
mov dword [esp + 0x20], 0x733c
add dword [esp + 0x20], 0xffff2d0a
or dword [esp + 0x20], 0xc6f06430
add dword [esp + 0x20], 0xffffe838
xor dword [esp + 0x20], 0xffffb7ce
mov dword [esp + 0x1c], 0xd1fe
mov eax, dword [esp + 0x1c]
div ebx
xor edx, edx
mov dword [esp + 0x1c], eax
or dword [esp + 0x1c], 0xc6561511
mov eax, dword [esp + 0x1c]
pop ebx
div ebx
push 0x57
mov dword [esp + 0x1c], eax
xor edx, edx
xor dword [esp + 0x1c], 0x3be11ae
mov dword [esp + 0x34], 0xb503
xor dword [esp + 0x34], 0x4b2bbc6a
add dword [esp + 0x34], 0xffffbb02
xor dword [esp + 0x34], 0x4b2ab619
mov dword [esp + 0x18], 0x25d2
imul eax, dword [esp + 0x18], 0x42
pop ebx
push 0x2f
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
div ebx
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
pop ebx
div ebx
mov dword [esp + 0x14], eax
mov ebx, 0x14ed0f49
xor dword [esp + 0x14], 0x6e4e
mov ebp, 0x2ae8b971
cmp ecx, 0xd16dbf6
je 0x1001e939
cmp ecx, ebx
je 0x1001e945
cmp ecx, 0x2713230a
je 0x1001e912
cmp ecx, ebp
jne 0x1001e93b
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x80]
push dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
call 0x1001ffe9
add esp, 0xc
mov ecx, 0x2713230a
jmp 0x1001e8d3
push dword [esp + 0x24]
lea eax, [esp + 0x40]
mov ecx, edi
push dword [esp + 0x2c]
push dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push eax
call fcn.1000a499
add esp, 0x10
test eax, eax
je 0x1001e96e
mov ecx, ebx
jmp 0x1001e8d3
mov ecx, ebp
cmp ecx, 0x88de44a
jne 0x1001e8d3
jmp 0x1001e96e
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
lea eax, [edi + 8]
push eax
push dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
call fcn.1001de90
xor ecx, ecx
add esp, 0x10
inc ecx
test eax, eax
cmovne esi, ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x10003377
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x100033bf
call fcn.1000e0d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100033bf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x10003402
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x100033eb
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x100033eb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x100033ff
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x100049da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x100049fe
cmp dword [edi + 0x54], 0
jne 0x100049fe
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1000e0d2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1000499b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000cd16
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x1000cd5d
call fcn.1000e0d2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1000cd5d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x1000cd79
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1000c890
mov esi, eax
test edi, edi
je 0x1000cd77
test ebx, ebx
je 0x1000cd77
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1000d4f4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10059536
call fcn.1001f0d0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1000d519
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1000d55f
lea ecx, [ebp - 0x10]
call fcn.10001ed0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10004b1c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100011d0
mov eax, esi
call fcn.1001f1a8
ret 8
Function at 0x1001dfa0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100695e8]
jne 0x1001dfaa
repz ret
jmp fcn.10022b1a

Function at 0x1002bec3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10022c92
and dword [ebp - 4], 0
cmp dword [0x1006d3c0], 0
mov ebx, eax
jne 0x1002bf74
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1002c025
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1005f5c8
push edi
call esi
test eax, eax
je 0x1002c025
push eax
call fcn.10022c20
mov dword [esp], 0x1005f5b8
push edi
mov dword [0x1006d3c0], eax
call esi
push eax
call fcn.10022c20
mov dword [esp], 0x1005f5a4
push edi
mov dword [0x1006d3c4], eax
call esi
push eax
call fcn.10022c20
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1006d3c8], eax
call esi
push eax
call fcn.10022c20
pop ecx
mov dword [0x1006d3d0], eax
test eax, eax
je 0x1002bf74
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10022c20
pop ecx
mov dword [0x1006d3cc], eax
mov eax, dword [0x1006d3cc]
cmp eax, ebx
je 0x1002bfcc
cmp dword [0x1006d3d0], ebx
je 0x1002bfcc
push eax
call fcn.10022c9b
push dword [0x1006d3d0]
mov esi, eax
call fcn.10022c9b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002bfcc
test edi, edi
je 0x1002bfcc
call esi
test eax, eax
je 0x1002bfc3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002bfc3
test byte [ebp - 0xc], 1
jne 0x1002bfcc
or dword [ebp + 0x10], 0x200000
jmp 0x1002c005
mov eax, dword [0x1006d3c4]
cmp eax, ebx
je 0x1002c005
push eax
call fcn.10022c9b
pop ecx
test eax, eax
je 0x1002c005
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1002c005
mov eax, dword [0x1006d3c8]
cmp eax, ebx
je 0x1002c005
push eax
call fcn.10022c9b
pop ecx
test eax, eax
je 0x1002c005
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1006d3c0]
call fcn.10022c9b
pop ecx
test eax, eax
je 0x1002c025
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002c027
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10045a80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x10045ac2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x10045bc6
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x10045b43
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x10045b3e
push 4
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10045b17
xor eax, eax
jmp 0x10045bcb
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.10043e80
add esp, 0xc
jmp 0x10045ab0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10043d40
test eax, eax
jne 0x10045b64
xor eax, eax
jmp 0x10045bcb
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10045b8f
xor eax, eax
jmp 0x10045bcb
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10043e30
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
jmp 0x10045ab0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10045d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x1c], 0x44
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x6c
mov byte [ebp - 0x19], 0x52
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x67
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x53
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [0x1006d44c]
push ecx
mov ecx, 0x1006d430
call fcn.10045780
mov dword [ebp - 4], eax
call dword [ebp - 4]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1001dfa0
mov esp, ebp
pop ebp
ret
Function at 0x10058e40
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using rc4 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a3bb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100695e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
push 0x66
mov ecx, dword [ebp - 0x10]
call fcn.100040f8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CEncryptionDlg.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x74
call fcn.10001ed0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.10001ed0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x80
call fcn.10001df0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0xd4
call fcn.10001df0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x130
call fcn.10001ed0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x134
call fcn.1000510f
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x144
call fcn.1000510f
mov byte [ebp - 4], 7
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x154
call fcn.10001cf0
mov byte [ebp - 4], 8
push 0
push 1
push 0x10060764
push 0
mov edx, dword [ebp - 0x10]
add edx, 0x16c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x10058f87
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090003
jne 0x10058f82
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push 0
mov eax, dword [ebp - 0x10]
add eax, 0x16c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x10058f80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x168], eax
push 0
push 0
push str.Fail_to_acquire_Context.
call fcn.100074eb
jmp 0x10059038
jmp 0x10058f87
jmp 0x10059038
mov edx, dword [ebp - 0x10]
add edx, 0x170
push edx
push 0
push 0
push 0x134
push 0x1006a900
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x16c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x10058fd8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x168], eax
push 0
push 0x100607d8
push str.Error_CryptImportKey___failed.
mov ecx, dword [ebp - 0x10]
call fcn.10008eb3
jmp 0x10059038
mov eax, dword [ebp - 0x10]
add eax, 0x174
push eax
push 1
push 0x6801
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x16c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
jne 0x10059021
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x168], eax
push 0
push 0x10060804
push str.Error_CryptGenKey___failed.
mov ecx, dword [ebp - 0x10]
call fcn.10008eb3
jmp 0x10059038
push 0x80
call fcn.10001770
mov ecx, eax
call fcn.10001790
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x7c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4