joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d880
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x44d893
xor eax, eax
pop esi
add esp, 0x10
ret
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44d8a5
pop esi
add esp, 0x10
ret
mov eax, dword [esi]
mov ecx, 1
push ebx
push ebp
cmp eax, ecx
push edi
mov dword [esp + 0x10], 0
jne 0x44d966
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x14], ecx
jle 0x44d9e3
lea ebx, [esp + 0x34]
mov eax, dword [ebx + 8]
xor ebp, ebp
cmp eax, 0x80000004
jne 0x44d8ee
mov esi, dword [ebx]
jmp 0x44d902
push ebx
call fcn.0044f760
mov esi, eax
add esp, 4
test esi, esi
je 0x44d946
mov ebp, 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x44d92d
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44d92d
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x44d93a
push esi
call fcn.0044ff42
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44d9e3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x44d8de
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
cmp eax, 2
jne 0x44d9e3
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
jle 0x44d9e3
dec eax
lea ebx, [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
xor ebp, ebp
cmp eax, 0x80000004
jne 0x44d997
mov esi, dword [ebx]
jmp 0x44d9ab
push ebx
call fcn.0044f760
mov esi, eax
add esp, 4
test esi, esi
je 0x44d9d5
mov ebp, 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x44d9c8
mov eax, dword [esp + 0x18]
push ecx
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
test ebp, ebp
je 0x44d9d5
push esi
call fcn.0044ff42
add esp, 4
mov eax, dword [esp + 0x24]
add ebx, 0xc
dec eax
mov dword [esp + 0x24], eax
jne 0x44d987
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
Function at 0x44d9f0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x44da06
mov eax, 1
pop esi
add esp, 0xc
ret
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44da1d
mov eax, 1
pop esi
add esp, 0xc
ret
mov eax, dword [esi]
push ebx
push ebp
cmp eax, 1
push edi
mov dword [esp + 0x10], 1
jne 0x44dacd
mov esi, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
mov ebx, eax
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x44db35
cmp edi, ebx
jae 0x44db35
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x44db35
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44db35
lea ecx, [esp + 0x18]
push 0
push ecx
lea edx, [esp + 0x2c]
push 1
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push edi
push esi
mov ebx, eax
call ebp
test ebx, ebx
je 0x44db35
mov al, byte [esp + 0x24]
test al, al
je 0x44db2d
cmp al, 0x1a
jne 0x44db35
pop edi
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
cmp eax, 2
jne 0x44db35
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.0044f720
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
cmp edi, ebx
jae 0x44db35
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], 0
test eax, eax
je 0x44db35
mov eax, dword [esp + 0x30]
test eax, eax
je 0x44db35
mov edx, dword [esi]
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call dword [edx + 0x20]
mov edx, dword [esi]
push 0
push edi
mov ecx, esi
mov ebp, eax
call dword [edx + 0x18]
test ebp, ebp
je 0x44db35
mov al, byte [esp + 0x24]
test al, al
je 0x44db2d
cmp al, 0x1a
jne 0x44db35
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x44db50
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
jne 0x44db69
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44db7e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi]
xor edi, edi
cmp eax, 1
jne 0x44dcbe
mov edi, dword [esi + 4]
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push 0
push 0
push edi
mov dword [esp + 0x24], edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x44dbbc
push 2
push 0
push 0
push edi
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push 0x1000
xor ebp, ebp
call fcn.0045002b
add esp, 4
mov ebx, eax
lea eax, [esp + 0x20]
mov esi, ebx
push ebp
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44dc9e
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jbe 0x44dc04
mov al, byte [esi]
cmp al, 0xd
je 0x44dc46
cmp al, 0xa
je 0x44dc46
inc ecx
inc esi
cmp ecx, edx
jb 0x44dbf4
add ebp, edx
cmp edx, 0x1000
jb 0x44dc48
push 0x1000
push ebx
call fcn.004504c3
mov ebx, eax
mov eax, dword [esp + 0x28]
add esp, 8
cmp eax, 0x1000
jne 0x44dc48
lea ecx, [esp + 0x20]
push 0
lea esi, [ebx + ebp]
push ecx
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44dc9e
jmp 0x44dbea
add ebp, ecx
lea edx, [ebp + 1]
push edx
call fcn.0044b370
mov ecx, dword [esp + 0x14]
mov edi, eax
mov al, byte [esi]
add esp, 4
add ecx, ebp
cmp al, 0xd
je 0x44dc66
cmp al, 0xa
jne 0x44dc6f
mov al, byte [esi + 1]
inc ecx
cmp al, 0xa
jne 0x44dc6f
inc ecx
mov eax, dword [esp + 0x14]
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
push ebx
push edi
call fcn.00450250
push ebx
mov byte [edi + ebp], 0
call fcn.0044ff42
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call fcn.0044ff42
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x44dd4c
mov esi, dword [esi + 4]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push edx
push 0xffffffffffffffff
push 0
mov ecx, esi
call dword [eax + 0x30]
mov ebp, dword [esp + 0x20]
xor ebx, ebx
test eax, eax
jbe 0x44dd07
mov cl, byte [ebp]
cmp cl, 0xd
je 0x44dd07
cmp cl, 0xa
je 0x44dd07
inc ebx
inc ebp
cmp ebx, eax
jb 0x44dcf4
lea eax, [ebx + 1]
push eax
call fcn.0044b370
mov ecx, dword [esp + 0x18]
mov edi, eax
mov al, byte [ebp]
add esp, 4
add ecx, ebx
cmp al, 0xd
je 0x44dd26
cmp al, 0xa
jne 0x44dd2f
mov al, byte [ebp + 1]
inc ecx
cmp al, 0xa
jne 0x44dd2f
inc ecx
mov edx, dword [esi]
push 0
push ecx
mov ecx, esi
call dword [edx + 0x18]
mov eax, dword [esp + 0x20]
push ebx
push eax
push edi
call fcn.00450250
add esp, 0xc
mov byte [ebx + edi], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100158e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Packed with generic packer

Disassembly:
xor edi, edi
je 0x100158ea
popal
jmp 0x4051a634
mov edx, 0x4c
cmp byte [esp + 8], 1
jne 0x10015ad8
pushal
mov esi, section..rdata
xor edi, edi
je 0x1001590a
popal
jmp 0x4051a654
lea edi, [esi - 0xb000]
xor ecx, ecx
je 0x1001591a
popal
jmp 0x4051a664
mov eax, 0x7d
cmp edx, eax
mov eax, 0x4c
not eax
jne 0x10015969
mov eax, dword fs:[0x30]
test eax, eax
js 0x10015957
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov dword [eax + 0x20], 0x1000
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
test eax, eax
jne 0x10015968
jmp 0x10015969
xor eax, eax
mov al, byte fs:[0x20]
test eax, eax
jne 0x10015968
jmp 0x10015969
popal
push edi
or ebp, 0xffffffff
jmp 0x1001597a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10015981
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10015970
mov eax, 1
add ebx, ebx
jne 0x10015993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10015988
jne 0x100159a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10015988
xor ecx, ecx
sub eax, 3
jb 0x100159b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10015a2a
mov ebp, eax
add ebx, ebx
jne 0x100159c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x100159d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100159f4
inc ecx
add ebx, ebx
jne 0x100159e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x100159d5
jne 0x100159f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100159d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10015a14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10015a05
jmp 0x10015976
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10015a14
add edi, ecx
jmp 0x10015976
pop esi
mov edi, esi
mov ecx, 0xc9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10015a32
cmp byte [edi], 1
jne 0x10015a32
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x10015a37
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x10015aa6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10015a64
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1502c]
or eax, eax
je 0x10015aa0
mov dword [ebx], eax
add ebx, 4
jmp 0x10015a81
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10015ad7
cmp al, 0xef
ja 0x10015aca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10015aac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10015ab9
popal
jmp loc.10001769
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40a60b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40a61a
pop dword [ebp - 0x48]
mov eax, 0x96b1ebb7
sub eax, 0x9671459d
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xf2620336
add dword [ebp - 0x58], 0x5bf04215
mov dword [ebp - 0x54], 0x13887f41
add dword [ebp - 0x54], 0x1eaacd04
mov dword [ebp - 0x50], 0xf7020aea
sub dword [ebp - 0x50], 0xaab5c6bc
mov dword [ebp - 0x4c], 0xdf3e0ac5
add dword [ebp - 0x4c], 0x20c1f53b
lea eax, [ebp - 0x58]
push eax
mov eax, 0xccde95f2
add eax, 0x33623a62
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xe1753628
add dword [ebp - 0x58], 0x92fd332e
mov dword [ebp - 0x54], 0x8790f6fd
sub dword [ebp - 0x54], 0x46249588
mov dword [ebp - 0x50], 0xa111dd49
add dword [ebp - 0x50], 0xc25d8f23
mov dword [ebp - 0x4c], 0x30cbd45a
add dword [ebp - 0x4c], 0xcf342ba6
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xdf795a20
add eax, 0x20c7762c
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3bfdc
push 0
call eax
mov ecx, 0x507c
mov edx, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x48]
mov esi, 0x8febe96f
xor dword [ebp - 0xc], 0x2bb1ee2c
mov ebx, dword [edi]
add ebx, esi
xor dword [ebp - 4], ebx
mov dword [edx], ebx
xor dword [ebp - 8], ecx
add edx, 0xad33b9ff
add edx, 0x52cc4605
add edi, 0xa730a56
sub edi, 0xa730a52
loop 0x40a72a
add eax, 0x8a4e99d6
add eax, 0x75b29aed
mov ebx, eax
add eax, 0xdbad4cff
sub eax, 0xdbad4cfa
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x198d383
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 4]
inc edi
mov dh, 0xbe
mov cl, 0x5b
mov ch, 0xe5
jmp 0x198d31b
jmp 0x198d303
xor edi, 0xdd0207f
mov al, byte [esp]
rcl edx, cl
ja 0x198d360
jbe 0x198d34a
lodsd eax, dword es:[esi]
cmp eax, 0x3000b744
mov esi, 0x3c64b2c
setbe byte [ecx]
rol byte [ebx + 0x310fc90f], 0x8a
and al, 0x24
bswap ecx
rdtsc
mov ah, byte [esp]
bt dx, di
jns 0x198d319
js 0x198d319
mov edx, esp
lea edx, [esi*4]
jmp 0x198d369
mov edx, esp
lea edx, [esi*4]
add edi, dword [ebp]
mov dx, si
jmp 0x198d3a0
ror edi, 0
mov dl, bl
jmp 0x198d33b
mov ax, 0xc4a5
xchg cl, al
mov edx, dword [esp]
call fcn.0198dae4
xchg dword [ebx + 0x2d7d00c4], eax
rdtsc
lea esp, [esp + 2]
mov ax, bp
sub esp, 0x14
jmp 0x198d3e9
sbb al, ah
jmp 0x198d3ed
xchg ah, dl
jmp 0x198d3d3
sub cl, bl
dec dh
jmp 0x198d438
setnp ah
mov dx, ax
mov eax, 0xd9a24d79
jmp 0x198d484
jle 0x198d3f7
setnp ah
mov dx, ax
jmp 0x198d422

Function at 0x198d46b
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, 0xc2093f4f
lea esp, [esp + 2]
mov edx, dword [esp]
sub esp, 0xb
jmp 0x198d48b

Function at 0x19a2f02
Capabilities:
Execute anti-debugging instructions

Disassembly:
add byte [eax], al
add byte [esi - 0x46], ah
bt edx, ebp
jg 0x19a2efe
mov ah, 0x7b
bt eax, ebp
call fcn.019a2f02
lcall 0xfff, 0xfffe69e8
mov dword [reloc.WINMM.dll_midiStreamOut], eax
call 0x5fa1b47c
mov ah, 0x7b
jmp 0x19a2ee8
mov dl, byte [esp]
mov eax, edi
add ax, dx
rcl dl, 1
xchg dword [esp], esi
jmp 0x19a2f44
push dx
call fcn.019a2f8e
and al, bl
push ebx
lds esi, ss:[ebx + 0x18]
test byte [edx], bl
jge 0x19a2ecc
dec edi
mov cl, 0xb0
mov bl, 0xf
xor ecx, eax
enter 0x6608, 0xf
mov ebp, 0xfc80fc4
xor dword [ebp - reloc.WINMM.dll_midiStreamOut], ecx
mov ch, 0x28
mov esi, 0xe5ee28d9
inc ebp
aad 0xbc
dec edi
retf 0xf674
rdtsc
ror eax, 8
bsr ax, sp
bswap eax
rdtsc
lea esi, [esi + 0x36]
jmp 0x19a2f2e

Function at 0x19b3427
Capabilities:
Encode data using base64

Disassembly:
cmp cl, 0x2f
jmp 0x19b344c
cmp cl, 0x39
ja 0x19b2dc4
cmp cl, 0x5a
lea esp, [esp + 4]
jne 0x19b2d23
je 0x19b3445
mov ecx, 0x2adfb82a
cwde
retf
jne 0x19b2d65
push 0x3f
jmp fcn.019b2d39

Function at 0x1a7663c
Capabilities:
Access peb ldr_data

Disassembly:
call fcn.01a7543a
lea esp, [esp + 0x1c]
jmp 0x1a7664c
pop word [esp]
push cx
lea esp, [esp + 2]
mov dword [esp + 0x1c], edi
jmp 0x1a76626
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x1a7670c
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x1a75435
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x66f4d1e
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x46cb1e2e
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401353
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041d265
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041d265
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.0041d265
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x41f7c0
call fcn.0041d25f
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x40140c
mov eax, 0
jmp 0x401550
cmp dword [ebp + 0xc], 0
jne 0x401438
mov dword [ebp - 0x18], esp
mov eax, 4
call fcn.0041d271
cmp dword [ebp - 0x18], esp
je 0x401435
push 6
call fcn.0041d26b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x401460
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40145a
push ebx
call fcn.0041d259
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 5
call fcn.0041d271
cmp dword [ebp - 0x18], esp
je 0x40148b
push 6
call fcn.0041d26b
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4c56d8
mov eax, 6
call fcn.0041d271
cmp dword [ebp - 0x18], esp
je 0x4014b7
push 6
call fcn.0041d26b
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 7
call fcn.0041d271
cmp dword [ebp - 0x18], esp
je 0x40154b
push 6
call fcn.0041d26b
add esp, 4
jmp 0x401550
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041d259
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041d259
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0041d259
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40e3b4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0041d265
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0041d265
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
push 0x10
call fcn.0041d265
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x41f7c0
call fcn.0041d25f
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
je 0x40e474
mov eax, 0
jmp 0x40e5e0
cmp dword [ebp + 0xc], 0
jne 0x40e4a0
mov dword [ebp - 0x1c], esp
mov eax, 0x11
call fcn.0041d271
cmp dword [ebp - 0x1c], esp
je 0x40e49d
push 6
call fcn.0041d26b
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x40e4c8
mov eax, str.SeDebugPrivilege
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e4c2
push ebx
call fcn.0041d259
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x36
call fcn.0041d271
cmp dword [ebp - 0x1c], esp
je 0x40e4f3
push 6
call fcn.0041d26b
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x4c56d8
mov eax, 0x37
call fcn.0041d271
cmp dword [ebp - 0x1c], esp
je 0x40e51f
push 6
call fcn.0041d26b
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], 2
mov dword [ebp - 0x1c], esp
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x18]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x38
call fcn.0041d271
cmp dword [ebp - 0x1c], esp
je 0x40e5b3
push 6
call fcn.0041d26b
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], esp
push dword [ebp - 8]
mov eax, 3
call fcn.0041d271
cmp dword [ebp - 0x1c], esp
je 0x40e5d8
push 6
call fcn.0041d26b
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x40e5e0
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0041d259
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0041d259
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
call fcn.0041d259
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10