joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x439008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
push 0
call dword [0x42f0d0]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404e8d
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x404e8d
push 0x44
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.0041a340
add esp, 0xc
lea eax, [ebp - 0x160]
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [0x42f07c]
test eax, eax
je 0x404e8d
push 4
push 0x1000
push 4
push 0
call dword [0x42f0bc]
mov ebx, eax
push ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x15c]
call dword [0x42f060]
test eax, eax
je 0x404e8d
push 0
push 4
lea eax, [ebp - 0x150]
push eax
push 0x434ed4
push dword [ebp - 0x160]
call dword [0x42f074]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 0x150], eax
jne 0x404d8c
push 0x434ed8
push 0x434ef0
call dword [0x42f0a4]
push eax
call dword [0x42f064]
push dword [ebp - 0x150]
push dword [ebp - 0x160]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x160]
call dword [0x42f068]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x404e8d
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x160]
call dword [0x42f0cc]
xor eax, eax
mov dword [ebp - 0x164], 0
cmp ax, word [edi + 6]
jae 0x404e26
xor ebx, ebx
lea ecx, [ebx + esi]
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [ebp - 0x168]
push eax
push dword [ebp - 0x160]
call dword [0x42f0cc]
mov ecx, dword [ebp - 0x164]
lea ebx, [ebx + 0x28]
movzx eax, word [edi + 6]
inc ecx
mov dword [ebp - 0x164], ecx
cmp ecx, eax
jl 0x404dd8
mov ebx, dword [ebp - 0x16c]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x160]
call dword [0x42f0cc]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x168]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x15c]
call dword [0x42f084]
push dword [ebp - 0x15c]
call dword [0x42f0a8]
push 0x8000
push 0
push esi
call dword [0x42f0c4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418e62
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push esi
call dword [0x42f0c4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418e62
mov esp, ebp
pop ebp
ret
Function at 0x409320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429fe0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x439008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43a194
lea ecx, [ebp - 0x40]
call fcn.004177a0
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], esi
jbe 0x4093d2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, ebx
movsx ax, byte [eax + esi]
movzx edi, ax
cmp edx, ecx
jae 0x4093b3
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
jmp 0x4093c4
push edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418760
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x4093d2
mov edx, dword [ebp - 0x18]
jmp 0x409380
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [0x42f0b8]
call dword [0x42f044]
cmp eax, 0xb7
je 0x40948d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40942e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409424
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409494
push edx
push ecx
call fcn.004192ef
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x409471
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x409467
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409494
push ecx
push ebx
call fcn.004192ef
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418e62
mov esp, ebp
pop ebp
ret
push 0
call fcn.0041c70f
call fcn.0041d94c
int3
Function at 0x40c065
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00406e10
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40c100
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x40fd9c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x40c100
cmp eax, 1
je 0x40c121
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40c100
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x40c0cd
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x40c0fc
xor eax, eax
inc eax
jmp 0x40c140
cmp edi, eax
jae 0x40c104
xor eax, eax
jmp 0x40c140
cmp eax, esi
jae 0x40c10b
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x40fd9c]
jmp 0x40c124
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x5e9f15
Capabilities:
Encode data using xor

Disassembly:
pop es
push ds
pop ss
dec ebx
sahf
cdq
xchg ecx, eax
push esp
cmp dword [edx], ebp
xor dh, ah
invalid
Function at 0x401100
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40111e
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
ret

Function at 0x4011e0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x401202
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
ret

Function at 0x4012f0
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
movups xmm1, xmmword [edx + 0x10]
shl ecx, 4
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
pxor xmm5, xmm0
movups xmm0, xmmword [edx + 0x20]
lea edx, [edx + ecx + 0x20]
neg ecx
nop dword [eax]
add ecx, 0x10
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
movups xmm1, xmmword [edx + ecx]
add ecx, 0x20
aesdec xmm2, xmm0
aesdec xmm3, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
movups xmm0, xmmword [edx + ecx - 0x10]
jne 0x40131a
aesdec xmm2, xmm1
aesdec xmm3, xmm1
aesdec xmm4, xmm1
aesdec xmm5, xmm1
aesdeclast xmm2, xmm0
aesdeclast xmm3, xmm0
aesdeclast xmm4, xmm0
aesdeclast xmm5, xmm0
ret

Function at 0x401460
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
movups xmm0, xmmword [edx]
shl ecx, 4
movups xmm1, xmmword [edx + 0x10]
xorps xmm2, xmm0
pxor xmm3, xmm0
pxor xmm4, xmm0
aesdec xmm2, xmm1
pxor xmm5, xmm0
pxor xmm6, xmm0
aesdec xmm3, xmm1
lea edx, [edx + ecx + 0x20]
neg ecx
aesdec xmm4, xmm1
pxor xmm7, xmm0
movups xmm0, xmmword [edx + ecx]
add ecx, 0x10
jmp 0x4014bf
Function at 0x402e40
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x403360
test edx, edx
je 0x403360
call fcn.00402e57
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x4033a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
call fcn.00402e40
mov edx, dword [esp + 0xc]
shl ecx, 4
test eax, eax
jne 0x403411
lea eax, [edx + ecx + 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
movups xmmword [eax], xmm0
movups xmmword [edx], xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmm0, xmmword [edx]
movups xmm1, xmmword [eax]
aesimc xmm0, xmm0
aesimc xmm1, xmm1
lea edx, [edx + 0x10]
lea eax, [eax - 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmmword [edx - 0x10], xmm1
cmp eax, edx
ja 0x4033d6
movups xmm0, xmmword [edx]
aesimc xmm0, xmm0
movups xmmword [edx], xmm0
pxor xmm0, xmm0
pxor xmm1, xmm1
xor eax, eax
ret

Function at 0x406b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.00406b49
Function at 0x414308
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 8]
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xffffffff
cmp byte [edi + 0xb], 0
jns 0x41432d
mov edi, dword [edi]
lea eax, [ebp - 0x18]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor esi, esi
test eax, eax
je 0x4143e0
mov ebx, eax
push 1
push eax
call fcn.00453490
add esp, 8
test eax, eax
je 0x4143e0
push eax
push ebx
push dword [ebp - 0x18]
push edi
mov edi, eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4143ca
lea eax, [ebp - 0x1c]
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov dword [ecx], 0xffffffff
push ecx
push eax
push 0x4e3838
mov ebx, edi
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4143d5
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4143d5
push 0xc
call fcn.004a7eb0
add esp, 4
mov esi, eax
mov eax, dword [edi]
mov dword [esi + 4], eax
mov dword [esi], ebx
mov dword [esi + 8], 0
mov eax, esi
add eax, 8
lea ecx, [ebp - 0x14]
mov dword [ecx], 0xffffffff
push ecx
push eax
push 0x4e34f0
push ebx
call sub.VERSION.dll_VerQueryValueW
jmp 0x4143e0
push edi
call fcn.00453410
add esp, 4
jmp 0x4143e0
push ebx
call fcn.00453410
add esp, 4
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8de3
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x414488
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov edi, ecx
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 4]
mov word [ebp - 0x20], ax
movzx eax, word [ecx + 6]
mov word [ebp - 0x1e], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
mov word [ebp - 0x1c], ax
movzx eax, word [edi + 6]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x234], edi
movzx eax, word [edi + 4]
mov word [ebp - 0x18], ax
mov di, 0x4e4
mov word [ebp - 0x16], di
call esi
mov word [ebp - 0x14], ax
mov word [ebp - 0x12], di
mov esi, 0xfffffffe
push 0x208
push 0xff
lea edi, [ebp - 0x228]
push edi
call fcn.004ab560
add esp, 0xc
movzx eax, word [ebp + esi*2 - 0x1c]
movzx ecx, word [ebp + esi*2 - 0x1a]
push dword [ebp + 8]
push ecx
push eax
push str.StringFileInfo_04x_04x_ls
mov eax, 0x104
push eax
push eax
push edi
call fcn.004145a7
add esp, 0x1c
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], 0xffffffff
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x22c]
push eax
push edi
mov eax, dword [ebp - 0x234]
push dword [eax]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
setne al
mov edi, dword [ebp - 0x22c]
test edi, edi
setne bl
and bl, al
cmp bl, 1
je 0x41457b
add esi, 2
cmp esi, 5
jbe 0x4144e9
jmp 0x41458e
push edi
call fcn.004c3f8c
add esp, 4
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.0043544c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8de3
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x414de7
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov eax, dword [0x4f6014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.004ab560
add esp, 0xc
xor eax, eax
mov bl, 1
xor edi, edi
inc edi
push 0x103
push esi
push dword [eax*4 + 0x4e3998]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x414e5c
xor eax, eax
push 1
push eax
push 0x4e39a0
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x21
setb cl
mov eax, edi
test cl, bl
jmp 0x414e61
mov eax, edi
test bl, 1
mov ebx, 0
jne 0x414e1a
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a8de3
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4162a8
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
mov esi, dword [eax]
mov edi, dword [eax + 4]
add edi, esi
mov edx, ecx
add edx, eax
test cl, cl
cmovs edx, edi
cmovs eax, esi
sub edx, eax
mov ecx, edx
cmp edx, 4
jb 0x4162f6
imul esi, dword [eax], 0x5bd1e995
mov edi, esi
shr edi, 0x18
xor edi, esi
imul esi, edi, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 3
ja 0x4162d0
cmp edx, 1
je 0x416317
cmp edx, 2
je 0x41630e
cmp edx, 3
jne 0x416322
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebp
ret 4
Function at 0x422d40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
lea ecx, [esi + 0x50]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x433650
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor ecx, ecx
lea eax, [esi + 0x29]
mov dword [eax + 3], ecx
mov dword [eax - 1], 0x25
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
push dword [edx + 4]
push 1
push ecx
push eax
call fcn.0043055a
add esp, 0x10
mov dword [esi + 4], esp
lea eax, [esi + 0x18]
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov byte [eax + 0xc], 0xff
sub esp, 0x1c
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.0041f070
add esp, 4
lea eax, [esi + 0x18]
mov dword [edi], eax
mov dword [edi + 4], 0xd
lea eax, [esi + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.004371de
add esp, 0x1c
mov esp, dword [esi + 4]
add eax, esi
add eax, 0x18
mov dword [esi + 4], eax
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00423aba
add esp, 0xc
mov dword [esi + 0x14], eax
lea edi, [esi + 0x30]
mov dword [edi + 0x13], ebx
mov dword [edi + 0xf], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea eax, [esi + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0xc]
mov dword [eax], ebx
lea ebx, [esi + 8]
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.0041b09a
lea eax, [esi + 0x50]
xor ecx, ecx
mov dword [eax + 8], ecx
push ebx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
push edi
push dword [esi + 4]
push dword [esi + 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00424cb0
add esp, 0x1c
mov ebx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
mov dl, byte [ebp + 0x14]
test eax, eax
jne 0x422e76
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x58], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov dl, byte [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], 0xffffffff
movsx edx, dl
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004159c5
add esp, 0x1c
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x423110
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
lea ecx, [esi + 0x50]
mov dword [ecx - 4], esp
xor ebx, ebx
dec ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 4], 0x433670
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
xor edx, edx
lea eax, [esi + 0x29]
mov dword [eax + 3], edx
mov dword [eax - 1], 0x25
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x1c]
push dword [edi + 4]
push edx
push ecx
push eax
call fcn.0043055a
add esp, 0x10
mov dword [esi + 4], esp
lea eax, [esi + 0x18]
mov dword [eax + 8], ebx
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov byte [eax + 0xc], 0xff
sub esp, 0x1c
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.0041f070
add esp, 4
lea eax, [esi + 0x18]
mov dword [edi], eax
mov dword [edi + 4], 0xd
lea eax, [esi + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.004371de
add esp, 0x1c
mov esp, dword [esi + 4]
add eax, esi
add eax, 0x18
mov dword [esi + 4], eax
push dword [ebp + 0x10]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00423aba
add esp, 0xc
mov dword [esi + 0x14], eax
lea edi, [esi + 0x30]
mov dword [edi + 0x13], ebx
mov dword [edi + 0xf], ebx
pcmpeqd xmm0, xmm0
movdqa xmmword [edi], xmm0
lea eax, [esi + 0x10]
mov dword [eax], ebx
lea eax, [esi + 0xc]
mov dword [eax], ebx
lea ebx, [esi + 8]
mov ecx, dword [ebp + 0x10]
push ebx
call fcn.0041b09a
lea eax, [esi + 0x50]
xor ecx, ecx
mov dword [eax + 8], ecx
push ebx
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 0x10]
push eax
push edi
push dword [esi + 4]
push dword [esi + 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.00424cb0
add esp, 0x1c
mov ebx, dword [esi + 8]
xor eax, eax
dec eax
lock xadd dword [ebx + 4], eax
mov edi, dword [ebp + 8]
mov dl, byte [ebp + 0x14]
test eax, eax
jne 0x423245
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov dword [esi + 0x58], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
call edi
mov dl, byte [ebp + 0x14]
mov edi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x58], 0xffffffff
movsx edx, dl
push edx
push dword [ebp + 0x10]
push eax
push ecx
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push edi
call fcn.004159c5
add esp, 0x1c
mov eax, dword [esi + 0x50]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x423920
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov esi, esp
mov dword [esi + 0x68], ebp
mov dword [esi + 0xc], esp
lea ecx, [esi + 0x70]
mov dword [ecx - 4], esp
xor edx, edx
dec edx
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0x4339b0
mov eax, dword fs:[0]
mov dword [ecx], eax
mov dword fs:[0], ecx
lea ebx, [esi + 0x50]
mov dword [ebx + 0x10], edx
pcmpeqd xmm0, xmm0
movdqa xmmword [ebx], xmm0
push eax
sub esp, 0x18
mov edi, esp
lea eax, [edi + 8]
push eax
call fcn.0041f070
add esp, 4
mov dword [edi], ebx
mov dword [edi + 4], 0x14
mov dword [edi + 0x14], 0x4e3de3
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x18], eax
call fcn.004371de
add esp, 0x1c
mov esp, dword [esi + 0xc]
mov dword [esi + 0xc], eax
add eax, esi
add eax, 0x50
push dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
push eax
push ebx
call fcn.00423aba
add esp, 0xc
mov dword [esi + 0x18], eax
xor eax, eax
dec eax
mov dword [esi + 0x41], eax
mov dword [esi + 0x3d], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
lea edi, [esi + 0x10]
mov ecx, dword [ebp + 0x10]
push edi
call fcn.0041b09a
lea eax, [esi + 0x70]
mov dword [eax + 8], 0
mov ecx, edi
push 0x4fb0d8
call fcn.0042e6b8
mov ebx, eax
mov edi, dword [esi + 0x10]
xor eax, eax
dec eax
lock xadd dword [edi + 4], eax
test eax, eax
jne 0x423a19
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x78], 0xffffffff
call dword [section..00cfg]
mov ecx, edi
call dword [esi + 0x14]
mov eax, dword [ebx]
mov edi, dword [eax + 0x18]
mov dword [esi + 0x78], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
lea eax, [esi + 0x20]
mov ecx, ebx
push eax
mov ebx, dword [esi + 0x1c]
push ebx
lea eax, [esi + 0x50]
push eax
call edi
mov ecx, dword [esi + 0x18]
mov eax, ecx
lea edx, [esi + 0x50]
sub eax, edx
cmp ecx, ebx
mov ecx, dword [esi + 0xc]
lea ecx, [esi + ecx + 0x20]
lea eax, [esi + eax + 0x20]
cmove eax, ecx
movsx edx, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push ecx
push eax
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
call fcn.004159c5
add esp, 0x1c
mov eax, dword [esi + 0x70]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x14