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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14c
push ebx
push esi
push edi
xor esi, esi
lea edx, [eax + 0x1c]
mov ecx, dword [edx]
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov dword [ebp + esi*4 - 0x14c], edi
inc esi
add edx, 4
cmp esi, 0x10
jb 0x406f5f
push 0x40
lea ecx, [ebp - 0x144]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x406f90
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
and dword [ebp + 8], 0
mov dword [ebp - 4], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0xc], edi
mov edi, esi
not edi
and edi, dword [ebp - 4]
mov dword [ebp - 8], edx
mov ebx, ecx
and ebx, esi
xor edi, ebx
rol edx, 5
add edx, edi
mov edi, dword [ebp + 8]
add edx, dword [ebp + edi*4 - 0x14c]
mov edi, dword [ebp - 0xc]
inc dword [ebp + 8]
ror esi, 2
cmp dword [ebp + 8], 0x14
lea edx, [edx + edi + 0x5a827999]
mov edi, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
jb 0x406fbf
mov dword [ebp + 8], 0x14
mov ebx, dword [ebp - 4]
xor ebx, ecx
mov dword [ebp - 8], edx
xor ebx, esi
rol edx, 5
add edx, ebx
mov ebx, dword [ebp + 8]
add edx, dword [ebp + ebx*4 - 0x14c]
inc dword [ebp + 8]
ror esi, 2
cmp dword [ebp + 8], 0x28
lea edx, [edx + edi + 0x6ed9eba1]
mov edi, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, esi
mov esi, dword [ebp - 8]
jb 0x407009
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], 0x28
mov edi, ecx
xor edi, esi
and edi, dword [ebp - 4]
mov ebx, ecx
and ebx, esi
xor edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
mov dword [ebp - 8], edx
rol edx, 5
add edx, dword [ebp - 0xc]
inc dword [ebp + 8]
lea edx, [edi + edx - 0x70e44324]
mov edi, dword [ebp - 4]
ror esi, 2
push 0x3c
mov dword [ebp - 0xc], edi
pop edi
mov dword [ebp - 4], ecx
mov ecx, esi
mov esi, dword [ebp - 8]
cmp dword [ebp + 8], edi
jb 0x40704a
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp + 8]
xor edi, ecx
mov dword [ebp - 8], edx
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, dword [ebp - 4]
rol edx, 5
add edx, dword [ebp - 0xc]
inc dword [ebp + 8]
ror esi, 2
cmp dword [ebp + 8], 0x50
mov dword [ebp - 4], ecx
mov ecx, esi
mov esi, dword [ebp - 8]
lea edx, [edi + edx - 0x359d3e2a]
mov dword [ebp - 0xc], ebx
jb 0x407090
mov edi, dword [eax + 8]
add edi, edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 4]
mov dword [eax + 8], edi
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
pop edi
add ecx, ebx
pop esi
mov dword [eax + 0x10], edx
mov dword [eax + 0x18], ecx
pop ebx
leave
ret
Function at 0x4070f9
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x4072c3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
push esi
push edi
push dword [ebp + 8]
movzx edi, al
and edi, 3
lea edi, [edi*4 + 4]
push edi
push 1
mov esi, 0x4204fc
push esi
mov dword [0x420520], 0x8000
mov byte [0x42051c], al
call fcn.0040a221
add esp, 0x10
push 0x420328
push 0x42050c
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
movzx eax, byte [0x42051c]
push dword [ebp + 0xc]
push eax
call fcn.00408e7e
add esp, 0x18
test eax, eax
jne 0x407377
push ebx
push dword [ebp + 8]
mov ebx, 0x420524
push 2
push 1
push ebx
call fcn.0040a221
mov esi, dword [ebp + 0x10]
mov eax, edi
mov edi, dword [ebp + 0x14]
cdq
sub esi, eax
push 2
sbb edi, edx
push 0x42050c
sub esi, 2
push ebx
sbb edi, 0
call fcn.0040b78f
add esp, 0x1c
pop ebx
test eax, eax
jne 0x407377
cmp dword [ebp + 0x1c], eax
jne 0x407371
call fcn.004072bf
cdq
sub esi, eax
sbb edi, edx
mov eax, esi
mov edx, edi
jmp 0x40737c
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
pop ebp
ret

Function at 0x407398
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x420520]
cmp eax, 0x8000
jne 0x4073fa
push esi
push edi
push 0x420328
mov edi, 0x42050c
push edi
call fcn.00408f98
mov eax, dword [ebp + 0xc]
push 0
add eax, 0xfffffff6
push eax
push dword [ebp + 8]
call fcn.0040a2c8
push dword [ebp + 8]
mov esi, 0x420524
push 0xa
push 1
push esi
call fcn.0040a221
push 0xa
push edi
push esi
call fcn.0040b78f
add esp, 0x30
pop edi
pop esi
test eax, eax
je 0x4073f3
push 7
pop eax
jmp 0x4073f5
xor eax, eax
mov dword [0x420520], eax
pop ebp
ret
Function at 0x409039
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x4090ac
cmp eax, 0x40
jbe 0x409066
lea eax, [esi + 0x40]
push eax
push esi
call fcn.00407197
pop ecx
pop ecx
mov dword [esi + 0x9c], 0x14
mov eax, dword [esi + 0x9c]
push 0x40
pop ecx
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.00409cd0
add esp, 0xc
xor eax, eax
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x409081
push edi
lea edi, [esi + 0x40]
push edi
call fcn.004070f9
push edi
push 0x40
push esi
call fcn.0040712b
add esp, 0x10
or dword [esi + 0x9c], 0xffffffff
pop edi
cmp dword [ebp + 0xc], 0
je 0x4090c4
add esi, 0x40
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040712b
add esp, 0xc
pop esi
pop ebp
ret

Function at 0x4090c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0x9c], 0xffffffff
push edi
je 0x4090e8
push esi
push 0
push 0
call fcn.00409039
add esp, 0xc
lea edi, [esi + 0x40]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00407197
pop ecx
pop ecx
xor eax, eax
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4090f9
push edi
call fcn.004070f9
push edi
push 0x40
push esi
call fcn.0040712b
push edi
lea eax, [ebp - 0x14]
push 0x14
push eax
call fcn.0040712b
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00407197
add esp, 0x24
cmp dword [ebp + 0xc], 0
pop edi
pop esi
jbe 0x409148
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0040ad10
add esp, 0xc
leave
ret

Function at 0x40922c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, 0x104
push esi
lea ebx, [edi + 0x104]
push edi
push ebx
call fcn.0040ad10
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, esi
sub ecx, eax
push ecx
add eax, edi
push eax
call dword [edi + 0x20c]
add dword [ebp - 4], eax
pop ecx
pop ecx
cmp dword [ebp - 4], esi
jb 0x40924c
xor eax, eax
mov cl, byte [ebx + eax]
not cl
xor byte [eax + edi], cl
inc eax
cmp eax, esi
jb 0x409269
push edi
call fcn.0040919a
push ebx
call fcn.0040919a
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x409341
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
lea eax, [ebp - 0xd8]
push edi
push eax
call fcn.00408fb6
lea eax, [ebp - 0xd8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408fcd
mov edi, 0xa0
push edi
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040ad10
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00409039
mov eax, dword [ebp + 0x20]
add esp, 0x28
push 0x14
dec eax
xor edx, edx
pop ecx
div ecx
inc eax
mov dword [ebp - 0x10], eax
je MessageBoxA
and dword [ebp - 8], 0
push ebx
xor ebx, ebx
lea eax, [ebp - 0x38]
push esi
inc ebx
mov dword [ebp - 4], eax
push 0x14
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00409cd0
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0040ad10
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x24], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp - 0x23], al
mov eax, ebx
shr eax, 8
add esp, 0x18
mov byte [ebp - 0x22], al
mov eax, dword [ebp + 0x18]
push 4
mov byte [ebp - 0x21], bl
pop esi
test eax, eax
je 0x409459
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.00409039
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.004090c7
add esp, 0x18
xor esi, esi
mov al, byte [ebp + esi - 0x24]
xor byte [ebp + esi - 0x38], al
inc esi
cmp esi, 0x14
jb 0x40942f
push edi
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0040ad10
add esp, 0xc
dec dword [ebp - 0xc]
jne 0x409407
mov eax, dword [ebp - 8]
xor esi, esi
cmp eax, dword [ebp + 0x20]
jae 0x409476
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + eax]
mov edx, dword [ebp + 0x1c]
inc esi
mov byte [eax + edx], cl
inc eax
cmp esi, 0x14
jb 0x40945e
add dword [ebp - 8], 0x14
sub dword [ebp - 4], 0x14
inc ebx
lea eax, [ebx - 1]
cmp eax, dword [ebp - 0x10]
jb 0x4093bb
pop esi
pop ebx
pop edi
leave
ret

Function at 0x4106a4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41dd10]
jne 0x4106ae
repz ret
jmp fcn.00413a54
Function at 0x414073
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41dd10]
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.0040ce83
and dword [ebp - 0x14], 0
cmp dword [0x4212c4], 0
mov dword [ebp - 0x18], eax
jne 0x414126
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4141ce
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b658
push ebx
call edi
test eax, eax
je 0x4141ce
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4212c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4212c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4212cc], eax
call edi
push eax
call esi
mov dword [0x4212d4], eax
test eax, eax
je 0x414126
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4212d0], eax
mov eax, dword [0x4212d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41417f
cmp dword [0x4212d4], ecx
je 0x41417f
push eax
call esi
push dword [0x4212d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41417f
test ebx, ebx
je 0x41417f
call edi
test eax, eax
je 0x414176
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414176
test byte [ebp - 8], 1
jne 0x41417f
or dword [ebp + 0x10], 0x200000
jmp 0x4141b2
mov eax, dword [0x4212c8]
cmp eax, dword [ebp - 0x18]
je 0x4141b2
push eax
call esi
test eax, eax
je 0x4141b2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4141b2
mov eax, dword [0x4212cc]
cmp eax, dword [ebp - 0x18]
je 0x4141b2
push eax
call esi
test eax, eax
je 0x4141b2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4212c4]
call esi
test eax, eax
je 0x4141ce
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4141d0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004106a4
leave
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403203
pop dword [ebp - 0x44]
mov eax, 0x66cdb1b9
sub eax, 0x668d7fb6
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xa46fdc20
add dword [ebp - 0x54], 0xa9e2692b
mov dword [ebp - 0x50], 0x1eda6752
add dword [ebp - 0x50], 0x1358e4f3
mov dword [ebp - 0x4c], 0x8811a961
add dword [ebp - 0x4c], 0xc43a9acd
mov dword [ebp - 0x48], 0xf400055b
add dword [ebp - 0x48], 0xbfffaa5
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x887bbf15
add dword [ebp - 0x54], 0xebf6aa41
mov dword [ebp - 0x50], 0xa1773e38
sub dword [ebp - 0x50], 0x600adcc3
mov dword [ebp - 0x4c], 0x788bea8d
sub dword [ebp - 0x4c], 0x151c7e21
mov dword [ebp - 0x48], 0x67be4a81
add dword [ebp - 0x48], 0x9841b57f
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x39079
push 0
call eax
mov ecx, 0x3873e7a1
add ecx, 0xc78c6a1d
xor esi, esi
add esi, eax
mov edx, 0x10c8a6ca
sub edx, 0x108796ca
add edx, dword [ebp - 0x44]
mov ebx, 0xcc43d698
sub dword [ebp - 0x2c], esi
mov edi, dword [edx]
add dword [ebp - 0x1c], eax
xor edi, ebx
add dword [ebp - 0x34], 0x602fdc69
mov dword [esi], edi
add dword [ebp - 0x30], 0x47966388
add esi, 0xbc40d3d
add esi, 0xf43bf2c7
add edx, 0xbc804a69
add edx, 0x437fb59b
loop 0x403317
add eax, 0x577bd206
add eax, 0xa88567c5
xor ebx, ebx
add ebx, eax
add eax, 0x9ebfc39
add eax, 0xf61403cc
mov ecx, 0x11591e07
sub ecx, 0x11191e07
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1001c269
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1001c278
pop dword [ebp - 0x3c]
mov eax, 0x5de7ab87
sub eax, 0x4de5e90f
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xbfcc5c3c
sub dword [ebp - 0x4c], 0x717a16f1
mov dword [ebp - 0x48], 0xe48f8233
add dword [ebp - 0x48], 0x4da3ca12
mov dword [ebp - 0x44], 0x2b31a0f0
add dword [ebp - 0x44], 0x211aa33e
mov dword [ebp - 0x40], 0xc13b8e14
add dword [ebp - 0x40], 0x3ec471ec
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xbe7260c7
sub eax, 0xae724fbf
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x7ca82b4
sub dword [ebp - 0x4c], 0x9358195e
mov dword [ebp - 0x48], 0x14b9e4f
sub dword [ebp - 0x48], 0xbfdf3cda
mov dword [ebp - 0x44], 0x76440f66
add dword [ebp - 0x44], 0xed2b5d06
mov dword [ebp - 0x40], 0x893945b3
add dword [ebp - 0x40], 0x76c6ba4d
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x57139336
sub eax, 0x47138156
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d5ff
push 0
call eax
mov ecx, 0xbb8781bc
sub ecx, 0xbb8740e9
mov ebx, eax
mov edi, 0x1002d600
add edi, dword [ebp - 0x3c]
mov edx, 0x37e2c8d5
sub edx, 0x85d16022
xor dword [ebp - 0x34], 0xc7588fca
mov esi, dword [edi]
mov dword [ebp - 0x18], 0x415903a9
sub esi, edx
sub dword [ebp - 0x34], 0x5b08ce3c
mov dword [ebx], esi
xor dword [ebp - 0x20], esi
add ebx, 0x1c0dc0b
sub ebx, 0x1c0dc07
add edi, 0x2633379e
add edi, 0xd9ccc866
loop 0x1001c394
add eax, 0xc9136246
sub eax, 0xc9126c27
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x10020263
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10005270]
jne 0x10020613
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028550], eax
mov dword [0x1002854c], ecx
mov dword [0x10028548], edx
mov dword [0x10028544], ebx
mov dword [0x10028540], esi
mov dword [0x1002853c], edi
mov word [0x10028568], ss
mov word [0x1002855c], cs
mov word [0x10028538], ds
mov word [0x10028534], es
mov word [0x10028530], fs
mov word [0x1002852c], gs
pushfd
pop dword [0x10028560]
mov eax, dword [ebp]
mov dword [0x10028554], eax
mov eax, dword [ebp + 4]
mov dword [0x10028558], eax
lea eax, [ebp + 8]
mov dword [0x10028564], eax
mov eax, dword [ebp - 0x320]
mov dword [0x100284a0], 0x10001
mov eax, dword [0x10028558]
mov dword [0x10028454], eax
mov dword [0x10028448], 0xc0000409
mov dword [0x1002844c], 1
mov eax, dword [0x10005270]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10024b90]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028498], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10005278
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028498], 0
jne 0x100206ff
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x6dc717da
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x6dc7180c
jl 0x6dc717fc
cmp dword [ebp + 0x18], ecx
jae 0x6dc7180c
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x6dc71824
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x6dc71821
jl 0x6dc7181e
cmp dword [ebp + 0x18], eax
jae 0x6dc71821
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x6dc71889
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x6dc71849
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_PeekMessageA]
test eax, eax
je 0x6dc71877
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.user32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.user32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x6dc71849
cmp dword [ebp - 8], 0
jne 0x6dc71824
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x6dc71824
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x6dc74779
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1f0]
sub esp, 0x270
mov eax, dword [0x6dc7b4b0]
xor eax, ebp
mov dword [ebp + 0x1ec], eax
mov eax, dword [ebp + 0x1f8]
push ebx
push esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.JNLPFileShellOpenCommand
mov esi, 0x104
push SysReAllocString
mov dword [ebp - 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6dc747ce
xor eax, eax
jmp 0x6dc748ed
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x28]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x6dc74860
lea eax, [ebp - 0x1c]
inc eax
cmp byte [eax], 0x22
jne 0x6dc747f5
push esi
mov byte [eax], bl
lea eax, [ebp + 0xe8]
push ebx
push eax
call sub.msvcr100.dll_memset
lea eax, [ebp - 0x1b]
push eax
lea eax, [ebp + 0xe8]
push 0x6dc779d4
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebp - 0x24], ebx
je 0x6dc7485b
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6dc74832
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x24]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6dc74843
sub eax, esi
lea eax, [edi + eax + 0x10]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
jne 0x6dc74867
xor eax, eax
jmp 0x6dc748ec
lea eax, [ebp + 0xe8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6dc74870
sub eax, edx
mov esi, eax
mov eax, dword [ebp - 0x24]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6dc74881
push dword [ebp - 0x24]
lea ecx, [ebp + 0xe8]
push ecx
sub eax, edi
push str.__s___nocodebase__s
lea eax, [esi + eax + 0x10]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.msvcr100.dll_sprintf_s]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.msvcr100.dll_memset
add esp, 0x20
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
lea eax, [ebp + 0xe8]
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.kernel32.dll_CreateProcessA]
push dword [ebp - 0x20]
mov esi, eax
call dword [sym.imp.msvcr100.dll_free]
xor eax, eax
cmp esi, ebx
pop ecx
setne al
pop edi
mov ecx, dword [ebp + 0x1ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.6dc75bdb
add ebp, 0x1f0
leave
ret
Function at 0x6dc74904
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x6dc7b4b0]
xor eax, ebp
mov dword [ebp + 0x194], eax
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x1a4]
push esi
push edi
mov edi, dword [ebp + 0x1a0]
lea eax, [ebp - 0x74]
push eax
mov esi, 0x104
push esi
mov dword [ebp - 0x80], edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
cmp eax, esi
ja 0x6dc74a62
xor esi, esi
cmp eax, esi
je 0x6dc74a62
lea eax, [ebp + 0x90]
push eax
push esi
push str.JNLP
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
test eax, eax
jne 0x6dc74979
push 3
jmp 0x6dc74a64
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
lea eax, [ebp + 0x90]
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x6dc749a4
push 4
jmp 0x6dc74a64
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6dc749a9
sub eax, edx
mov ecx, eax
mov eax, ebx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6dc749b9
sub eax, esi
lea eax, [eax + ecx + 0x14]
push eax
call dword [sym.imp.msvcr100.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
jne 0x6dc749db
push 5
jmp 0x6dc74a64
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6dc749e0
sub eax, edx
mov ecx, eax
mov eax, ebx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6dc749f0
push dword [ebp - 0x80]
sub eax, edi
push ebx
push str.docbase_s_njnlphref_s_n
lea eax, [eax + ecx + 0x14]
push eax
push esi
call dword [sym.imp.msvcr100.dll_sprintf_s]
mov eax, esi
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x6dc74a16
push 0
sub eax, ecx
lea ecx, [ebp - 0x7c]
push ecx
push eax
push esi
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.msvcr100.dll_free]
pop ecx
test edi, edi
jne 0x6dc74a42
push 6
jmp 0x6dc74a64
push dword [ebp - 0x78]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x6dc74a53
push 7
jmp 0x6dc74a64
lea eax, [ebp + 0x90]
push eax
call fcn.6dc74779
pop ecx
jmp 0x6dc74a65
push 2
pop eax
mov ecx, dword [ebp + 0x194]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6dc75bdb
add ebp, 0x198
leave
ret

Function at 0x6dc75bdb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6dc7b4b0]
jne 0x6dc75be5
repz ret
jmp fcn.6dc7623d