joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x4f72bc]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x24]
add edx, edx
mov eax, 0xaaaaaaab
mul edx
push ebx
xor ecx, ecx
mov ebx, edx
shr ebx, 1
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ecx
jmp 0x4212c4
mov ebx, dword [esp + 0x1c]
movsx esi, word [edi + 0x5e]
mov eax, dword [edi + esi*4 + 0x88]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x42130b
cmp byte [eax + 1], 0
je 0x421450
lea ecx, [edi + 0x8c]
push ecx
call fcn.00421150
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x421450
xor ecx, ecx
mov dword [edi + 0x5e], 1
mov word [edi + 0x62], cx
jmp 0x4212c4
cmp byte [eax + 1], 0
jne 0x42131d
movzx edx, word [eax + 0xe]
cmp edx, ebx
jle 0x421450
mov ebx, dword [edi + esi*4 + 0x84]
movzx eax, word [edi + esi*2 + 0x5e]
mov ecx, dword [ebx + 0x44]
push ecx
mov dword [esp + 0x1c], eax
call int.004162b0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4213c9
mov eax, dword [esp + 0x14]
cmp byte [eax + 4], 0
je 0x421384
cmp byte [eax + 1], 1
jne 0x421384
mov dx, word [eax + 0x14]
cmp dx, word [eax + 0x10]
jne 0x421384
cmp dword [ebx + 0x48], 1
je 0x421384
movzx ecx, word [ebx + 0x10]
cmp ecx, dword [esp + 0x18]
jne 0x421384
lea edx, [esp + 0x24]
push edx
push eax
push ebx
call fcn.0041fda0
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4213c9
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x20]
call fcn.00410ea0
movzx ecx, byte [edi + 0x5d]
xor edx, edx
cmp esi, 1
sete dl
push ecx
mov ecx, eax
mov dword [esp + 0x24], eax
push edx
mov edx, dword [esp + 0x20]
push ebx
call fcn.00420000
mov esi, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0xc], eax
test esi, esi
je 0x4213c1
call fcn.00410fa0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov byte [eax + 1], 0
mov eax, dword [eax + 0x44]
test eax, eax
je 0x421441
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x421421
dec dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov ebx, dword [ecx]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
push edx
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004d7d10
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [esi + 0x3c]
push eax
call edx
add esp, 0x10
jmp 0x421426
call fcn.004109e0
cmp dword [esi + 0x78], 0
jne 0x421441
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x421441
push esi
call int.00413240
add esp, 4
dec word [edi + 0x5e]
cmp dword [esp + 0xc], 0
je 0x4212c0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x42145d
call fcn.00410fa0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x43fed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x43feee
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x43ff04
cmp byte [edi], al
je 0x43fef7
inc ecx
cmp byte [ecx], al
jne 0x43fef2
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x440005
jmp 0x43ff23
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x43ff2b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x43ff8b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x43ff6d
jmp 0x43ff50
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x4e3098]
cmp dl, byte [eax + 0x4e3098]
jne 0x43ff6d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x43ff50
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x4e3098]
movzx ecx, byte [ecx + 0x4e3098]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x43fff5
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x43ffd8
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x43ffce
jmp 0x43ffb0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4e3098]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43ffb0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x43ffda
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call int.0040c9c0
add esp, 8
test eax, eax
je 0x44000c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x440005
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x43ff20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x43fff5
Function at 0x440110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x44012d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x440145
cmp byte [eax], 0
je 0x440138
inc ecx
cmp byte [ecx], 0
jne 0x440132
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x440227
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x44016a
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x4401ba
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x4401a2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4e3098]
cmp cl, byte [eax + 0x4e3098]
jne 0x44019f
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x440182
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4e3098]
movzx edx, byte [edx + 0x4e3098]
sub edx, ecx
jne 0x440216
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x4401f4
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x4401ee
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4e3098]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4401d0
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x4401f6
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call int.0040c9c0
add esp, 8
test eax, eax
je 0x44022d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x440226
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x440160
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x440213
Function at 0x4402a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, 0x18
push edi
mov dword [ebp - 8], ebx
mov eax, esi
test esi, esi
je 0x4402d5
cmp byte [esi], 0
je 0x4402ce
inc eax
cmp byte [eax], 0
jne 0x4402c8
sub eax, esi
and eax, 0x3fffffff
cmp dword [ebx], 0
mov dword [ebp - 4], eax
je 0x440319
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x44030e
jmp 0x4402f0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4e3098]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4402f0
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov eax, dword [ebp - 4]
mov edi, edx
jmp 0x44031b
xor edi, edi
push eax
push esi
mov edx, edi
mov eax, ebx
call int.0040c9c0
add esp, 8
test eax, eax
je 0x44039d
mov esi, dword [eax + 8]
mov edx, edi
mov ecx, ebx
call fcn.0040ca60
test esi, esi
je 0x44039d
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
cmp eax, esi
jne 0x440360
mov eax, dword [esi + 0x14]
mov edi, dword [ebp + 8]
mov dword [ecx + 8], eax
call fcn.00440240
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x44038a
mov ecx, dword [eax + 0x14]
cmp ecx, esi
je 0x440384
mov eax, ecx
test eax, eax
jne 0x440364
mov edi, dword [ebp + 8]
call fcn.00440240
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x14], ecx
mov edi, dword [ebp + 8]
call fcn.00440240
or dword [edi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
or dword [eax + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4408f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
shl eax, 4
add eax, dword [ecx + 0x10]
mov ecx, edi
test edi, edi
je 0x44091e
cmp byte [edi], 0
je 0x440916
nop
inc ecx
cmp byte [ecx], 0
jne 0x440910
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, dword [eax + 0xc]
add ebx, 8
cmp dword [ebx], 0
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ebx
je 0x440969
xor eax, eax
mov esi, ecx
mov edx, edi
cmp ecx, eax
jle 0x44095e
lea esp, [esp]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x4e3098]
lea ebx, [eax*8]
xor ecx, ebx
dec esi
xor eax, ecx
inc edx
test esi, esi
jg 0x440940
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov ecx, dword [ebp - 4]
mov esi, edx
jmp 0x44096b
xor esi, esi
push ecx
push edi
mov edx, esi
mov eax, ebx
call int.0040c9c0
add esp, 8
test eax, eax
je 0x44098b
mov edi, dword [eax + 8]
mov edx, esi
mov ecx, ebx
call fcn.0040ca60
jmp 0x44098d
xor edi, edi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00440640
add esp, 8
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x442cb3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.0040a9a0
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x442ce5
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x442ce0
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x442e01
jmp 0x442d0a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x442d14
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x442d6b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x442d50
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4e3098]
cmp cl, byte [ebx + 0x4e3098]
jne 0x442d4d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x442d30
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4e3098]
movzx eax, byte [eax + 0x4e3098]
sub eax, ecx
jne 0x442dcd
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x442dad
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x442da6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4e3098]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x442d85
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x442daf
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call int.0040c9c0
add esp, 8
test eax, eax
je 0x442e22
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x442de0
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x442d07
cmp dword [ebp - 0x24], 0
je 0x442e01
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.0043fdd0
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x442cb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x442dcd
Function at 0x462280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, 0x28
push edi
mov dword [ebp - 8], ebx
mov eax, esi
test esi, esi
je 0x4622b5
cmp byte [esi], 0
je 0x4622ae
inc eax
cmp byte [eax], 0
jne 0x4622a8
sub eax, esi
and eax, 0x3fffffff
cmp dword [ebx], 0
mov dword [ebp - 4], eax
je 0x4622fa
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x4622ee
jmp 0x4622d0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4e3098]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x4622d0
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x462301
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
push eax
push esi
mov eax, ebx
call int.0040c9c0
add esp, 8
test eax, eax
je 0x4623c7
mov edi, dword [eax + 8]
mov edx, dword [ebp - 8]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.0040ca60
test edi, edi
je 0x4623c7
mov edx, dword [edi + 0x18]
cmp dword [edi + 0x14], edx
jne 0x462380
mov ecx, dword [edi + 4]
mov eax, ecx
test ecx, ecx
je 0x462353
cmp byte [ecx], 0
je 0x46234c
inc eax
cmp byte [eax], 0
jne 0x462346
sub eax, ecx
and eax, 0x3fffffff
push ecx
add edx, 8
push edx
mov esi, eax
call fcn.0040cab0
mov ecx, dword [eax + 0x40]
add eax, 0x40
add esp, 8
cmp ecx, edi
je 0x462379
lea esp, [esp]
lea eax, [ecx + 0x20]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x462370
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 8]
push eax
mov ebx, esi
call fcn.00461390
mov eax, dword [edi]
add esp, 4
mov ecx, esi
call fcn.00409080
mov eax, dword [edi + 4]
mov ecx, esi
call fcn.00409080
mov ecx, dword [edi + 0xc]
push ecx
push esi
call fcn.004372f0
mov edi, dword [edi + 0x10]
add esp, 8
call fcn.004449c0
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00409080
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47abe0
Capabilities:
Enumerate process modules
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4224
call fcn.004d9280
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x4000
lea ecx, [ebp - 0x420c]
push 0
push ecx
mov dword [ebp - 0x4218], eax
call fcn.004d29c0
add esp, 0xc
lea edx, [ebp - 0x4220]
push edx
push 0x4000
lea eax, [ebp - 0x420c]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x47ac48
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x4220]
shr eax, 2
xor ecx, ecx
mov dword [ebp - 0x4214], eax
mov dword [ebp - 0x4210], ecx
test eax, eax
je 0x47adae
push ebx
push esi
push edi
lea ebx, [ebx]
mov edi, dword [ebp + ecx*4 - 0x420c]
test edi, edi
je 0x47ad96
mov cx, word [0x4ebfb0]
mov esi, dword [str._unknown_]
mov ebx, dword [0x4ebfac]
push 0xfa
lea edx, [ebp - 0xfe]
push 0
push edx
mov dword [ebp - 0x108], esi
mov dword [ebp - 0x104], ebx
mov word [ebp - 0x100], cx
call fcn.004d29c0
mov ax, word [0x4ebfb0]
push 0xfa
lea ecx, [ebp - 0x202]
push 0
push ecx
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], ebx
mov word [ebp - 0x204], ax
call fcn.004d29c0
add esp, 0x18
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x47ad01
push eax
jmp 0x47ad8a
call fcn.004ca450
test eax, eax
je 0x47ad40
call fcn.004ceee0
cmp eax, 0x13ec
jle 0x47ad40
push 0x104
lea edx, [ebp - 0x20c]
push edx
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameA]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x20c]
call fcn.004841e0
add esp, 4
jmp 0x47ad75
lea eax, [ebp - 0x4224]
push eax
push 4
lea ecx, [ebp - 0x421c]
push ecx
push esi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x47ad89
mov eax, dword [ebp - 0x421c]
push 0x104
lea edx, [ebp - 0x108]
push edx
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0
push edi
call dword [ebp - 0x4218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4214]
mov ecx, dword [ebp - 0x4210]
inc ecx
mov dword [ebp - 0x4210], ecx
cmp ecx, eax
jb 0x47ac70
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret 8
Function at 0x47b860
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push esi
push edi
mov dword [ebp - 0x210], 0
je 0x47b8c5
lea eax, [ebp - 0x210]
push str.KERNEL32.DLL
mov dword [ebp - 0x20c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x47b8c5
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b8be
lea ecx, [ebp - 0x20c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x4f8b70], 0x270f
mov edi, eax
mov dword [ebp - 0x20c], edi
jge 0x47b931
test edi, edi
jne 0x47b931
lea edi, [ebp - 0x208]
call fcn.004834a0
push str.GetLastError:
mov esi, edi
call fcn.0047da70
add esp, 4
push str.fileRemoveFile____
mov esi, ebx
call fcn.0047da70
add esp, 4
push 0x4e8d38
mov esi, 0x4e8d38
call fcn.0047da70
mov edi, dword [ebp - 0x20c]
add esp, 4
cmp dword [0x506e0c], 0
je 0x47b977
lea edx, [ebp - 0x210]
push str.KERNEL32.DLL
mov dword [ebp - 0x20c], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x47b977
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b970
lea ecx, [ebp - 0x20c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x47b990
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x506e0c], 0
push esi
push edi
mov dword [ebp - 0x210], 0
je 0x47b9f5
lea eax, [ebp - 0x210]
push str.KERNEL32.DLL
mov dword [ebp - 0x20c], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x47b9f5
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47b9ee
lea ecx, [ebp - 0x20c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x80
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov edi, eax
mov dword [ebp - 0x20c], edi
test edi, edi
je 0x47ba23
push str.fileRemoveFolder_____SUCCESS
mov esi, ebx
call fcn.0047da70
add esp, 4
cmp dword [0x4f8b70], 0x270f
jge 0x47ba74
test edi, edi
jne 0x47ba74
lea edi, [ebp - 0x208]
call fcn.004834a0
push str.GetLastError:
mov esi, edi
call fcn.0047da70
add esp, 4
push str.fileRemoveFolder____
mov esi, ebx
call fcn.0047da70
add esp, 4
push 0x4e8d38
mov esi, 0x4e8d38
call fcn.0047da70
mov edi, dword [ebp - 0x20c]
add esp, 4
cmp dword [0x506e0c], 0
je 0x47baba
lea edx, [ebp - 0x210]
push str.KERNEL32.DLL
mov dword [ebp - 0x20c], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x47baba
push str.Wow64RevertWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47bab3
lea ecx, [ebp - 0x20c]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
Function at 0x47bd50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x49c
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0x80
lea edx, [ebp - 0x8c]
mov ecx, 5
mov dword [ebp - 0x494], eax
call fcn.004ca1e0
add esp, 4
lea ecx, [ebp - 0x490]
push ecx
lea edx, [ebp - 0x8c]
push edx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x47bddb
mov edx, dword [ebp - 0x490]
lea eax, [ebp - 0x498]
push eax
lea ecx, [ebp - 0x28c]
push ecx
push 0
push edx
mov dword [ebp - 0x498], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x47bded
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x490]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0x28c]
push edx
call edi
xor esi, esi
xor edx, edx
test eax, eax
jle 0x47be47
mov cl, byte [ebp + edx - 0x28c]
cmp cl, 0x22
je 0x47be25
mov byte [ebp + esi - 0x48c], cl
inc esi
cmp cl, 0x2d
je 0x47be31
inc edx
cmp edx, eax
jl 0x47be11
jmp 0x47be39
mov byte [ebp + esi - 0x48e], 0
test esi, esi
jle 0x47be47
mov byte [ebp + esi - 0x48d], 0
jmp 0x47be4e
mov byte [ebp - 0x48c], 0
lea eax, [ebp - 0x48c]
push eax
call edi
test eax, eax
je 0x47be6d
mov ecx, dword [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x48c]
jmp 0x47bf10
push 0x80
lea edx, [ebp - 0x8c]
mov ecx, 0xc
call fcn.004ca1e0
push 0x200
lea edx, [ebp - 0x8c]
push 0x4e2d04
push edx
lea ecx, [ebp - 0x28c]
mov edx, CreateStatusWindowA
call fcn.004bff10
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
call edi
cmp byte [ebp + eax - 0x28d], 0x3b
lea eax, [ebp + eax - 0x28d]
jne 0x47bec3
mov byte [eax], 0
mov edx, 0x104
lea eax, [ebp - 0x28c]
mov edi, edi
cmp byte [eax], 0
je 0x47bedb
inc eax
dec edx
jne 0x47bed0
jmp 0x47bf03
test edx, edx
je 0x47bf03
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x4ec204
lea ecx, [ebp + ecx - 0x28c]
mov edx, 0x7fffffff
call fcn.004010b0
mov ecx, dword [ebp - 0x494]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.0047cea0
mov ecx, dword [ebp - 8]
add esp, 4
pop edi
xor ecx, ebp
pop esi
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret