joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4388b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x470da3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00464c50
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046a2e8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046b804
test eax, eax
je 0x4389cc
mov ecx, dword [esp + 0x3c]
call fcn.0046a315
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x438990
push edi
mov ecx, esi
call fcn.00467982
mov ecx, esi
call fcn.00438b30
cmp dword [esp + 0x38], 1
jne 0x4389c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00467abd
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43b3f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b423
push esi
call fcn.0043e500
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b41c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b4a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b492
mov eax, dword [esi + 8]
test eax, eax
je 0x43b447
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b48e
cmp eax, 2
je 0x43b492
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b43a
cmp eax, 3
je 0x43b46d
cmp eax, 1
jne 0x43b43a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b43a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b43a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b4d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b4b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b4d0
add esp, 4
pop esi
ret

Function at 0x44b4c0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44b563
test eax, eax
jbe 0x44b563
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44b563
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44b50e
xor esi, esi
jmp 0x44b514
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44b53f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044ee70
add esi, eax
push esi
mov ebx, esi
call fcn.0044ee70
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44b520
pop ebp
test edi, edi
pop edi
jne 0x44b563
test ebx, ebx
je 0x44b563
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00454580
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44b6a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44b7bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b7bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004650a2
mov esi, eax
test esi, esi
je 0x44b7bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44b7bd
mov ecx, esi
call fcn.0044b610
cmp edi, eax
jge 0x44b7bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44b743
mov dword [esp + 0x34], 1
jmp 0x44b79e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44b7bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044ab40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x465a45
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x465a7d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00463afc
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00463ad4
jmp 0x465a89
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46713f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x467181
call fcn.0046cbef
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467181
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467178
xor eax, eax
jmp 0x467189
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046718f
pop edi
pop esi
pop ebx
ret 4
Function at 0x46d11f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d14d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d16b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d085
jmp 0x46d16b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d16b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d085
test edi, edi
mov eax, edi
jne 0x46d155
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40d9a0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
push ebx
push esi
push edi
xor esi, esi
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 6]
test eax, eax
je 0x40d9d2
lea ecx, [esp + 0xc]
mov ebx, dword [0x4ff12c]
push ecx
push 0x18
push eax
call ebx
test eax, eax
je 0x40d9d8
mov esi, dword [esp + 0x14]
imul esi, dword [esp + 0x18]
jmp 0x40d9d8
mov ebx, dword [0x4ff12c]
mov eax, dword [edi + 0xa]
test eax, eax
je 0x40d9f8
lea ecx, [esp + 0xc]
push ecx
push 0x18
push eax
call ebx
test eax, eax
je 0x40d9f8
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x18]
add esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x40fcc0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x28
push ebx
push esi
mov si, word [esp + 0x34]
push edi
movsx eax, si
shl eax, 6
push ebp
mov edx, dword [str.exzoom]
mov dword [esp + 0x10], eax
movzx eax, si
shl eax, 0x10
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [edx + ecx + 0x10]
xor ecx, ecx
mov edx, dword [eax]
mov cx, word [edx + 0xe]
or ecx, dword [esp + 0x14]
push ecx
call fcn.004ad470
add esp, 4
test eax, eax
jne 0x40fd11
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov ecx, dword [eax]
test ecx, ecx
je 0x40fe2b
cmp dword [ecx + 2], 0
jne 0x40fe2b
test byte [ecx + 1], 0x80
je 0x40fe2b
mov edi, dword [ecx + 6]
inc edi
push edi
push eax
lea eax, [esp + 0x20]
push 0
push 0x200
push eax
mov ebx, 1
call fcn.004dba20
lea eax, [esp + 0x2c]
add esp, 0x14
push eax
call fcn.004dc420
add esp, 4
cmp edi, ebx
jbe 0x40fd87
inc ebx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004dc480
add esp, 8
mov ebp, eax
test byte [eax], 1
je 0x40fd83
push ebp
push esi
call fcn.0040ff90
mov word [ebp + 2], ax
add esp, 8
cmp edi, ebx
ja 0x40fd5f
mov ebp, dword [esp + 0x40]
push ebp
call fcn.004dc420
add esp, 4
mov ebx, 1
push ebp
call fcn.004dba10
add esp, 4
mov edi, eax
cmp edi, ebx
jbe 0x40fde4
inc ebx
push ebx
push ebp
call fcn.004dc480
add esp, 8
mov esi, eax
test esi, esi
je 0x40fde4
movsx eax, word [esi + 4]
inc eax
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004dc480
add esp, 8
test eax, eax
je 0x40fdda
mov ax, word [eax + 2]
mov word [esi + 4], ax
jmp 0x40fde0
mov word [esi + 4], 0
cmp edi, ebx
ja 0x40fda8
push ebp
call fcn.004dc450
lea eax, [esp + 0x1c]
add esp, 4
push eax
call fcn.004dc450
mov ecx, dword [esp + 0x14]
add esp, 4
mov eax, dword [str.exzoom]
push 0
mov edx, dword [eax + ecx + 0x10]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 0xe]
or ecx, dword [esp + 0x18]
push ecx
call fcn.004ad920
add esp, 8
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
mov ecx, dword [esp + 0x10]
push 0
mov eax, dword [str.exzoom]
mov edx, dword [eax + ecx + 0x10]
xor ecx, ecx
mov eax, dword [edx]
mov cx, word [eax + 0xe]
or ecx, dword [esp + 0x18]
push ecx
call fcn.004ad920
add esp, 8
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x412d50
Capabilities:
Encode data using xor

Disassembly:
push esi
xor eax, eax
mov esi, dword [esp + 8]
mov ax, word [esi + 2]
lea edx, [eax*4 + 4]
xor eax, eax
mov ecx, edx
dec edx
test ecx, ecx
je 0x412d86
mov ecx, eax
inc esi
shl ecx, 0x18
shr eax, 8
or ecx, eax
xor eax, eax
mov al, byte [esi - 1]
xor ecx, eax
mov eax, ecx
mov ecx, edx
dec edx
test ecx, ecx
jne 0x412d6b
pop esi
ret
Function at 0x464d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x830
push ebx
push esi
push edi
push ebp
xor ebp, ebp
cmp dword [esp + 0x85c], ebp
je 0x464d5c
mov eax, 0xffffff
jmp 0x464d63
mov ebp, 0xffffff
xor eax, eax
cmp dword [esp + 0x854], 0
mov dword [esp + 0x14], ebp
je 0x464d89
lea ecx, [eax - 0xffffff]
cmp ecx, 1
sbb edx, edx
and dx, 0xff
mov bx, dx
xor bl, 0xff
jmp 0x464d93
mov dx, word [esp + 0x18]
mov bx, word [esp + 0x18]
mov cx, word [esp + 0x850]
lea edi, [esp + 0x440]
shl cx, 2
mov esi, dword [esp + 0x844]
mov word [esp + 0x12], cx
mov ecx, dword [esp + 0x12]
and ecx, 0xffff
mov dword [esp + 0x18], ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
mov esi, dword [esp + 0x84c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x860], 0
je 0x464e95
lea esi, [esp + 0x440]
lea edi, [esp + 0x40]
cmp dword [esp + 0x854], 0
je 0x464e50
cmp word [esp + 0x850], 0
je 0x464ebd
mov ax, word [esp + 0x850]
mov word [esp + 0x14], ax
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 1]
mov cl, byte [esi + 2]
shl eax, 8
or eax, ecx
xor ecx, ecx
mov cl, byte [esi]
shl ecx, 0x10
mov word [edi], dx
or eax, ecx
cmp eax, ebp
je 0x464e41
mov word [edi], bx
add edi, 2
add esi, 4
dec word [esp + 0x14]
jne 0x464e1f
jmp 0x464ebd
cmp word [esp + 0x850], 0
je 0x464ebd
mov bx, word [esp + 0x850]
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 1]
mov dl, byte [esi + 2]
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esi]
shl edx, 0x10
or ecx, edx
cmp ecx, ebp
jne 0x464e83
mov dword [edi], eax
jmp 0x464e89
mov ecx, dword [esp + 0x14]
mov dword [edi], ecx
add edi, 4
add esi, 4
dec bx
jne 0x464e63
jmp 0x464ebd
cmp dword [esp + 0x854], 0
je 0x464eae
mov word [esp + 0x40], dx
mov word [esp + 0x23e], bx
jmp 0x464ebd
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x43c], ecx
cmp dword [esp + 0x854], 0
je 0x464ed8
mov cx, word [esp + 0x850]
lea eax, [ecx*2 + 0x28]
jmp 0x464ee1
mov ax, word [esp + 0x12]
add ax, 0x28
lea esi, [esp + 0x18]
mov edi, dword [esp + 0x848]
movzx eax, ax
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x830
ret

Function at 0x476310
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov ecx, dword [esp + 4]
cmp byte [ecx], al
je 0x476332
mov edx, eax
inc ecx
shl edx, 0x18
shr eax, 8
or edx, eax
movsx eax, byte [ecx - 1]
xor edx, eax
cmp byte [ecx], 0
mov eax, edx
jne 0x47631a
ret

Function at 0x4785c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov al, byte [ecx]
inc ecx
add al, byte [esp + 8]
xor al, byte [0x4ffc90]
cmp byte [ecx], 0
je 0x4785e9
xor edx, edx
inc ecx
mov dl, al
mov al, byte [edx + 0x4ffc90]
xor al, byte [ecx - 1]
cmp byte [ecx], 0
jne 0x4785d6
ret
Function at 0x4ad1f0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
test byte [0x508abc], 8
push ebx
push esi
push edi
jne 0x4ad29f
or dword [0x508abc], 8
push 0x508ac0
lea eax, [ebp - 0x10]
and dword [0x508abc], 0xffffffef
push 0x16
push 0x15
push 0x5f0
push 9
push eax
call fcn.0047a8c0
add esp, 0x18
cmp byte [ebp - 0x10], 0x30
je 0x4ad23a
mov byte [ebp - 0x10], 0x31
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x10]
push eax
push 0x16
push 0x15
push 0x5f0
call fcn.0047a940
add esp, 0x10
cmp byte [ebp - 0x10], 0x30
je 0x4ad29f
lea eax, [ebp - 0x34]
push eax
call dword [0x4ff310]
cmp dword [ebp - 0x1c], 0x1e6
jbe 0x4ad29f
mov dword [ebp - 4], 0
pushaw
mov edx, 0
mov eax, 0
cpuid
cmp eax, 1
jl 0x4ad290
mov eax, 1
cpuid
mov dword [ebp - 4], edx
popaw
test byte [ebp - 2], 0x80
je 0x4ad29f
or dword [0x508abc], 0x10
mov eax, dword [0x508abc]
pop edi
and eax, 0x10
pop esi
shr eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b1550
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 4
push esi
push edi
mov esi, dword [esp + 0x10]
mov eax, esi
shr eax, 0x10
movsx ecx, ax
lea eax, [ecx + ecx*8]
shl eax, 4
lea edi, [eax + 0x50e8b0]
test byte [edi + 0x50], 2
je 0x4b157e
mov eax, 0x1396
pop edi
pop esi
add esp, 4
ret
mov eax, dword [edi + 0x64]
push eax
push esi
push edi
call fcn.004b1b40
mov dword [esp + 0x14], eax
add esp, 0xc
test eax, eax
jge 0x4b15ab
lea eax, [esp + 8]
mov ecx, dword [esp + 8]
push eax
push ecx
push edi
call fcn.004b1a10
add esp, 0xc
test eax, eax
jne 0x4b1601
mov eax, dword [edi + 0x64]
mov ecx, dword [esp + 8]
add ecx, ecx
mov edx, dword [eax]
lea eax, [ecx + ecx*2]
lea ecx, [eax + eax*4]
add ecx, edx
mov edx, dword [esp + 0x14]
movzx eax, si
mov dword [ecx], eax
mov si, word [edx + 0x1c]
mov word [ecx + 0x1c], si
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov si, word [edx + 4]
mov word [ecx + 4], si
mov ax, word [edx + 6]
mov word [ecx + 6], ax
mov al, byte [edx + 0x12]
mov byte [ecx + 0x12], al
xor eax, eax
mov si, word [edx + 0x10]
mov word [ecx + 0x10], si
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
pop edi
pop esi
add esp, 4
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10005b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ab1c3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push 0xec
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x28], 0
je 0x10005bb5
push eax
call fcn.10001320
mov esi, eax
jmp 0x10005bb7
xor esi, esi
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10002570
mov edx, dword [esi]
mov byte [esi + 0x36], 1
mov dword [esi + 0x28], 4
mov eax, dword [edi + 4]
mov dword [esi + 0xe8], eax
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x14], esi
call eax
push ecx
mov dword [esp + 0x2c], 1
mov edi, dword [ebx + 0x14]
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x1c], esp
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 0
push 1
mov ecx, edi
call eax
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10008b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ab1c3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x10], esi
je 0x10008c05
mov edi, dword [ebp + 8]
cmp dword [edi + 0x20], esi
je 0x10008c05
push 0xec
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
mov dword [esp + 0x28], esi
je 0x10008b76
push eax
call fcn.10001320
mov esi, eax
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xc]
lea ecx, [esi + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.10002570
mov edx, dword [esi]
mov dword [esi + 0x28], 4
mov eax, dword [edi + 4]
mov dword [esi + 0xe8], eax
mov eax, dword [edx]
mov ecx, esi
mov byte [esi + 0x36], 1
mov byte [esi + 0x37], 0
mov dword [esp + 0x14], esi
call eax
push ecx
mov dword [esp + 0x2c], 1
mov edi, dword [ebx + 0x10]
mov eax, esp
mov dword [eax], esi
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x1c], esp
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 0
push 1
mov ecx, edi
call eax
mov dword [esp + 0x28], 0xffffffff
mov edx, dword [esi]
movzx edi, al
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000d080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ae978
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, edi
mov ebx, ecx
call fcn.1000d880
push 0xffffffffffffffff
push 0
lea ecx, [edi + 0x28]
mov eax, ebx
call fcn.10002570
mov eax, dword [esp + 0x40]
mov ecx, dword [eax]
push ebx
lea esi, [esp + 0x14]
mov dword [edi + 0x44], ecx
call fcn.1000d6a0
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x3c], 0
mov ebx, 1
xor eax, eax
mov edx, esi
mov dword [esp + 0x10], 0x7f
call fcn.1000b7c0
cmp eax, 0xffffffff
je 0x1000d11a
cmp dword [esp + 0x28], 8
jb 0x1000d116
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x1000d137
mov esi, edi
call fcn.1000d780
cmp dword [esp + 0x28], 8
jb 0x1000d135
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100a4489
add esp, 0x30
ret 4

Function at 0x10011a00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100adb98
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, ecx
mov ebx, edx
xor edx, edx
lea esi, [edi + edi + 2]
cmp esi, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x1c], edi
jge 0x10011a7f
mov eax, dword [ebx + esi*4 - 4]
mov ecx, dword [ebx + esi*4]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.1000cc70
test al, al
je 0x10011a6b
sub esi, 1
mov edx, dword [ebx + esi*4]
mov dword [ebx + edi*4], edx
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebp
jl 0x10011a41
xor edx, edx
cmp esi, ebp
jne 0x10011a8b
mov eax, dword [ebx + ebp*4 - 4]
mov dword [ebx + edi*4], eax
lea edi, [ebp - 1]
mov ecx, dword [esp + 0x38]
sub esp, 0x24
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
lea ecx, [eax + 8]
mov dword [esp + 0x38], esp
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edx
push edx
lea eax, [esp + 0x6c]
mov word [ecx + 4], dx
call fcn.10002570
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x40]
push edx
push eax
mov ecx, edi
call fcn.10012130
add esp, 0x2c
cmp dword [esp + 0x58], 8
jb 0x10011ae6
mov ecx, dword [esp + 0x44]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret