joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494f25
Capabilities:
Delete registry key

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4bcc78
call fcn.0049f542
xor eax, eax
push 0x206
mov word [ebp], ax
xor esi, esi
lea eax, [ebp + 2]
push esi
push eax
mov edi, ecx
call fcn.0049f650
add esp, 0xc
push 0x104
lea eax, [ebp]
push eax
push 0x77
push dword [edi]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x18]
push eax
push 0x4cfde0
mov dword [ebp - 0x18], esi
call dword [sym.imp.RPCRT4.dll_UuidToStringW]
push 0x4ca6d0
lea ecx, [ebp - 0x10]
call fcn.00404a87
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00410081
push 0x4ca6cc
lea ecx, [ebp - 0x10]
call fcn.00410081
lea ecx, [ebp - 0x10]
call fcn.0041fa3d
push esi
lea ecx, [ebp - 0x10]
call fcn.00404ffd
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401618
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push 0x20006
push esi
push esi
push esi
lea eax, [ebp]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [ebp - 0x1c]
test eax, eax
jne 0x495010
cmp edi, esi
je 0x494ff8
mov eax, dword [edi]
jmp 0x494ffa
xor eax, eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], esi
cmp edi, esi
je 0x49501b
mov ecx, edi
call fcn.004016c8
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401713
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x20c
leave
ret

Function at 0x4952e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.GlobalScriptHelperExit
lea eax, [ebp - 0x24]
push ebx
mov dword [ebp - 0xc], eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0xc
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x40], eax
cmp dword [esi + 0x30], ebx
jne 0x495355
xor eax, eax
jmp 0x495379
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x495049
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
jne 0x495377
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49614e
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0049f650
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x54], edi
push esi
mov dword [ebp - 0x28], 2
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
leave
ret 4

Function at 0x496cd7
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0x1c
mov eax, 0x4bd891
call fcn.0049f542
mov edi, dword [ebp + 0x230]
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
xor esi, esi
lea eax, [ebp + 0x1e]
push esi
push eax
mov ebx, ecx
call fcn.0049f650
add esp, 0xc
push esi
push 0x26
lea eax, [ebp + 0x1c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x496dc4
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00404bd0
push 0x4d5480
lea ecx, [ebp]
mov dword [ebp - 4], esi
call fcn.004052dd
push edi
lea ecx, [ebp]
call fcn.004052dd
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 7
call fcn.00405ece
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 1
jae 0x496d78
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.004298f6
test al, al
je 0x496dae
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
lea ecx, [ebx + 0x54]
call fcn.00405301
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004058b3
push esi
push 1
lea ecx, [ebp]
call fcn.004058b3
mov al, 1
jmp 0x496dc6
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004058b3
push esi
push 1
lea ecx, [ebp]
call fcn.004058b3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x228
leave
ret 4
Function at 0x496e49
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
sub esp, 0x448
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x448], eax
push 4
mov eax, 0x4bd8fe
call fcn.0049f542
mov eax, dword [ebp + 0x454]
mov dword [ebp - 0x10], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x38], ax
xor edi, edi
lea eax, [ebp + 0x3a]
push edi
push eax
mov ebx, ecx
call fcn.0049f650
add esp, 0xc
push 0x104
lea eax, [ebp + 0x38]
push eax
push 0x72
push dword [ebx + 0x18]
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
push esi
mov word [ebp + 0x240], ax
lea eax, [ebp + 0x242]
push edi
push eax
call fcn.0049f650
add esp, 0xc
push edi
push 0x26
lea eax, [ebp + 0x240]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x496f70
lea eax, [ebp + 0x240]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00404bd0
mov esi, 0x4d5480
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], edi
call fcn.004052dd
push dword [ebp - 0x10]
lea ecx, [ebp + 0x1c]
call fcn.004052dd
push esi
lea ecx, [ebp + 0x1c]
call fcn.004052dd
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004052dd
push edi
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.00405ece
mov eax, dword [ebp + 0x20]
xor ebx, ebx
inc ebx
cmp dword [ebp + 0x34], 8
mov byte [ebp - 4], bl
jae 0x496f3c
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp]
call fcn.004298f6
push edi
lea ecx, [ebp]
push ebx
test al, al
je 0x496f61
call fcn.004058b3
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004058b3
mov al, bl
jmp 0x496f72
call fcn.004058b3
push edi
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004058b3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x448]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x44c
leave
ret 4
Function at 0x496f97
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x1a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x1b4]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x1b8]
cmp dword [esi + 0x28], ebx
je 0x497071
cmp edi, ebx
jne 0x496fda
mov eax, 0x80004003
jmp 0x497073
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x64], 7
call fcn.00405ece
xor eax, eax
push 0x206
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push ebx
push eax
call fcn.0049f650
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp - 0x60]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x497044
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00405394
push 0x4d5480
lea ecx, [ebp - 0x7c]
call fcn.004052dd
cmp dword [esi + 0x2c], 8
jb 0x497038
mov esi, dword [esi + 0x18]
jmp 0x49703b
add esi, 0x18
push esi
lea ecx, [ebp - 0x7c]
call fcn.004052dd
cmp dword [ebp - 0x64], 8
mov eax, dword [ebp - 0x78]
jae 0x497050
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x80]
call fcn.00401429
mov eax, dword [eax]
push dword [ebp - 0x80]
mov dword [edi], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
push 1
lea ecx, [ebp - 0x7c]
call fcn.004058b3
xor eax, eax
mov ecx, dword [ebp + 0x1a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f533
add ebp, 0x1ac
leave
ret 8

Function at 0x4971cb
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x4bd997
call fcn.0049f542
mov edi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp]
mov dword [ebp + 0x18], 7
call fcn.00405ece
xor eax, eax
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049f650
add esp, 0xc
push ebx
push 0x26
lea eax, [ebp + 0x1c]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4972a0
push 0x511110
lea ecx, [ebp - 0x10]
call fcn.00404f19
push 0x72
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00405c6e
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00405394
mov esi, 0x4d5480
push esi
lea ecx, [ebp]
call fcn.004052dd
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00405c92
push esi
lea ecx, [ebp]
call fcn.004052dd
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [ebp]
call fcn.004052dd
push 0xffffffffffffffff
push ebx
lea eax, [ebp]
push eax
lea ecx, [edi + 0x38]
call fcn.00405301
lea ecx, [esi - 0x10]
call fcn.00401713
push ebx
push 1
lea ecx, [ebp]
call fcn.004058b3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x228
leave
ret
Function at 0x497892
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
cmp dword [eax + 0x28], 0
je 0x4978f3
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4978f3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00404bd0
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.0042991c
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004058b3
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00404bd0
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a3dc
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004058b3
xor eax, eax
leave
ret 8

Function at 0x498259
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x4c
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push 0x44
mov eax, 0x4bd9cf
call fcn.0049f542
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x2c], eax
xor eax, eax
lea edi, [ebp + 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
mov ebx, ecx
call fcn.0049f650
add esp, 0xc
push 0x4d5484
lea ecx, [ebp]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x24], 0x20
call fcn.00404bd0
push eax
add ebx, 0x54
lea eax, [ebp + 0x30]
push ebx
push eax
mov dword [ebp - 4], esi
call fcn.00406441
add esp, 0xc
push esi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.004058b3
push 0x4d53a8
lea ecx, [ebp + 0x30]
call fcn.004052dd
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x30]
call fcn.004052dd
cmp dword [ebp + 0x48], 8
mov eax, dword [ebp + 0x34]
jae 0x4982f9
lea eax, [ebp + 0x34]
lea ecx, [ebp + 0x1c]
push ecx
lea ecx, [ebp - 0x50]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x498323
push 0x3a98
push dword [ebp + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push 1
lea ecx, [ebp + 0x30]
call fcn.004058b3
cmp edi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x50
leave
ret 4
Function at 0x49dd91
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x511164], 0
push esi
jne 0x49dd04
call fcn.0049dc2a
test eax, eax
je 0x49dd47
mov eax, dword [0x511164]
cmp eax, 1
jne 0x49dd25
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x49dd47
pop esi
ret
push eax
call dword [0x51116c]
test eax, eax
jne 0x49dd8f
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x49dd4b
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x511164]
call dword [0x51116c]
mov edi, eax
test edi, edi
je 0x49dd70
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x49dd8c
mov edi, esi
add esi, 0xff0
push edi
push dword [0x511164]
call dword [0x511168]
add edi, 0x10
cmp edi, esi
jb 0x49dd78
mov eax, edi
pop edi
pop esi
ret
jmp 0x49dcf1

Function at 0x49f533
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x50e7dc]
jne 0x49f53d
repz ret
jmp fcn.004a9ffc

Function at 0x4b6e87
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.004a9994
and dword [ebp - 4], 0
cmp dword [0x511f84], 0
mov ebx, eax
jne 0x4b6f38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b6fe9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4b6fe9
push eax
call fcn.004a9922
mov dword [esp], 0x4d4fa8
push edi
mov dword [0x511f84], eax
call esi
push eax
call fcn.004a9922
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x511f88], eax
call esi
push eax
call fcn.004a9922
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x511f8c], eax
call esi
push eax
call fcn.004a9922
pop ecx
mov dword [0x511f94], eax
test eax, eax
je 0x4b6f38
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004a9922
pop ecx
mov dword [0x511f90], eax
mov eax, dword [0x511f90]
cmp eax, ebx
je 0x4b6f90
cmp dword [0x511f94], ebx
je 0x4b6f90
push eax
call fcn.004a999d
push dword [0x511f94]
mov esi, eax
call fcn.004a999d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b6f90
test edi, edi
je 0x4b6f90
call esi
test eax, eax
je 0x4b6f87
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b6f87
test byte [ebp - 0xc], 1
jne 0x4b6f90
or dword [ebp + 0x10], 0x200000
jmp 0x4b6fc9
mov eax, dword [0x511f88]
cmp eax, ebx
je 0x4b6fc9
push eax
call fcn.004a999d
pop ecx
test eax, eax
je 0x4b6fc9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b6fc9
mov eax, dword [0x511f8c]
cmp eax, ebx
je 0x4b6fc9
push eax
call fcn.004a999d
pop ecx
test eax, eax
je 0x4b6fc9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x511f84]
call fcn.004a999d
pop ecx
test eax, eax
je 0x4b6fe9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b6feb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100cda6a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x1012c3d4], 0x2498
mov ecx, dword [0x1012c3d8]
add ecx, 0xffffe16e
mov dword [0x1012c3d8], ecx
mov dword [ebp - 0x10], eax
call fcn.100ce3aa
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x1012c3d4], 0x4bc
mov edx, dword [eax + edx + 0x78]
mov dword [0x1012c3d4], 0x124f
mov dword [0x1012c3d8], 0xffffed55
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov eax, dword [eax + edx + 0x18]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
cmp ecx, 0
mov dword [ebp - 0x24], eax
je 0x100cdc15
jmp 0x100cdb90
mov eax, dword [ebp - 0x28]
add eax, 1
mov cl, byte [ebp - 0x29]
cmp cl, 0
setne dl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], dl
mov al, byte [ebp - 0x32]
mov cl, byte [ebp - 0x31]
and al, cl
mov edx, dword [ebp - 0x30]
cmp edx, 0x20
setb ah
and al, ah
test al, 1
mov dword [ebp - 0x38], edx
jne 0x100cdb5a
jmp 0x100cdb87
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [0x1012c3d8], 0xfffffd67
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x1012c3d4], 0x768
mov edx, dword [ebp - 0x18]
add edx, ecx
mov dword [ebp - 0x24], edx
jmp 0x100cdc15
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x32], cl
jne 0x100cdaf0
mov al, byte [ebp - 0x32]
test al, 1
jne 0x100cdb26
jmp 0x100cdbe6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + ecx + 0x24]
mov dword [ebp - 0x44], edx
mov eax, 0xffffed55
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x44]
add edx, esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0xffffe16e
mov dword [0x1012c3d8], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], esi
jmp 0x100cdb5a
mov eax, dword [ebp - 0x3c]
add eax, 2
mov dword [ebp - 0x5c], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x20]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x24], eax
jb 0x100cdbb5
mov eax, dword [ebp - 0x24]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100cdc20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x20]
mov dword [0x1012c3d8], 0xc32
mov dword [0x1012c3d4], 0xffffecfe
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, 1
mov ecx, dword [ebp - 0x2c]
mov byte [ecx], 0x56
mov dword [ebp - 0x30], eax
jmp 0x100cdc7b
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
mov eax, dword [ebp - 0x38]
add eax, 0x1000
mov dword [0x1012c3d4], 0x2398
mov dword [ebp - 0x34], eax
jmp 0x100cdc5c
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100d1700]
mov dh, byte [eax + 0x100d16d1]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100cdc7b
mov dword [0x1012c3d8], 0x232f
mov dword [0x1012c3d4], 0xf5f
call fcn.100cf2ef
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
call fcn.100cf161
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], ecx
je 0x100cdc5c
mov eax, dword [ebp - 0x3c]
mov dword [0x1012c3d4], 0x578
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x1012c3d4], 0x1960
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.100cf00f
xor eax, eax
mov dword [0x1012c3d8], 0xa7
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x1012c3d4], 0xffffdbc6
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x50], ecx
mov ecx, dword [0x1012c3d4]
add ecx, 0x1fb2
mov dword [0x1012c3d4], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x28], ecx
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x100cdc5c
jmp 0x100cdc64
Function at 0x100cdd8e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x1012c3d4]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xca
mov dword [0x1012c3d4], eax
mov dword [0x1012c3dc], 0
mov dword [0x1012c3e0], 0
mov dword [0x1012c3ec], 0
add ebx, 0x1c7d
mov dword [0x1012c3d8], ebx
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov ebx, edi
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
jne 0x100cde23
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x1012c3dc]
mov ecx, dword [0x1012c3e0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x1012c3dc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1012c3e0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x1012c3e4], cl
mov dword [0x1012c3d8], 0x73c
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1012c3d4], 0x1230
mov cl, byte [0x1012c3e4]
mov edx, dword [0x1012c3e0]
mov byte [ebx + edx], cl
mov edx, dword [0x1012c3d4]
mov ecx, edx
add ecx, 0x4f4
mov dword [0x1012c3d4], ecx
mov ecx, dword [0x1012c3dc]
movzx ecx, byte [ebx + ecx]
mov esi, dword [0x1012c3e0]
movzx esi, byte [ebx + esi]
add esi, ecx
and esi, 0xff
mov dword [0x1012c3ec], esi
mov ecx, edx
add ecx, 0xffffd018
mov dword [0x1012c3d8], ecx
mov cl, byte [ebx + esi]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [esi + ebx]
mov bl, cl
add bl, byte [0x1012c3f1]
mov byte [0x1012c3f0], bl
mov byte [0x1012c3f1], ch
mov dword [0x1012c3d8], 0xd77
mov byte [0x1012c3f2], cl
add edx, 0xffffb72a
mov dword [0x1012c3d4], edx
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
je 0x100cde04
jmp 0x100cde0c