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

Disassembly:
push 0xffffffffffffffff
push 0x43e5a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x4419c8
mov dword [esp + 0x14], 1
call fcn.004028e0
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x14], bl
mov dword [esi + 0x1c], 0x4419bc
je 0x402d0b
mov eax, dword [eax]
cmp eax, ebx
jne 0x402d05
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
call fcn.0042f161
lea ecx, [esi + 4]
mov dword [esi + 0x30], ebx
mov dword [esp + 0x14], 0xffffffff
call fcn.00439c6d
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x402e20
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
mov eax, dword [esp + 8]
push esi
push 0
push 0x4419d6
push 0x4419d6
push 0
push eax
mov esi, ecx
call dword [0x4415b4]
test eax, eax
mov dword [esi + 0x20], eax
jne 0x402e52
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
xor eax, eax
pop esi
ret 0x14
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push 0x4400000
push 3
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
call dword [0x4415b8]
test eax, eax
mov dword [esi + 0x24], eax
jne 0x402e96
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x20]
push eax
call dword [0x4412c0]
xor eax, eax
pop esi
ret 0x14
push 0
call dword [0x4415bc]
test eax, eax
je 0x402ec5
push edi
call dword [0x4412f0]
mov ecx, dword [esi + 0x24]
mov edi, dword [0x4412c0]
push ecx
mov dword [esi + 0x2c], eax
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
pop edi
xor eax, eax
pop esi
ret 0x14
mov eax, 1
pop esi
ret 0x14

Function at 0x402ed0
Capabilities:
Send data
Send http request

Disassembly:
push ecx
push esi
push 0
push 0x4400000
lea eax, [esp + 0xc]
push eax
push 0x4419d6
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x24]
push str.HTTP_1.0
push ecx
push 0x4419ec
push edx
mov dword [esp + 0x24], 0x4419e8
call dword [0x4415a4]
test eax, eax
mov dword [esi + 0x28], eax
je 0x402f3a
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x4415a8]
test eax, eax
je 0x402f3a
mov eax, dword [esi + 0x28]
push 0
push 0
push 0
push 0
push eax
call dword [0x4415ac]
test eax, eax
jne 0x402f4a
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
xor eax, eax
pop esi
pop ecx
ret 4
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x402f60
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x100c
call fcn.004137b0
mov eax, dword [0x454370]
push ebx
mov dword [esp + 0x100c], eax
push esi
push edi
mov esi, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3ff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x28]
test eax, eax
mov dword [esp + 0xc], esi
je 0x403060
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx], 0
mov edx, dword [esi + 0x28]
test edx, edx
je 0x403028
xor eax, eax
push 0x455304
mov ecx, 0x400
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push 0x1000
lea eax, [esp + 0x18]
push eax
push edx
call dword [0x4415a0]
test eax, eax
je 0x403028
mov ecx, dword [0x455304]
test ecx, ecx
mov edx, ecx
je 0x403031
mov eax, dword [ebx]
cmp eax, dword [ebp + 0x14]
jae 0x403031
mov edi, dword [ebp + 0x10]
add edi, eax
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov esi, dword [esp + 0xc]
add eax, edx
mov dword [ebx], eax
jmp 0x402fc4
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ebx, ecx
shr ecx, 2
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
push 0
rep stosb byte es:[edi], al
lea ecx, [ebp + 0xc]
push ecx
push edx
mov edx, dword [esi + 0x28]
push 0x16
push edx
call dword [0x44159c]
test eax, eax
jne 0x403080
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x1014]
call fcn.0041381e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x1014]
mov eax, 1
call fcn.0041381e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4030c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
mov dword [esp + 8], 0x400
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4030d4
sub eax, edx
mov esi, eax
je 0x4030fb
push 1
lea eax, [esi + edi]
push 0x441a28
push eax
call fcn.00414172
add esp, 0xc
test eax, eax
je 0x4030fb
dec esi
jne 0x4030e1
lea ecx, [esp + 0x10]
push ecx
push 1
push 0
add esi, edi
push esi
push 0x80000000
call dword [0x441004]
test eax, eax
pop edi
pop esi
jne 0x40315f
lea edx, [esp]
push edx
push 0x455308
push eax
push eax
mov eax, dword [esp + 0x18]
push str.Content_Type
push eax
call dword [section..rdata]
test eax, eax
je 0x40314b
push 0x18
push str.application_octet_stream
push 0x455308
call fcn.004140df
add esp, 0xc
mov ecx, dword [esp + 8]
push ecx
call dword [0x441020]
mov eax, 0x455308
pop ecx
ret 4
push 0x18
push str.application_octet_stream
push 0x455308
call fcn.004140df
add esp, 0xc
mov eax, 0x455308
pop ecx
ret 4
Function at 0x403880
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1010
call fcn.004137b0
mov eax, dword [0x454370]
push esi
push edi
mov dword [esp + 0x1014], eax
mov esi, ecx
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x3ff
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xfff
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0x4419e8
call fcn.004036b0
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x24]
push 0
push 0x4400040
lea ecx, [esp + 0x14]
push ecx
push 0x4419d6
push str.HTTP_1.0
push edx
push str.POST
push eax
call dword [0x4415a4]
test eax, eax
mov dword [esi + 0x28], eax
je 0x403956
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call dword [0x4415a8]
test eax, eax
je 0x403956
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403920
sub eax, edx
mov edx, eax
mov eax, 0x441a4c
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403933
push edx
mov edx, dword [esi + 0x28]
lea ecx, [esp + 0x14]
push ecx
sub eax, edi
push eax
push 0x441a4c
push edx
call dword [0x4415ac]
test eax, eax
jne 0x403975
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x1014]
call fcn.0041381e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x1014]
mov eax, 1
call fcn.0041381e
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x403ea0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1044
call fcn.004137b0
mov eax, dword [0x454370]
push ebx
push esi
push edi
mov dword [esp + 0x104c], eax
push str.__MULTI_PARTS_FORM_DATA_BOUNDARY
lea eax, [esp + 0x14]
push eax
mov esi, ecx
mov dword [esp + 0x24], 0x4419e8
mov dword [esp + 0x18], 0
call fcn.00403990
mov edx, dword [ebp + 8]
push 0
push 0x4400040
lea ecx, [esp + 0x24]
push ecx
push 0x4419d6
push str.HTTP_1.0
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x24]
push str.POST
push eax
call dword [0x4415a4]
test eax, eax
mov dword [esi + 0x28], eax
je 0x404028
mov ebx, dword [0x4415a8]
push 0x80000000
push 0xd
push str.Accept:___r_n
push eax
call ebx
test eax, eax
je 0x404028
mov eax, str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f40
mov ecx, dword [esi + 0x28]
push 0x10000000
sub eax, edx
push eax
push str.Content_Type:_multipart_form_data__boundary__MULTI_PARTS_FORM_DATA_BOUNDARY_r_n
push ecx
call ebx
test eax, eax
je 0x404028
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x14]
push edi
lea edx, [esp + 0x4c]
push str.Content_Length:__d_r_n
push edx
call fcn.004143a8
lea eax, [esp + 0x54]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403f90
mov ecx, dword [esi + 0x28]
push 0x10000000
sub eax, edx
push eax
lea eax, [esp + 0x50]
push eax
push ecx
call ebx
test eax, eax
je 0x404028
mov ecx, dword [esi + 0x28]
xor edx, edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
xor ebx, ebx
push ebx
mov dword [esp + 0x38], edx
push 8
mov dword [esp + 0x40], edx
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], edx
push eax
mov dword [esp + 0x50], edx
push ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], ebx
call dword [0x441590]
test eax, eax
je 0x404028
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x18]
push edx
push edi
push eax
push ecx
mov dword [esp + 0x28], ebx
call dword [0x441594]
test eax, eax
je 0x404028
mov edx, dword [esi + 0x28]
push ebx
push 8
push ebx
push edx
call dword [0x441598]
test eax, eax
jne 0x404048
call dword [0x4412f0]
mov dword [esi + 0x2c], eax
xor eax, eax
mov ecx, dword [esp + 0x104c]
call fcn.0041381e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004030a0
mov ecx, dword [esp + 0x104c]
mov eax, 1
call fcn.0041381e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x405cc0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.004147a4
and eax, 0x8000000f
jns 0x405cd6
dec eax
or eax, 0xfffffff0
inc eax
mov ebp, dword [esp + 0x18]
add al, 0x10
movsx edi, al
mov esi, 1
lea ebx, [edi + 1]
cmp ebx, esi
mov byte [esp + 0x13], al
jle 0x405d06
nop
call fcn.004147a4
cdq
mov ecx, 0xfe
idiv ecx
inc esi
cmp esi, ebx
mov byte [esi + ebp - 1], dl
jl 0x405cf0
mov ebx, dword [esp + 0x20]
xor ecx, ecx
test ebx, ebx
jle 0x405d43
mov edx, dword [esp + 0x1c]
lea eax, [edi + ebp + 1]
sub edx, eax
mov dword [esp + 0x18], edx
mov edi, edi
mov eax, ecx
cdq
idiv edi
mov eax, dword [esp + 0x18]
lea esi, [edi + ebp + 1]
add esi, ecx
mov dl, byte [edx + ebp + 1]
xor dl, byte [eax + esi]
mov al, bl
sub al, cl
xor dl, al
inc ecx
cmp ecx, ebx
mov byte [esi], dl
jl 0x405d20
lea ecx, [edi + ebx + 1]
push eax
mov al, byte [esp + 0x17]
rol al, 4
not al
mov byte [esp + 0x17], al
pop eax
mov dl, byte [esp + 0x13]
pop edi
pop esi
mov byte [ebp], dl
pop ebp
mov eax, ecx
pop ebx
pop ecx
ret 0xc

