joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b970
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482268
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x43b9a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x43babc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43b9bd
mov eax, 0xffffffc7
jmp 0x43babe
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43b9ce
cmp dword [esi + 8], eax
jne 0x43b9bd
cmp dword [esi + 8], eax
jne 0x43b9e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x43b9e7
mov eax, 0xffffffc7
jmp 0x43babe
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43b9fb
push eax
mov ecx, ebx
call fcn.0043b1a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0040d070
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43ba2c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0040d090
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0043a910
test eax, eax
mov dword [esp + 0x38], eax
je 0x43ba5f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x588be8
call fcn.0040d270
mov eax, dword [esp + 0x38]
jmp 0x43babe
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0043b7d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x43baa3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0043b7f0
mov esi, eax
test esi, esi
jne 0x43bad3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0043b7d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x43ba75
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x588be8
call fcn.0040d270
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x588be8
call fcn.0040d270
mov eax, esi
jmp 0x43babe
Function at 0x444dd0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482898
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x485648]
push 0
lea ecx, [esp + 0x20]
call fcn.0047b485
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00444770
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047b3b3
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00477c76
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00477c76
push 1
push 0
push 0
mov ecx, esi
call fcn.00477c1e
push 1
push 0
push 1
mov ecx, esi
call fcn.00477c1e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b4f7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x444f50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4828b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047b485
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00444770
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047b3b3
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x485648]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x445014
cmp dword [esp + 0x40], 1
jne 0x445012
cmp ecx, eax
jge 0x445014
mov eax, ecx
cmp eax, 0xc8
jge 0x445020
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00444dd0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x485644]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047b4f7
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x445790
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482923
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.00476091
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x58d600
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], 0x58bd78
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 [0x4850f4]
push eax
mov ecx, edi
call fcn.0047b72d
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047cc49
test eax, eax
je 0x4458ac
mov ecx, dword [esp + 0x3c]
call fcn.0047b75a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x485668]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x445870
push edi
mov ecx, esi
call fcn.00478dc1
mov ecx, esi
call fcn.00445a10
cmp dword [esp + 0x38], 1
jne 0x4458a5
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.00478efc
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 0x4482c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4482f3
push esi
call fcn.0044b3d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4482ec
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 0x448379
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x448362
mov eax, dword [esi + 8]
test eax, eax
je 0x448317
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 0x44835e
cmp eax, 2
je 0x448362
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44830a
cmp eax, 3
je 0x44833d
cmp eax, 1
jne 0x44830a
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 0x44830a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44830a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004483a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448388
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004483a0
add esp, 4
pop esi
ret
Function at 0x4609c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4836e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00460570
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004605f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004605f0
lea ecx, [esi + 0xc]
call fcn.00474a6b
lea ecx, [esi + 0x10]
call fcn.00474a6b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00461b80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00461b80
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00461b80
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00474ae0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00474ae0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x401340
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x401368
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x401376
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40138f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40139d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x4013b6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4013c4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4013dd
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4013eb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00401432
Function at 0x402280
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x7eed48
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4023a9
cmp dword fs:[0xc0], eax
je 0x4022ab
mov dword [0x7eed44], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x7eec2c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x7eec30], eax
movzx edx, word [esi + 0xac]
mov dword [0x7eec34], edx
mov eax, dword [esi + 0xb0]
mov dword [0x7eec38], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x40230b
push 0x7f
push eax
push 0x7eec3c
call fcn.00402220
mov edx, dword [0x7eec34]
add esp, 0xc
jmp 0x402313
xor eax, eax
mov word [0x7eec3c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x7eed3c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x7eed3e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x7eed40], ax
mov ecx, eax
mov byte [0x7eed42], 0
cmp byte [0x7ffe0268], 0
je 0x40235a
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x7eed42], bl
cmp ebx, 1
pop ebx
jne 0x402374
and ecx, 0xffef
mov word [0x7eed40], cx
test edx, edx
jne 0x4023a9
call fcn.00402280
cmp dword [0x7eec2c], 6
ja 0x4023a9
jb 0x402391
cmp dword [0x7eec30], 4
jae 0x4023a9
call fcn.00402280
cmp dword [0x7eec2c], 0xa
jae 0x4023a9
mov dword [0x7eec34], 1
ret
Function at 0x402d20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x7ef87c]
sub esp, 0x11c
test eax, eax
jne 0x402e1e
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.00402cf0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x402d70
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x402d80
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41b104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x402db5
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00403e60
pop edi
pop esi
pop ebx
test eax, eax
je 0x402e19
mov eax, dword [eax + 0x18]
test eax, eax
je 0x402e19
mov dword [0x7ef87c], eax
add esp, 0x11c
ret
mov eax, dword [0x7ef87c]
add esp, 0x11c
ret
Function at 0x403c50
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x7eec08]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x403dfd
cmp dword [0x7eec0c], 0
jne 0x403de9
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.00402cf0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x403ca0
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x403cb0
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41b0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x403ce5
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00402cf0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403d44
sub edx, esi
sar edx, 1
je 0x403dfd
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x403d60
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x403dfd
xor eax, eax
push ebx
test edx, edx
je 0x403d98
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x403d98
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x403d81
xor eax, eax
test edx, edx
je 0x403db2
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x403db2
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403da0
xor eax, eax
test edx, edx
je 0x403dcf
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x403dcf
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x403dc0
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x7eec08]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x403e60
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x403ebb
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403e80
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x403e9c
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00402220
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x403edd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x403f4f
mov esi, dword [ebx]
cmp esi, ebx
je 0x403f4f
test esi, esi
je 0x403f4f
cmp word [esi + 0x24], 2
jbe 0x403f49
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x403f49
cmp dword [esi + 0x18], 0
je 0x403f49
test ebp, ebp
je 0x403f05
cmp ebp, eax
jne 0x403f49
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00402220
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x403f2a
cmp edx, dword [esi + 0x18]
jne 0x403f49
cmp dword [esp + 0x14], eax
je 0x403f5c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401ae0
add esp, 8
test eax, eax
je 0x403f5c
mov esi, dword [esi]
cmp esi, ebx
jne 0x403ee3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x4042e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x40432b
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x40431b
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x404301
jmp 0x404320
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40437b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x404340
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x404340
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x40435c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00402220
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40439d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x404410
mov esi, dword [ebx]
cmp esi, ebx
je 0x404410
test esi, esi
je 0x404410
cmp word [esi + 0x24], 2
jbe 0x40440a
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x40440a
cmp dword [esi + 0x18], 0
je 0x40440a
test ebp, ebp
je 0x4043c5
cmp ebp, eax
jne 0x40440a
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00402220
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4043ea
cmp eax, dword [esi + 0x18]
jne 0x40440a
cmp dword [esp + 0x10], 0
je 0x40441d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401ae0
add esp, 8
test eax, eax
je 0x40441d
mov esi, dword [esi]
cmp esi, ebx
jne 0x4043a3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret

Function at 0x41a7d2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x41b0de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x41b0ed
pop dword [ebp - 0x3c]
mov eax, 0x93ab818f
sub eax, 0x9369d0a2
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x7f1efe82
add dword [ebp - 0x4c], 0xcf3346c9
mov dword [ebp - 0x48], 0xe21fc271
add dword [ebp - 0x48], 0x501389d4
mov dword [ebp - 0x44], 0xbc5510a9
sub dword [ebp - 0x44], 0x7008cc7b
mov dword [ebp - 0x40], 0x7718f95c
add dword [ebp - 0x40], 0x88e706a4
lea eax, [ebp - 0x4c]
push eax
mov eax, 0x1f71c890
add eax, 0xe0d3e7d4
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0x91c6f83a
add dword [ebp - 0x4c], 0xe2ab711c
mov dword [ebp - 0x48], 0x3359dc5
sub dword [ebp - 0x48], 0xc1c93c50
mov dword [ebp - 0x44], 0x449601f9
add dword [ebp - 0x44], 0x1ed96a73
mov dword [ebp - 0x40], 0x2907e10d
add dword [ebp - 0x40], 0xd6f81ef3
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x524a41c2
add eax, 0xadfb6ebe
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x4eaea
push 0
call eax
mov ecx, 0x4d76
xor edi, edi
add edi, eax
mov esi, 0xf8f0f6d7
sub esi, 0xf8a996d7
add esi, dword [ebp - 0x3c]
mov ebx, 0x30e10d5b
sub ebx, 0x10ce82b8
sub dword [ebp - 0x14], edx
mov edx, dword [esi]
sub dword [ebp - 0x28], 0x4062329a
xor edx, ebx
add dword [ebp - 0x30], 0x511b4b7f
mov dword [edi], edx
add dword [ebp - 0x14], ecx
add edi, 0x29023e04
sub edi, 0x29023e00
add esi, 4
loop 0x41b20b
add eax, 0x232f1334
add eax, 0xdcd21577
mov ebx, eax
add eax, 5
mov ecx, 0x8122fc2b
sub ecx, 0x80e2fc2b
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x4015f6
Capabilities:
Identify system language via api

Disassembly:
mov al, byte [0x43bc00]
push ebx
or al, byte [0x43bbcb]
push ebp
push esi
push edi
push dword [0x43bbfc]
mov byte [0x43bbc9], al
movsx eax, word [0x43bbe2]
push eax
call fcn.004118e8
add dword [0x43bbf0], eax
mov edi, dword [sym.imp.USER32.dll_GetActiveWindow]
inc word [0x43bbd6]
pop ecx
pop ecx
call edi
mov word [0x43bbda], ax
mov eax, dword [esp + 0x14]
push 0x879fffff
mov bl, byte [eax]
movsx eax, word [0x43bbe2]
push eax
xor bl, 0xa1
call fcn.004117aa
mov esi, dword [esp + 0x20]
add dword [0x43bbf8], eax
mov ebp, 0x5e01ffff
pop ecx
mov byte [esi], bl
pop ecx
movsx eax, byte [0x43bbcb]
or eax, ebp
test bl, bl
mov dword [0x43bbe8], eax
je 0x4016e7
mov ebx, dword [esp + 0x14]
sub ebx, esi
mov dword [esp + 0x14], ebx
jmp 0x40168a
mov ebx, dword [esp + 0x14]
dec eax
add word [0x43bbe2], ax
mov ax, word [0x43bbfc]
mov word [0x43bbd4], ax
call dword [sym.imp.KERNEL32.dll_GetVersion]
add byte [0x43bbca], al
inc esi
call edi
mov word [0x43bbda], ax
mov bl, byte [ebx + esi]
movsx eax, word [0x43bbe2]
push 0x879fffff
push eax
xor bl, 0xa1
call fcn.004117aa
add dword [0x43bbf8], eax
mov byte [esi], bl
movsx eax, byte [0x43bbcb]
pop ecx
or eax, ebp
test bl, bl
pop ecx
mov dword [0x43bbe8], eax
jne 0x401686
push 0xc2fbffff
push 0x44fffff
call fcn.004116de
add dword [0x43bbe8], eax
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
add dword [0x43bbfc], eax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret