joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4780
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
jmp 0x4a4780
push 0xffffffffffffffff
push 0x782f92
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov edi, dword [esp + 0xc4]
mov esi, dword [esp + 0xc8]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], ebx
mov dword [esp + 0x20], edi
mov byte [edi + 4], bl
push 0xf0000020
push 1
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x4a48ce
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4a48c5
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4a48bc
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x38]
push eax
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4a48ae
xor esi, esi
jmp 0x4a4870
movzx edx, byte [esp + esi + 0x30]
push edx
lea eax, [esp + 0x28]
push 0x7b3778
push eax
call fcn.005670fb
lea eax, [esp + 0x30]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a4890
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004021c6
inc esi
cmp esi, 0x10
jl 0x4a4870
jmp 0x4a48dc
push str.Error_getting_hash_param
mov ecx, edi
call fcn.00401b1d
jmp 0x4a48dc
push 0x12
push str.Error_hashing_data
jmp 0x4a48d5
push 0x13
push str.Error_creating_hash
jmp 0x4a48d5
push 0x17
push str.Error_acquiring_context
mov ecx, edi
call fcn.00405920
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00564b24
add esp, 0xb0
ret
Function at 0x4a7cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x783400
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], esi
call fcn.00556aa0
mov byte [ebp - 4], 1
mov edi, edi
cmp esi, 9
jae 0x4a7d4b
lea eax, [esi + esi*8]
mov edx, dword [ebx + eax*4 + 4]
mov edx, dword [edx]
lea ecx, [ebx + eax*4 + 4]
lea eax, [ebp - 0x54]
push eax
call edx
inc esi
jmp 0x4a7d30
push 0x18
mov edi, 0xf
push 0x7b38b8
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.00405920
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00556910
lea ecx, [ebp - 0x54]
mov esi, eax
call fcn.005568f0
lea ecx, [ebp - 0x14]
push ecx
push esi
push eax
lea edx, [ebp - 0x30]
push edx
mov ecx, ebx
call fcn.00406613
cmp dword [ebp - 0x18], 0x10
mov ebx, eax
jb 0x4a7da8
mov eax, dword [ebp - 0x2c]
push eax
invalid
invalid

Function at 0x4a7e50
Capabilities:
Get common file path

Disassembly:
jmp 0x4a7e50
sub esp, 0x210
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x20c], eax
xor eax, eax
push ebp
mov ebp, dword [esp + 0x218]
mov dword [esp + 4], 0
mov word [esp + 8], ax
push 0x104
cmp byte [esp + 0x220], al
jne 0x4a7e96
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x4a7ee8
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [esp + 8]
add eax, 0xfffffffe
jmp 0x4a7eb0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4a7eb0
mov ecx, dword [str.SysWOW64]
mov edx, dword [0x7b3904]
mov dword [eax], ecx
mov ecx, dword [0x7b3908]
mov dword [eax + 4], edx
mov edx, dword [0x7b390c]
mov dword [eax + 8], ecx
mov ecx, dword [0x7b3910]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
push esi
push edi
lea edi, [esp + 0x10]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a7ef1
mov edx, dword [0x7b3914]
mov dword [edi], edx
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4a7f10
mov ecx, 0xf
mov esi, 0x7b3918
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], 0
mov word [ebp + 4], ax
lea eax, [esp + 0x10]
pop edi
lea edx, [eax + 2]
pop esi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a7f47
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebp
call fcn.00405ef2
mov ecx, dword [esp + 0x210]
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00564b24
add esp, 0x210
ret 8
Function at 0x4a92d0
Capabilities:
Get common file path

Disassembly:
jmp 0x4a92d0
push 0xffffffffffffffff
push 0x783738
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
mov ecx, 7
mov esi, str.KeepMyFamilySecureProxy.log
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea eax, [esp + 0x50]
push eax
push 0x104
mov dword [esp + 0x168], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x50]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a9350
sub eax, edx
push eax
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405920
lea eax, [esp + 0x34]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a9370
sub eax, edx
push eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.004021c6
push 0x38
call fcn.005645f4
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x160], 1
cmp eax, ebx
je 0x4a93ab
mov ecx, eax
call fcn.0054c3f0
jmp 0x4a93ad
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x164], bl
mov dword [ebp + 0x10], eax
call fcn.00549860
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.0054c540
cmp dword [esp + 0x30], 0x10
jb 0x4a93e1
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00564155
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.00564b24
add esp, 0x150
ret
Function at 0x4ab390
Capabilities:
Get session user name

Disassembly:
jmp 0x4ab390
push 0xffffffffffffffff
push 0x783c19
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24c]
mov dword [esp + 8], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
mov dword [esp + 0x10], esi
mov word [esi + 4], ax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x34]
push edx
push 2
mov dword [esp + 0x250], eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0x104
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x4ab458
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0040655f
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov dword [esp + 0x250], 1
call fcn.00406f1e
cmp dword [esp + 0x2c], 8
jb 0x4ab458
mov edx, dword [esp + 0x18]
push edx
call fcn.00564155
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00564b24
add esp, 0x240
ret 4
Function at 0x4ab4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4ab4b0
push 0xffffffffffffffff
push 0x783c78
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov esi, dword [esp + 0xc4]
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x4ab6f9
cmp word [esi + 0x1c], bx
je 0x4ab6f9
push 0x7b4c48
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call fcn.00403706
push 0x2b
mov edi, 0xf
push str.http:__www.keepmyfamilysecure.com_test.html
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405920
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x7b3a8b
mov byte [esp + 0xe0], 1
mov byte [ecx + 4], bl
call fcn.00405920
movzx eax, word [esi + 0x1c]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x70], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push esi
mov byte [esp + 0x104], 2
mov byte [ecx + 4], bl
call fcn.00403fb2
mov esi, dword [esp + 0x104]
push esi
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push ebx
lea eax, [esp + 0x88]
push eax
push ebx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xb4]
push edx
mov byte [esp + 0x11c], 3
call fcn.00408a71
mov ecx, eax
mov byte [esp + 0x11c], 1
call fcn.00407e23
cmp dword [esp + 0x30], 0x10
jb 0x4ab5eb
mov eax, dword [esp + 0x1c]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x50], 8
mov byte [esp + 0xbc], 6
jb 0x4ab613
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00564155
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp dword [esp + 0x6c], ebx
je 0x4ab641
cmp dword [esp + 0x70], 0x10
jb 0x4ab6f9
mov eax, dword [esp + 0x5c]
push eax
jmp 0x4ab6f1
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x4ab6e5
cmp dword [esp + 0x10], ebx
je 0x4ab6e5
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
add esi, 0x64
push esi
call eax
test eax, eax
je 0x4ab674
lea ecx, [esp + 0x58]
call fcn.00402ed7
jmp 0x4ab6f9
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.00408a71
mov ecx, eax
call fcn.0040160e
cmp dword [esp + 0x88], ebx
jne 0x4ab6dc
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0xa4]
cmp eax, 4
jne 0x4ab6dc
push eax
push 0x7b4c78
push ebx
lea ecx, [esp + 0xa4]
call fcn.004067e4
push eax
call fcn.0056748b
add esp, 0xc
test eax, eax
jne 0x4ab6dc
lea ecx, [esp + 0x74]
call fcn.00407d4c
lea ecx, [esp + 0x58]
call fcn.00402ed7
mov al, 1
jmp 0x4ab6fb
lea ecx, [esp + 0x74]
call fcn.00407d4c
cmp dword [esp + 0x70], 0x10
jb 0x4ab6f9
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00564155
add esp, 4
xor al, al
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00564b24
add esp, 0xb0
ret
Function at 0x4b5ae0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x4b5ae0
push 0xffffffffffffffff
push 0x784c48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
jge 0x4b5bca
jmp 0x4b5b30
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 0x10
mov ecx, dword [ebp + eax*4 - 8]
lea eax, [ebp + eax*4]
mov dword [esp + 0x14], ecx
jb 0x4b5b51
mov edx, dword [eax - 0x18]
jmp 0x4b5b54
lea edx, [eax - 0x18]
mov ebx, dword [eax + 0x14]
cmp ebx, ecx
jae 0x4b5b5d
mov ecx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x4b5b68
mov eax, dword [eax + 4]
jmp 0x4b5b6b
add eax, 4
push ecx
push edx
push eax
call fcn.004060b9
add esp, 0xc
test eax, eax
jne 0x4b5b8d
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x4b5b8f
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x4b5b90
dec esi
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00403fb2
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x34]
jl 0x4b5b30
mov ebx, dword [esp + 0x34]
cmp esi, ebx
jne 0x4b5bf3
push 0xffffffffffffffff
lea edx, [ebx*8]
sub edx, ebx
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.00403fb2
lea edi, [ebx - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x5c]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.00403fb2
mov eax, dword [esp + 0x34]
push eax
push edi
push ebp
call fcn.004035f3
add esp, 0x28
cmp dword [esp + 0x50], 0x10
jb 0x4b5c3f
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00564155
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4ba940
Capabilities:
Check os version

Disassembly:
jmp 0x4ba940
sub esp, 0xa0
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [0x85380c]
cmp eax, 0xf
jne 0x4baaa0
push esi
push edi
push 0x9c
lea esi, [eax - 2]
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00566330
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x9c
call edi
test eax, eax
jne 0x4ba9c1
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x94
call edi
test eax, eax
jne 0x4ba9c1
pop edi
lea eax, [esi + 1]
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00564b24
add esp, 0xa0
ret
mov eax, dword [esp + 0x18]
mov ecx, 1
sub eax, ecx
je 0x4baa70
sub eax, ecx
jne 0x4baa96
mov eax, dword [esp + 0xc]
cmp eax, 4
ja 0x4ba9e6
lea esi, [ecx + 2]
cmp eax, 5
jne 0x4baa25
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4ba9fb
lea esi, [eax + 4]
jmp 0x4baa96
cmp eax, ecx
jne 0x4baa09
mov esi, 5
jmp 0x4baa96
cmp eax, 2
jne 0x4baa96
xor eax, eax
cmp byte [esp + 0xa2], cl
setne al
add eax, 5
mov esi, eax
jmp 0x4baa96
cmp eax, 6
jne 0x4baa96
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4baa46
xor edx, edx
cmp byte [esp + 0xa2], cl
setne dl
add edx, 0xb
mov esi, edx
jmp 0x4baa96
cmp eax, ecx
jne 0x4baa5d
xor eax, eax
cmp byte [esp + 0xa2], cl
sete al
add eax, 9
mov esi, eax
jmp 0x4baa96
xor edx, edx
cmp byte [esp + 0xa2], cl
setne dl
add edx, 7
mov esi, edx
jmp 0x4baa96
cmp dword [esp + 0xc], 4
jne 0x4baa96
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4baa83
xor esi, esi
jmp 0x4baa96
cmp eax, 0xa
jne 0x4baa8c
mov esi, ecx
jmp 0x4baa96
cmp eax, 0x5a
jne 0x4baa96
mov esi, 2
pop edi
mov dword [0x85380c], esi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.00564b24
add esp, 0xa0
ret
Function at 0x4bad90
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4bad90
push 0xffffffffffffffff
push 0x785208
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
call fcn.004074d7
xor ecx, ecx
mov esi, 0xf
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xc], cl
mov dword [esp + 0x30], ecx
cmp eax, 0xe
ja case.default.0x4bade4
jmp dword [eax*4 + 0x4baeb4]
push str.Windows_95
jmp 0x4bae52
push str.Windows_98
jmp 0x4bae52
push str.Windows_ME
jmp 0x4bae52
push 0x7b58d4
jmp 0x4bae52
push str.Windows_2000
jmp 0x4bae52
push str.Windows_XP
jmp 0x4bae52
push str.Windows_2003
jmp 0x4bae52
push str.Windows_Vista
jmp 0x4bae52
push str.Windows_2008
jmp 0x4bae52
push str.Windows_2008R2
jmp 0x4bae52
push str.Windows_7
jmp 0x4bae52
push str.Windows_8
jmp 0x4bae52
push str.Windows_2012
jmp 0x4bae52
push 0x7b5964
jmp 0x4bae52
push str.Error_getting_OS_type
lea ecx, [esp + 0xc]
call fcn.00401b1d
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
cmp esi, 0x10
jae 0x4bae6c
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x1c]
inc ecx
push ecx
push eax
push 0x868a30
call fcn.00564f70
add esp, 0xc
cmp esi, 0x10
jb 0x4bae92
mov edx, dword [esp + 0xc]
push edx
call fcn.00564155
add esp, 4
mov eax, 0x868a30
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00564b24
add esp, 0x2c
ret

Function at 0x4c38d0
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x4c38d0
push 0xffffffffffffffff
push 0x78573e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov ecx, 0xf
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], eax
mov byte [esi + 4], al
mov dword [esi + 0x34], ecx
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x20], al
mov dword [esi + 0x38], 5
mov dword [esi + 0x54], 7
mov dword [esi + 0x50], eax
mov word [esi + 0x40], ax
lea ecx, [esi + 0x58]
mov byte [esp + 0x14], 2
call fcn.0040771b
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4c4ea0
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4c4ea0
sub esp, 0x12c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x13c]
xor ebx, ebx
push 0x124
lea eax, [esp + 0x14]
push ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.00566330
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c4f00
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00564b24
add esp, 0x12c
ret
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4c4f4e
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, edi
lea edx, [esp + 0x34]
push edi
push edx
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c4f3a
call ebp
cmp dword [esp + 0x18], eax
jne 0x4c4f4b
lea eax, [esp + 0x10]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c4f20
jmp 0x4c4f4d
mov bl, 1
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov al, bl
pop ebx
xor ecx, esp
call fcn.00564b24
add esp, 0x12c
ret

Function at 0x4c4f70
Capabilities:
Enumerate processes
Terminate process

Disassembly:
jmp 0x4c4f70
sub esp, 0x134
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x138]
push esi
push 0x124
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.00566330
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
cmp esi, 0xffffffff
je 0x4c5042
push ebp
lea edx, [esp + 0x10]
push edx
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4c503e
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c502d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x4c502d
push ecx
push 0
push 1
call edi
mov esi, eax
test esi, esi
je 0x4c5029
push 0
push esi
call ebx
push esi
call ebp
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c4ff0
pop edi
pop ebx
push esi
call ebp
pop ebp
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
call fcn.00564b24
add esp, 0x134
ret
Function at 0x4c5370
Capabilities:
Enumerate processes

Disassembly:
jmp 0x4c5370
sub esp, 0x234
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0x124
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], 0
call fcn.00566330
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x4c53ce
xor al, al
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00564b24
add esp, 0x234
ret
push ebx
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x128
xor bl, bl
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4c5439
jmp 0x4c53f0
xor eax, eax
mov cl, byte [esp + eax + 0x30]
mov byte [esp + eax + 0x134], cl
inc eax
test cl, cl
jne 0x4c53f2
cmp byte [esp + 0x240], cl
jne 0x4c542a
lea edx, [esp + 0x134]
push edx
push 0x7b76f4
call fcn.005687ea
add esp, 8
test eax, eax
jne 0x4c542a
test bl, bl
mov bl, 1
jne 0x4c543d
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4c53f0
mov bl, byte [esp + 0xb]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
mov al, bl
pop ebx
pop esi
xor ecx, esp
call fcn.00564b24
add esp, 0x234
ret

Function at 0x4c56e0
Capabilities:
Get common file path

Disassembly:
jmp 0x4c56e0
push 0xffffffffffffffff
push 0x7858f6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
mov edi, dword [esp + 0x134]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
push 0x104
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea eax, [esp + 0x18]
mov dword [esp + 0x128], ebx
mov dword [esp + 0x10], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4c5765
sub eax, edx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00405920
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.00401e38
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00564b24
add esp, 0x11c
ret