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

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4082c6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4082c6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4082c6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4082c6
cmp dword [ecx + 0x74], 0xe
jbe 0x4082c6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40a832
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40a853
jl 0x40a84a
test edi, edi
jne 0x40a853
xor eax, eax
xor edx, edx
jmp 0x40a914
cmp dword [ebx + 0x38], 0
je 0x40a868
push eax
push edi
push dword [ebp + 8]
call fcn.0040a91a
jmp 0x40a914
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a8af
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a8af
cmp eax, edi
jb 0x40a889
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040c050
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40a8b5
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40a909
mov ecx, ebx
call fcn.0040a14f
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40a8f4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00413f68
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40a909
jmp 0x40a8c7
test edx, edx
je 0x40a909
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00413f68
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x417395
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x417432
push ebx
push esi
call fcn.0041735e
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004172a7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4173df
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417431
push edi
push eax
call fcn.00416135
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4173ff
call fcn.004160fb
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x417430
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004172a7
add esp, 0x20
test eax, eax
jne 0x41741e
push edi
call fcn.004160fb
jmp 0x417426
push ebx
call fcn.004160fb
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x417c5e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427cc0
push 0x427cb8
push str.FlsAlloc
push 0x1e
call fcn.00417acb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417c92
push dword [ebp + 8]
mov ecx, esi
call dword [0x424150]
call esi
jmp 0x417c98
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x417cdc
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427cd0
push 0x427cc8
push str.FlsGetValue
push 0x20
call fcn.00417acb
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417d13
push dword [ebp + 8]
mov ecx, esi
call dword [0x424150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41b86b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b50d

Function at 0x41b876
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b69c
Function at 0x41d085
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004231d0
mov eax, dword [0x432274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041b4e6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41d0c7
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d223
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00423200
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x433d70]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d4ab
mov ecx, dword [esi*4 + 0x433d70]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41d21c
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d21c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d21c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d4ab
add esp, 0x14
test edx, edx
jl 0x41d21c
jg 0x41d192
test eax, eax
jb 0x41d21c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d21c
jl 0x41d1ac
cmp dword [ebp - 0x1008], eax
ja 0x41d21c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d1ca
test ebx, ebx
je 0x41d203
cmp ecx, edi
jae 0x41d203
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d1e4
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d1f0
cmp byte [ecx + 1], 0xa
jne 0x41d1f0
inc ecx
jmp 0x41d1f0
movzx eax, al
movsx eax, byte [eax + 0x432a10]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d1ca
cmp edx, ebx
jne 0x41d1ca
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d221
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004086cc
leave
ret
Function at 0x41d527
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x433d70]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d567
cmp byte [ebx], 0xa
jne 0x41d567
or byte [eax + edi + 0x28], 4
jmp 0x41d56c
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d66a
mov al, byte [edx]
cmp al, 0x1a
je 0x41d64c
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d59b
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d5c0
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d5ca
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d57d
jmp 0x41d66a
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d647
cmp dword [ebp - 0xc], 0
je 0x41d647
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x433d70]
test byte [eax + edi + 0x28], 0x48
je 0x41d621
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d60c
mov byte [esi], dl
jmp 0x41d61d
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x433d70]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d66a
cmp byte [ebp - 1], 0xa
jne 0x41d630
cmp esi, ebx
jne 0x41d630
mov byte [esi], 0xa
jmp 0x41d669
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041d4c9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d66a
mov byte [esi], 0xd
jmp 0x41d669
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x433d70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d666
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d66a
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d673
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x433d70]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d6b6
cmp word [esi], dx
jne 0x41d6b6
or byte [edi + eax + 0x28], 4
jmp 0x41d6bb
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d80e
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d7ee
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d6fd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d733
cmp eax, edx
jae 0x41d73f
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d6d5
jmp 0x41d80e
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d7ea
cmp dword [ebp - 0x14], 0
je 0x41d7ea
mov eax, dword [ebx*4 + 0x433d70]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d7c2
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d78b
mov word [esi], cx
jmp 0x41d7be
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x433d70]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x433d70]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x433d70]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d80e
pop ebx
cmp word [ebp - 4], bx
jne 0x41d7d3
cmp esi, dword [ebp + 0xc]
jne 0x41d7d3
mov word [esi], bx
jmp 0x41d80b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041d4c9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d80e
push 0xd
jmp 0x41d807
mov ecx, dword [ebx*4 + 0x433d70]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d805
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d80e
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x423190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4231bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4231bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x418788
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457d38
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x46c340]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
call fcn.0042eaa8
mov byte [esp + 0xc], al
mov edi, 7
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x3c], eax
call fcn.0042f028
add esp, 4
push 9
push 0x45fabc
lea eax, [esp + 0x18]
call fcn.0041a678
cmp dword [esp + 0x28], 8
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
push edx
jae 0x41880e
lea eax, [esp + 0x18]
sub esp, 0x1c
mov esi, esp
xor ecx, ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], 0
mov word [esi + 4], cx
mov ecx, eax
mov dword [esp + 0x2c], esp
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x41882c
sub ecx, edi
sar ecx, 1
push ecx
call fcn.0041a798
call fcn.00436938
add esp, 0x20
cmp dword [esp + 0x28], 8
jb 0x41885d
mov edx, dword [esp + 0x14]
push edx
call fcn.0044849d
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004484a8
add esp, 0x30
ret
Function at 0x421b98
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x454a8b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], 0x460234
call fcn.00447106
push 4
mov dword [esp + 0x20], 0
call fcn.00448558
mov edi, eax
add esp, 4
test edi, edi
je 0x421c16
call fcn.00447513
mov dword [edi], eax
call fcn.00447341
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00447663
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x421c0b
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0044768b
jmp 0x421c18
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42b7c8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4555c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 6
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], eax
lea eax, [esi + 0x40]
push eax
mov dword [esi], 0x460ca4
call fcn.00441318
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4

Function at 0x42eb18
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4554d8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
push 0x40
xor esi, esi
lea eax, [esp + 0x34]
push esi
push eax
xor ebx, ebx
call fcn.0044f1a8
mov edx, dword [0x46eba0]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x46eba0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], 0x44
mov dword [esp + 0x58], 1
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push ecx
push edx
push 0x4610fc
lea edi, [esp + 0x24]
mov dword [esp + 0x8c], esi
call fcn.004284f8
mov edi, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push esi
push esi
push esi
push 1
push esi
push esi
push edi
mov eax, 0xa
push esi
mov word [esp + 0x84], ax
call dword [0x4590b0]
cmp eax, esi
je 0x42ebe5
lea ebx, [esi + 1]
mov eax, dword [esp + 0x1c]
mov ebp, dword [fcn.004590a4]
cmp eax, esi
je 0x42ebfa
push eax
call ebp
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x42ec09
push eax
call ebp
mov dword [esp + 0x20], esi
lea eax, [edi - 0x10]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ec30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x42ec48
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x3c]
movzx ecx, word [eax + ebx + 6]
movzx edx, word [eax + ebx + 0x14]
add eax, ebx
push ebp
mov ebp, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
add edx, eax
push esi
lea esi, [edx + ecx*8 - 0x10]
mov ecx, 0x46110c
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42ec90
test dl, dl
je 0x42ec8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42ec90
add eax, 2
add ecx, 2
test dl, dl
jne 0x42ec70
xor eax, eax
jmp 0x42ec95
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42ecde
mov eax, dword [esi + 0xc]
push edi
mov edi, dword [esi + 0x10]
push edi
add eax, ebx
push eax
mov ecx, ebp
call fcn.0041a378
xor esi, esi
test edi, edi
jle 0x42ecd4
lea esp, [esp]
mov ecx, ebp
call fcn.00419dc8
mov bl, byte [eax + esi]
mov ecx, ebp
xor bl, 0x43
call fcn.00419dc8
mov byte [eax + esi], bl
inc esi
cmp esi, edi
jl 0x42ecb8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4328b8
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x455f68
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.00419ec8
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43290e
sub eax, edx
sar eax, 1
push eax
push ebx
lea eax, [esp + 0x14]
call fcn.0041a678
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.00419ec8
cmp dword [esp + 0x24], 8
jb 0x432956
mov edx, dword [esp + 0x10]
push edx
call fcn.0044849d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x432be8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x455348
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
mov dword [esi + 8], edx
lea ecx, [esi + 0x10]
mov dword [esi], 0x461548
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
xor edx, edx
push eax
mov dword [ecx + 0x18], 7
lea eax, [esp + 0x20]
mov word [ecx + 4], dx
call fcn.00419ec8
cmp dword [esp + 0x30], 8
mov dword [esi + 0x2c], 0x41ef90
jb 0x432c5b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0044849d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0x20

Function at 0x433ba8
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x456f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
mov byte [ebp + 0x68], bl
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
call fcn.00434a98
mov ecx, dword [esp + 0xbc]
push ecx
lea esi, [esp + 0x20]
mov dword [esp + 0xb4], ebx
call fcn.00435a28
test eax, eax
jne 0x433c4a
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x1c]
lea ecx, [esp + ecx + 0x14]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x433c43
or eax, 4
push ebx
push eax
call fcn.004154f8
lea edi, [esp + 0x14]
mov ecx, ebp
call fcn.00433ca8
lea ecx, [esp + 0x6c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.00434b78
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], 0x460224
call fcn.00447268
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret 8
Function at 0x434a98
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x456ef7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46c340]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x4617fc
mov dword [edi + 0x58], 0x461770
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.00435808
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], 0x4617f8
call fcn.00435fd8
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], 0x4617bc
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x4700d0]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4