Function at 0x405d70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov al, byte [ebp]
push esi
push edi
mov byte [esp + 0x18], al
push eax
mov al, byte [esp + 0x1c]
not al
ror al, 4
mov byte [esp + 0x1c], al
pop eax
movsx edi, byte [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub ebx, edi
dec ebx
xor ecx, ecx
test ebx, ebx
jle 0x405dd4
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, eax
lea eax, [edx + ebp + 1]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x14]
lea esi, [ecx + edx]
mov eax, ecx
cdq
idiv edi
mov al, byte [edx + ebp + 1]
mov edx, dword [esp + 0x18]
xor al, byte [edx + esi]
mov dl, bl
sub dl, cl
xor al, dl
inc ecx
cmp ecx, ebx
mov byte [esi], al
jl 0x405db0
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc

Function at 0x406350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43e808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00406230
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401e00
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4063e2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408730
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [section..rdata]
mov esi, ecx
mov edx, dword [esi + 0x1c0]
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x10]
push ecx
push 0
push 0
push str.VERSION
push edx
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], 0x100
call edi
test eax, eax
jne 0x40878b
mov edx, dword [esi + 0x1c0]
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 0x18]
push ecx
push 0
push 0
push str.PATH
push edx
call edi
test eax, eax
je 0x408793
pop edi
xor al, al
pop esi
add esp, 8
ret
mov edx, dword [esi + 0x1c0]
lea eax, [esp + 8]
push eax
lea ecx, [esi + 8]
push ecx
push 0
push 0
push str.AUTOSTART
push edx
call edi
pop edi
mov al, 1
pop esi
add esp, 8
ret

Function at 0x4087f0
Capabilities:
Set registry value

Disassembly:
push esi
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
mov esi, ecx
mov ecx, dword [esi + 0x1c0]
push str.AUTOSTART
push ecx
call dword [0x441008]
test eax, eax
je 0x40881a
xor al, al
pop esi
ret 4
mov edx, dword [esp + 8]
mov dword [esi + 8], edx
mov al, 1
pop esi
ret 4
Function at 0x41845b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x418489
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x418490
cmp ebx, dword [eax + 4]
jae 0x418490
xor eax, eax
jmp 0x418680
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4184a1
xor eax, eax
inc eax
jmp 0x41867f
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4184b7
cmp ecx, edx
jae 0x4185fc
cmp dword [eax + 4], 0
je 0x4184c0
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4184a8
cmp dword [ebp + 8], 0
je 0x4184e2
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4185fc
cmp eax, esi
jae 0x4185fc
mov eax, dword [0x457958]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x418507
cmp dword [esi*4 + 0x457960], edi
je 0x418600
inc esi
cmp esi, eax
jl 0x4184f5
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x4410d8]
test eax, eax
je 0x41867c
cmp dword [ebp - 8], 0x1000000
jne 0x41867c
test byte [ebp - 0xc], 0xcc
je 0x418585
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x41867c
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41867c
cmp word [eax + 0x18], 0x10b
jne 0x41867c
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x41867c
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x418585
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x418585
test byte [ecx + 0x27], 0x80
jne 0x4185fc
push 1
push 0x4579a0
call dword [0x441310]
test eax, eax
jne 0x418499
mov ecx, dword [0x457958]
test ecx, ecx
mov edx, ecx
jle 0x4185b9
lea eax, [ecx*4 + 0x45795c]
cmp dword [eax], edi
je 0x4185b9
dec edx
sub eax, 4
test edx, edx
jg 0x4185ad
test edx, edx
jne 0x4185ea
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4185c6
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4185de
lea eax, [edx*4 + 0x457960]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4185cc
cmp ecx, 0x10
jge 0x4185ea
inc ecx
mov dword [0x457958], ecx
push 0
push 0x4579a0
call dword [0x441310]
jmp 0x418499
xor eax, eax
jmp 0x41867f
test esi, esi
jle 0x418499
mov ebx, dword [0x441310]
push 1
push 0x4579a0
call ebx
test eax, eax
jne 0x418499
cmp dword [esi*4 + 0x457960], edi
je 0x418656
mov eax, dword [0x457958]
lea esi, [eax - 1]
test esi, esi
jl 0x418644
cmp dword [esi*4 + 0x457960], edi
je 0x418640
dec esi
jns 0x418634
test esi, esi
jge 0x418654
cmp eax, 0x10
jge 0x41864f
inc eax
mov dword [0x457958], eax
lea esi, [eax - 1]
jmp 0x418656
je 0x41866e
xor ecx, ecx
test esi, esi
jl 0x41866e
lea eax, [ecx*4 + 0x457960]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x41865c
push 0
push 0x4579a0
call ebx
jmp 0x418499
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x421440
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xfc]
test byte [eax + 0xc], 1
je 0x42149d
mov eax, dword [ebx + 0x6c]
push ebp
xor ebp, ebp
test eax, eax
jbe 0x42149c
push esi
push edi
jmp 0x421460
mov esi, dword [ebx + 0x7c]
mov edi, dword [ebx + 0x1a0]
xor ecx, ecx
mov cl, byte [esi + ebp]
add esi, ebp
and edi, 0xfffd
or edi, 2
push ecx
mov ecx, ebx
call fcn.004213c0
mov al, byte [esi]
mov edx, edi
xor edx, 1
imul edx, edi
sar edx, 8
xor al, dl
mov byte [esi], al
mov eax, dword [ebx + 0x6c]
inc ebp
cmp ebp, eax
jb 0x421460
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4214a0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0xfc]
test byte [eax + 0xc], 1
je 0x4214f8
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jbe 0x4214f6
jmp 0x4214c0
mov ecx, dword [edi + 0x1a0]
mov eax, dword [edi + 0x7c]
and ecx, 0xfffd
or ecx, 2
mov edx, ecx
xor edx, 1
imul edx, ecx
mov cl, byte [eax + esi]
add eax, esi
sar edx, 8
xor cl, dl
mov byte [eax], cl
movsx eax, cl
push eax
mov ecx, edi
call fcn.004213c0
inc esi
cmp esi, ebp
jb 0x4214c0
pop esi
pop ebp
pop edi
ret 4

Function at 0x421770
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x43f6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push esi
mov edi, ecx
push 0xc
lea ecx, [esp + 0x18]
call fcn.00424210
mov eax, dword [esp + 0x14]
push esi
push 0xc
push eax
lea ecx, [edi + 0x84]
mov dword [esp + 0x30], esi
call fcn.00427e80
mov eax, dword [edi + 0x1a0]
mov ecx, dword [esp + 0x14]
mov dl, byte [ecx + esi]
and eax, 0xfffd
or eax, 2
mov ebx, eax
xor ebx, 1
imul ebx, eax
sar ebx, 8
xor bl, dl
mov byte [esp + 0xc], bl
mov edx, dword [esp + 0xc]
push edx
mov ecx, edi
call fcn.004213c0
inc esi
cmp esi, 0xc
jl 0x4217b2
mov edi, dword [edi + 0xfc]
mov al, byte [edi + 0xc]
shr al, 3
test al, 1
je 0x4217ff
mov al, byte [edi + 0x11]
jmp 0x421802
mov al, byte [edi + 0x17]
cmp al, bl
lea ecx, [esp + 0x10]
sete bl
mov dword [esp + 0x24], 0xffffffff
call fcn.00424240
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x423600
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43fa08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.00424210
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00427e80
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov word [esp + 0x30], cx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.00424050
mov edx, dword [esi + 4]
mov ecx, 0x455238
cmp edx, dword [ecx]
je 0x4236fc
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.00424240
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [edi + 0x50]
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.00424080
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00427e80
test bp, bp
je 0x423740
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.00424080
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00427e80
mov eax, dword [esp + 0x30]
test ax, ax
je 0x423765
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.00424080
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.00427e80
mov ecx, dword [esp + 0x10]
cmp dword [edi + 0x50], ecx
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x28], 0xffffffff
call fcn.00424240
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x425210
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43fa98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push edi
lea ebp, [eax + 0x16]
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.00424210
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, dword [0x45526c]
mov dword [ecx], edx
mov cx, word [ebx + 0x6c]
mov edx, dword [esp + 0x14]
mov word [edx + 4], cx
mov cx, word [ebx + 0x6e]
mov edx, dword [esp + 0x14]
mov word [edx + 6], cx
mov cx, word [ebx + 0x70]
mov edx, dword [esp + 0x14]
mov word [edx + 8], cx
mov cx, word [ebx + 0x72]
mov edx, dword [esp + 0x14]
mov word [edx + 0xa], cx
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x14], ax
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0xc]
movzx ecx, ax
mov edx, ecx
shr ecx, 2
add edi, 0x16
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x24]
push ebp
push eax
mov dword [esp + 0x30], 0
call fcn.00427710
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00424240
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret