joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3e08
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4c3e39
dec al
je 0x4c3e74
dec al
je 0x4c3eb9
dec al
je 0x4c3f22
jmp 0x4c3fac
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4c3fac
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4c3e49
jmp 0x4c3fac
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c3fac
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4c3e84
jmp 0x4c3fac
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c3fac
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4c3ee8
xor ebp, ebp
jmp 0x4c3ef8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4c3f01
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c3ec9
jmp 0x4c3fac
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4c3fac
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4c3f7b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004c182c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4c3f36
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ce054
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4f3ddc
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4ce076
shr eax, 1
xor eax, 0xedb88320
jmp 0x4ce078
shr eax, 1
dec edx
jne 0x4ce064
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4ce05d
mov byte [0x4f41dc], 1
pop esi
pop ebx
ret

Function at 0x4ce094
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4f41dc], 0
jne 0x4ce0ae
call fcn.004ce054
mov eax, edi
dec eax
test eax, eax
jl 0x4ce0d6
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f3ddc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4ce0b8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4d0ac8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4d0b62.0
jmp dword [ecx*4 + 0x4d0afb]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4d0b2d
sub dl, 8
je 0x4d0b3c
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0774
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d07cc
jmp case.0x4d0b62.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4d0b62.0
movzx ecx, byte [ecx + 0x4d0b69]
jmp dword [ecx*4 + 0x4d0b7a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0878
jmp case.0x4d0b62.0
cmp dl, 3
jne 0x4d0ba7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d08cc
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0888
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0910
jmp case.0x4d0b62.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4d0bd2
sub dl, 8
je 0x4d0bde
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d093c
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d09a8
jmp case.0x4d0b62.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4d0bfd
sub dl, 8
je 0x4d0c09
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0a64
jmp case.0x4d0b62.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x4d0a8c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
mov esi, edx
add esi, dword [eax + 0x44c]
mov dword [ebp - 0x10], esi
mov esi, ecx
test esi, esi
jb 0x4d0cad
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004cfc80
test eax, eax
je 0x4d0cad
mov eax, ebx
call fcn.004d0cb8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x4d0c46
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d0cb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4d0ceb
dec al
je 0x4d0d26
dec al
je 0x4d0d6b
dec al
je 0x4d0dda
jmp 0x4d0e69
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4d0e69
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4d0cfb
jmp 0x4d0e69
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d0e69
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4d0d36
jmp 0x4d0e69
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d0e69
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jae 0x4d0d9b
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x4d0daf
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
add eax, dword [ebp - 8]
sar eax, 1
jns 0x4d0db9
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4d0d7b
jmp 0x4d0e69
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4d0e69
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4d0e37
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [ebp - 8], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [ebp - 0xc], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [ebp - 4], edx
movzx ecx, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 8]
pop edx
call fcn.004ce0e0
add al, byte [ebp - 4]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4d0df0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e1ce4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4e1cfd
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4e1cf6
mov edx, esp
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp byte [eax], 0xaa
jne 0x4e1d62
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 1]
mov ecx, edx
sub ecx, 2
cmp eax, ecx
jne 0x4e1d62
xor ecx, ecx
xor eax, eax
mov esi, edx
sub esi, 3
test esi, esi
jl 0x4e1d3d
inc esi
mov edi, dword [ebp - 4]
movzx edx, byte [edi]
add cl, dl
xor al, dl
inc edi
dec esi
jne 0x4e1d32
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
movzx ebx, dl
mov esi, dword [ebp - 4]
cmp cl, byte [esi + ebx]
jne 0x4e1d62
mov ecx, dword [ebp - 4]
movzx edx, dl
mov ecx, dword [ebp - 4]
cmp al, byte [ecx + edx + 1]
jne 0x4e1d62
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4e1d78
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
xor ecx, ecx
xor eax, eax
mov esi, dword [ebp + 8]
sub esi, 3
test esi, esi
jl 0x4e1d9f
inc esi
mov edi, dword [ebp - 4]
movzx edx, byte [edi]
add cl, dl
xor al, dl
inc edi
dec esi
jne 0x4e1d94
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov byte [edx + ebx - 2], cl
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [edx + ecx - 1], al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x404e0b
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x85c
mov eax, 0x44054b
call fcn.00427c0a
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
mov edi, ecx
call fcn.00428f40
add esp, 0xc
xor eax, eax
push esi
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.00428f40
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
mov ebx, 0x445ec0
xor ecx, ecx
call fcn.0040baa8
lea eax, [ebp - 0x830]
push eax
mov ebx, str.cachedump
xor ecx, ecx
call fcn.0040baa8
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40505d
xor eax, eax
push esi
mov word [ebp - 0x420], ax
xor ebx, ebx
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.00428f40
add esp, 0xc
push 1
push ebx
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.client_log.zip
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00428f40
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.client_log
lea eax, [ebp - 0x218]
push eax
call edi
lea esi, [ebp - 0x218]
call fcn.0040b588
mov eax, esi
push eax
lea ebx, [ebp - 0x628]
call fcn.0040b891
lea eax, [ebp - 0x84c]
push eax
call fcn.00405970
mov eax, esi
xor ebx, ebx
push eax
lea esi, [ebp - 0x868]
mov dword [ebp - 4], ebx
call fcn.00401600
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x838]
mov ecx, dword [ebp - 0x84c]
push eax
push ecx
mov eax, esi
push eax
lea edi, [ebp - 0x84c]
call fcn.004059d8
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.0040186b
lea eax, [ebp - 0x830]
push eax
lea esi, [ebp - 0x868]
call fcn.00401600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x838]
mov ecx, dword [ebp - 0x84c]
push eax
push ecx
mov eax, esi
push eax
call fcn.004059d8
push ebx
push 1
mov byte [ebp - 4], bl
call fcn.0040186b
lea ecx, [ebp - 0x868]
call fcn.0041b6cc
push eax
mov eax, edi
mov byte [ebp - 4], 3
call fcn.004059bf
push ebx
push 1
lea esi, [ebp - 0x868]
mov byte [ebp - 4], bl
call fcn.0040186b
lea ecx, [ebp - 0x868]
call fcn.0041b745
push eax
mov eax, edi
mov byte [ebp - 4], 4
call fcn.004059bf
push ebx
push 1
lea esi, [ebp - 0x868]
mov byte [ebp - 4], bl
call fcn.0040186b
mov ecx, edi
lea ebx, [ebp - 0x420]
call fcn.004214f0
test eax, eax
jne 0x405027
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, ebx
call fcn.0040d1f0
jmp 0x40503b
push eax
push 0x445f18
push 0
xor edi, edi
xor esi, esi
call fcn.0040bb4c
add esp, 0xc
lea esi, [ebp - 0x218]
call fcn.0040ba23
lea edi, [ebp - 0x84c]
call fcn.00405a61
push dword [ebp - 0x84c]
call fcn.0042699b
pop ecx
call fcn.00427c8d
ret
Function at 0x40575a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x11bc
call fcn.00432340
mov eax, dword [0x451070]
xor eax, esp
mov dword [esp + 0x11b8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push str.GlobalA51BB395_ECF3_4294_9A75_995BAB94ED74
mov dword [esp + 0x14], edi
call fcn.00404a56
test eax, eax
je 0x405798
push 2
pop eax
jmp 0x405959
cmp dword [0x453cf8], 2
je 0x4057a9
xor eax, eax
inc eax
jmp 0x405959
call fcn.0040c8e3
mov esi, str.17D54393_825C_44ab_B8AB_BC49A255D47B
push esi
call fcn.00404a56
test eax, eax
jne 0x405957
push esi
push 0x12
push 0x12
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 1
push 2
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0x190
lea eax, [esp + 0x34]
push ebx
push eax
call fcn.00428f40
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 3
call dword [sym.imp.libcurl32.dll_curl_global_init]
mov dword [esp], str.SetProcessDPIAware
push str.user32.dll
mov byte [0x454b7a], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
cmp eax, ebx
je 0x40582b
call eax
call fcn.00406069
call fcn.0041cf07
mov eax, dword [0x456104]
cmp eax, ebx
jne 0x405854
push 0x4466a0
call fcn.00409b6e
push eax
call esi
mov dword [0x456104], eax
cmp eax, ebx
je 0x40585c
push 0x401048
push edi
call eax
call fcn.0041fc62
lea ecx, [esp + 0x14]
call fcn.0041b6cc
cmp dword [eax + 0x18], 8
jb 0x405875
mov eax, dword [eax + 4]
jmp 0x405878
add eax, 4
push eax
call fcn.0040842f
push ebx
push 1
lea esi, [esp + 0x1c]
call fcn.0040186b
call fcn.0040bb9a
mov esi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4058e4
push str._X64AgentProtectThread
push 0xe1
push str..poagent.cpp
push str._s._d:_s
lea eax, [esp + 0x1d0]
push 0x800
push eax
call esi
add esp, 0x18
lea eax, [esp + 0x1c0]
push eax
mov eax, dword [0x453d00]
push dword [eax + 4]
push 0x404ca1
call fcn.0040a3c8
push eax
call edi
jmp 0x4058f3
mov eax, dword [0x453d00]
push dword [eax + 4]
xor ebx, ebx
call fcn.00402a77
call fcn.00401523
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041b688
test eax, eax
je 0x405918
push 0
push str.CLIENT_ONLINE
call fcn.00409c17
push str._PobusProtectRoutine
push 0xee
push str..poagent.cpp
push str._s._d:_s
lea eax, [esp + 0x1d0]
push 0x800
push eax
call esi
add esp, 0x18
lea eax, [esp + 0x1c0]
push eax
call fcn.0041d298
push eax
call edi
mov eax, dword [esp + 0x10]
call fcn.004054bb
xor eax, eax
mov ecx, dword [esp + 0x11c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00426962
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405e66
Capabilities:
Get session user name

Disassembly:
push 0x474
mov eax, 0x441cd9
call fcn.00427c0a
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00428f40
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
mov edi, 0x104
push eax
mov dword [ebp - 0x42c], edi
call fcn.00428f40
add esp, 0xc
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x420]
push eax
push 1
mov dword [ebp - 0x424], edi
call sub.Secur32.dll_GetUserNameExW
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push ebx
push ebx
lea eax, [ebp - 0x480]
call fcn.00413a92
lea eax, [ebp - 0x218]
push eax
lea esi, [ebp - 0x448]
mov dword [ebp - 4], 2
call fcn.00401600
mov eax, esi
push eax
lea eax, [ebp - 0x464]
push eax
mov byte [ebp - 4], 3
call fcn.00402096
sub esp, 0x10
mov byte [ebp - 4], 4
mov edx, eax
mov esi, esp
mov dword [ebp - 0x428], esp
call fcn.00412c25
lea eax, [ebp - 0x480]
push eax
mov edx, str.user
mov byte [ebp - 4], 5
call fcn.00413d30
mov edi, eax
mov byte [ebp - 4], 4
call fcn.00412e78
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.00401773
push ebx
push 1
lea esi, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.0040186b
lea eax, [ebp - 0x420]
push eax
lea esi, [ebp - 0x448]
call fcn.00401600
mov byte [ebp - 4], 6
mov eax, esi
push eax
lea eax, [ebp - 0x464]
push eax
call fcn.00402096
sub esp, 0x10
mov byte [ebp - 4], 7
mov edx, eax
mov esi, esp
mov dword [ebp - 0x428], esp
call fcn.00412c25
lea eax, [ebp - 0x480]
push eax
mov edx, 0x4462d4
mov byte [ebp - 4], 8
call fcn.00413d30
mov edi, eax
mov byte [ebp - 4], 7
call fcn.00412e78
push ebx
push 1
lea ecx, [ebp - 0x464]
call fcn.00401773
push ebx
push 1
lea esi, [ebp - 0x448]
mov byte [ebp - 4], 2
call fcn.0040186b
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0x448]
call fcn.00414154
push eax
lea ecx, [ebp - 0x464]
mov byte [ebp - 4], 9
call fcn.004011c2
cmp dword [eax + 0x18], 8
pop ecx
jb 0x406022
mov eax, dword [eax + 4]
jmp 0x406025
add eax, 4
mov esi, eax
mov ebx, str.adDomainUser
mov edi, str.Softwareprojonepodlp_smpcache_
call fcn.0040cdbc
push 0
push 1
lea esi, [ebp - 0x464]
call fcn.0040186b
push 0
push 1
lea ecx, [ebp - 0x448]
call fcn.00401773
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x480]
call fcn.00412df5
call fcn.00427c8d
ret
Function at 0x40842f
Capabilities:
Create thread

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x40844c
push 0x104
push dword [esp + 0xc]
push 0x4552f8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [0x452db4], esi
je 0x408471
push esi
push esi
push esi
push 0x408369
push esi
push esi
mov dword [0x452db4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret 4

Function at 0x40a3c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x40a401
push dword [ebp + 0x10]
push dword [ebp - 4]
push str.thread__d_created:__s
call fcn.00409e5f
add esp, 0xc
mov eax, edi
pop edi
leave
ret 0xc

Function at 0x40a408
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x446808
lea ecx, [ebp - 0x20]
call fcn.0040ccf2
pop ecx
pop ecx
test esi, esi
je 0x40a473
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + eax + 2]
jae 0x40a44c
lea ecx, [ebp - 0x1c]
push ebx
push edi
push eax
push esi
push ecx
call fcn.0040d07f
mov ebx, dword [ebp - 0x1c]
add esp, 0xc
cmp dword [ebp - 8], 8
jae 0x40a465
lea ebx, [ebp - 0x1c]
mov edi, str.Softwareprojonepodlp_volatilelastError_
call fcn.0040cdbc
pop edi
pop ebx
jmp 0x40a490
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40a47f
lea eax, [ebp - 0x1c]
push eax
push str.Softwareprojonepodlp_volatilelastError_
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.0040186b
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00426962
leave
ret
Function at 0x40b246
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
mov eax, dword [0x451070]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa88], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xa84], eax
mov dword [ebp - 0xa80], ecx
mov dword [ebp - 0xa8c], edx
test esi, esi
je 0x40b46b
test eax, eax
jne 0x40b297
test ecx, ecx
je 0x40b46b
movzx eax, word [esi + 2]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp ax, 0x3a
je 0x40b2ed
cmp ax, 0x5c
je 0x40b2ed
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.00428f40
add esp, 0xc
lea eax, [ebp - 0x828]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x828]
push eax
call edi
lea esi, [ebp - 0x828]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40b46b
test al, 0x10
je 0x40b46b
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea eax, [ebp - 0x418]
push eax
call ebx
push 0x446868
lea eax, [ebp - 0x418]
push eax
call edi
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xa90], eax
cmp eax, 0xffffffff
je 0x40b46b
mov dword [ebp - 0xa7c], 1
push 0x44686c
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40b430
push 0x446870
lea eax, [ebp - 0xa4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x40b430
cmp dword [ebp - 0xa78], 0xffffffff
je 0x40b430
push esi
lea eax, [ebp - 0x210]
push eax
call ebx
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x210]
push eax
call edi
test byte [ebp - 0xa78], 0x10
je 0x40b410
cmp dword [ebp - 0xa80], 0
je 0x40b3d4
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa80]
test eax, eax
je 0x40b44d
cmp dword [ebp + 0xc], 0
je 0x40b430
push dword [ebp - 0xa8c]
lea eax, [ebp - 0x210]
push dword [ebp - 0xa80]
push dword [ebp - 0xa88]
push dword [ebp - 0xa84]
push dword [ebp + 0xc]
push eax
call fcn.0040b246
push 2
pop ecx
cmp eax, ecx
jne 0x40b430
mov dword [ebp - 0xa7c], ecx
jmp 0x40b457
cmp dword [ebp - 0xa84], 0
je 0x40b430
push dword [ebp - 0xa88]
lea eax, [ebp - 0x210]
push eax
call dword [ebp - 0xa84]
test eax, eax
je 0x40b44d
lea eax, [ebp - 0xa78]
push eax
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b350
jmp 0x40b457
mov dword [ebp - 0xa7c], 2
push dword [ebp - 0xa90]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0xa7c]
jmp 0x40b46d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426962
leave
ret 0x18