joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406161
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40c290]
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.004043e3
and dword [ebp - 0x14], 0
cmp dword [0x40da20], 0
mov dword [ebp - 0x18], eax
jne 0x406214
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4062bc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4062bc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40da20], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40da24], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40da28], eax
call edi
push eax
call esi
mov dword [0x40da30], eax
test eax, eax
je 0x406214
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40da2c], eax
mov eax, dword [0x40da2c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40626d
cmp dword [0x40da30], ecx
je 0x40626d
push eax
call esi
push dword [0x40da30]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40626d
test ebx, ebx
je 0x40626d
call edi
test eax, eax
je 0x406264
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406264
test byte [ebp - 8], 1
jne 0x40626d
or dword [ebp + 0x10], 0x200000
jmp 0x4062a0
mov eax, dword [0x40da24]
cmp eax, dword [ebp - 0x18]
je 0x4062a0
push eax
call esi
test eax, eax
je 0x4062a0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4062a0
mov eax, dword [0x40da28]
cmp eax, dword [ebp - 0x18]
je 0x4062a0
push eax
call esi
test eax, eax
je 0x4062a0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40da20]
call esi
test eax, eax
je 0x4062bc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4062be
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401fb8
leave
ret
Function at 0x404000
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x404036
mov dword [0x446040], eax
mov edx, 0x403fe0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040cae0
test eax, eax
sete al
movzx eax, al
mov dword [0x43e0d0], eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [0x43e0d0], eax
leave
ret

Function at 0x404120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp - 0xc]
sub esp, 0x68
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 0x4023e0
mov dword [ebp - 0x24], 0x43cbc4
mov dword [ebp - 0x1c], 0x4041e0
mov dword [ebp - 0x18], esp
mov dword [esp], eax
call fcn.0040d050
cmp dword [0x43e0d0], 0
mov dword [ebp - 0x44], 0x446050
je 0x4041c0
jl 0x404200
mov dword [ebp - 0x3c], 1
mov eax, dword [0x446040]
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x54]
sub esp, 4
test eax, eax
mov dword [ebp - 0x48], eax
je 0x4042a3
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
lea esi, [esi]
lea eax, [ebp - 0x40]
mov dword [esp], eax
call fcn.0040d130
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [0x446660]
mov eax, 0xffffffff
test edx, edx
je 0x40421a
mov eax, dword [0x43e0d4]
test eax, eax
je 0x40425a
xor eax, eax
test eax, eax
jne 0x404250
mov edi, dword [0x43e0d0]
test edi, edi
js 0x404250
mov dword [ebp - 0x44], 0x446050
mov ebx, dword [0x43e0d0]
test ebx, ebx
je 0x4041c0
jmp 0x40416e
xor esi, esi
mov dword [0x43e0d0], esi
jmp 0x404228
mov dword [esp], 0x43e0d8
mov dword [ebp - 0x3c], 1
call sub.KERNEL32.dll_InterlockedIncrement
sub esp, 4
test eax, eax
je 0x4042e1
mov eax, dword [0x43e0d4]
test eax, eax
jne 0x404218
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x3c], 1
call eax
sub esp, 4
mov eax, dword [0x43e0d4]
test eax, eax
je 0x40427d
jmp 0x404218
mov dword [esp], 8
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x48], eax
test eax, eax
je 0x4042d5
mov dword [esp + 4], eax
mov eax, dword [0x446040]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
xor edx, edx
test eax, eax
je 0x40430a
test edx, edx
je 0x4042f5
mov dword [ebp - 0x3c], 1
call fcn.00403b80
call fcn.00404000
mov eax, 1
mov dword [0x43e0d4], eax
jmp 0x404218
mov eax, dword [ebp - 0x48]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4041b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
jmp 0x4042d1
Function at 0x409950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea esi, [esi]
lea edi, [edi]
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00409930
mov dword [esp], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
mov ebx, eax
jne 0x40999c
call sub.msvcrt.dll__errno
cmp dword [eax], 4
je 0x409970
add esp, 0x1c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x40c980
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov eax, 0x10
mov ebp, esp
push ebx
sub esp, 0x64
and esp, 0xfffffff0
call fcn.0040daa0
call fcn.0040cbe0
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x58]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x40c9b8
jmp 0x40ca56
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
or eax, edx
test al, 1
jne 0x40c9b7
cmp cl, 0x22
je 0x40ca10
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
je 0x40ca30
lea esi, [esi]
lea edi, [edi]
test cl, cl
je 0x40ca30
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
setne al
xor edx, edx
cmp cl, 9
setne dl
test eax, edx
jne 0x40c9f0
jmp 0x40ca30
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x22
setne al
xor edx, edx
test cl, cl
setne dl
test eax, edx
jne 0x40ca10
cmp cl, 0x22
je 0x40ca92
lea esi, [esi]
cmp cl, 0x20
sete al
cmp cl, 9
sete dl
jmp 0x40ca50
inc ebx
movzx ecx, byte [ebx]
cmp cl, 0x20
sete dl
cmp cl, 9
sete al
or eax, edx
test al, 1
jne 0x40ca40
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
test byte [ebp - 0x2c], 1
mov edx, 0xa
je 0x40ca74
movzx edx, word [ebp - 0x28]
mov dword [esp + 8], ebx
xor ebx, ebx
mov dword [esp + 4], ebx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.004014cc
sub esp, 0x10
mov ebx, dword [ebp - 4]
leave
ret
inc ebx
movzx ecx, byte [ebx]
jmp 0x40ca30

Function at 0x40cf40
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [0x4466c0]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x40cf80
mov dword [ebx + 0x2c], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call fcn.0040cae0
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
movzx eax, al
mov dword [ebx + 0x30], eax
add esp, 0x14
pop ebx
pop ebp
ret
Function at 0x401330
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push edi
xor ebx, ebx
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], ebx
push ebx
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x401365
pop edi
xor eax, eax
pop ebx
add esp, 0x128
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0x128
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4013db
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
lea esi, [esp + 0x34]
mov eax, str.LifeNumen.exe
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4013b1
test cl, cl
je 0x4013ad
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4013b1
add eax, 2
add esi, 2
test cl, cl
jne 0x40138d
xor eax, eax
jmp 0x4013b6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4013ca
mov eax, dword [esp + 0x18]
push eax
push 0
push 1
call ebp
test eax, eax
je 0x4013ca
inc ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401384
pop esi
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop ebx
add esp, 0x128
ret

Function at 0x401a00
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x1c0
lea eax, [esp + 0x30]
push ebp
push eax
mov ebp, ecx
push 0x202
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x401a37
push str.Fail_to_initialize_enviroment...
lea ecx, [ebp + 0x120]
call sub.MFC42.DLL_CWnd::SetWindowTextA
or eax, 0xffffffff
pop ebp
add esp, 0x1c0
ret
push ebx
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0xd], ecx
push 0x20
mov dword [esp + 0x15], ecx
push edx
stosw word es:[edi], ax
mov dword [esp + 0x1d], ecx
mov byte [esp + 0x14], 0
mov word [esp + 0x21], cx
stosb byte es:[edi], al
mov byte [esp + 0x23], cl
call sub.WSOCK32.dll_gethostname
cmp eax, 0xffffffff
jne 0x401a9d
lea eax, [esp + 0xc]
push 0xa
push eax
call sub.WSOCK32.dll_WSAGetLastError
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea ecx, [ebp + 0x120]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x1c]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov ebx, eax
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x401ae9
lea edi, [ebp + 0x1d4]
push esi
add ebp, 0x120
xor esi, esi
mov eax, dword [eax]
push eax
call sub.WSOCK32.dll_inet_ntoa
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator
mov eax, dword [edi]
mov ecx, ebp
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [ebx + 0xc]
add esi, 4
mov eax, dword [esi + ecx]
test eax, eax
jne 0x401ac1
pop esi
pop edi
pop ebx
xor eax, eax
pop ebp
add esp, 0x1c0
ret
Function at 0x401d80
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub esp, 0x54
push esi
mov esi, ecx
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
push str.NMSServer_r.exe
mov dword [esp + 0x10], eax
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x18], eax
call fcn.00401e50
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x401dc7
push 0
push eax
call edi
push str.mysqld.exe
mov ecx, esi
call fcn.00401e50
test eax, eax
je 0x401ddc
push 0
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2710
call edi
mov ecx, esi
call fcn.00401f20
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.NMSServer_r.exe
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401e2c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push ecx
mov dword [esi + 0x1d8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2710
call edi
mov ecx, esi
call fcn.00401b00
pop edi
xor eax, eax
pop esi
add esp, 0x54
ret

Function at 0x401e50
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebp
push edi
xor ebp, ebp
mov ecx, 0x49
xor eax, eax
lea edi, [esp + 0xc]
mov dword [esp + 8], ebp
push ebp
rep stosd dword es:[edi], eax
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x401e87
pop edi
xor eax, eax
pop ebp
add esp, 0x128
ret 4
push ebx
lea eax, [esp + 0xc]
push esi
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401efe
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x13c]
lea esi, [esp + 0x34]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x401ed5
test cl, cl
je 0x401ed1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x401ed5
add eax, 2
add esi, 2
test cl, cl
jne 0x401eb1
xor eax, eax
jmp 0x401eda
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401eef
mov eax, dword [esp + 0x18]
push eax
push 0
push 1
call ebx
mov ebp, eax
test ebp, ebp
jne 0x401efe
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401ea6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, ebp
pop edi
pop ebp
add esp, 0x128
ret 4
Function at 0x10003ed0
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x1000438b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10004399
or eax, eax
ret

Function at 0x1000dc45
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b4314
call fcn.100b2f10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001ccf
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001ccf
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1001f42f
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
test edi, edi
mov ax, word [esi]
jbe 0x1001f45f
push ebx
movzx ecx, byte [edx]
movzx ebx, al
xor ecx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [ecx*2 + 0x100d8b20]
xor ax, bx
inc edx
dec edi
jne 0x1001f443
pop ebx
mov word [esi], ax
pop edi
pop esi
ret 8

Function at 0x10024330
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b574e
call fcn.100b2f10
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100bc918
mov dword [esi + 4], 0x100bcb94
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.100023fb
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100bf890
mov dword [esi + 4], 0x100bf880
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10028b05
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100b5adb
call fcn.100b2f10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [edi + 4]
push eax
call fcn.10002ae5
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.100160f2
mov al, byte [edi + 0x14]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x14], al
mov al, byte [edi + 0x15]
mov byte [esi + 0x15], al
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x10028ba0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x100b5b09
call fcn.100b2f10
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0x18]
mov dword [ebx], eax
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.10028c97
and dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [ebx + 0x24]
call fcn.10028d54
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.1006c463
mov eax, dword [ebp + 8]
push 8
add esi, 0x40
lea edi, [ebx + 0x40]
pop ecx
add eax, 0x60
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x60]
mov byte [ebp - 4], 2
call fcn.100160f2
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x10030960
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x14
pop eax
cmp edx, eax
jb case.0x10030a6b.8
mov esi, dword [ebp + 8]
mov di, word [esi]
mov word [ecx], di
mov di, word [esi + 2]
mov bx, word [ecx]
mov word [ecx + 2], di
mov di, word [esi + 4]
mov word [ecx + 4], di
mov di, word [esi + 6]
mov word [ecx + 6], di
xor edi, edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x18], edi
cmp bx, 2
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x1c], edi
je 0x10030ac4
cmp bx, 9
je 0x10030abe
cmp bx, 1
jne 0x100309ec
cmp edx, 0x20
jb case.0x10030a6b.8
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
movzx eax, word [esi + 0x18]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
movzx eax, word [esi + 0x1a]
mov dword [ecx + 0xc], eax
pop eax
jmp 0x10030b3c
cmp bx, 8
jne 0x10030a55
push 0x28
pop eax
cmp edx, eax
jb case.0x10030a6b.8
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edi
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edi
movzx edx, word [esi + 0x20]
movzx ebx, word [esi + 0x22]
cmp edx, edi
mov dword [ecx + 0xc], ebx
jbe 0x10030b3c
lea ecx, [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
ja case.0x10030a6b.8
mov ecx, dword [eax + esi + 8]
lea eax, [eax + ecx + 0xd]
cmp eax, dword [ebp + 0xc]
ja case.0x10030a6b.8
cmp ecx, 0x400
ja case.0x10030a6b.8
inc edi
cmp edi, edx
jb 0x10030a22
jmp 0x10030b3c
movzx edx, bx
add edx, 0xfffffffd
cmp edx, 0xb
ja case.0x10030a6b.8
movzx edx, byte [edx + 0x10030b53]
jmp dword [edx*4 + 0x10030b43]
cmp dword [ebp + 0xc], 0x18
jb case.0x10030a6b.8
mov esi, dword [esi + 0x14]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edi
lea eax, [esi + 0x18]
cmp dword [ebp + 0xc], eax
jb case.0x10030a6b.8
cmp esi, 0x40000000
jbe case.0x10030a6b.6
jmp case.0x10030a6b.8
push 0x18
pop eax
cmp dword [ebp + 0xc], eax
jb case.0x10030a6b.8
cmp bx, 8
jb 0x10030b3c
add eax, 4
cmp dword [ebp + 0xc], eax
jb case.0x10030a6b.8
jmp 0x10030b3c
cmp bx, 2
jne 0x10030aeb
cmp edx, 0x20
jb case.0x10030a6b.8
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edi
jmp 0x10030b16
cmp edx, 0x38
jb case.0x10030a6b.8
mov eax, dword [esi + 0x10]
push 0x38
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0xc], eax
pop esi
push dword [ebp + 0x10]
call fcn.10030918
push edi
push 4
push edx
push eax
call fcn.100b30a0
xor ecx, ecx
add eax, esi
adc edx, ecx
cmp edx, ecx
ja case.0x10030a6b.8
jb 0x10030b3c
cmp eax, dword [ebp + 0xc]
jbe 0x10030b3c
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10030d33
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b63d7
call fcn.100b2f10
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100c1018
mov dword [esi + 4], 0x100c1008
lea ecx, [esi + 0x158]
mov dword [ebp - 4], 0xf
call fcn.100b0370
mov eax, dword [esi + 0x804]
test eax, eax
je 0x10030d73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7f8]
call fcn.100032c4
mov eax, dword [esi + 0x154]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xd
je 0x10030d93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x10030da7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10030dbb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x13c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x10030dcf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x120]
call fcn.100032c4
push dword [esi + 0x114]
call fcn.100032c4
push dword [esi + 0x108]
call fcn.100032c4
mov eax, dword [esi + 0xf4]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 6
je 0x10030e07
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.100032c4
pop ecx
mov byte [ebp - 4], 4
lea ecx, [esi + 0x5c]
call fcn.10030e58
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 3
call fcn.10030e58
push dword [esi + 0x30]
call fcn.100032c4
push dword [esi + 0x24]
call fcn.100032c4
push dword [esi + 0x18]
call fcn.100032c4
push dword [esi + 0xc]
call fcn.100032c4
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x10036502
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100b6804
call fcn.100b2f10
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001ccf
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001ccf
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov al, byte [edi + 0x29]
mov byte [esi + 0x29], al
mov al, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
mov al, byte [edi + 0x2b]
mov byte [esi + 0x2b], al
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4