joyce8/EMBER2024-capa huggingface dataset:
Function at 0x76ef00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
mov byte [ebp - 5], 0
push 0
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x76ef6f
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebx + 0x44]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x76ef51
mov ecx, dword [edi]
mov edx, esi
mov eax, ebx
call fcn.0076ef7c
test al, al
je 0x76ef6f
jmp 0x76ef17
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3e5
jne 0x76ef63
mov byte [ebp - 5], 1
jmp 0x76ef6f
cmp eax, 6
je 0x76ef6f
mov eax, ebx
call fcn.0076f1f4
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x76f354
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 8]
add eax, esi
push eax
mov eax, dword [edi + 0x44]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x76f410
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x76f422
cmp eax, 0x3e5
je 0x76f3b8
mov eax, edi
call fcn.0076f430
jmp 0x76f422
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x18]
push eax
push 2
call sub.kernel32.dll_WaitForMultipleObjects
sub eax, 0xffffffff
je 0x76f3fe
dec eax
je 0x76f422
dec eax
je 0x76f3d4
jmp 0x76f407
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0x44]
push eax
call sub.kernel32.dll_GetOverlappedResult
test eax, eax
jne 0x76f410
call sub.kernel32.dll_GetLastError_1
cmp eax, 6
je 0x76f422
mov eax, edi
call fcn.0076f430
jmp 0x76f422
mov eax, edi
call fcn.0076f430
jmp 0x76f422
mov eax, edi
call fcn.0076f430
jmp 0x76f422
sub ebx, dword [ebp - 0x10]
add esi, dword [ebp - 0x10]
test ebx, ebx
ja 0x76f382
mov byte [ebp - 9], 1
movzx eax, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x7727b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x772860
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
push eax
mov cx, 0x33
mov dl, 1
mov eax, dword [0x76ca78]
call fcn.0076cb38
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0076ce8c
mov eax, dword [ebp - 4]
call fcn.0076bcf4
mov dword [ebp - 8], eax
push 0
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.007732f0
mov ebx, eax
cmp byte [ebx + 0xc], 0
jne 0x772830
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0x10]
mov eax, dword [0x76b598]
call fcn.0076b640
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x30]
call fcn.00648688
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00405630
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 4], edx
call fcn.00405630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x772867
lea eax, [ebp - 0xc]
call fcn.00407b9c
ret
Function at 0x79dd08
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
add eax, 0x20
xor ecx, ecx
mov edx, 0x40
call fcn.00404e04
ret

Function at 0x7ba540
Capabilities:
Hash data with md5

Disassembly:
xor edx, edx
mov dword [eax + 0x18], edx
xor edx, edx
mov dword [eax + 0x14], edx
mov dword [eax + 4], 0x67452301
mov dword [eax + 8], 0xefcdab89
mov dword [eax + 0xc], 0x98badcfe
mov dword [eax + 0x10], 0x10325476
add eax, 0x1c
xor ecx, ecx
mov edx, 0x40
call fcn.00404e04
ret

Function at 0x7bae68
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov edi, dword [esp]
xor ebx, ebx
movzx eax, bl
mov byte [esi + eax + 4], bl
inc ebx
test bl, bl
jne 0x7bae7b
mov byte [esi + 0x104], 0
mov byte [esi + 0x105], 0
mov byte [esp + 4], 0
mov byte [esp + 5], 0
xor ebx, ebx
movzx edx, byte [esp + 4]
movzx edx, byte [edi + edx]
movzx eax, bl
movzx ecx, byte [esi + eax + 4]
add edx, ecx
movzx ecx, byte [esp + 5]
add edx, ecx
and edx, 0xff
mov byte [esp + 5], dl
movzx edx, byte [esp + 5]
lea ecx, [esi + edx + 4]
lea edx, [esi + eax + 4]
mov eax, esi
call fcn.007bae58
movzx eax, byte [esp + 4]
inc eax
cdq
idiv ebp
mov byte [esp + 4], dl
inc ebx
test bl, bl
jne 0x7baea1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x7baef4
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov esi, eax
test ecx, ecx
je 0x7bafa2
movzx ebx, byte [esi + 0x104]
movzx eax, byte [esi + 0x105]
mov byte [esp + 4], al
mov dword [esp + 8], edx
mov ebp, ecx
dec ebp
test ebp, ebp
jb 0x7baf91
inc ebp
mov dword [esp], 0
movzx eax, bl
inc eax
and eax, 0xff
mov ebx, eax
movzx edi, bl
movzx eax, byte [esi + edi + 4]
movzx edx, byte [esp + 4]
add eax, edx
and eax, 0xff
mov byte [esp + 4], al
movzx eax, byte [esp + 4]
lea ecx, [esi + eax + 4]
lea edx, [esi + edi + 4]
mov eax, esi
call fcn.007bae58
movzx eax, byte [esi + edi + 4]
movzx edx, byte [esp + 4]
movzx edx, byte [esi + edx + 4]
add eax, edx
and eax, 0xff
mov edx, dword [esp + 8]
mov ecx, dword [esp]
lea ecx, [edx + ecx]
movzx eax, al
movzx eax, byte [esi + eax + 4]
xor byte [ecx], al
inc dword [esp]
dec ebp
jne 0x7baf2a
mov byte [esi + 0x104], bl
movzx eax, byte [esp + 4]
mov byte [esi + 0x105], al
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x7bb94c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
lea eax, [ebp - 4]
call fcn.00407b74
xor eax, eax
push ebp
push 0x7bba1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0xa], 0
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406d50
mov eax, dword [ebp - 8]
test eax, eax
je 0x7bb9a8
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x7bb9a8
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00406be4
test eax, eax
je 0x7bb9b1
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test si, si
jbe 0x7bb9f0
mov ebx, esi
test bx, bx
jbe 0x7bb9f0
mov dx, 1
mov ecx, edx
movzx eax, dx
mov edi, dword [ebp - 8]
movzx eax, byte [edi + eax - 1]
shl eax, cl
mov ecx, eax
and ecx, 0x7fff
and eax, 0x3fff8000
shr eax, 0xf
or ecx, eax
mov eax, ecx
xor word [ebp - 0xa], ax
inc edx
dec bx
jne 0x7bb9c3
xor si, word [ebp - 0xa]
xor si, 0xce4b
mov word [ebp - 0xa], si
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bba22
lea eax, [ebp - 8]
call fcn.004069c8
lea eax, [ebp - 4]
call fcn.0040765c
ret

Function at 0x7bba30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00407b74
xor eax, eax
push ebp
push 0x7bbb53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
and al, 0xff
mov byte [ebp - 9], al
movzx eax, bx
shr eax, 8
and al, 0xff
mov byte [ebp - 0xa], al
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.00406d50
mov eax, dword [ebp - 8]
test eax, eax
je 0x7bba9c
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x7bba9c
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.00406be4
test eax, eax
je 0x7bbaa5
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10
jle 0x7bbab5
mov dword [ebp - 0x10], 0x10
mov edx, dword [ebp - 0x10]
dec edx
test edx, edx
jl 0x7bbacf
inc edx
xor eax, eax
mov ecx, dword [ebp - 8]
movzx ecx, byte [ecx + eax]
mov byte [esi + eax + 8], cl
inc eax
dec edx
jne 0x7bbac0
cmp dword [ebp - 0x10], 0x10
jge 0x7bbafa
mov edx, 0xf
sub edx, dword [ebp - 0x10]
test edx, edx
jl 0x7bbafa
inc edx
xor eax, eax
mov ecx, 0x8dfda0
movzx ebx, byte [ecx]
mov edi, dword [ebp - 0x10]
add edi, eax
mov byte [esi + edi + 8], bl
inc eax
inc ecx
dec edx
jne 0x7bbae9
xor eax, eax
mov edx, eax
add edx, edx
movzx ecx, byte [ebp - 9]
xor byte [esi + edx + 8], cl
movzx ecx, byte [ebp - 0xa]
xor byte [esi + edx + 9], cl
inc eax
cmp eax, 8
jne 0x7bbafc
xor eax, eax
movzx edx, byte [esi + eax + 8]
mov ecx, edx
add ecx, ecx
add ecx, ecx
movzx edx, dl
shr edx, 6
or cl, dl
mov byte [esi + eax + 8], cl
inc eax
cmp eax, 0x10
jne 0x7bbb18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7bbb5a
lea eax, [ebp - 8]
call fcn.004069c8
lea eax, [ebp - 4]
call fcn.0040765c
ret
Function at 0x7be304
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x7be317
add esp, 0xfffffff0
call fcn.00405b5c
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor edx, edx
mov eax, edi
call fcn.00405600
xor eax, eax
push ebp
push 0x7be38c
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x7bc518]
call fcn.007bc764
mov dword [edi + 4], eax
mov byte [edi + 0xd], 6
mov byte [edi + 0xc], 0
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x28], eax
mov esi, 0x14
mov dword [edi + 0x30], esi
push esi
lea eax, [edi + 0x2c]
mov ecx, 1
mov edx, dword [0x7bc66c]
call fcn.004097ac
add esp, 4
xor eax, eax
mov dword [edi + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7be3a9
mov eax, edi
test bl, bl
je 0x7be3be
call fcn.00405bb4
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x7cab5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x7cab6e
add esp, 0xfffffff0
call fcn.00405b5c
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
lea eax, [ebp - 4]
call fcn.00407b74
xor eax, eax
push ebp
push 0x7cac29
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00405600
mov byte [esi + 4], 0x50
mov byte [esi + 5], 0x4b
mov byte [esi + 6], 3
mov byte [esi + 7], 4
mov dword [esi + 0x30], 0x1e
mov word [esi + 0xa], 0x14
mov word [esi + 0xc], 0
cmp byte [ebp + 0x10], 0
je 0x7cabc5
mov word [esi + 0xe], 8
jmp 0x7cabcb
mov word [esi + 0xe], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416dd8
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi + 0x18], eax
xor eax, eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x7cabf6
sub eax, 4
mov eax, dword [eax]
shr eax, 1
mov word [esi + 0x20], ax
mov word [esi + 0x22], 0
lea eax, [esi + 0x24]
mov edx, dword [ebp - 4]
call fcn.00407698
lea eax, [esi + 0x28]
call fcn.0040765c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cac30
lea eax, [ebp - 4]
call fcn.0040765c
ret
Function at 0x7caf20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7cb0f4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 1
mov eax, dword [ebx + 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x7caee8]
call fcn.004097ac
add esp, 4
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 8]
call fcn.00441698
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
cmp al, byte [ebx + 4]
jne 0x7cafb2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 1]
cmp al, byte [ebx + 5]
jne 0x7cafb2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 2]
cmp al, byte [ebx + 6]
jne 0x7cafb2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 3]
cmp al, byte [ebx + 7]
je 0x7cafb9
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x10], 1
jne 0x7cb0d0
mov esi, 4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc314
mov word [ebx + 0xa], ax
add esi, 2
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc314
mov word [ebx + 0xc], ax
add esi, 2
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc314
mov word [ebx + 0xe], ax
add esi, 2
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc31c
mov dword [ebx + 0x10], eax
add esi, 4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc31c
mov dword [ebx + 0x14], eax
add esi, 4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc31c
mov dword [ebx + 0x18], eax
add esi, 4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc31c
mov dword [ebx + 0x1c], eax
add esi, 4
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc314
mov word [ebx + 0x20], ax
add esi, 2
mov eax, dword [ebp - 4]
mov edx, esi
call fcn.007cc314
mov word [ebx + 0x22], ax
movzx eax, word [ebx + 0x20]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x7caee8]
call fcn.004097ac
add esp, 4
movzx ecx, word [ebx + 0x20]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0x14]
push eax
movzx ecx, word [ebx + 0x20]
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.007cc324
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x24]
call fcn.00407814
movzx ecx, word [ebx + 0x22]
test cx, cx
jbe 0x7cb0bb
movzx eax, cx
xor edx, edx
push edx
push eax
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 0xc]
add eax, dword [ebx + 0x30]
movzx edx, word [ebx + 0x20]
add eax, edx
movzx edx, word [ebx + 0x22]
add eax, edx
mov dword [ebx + 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cb0fb
lea eax, [ebp - 0x14]
call fcn.004069c8
lea eax, [ebp - 4]
mov edx, dword [0x7caee8]
call fcn.004098cc
ret
Function at 0x7cb378
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x7cb4fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.007cb320
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x7cb338]
call fcn.004097ac
add esp, 4
xor ebx, ebx
lea eax, [esi + 4]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 8]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0xa]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0xc]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0xe]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x10]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x14]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x18]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x1c]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0x20]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0x22]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0x24]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0x26]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
movzx ecx, word [esi + 0x28]
mov edx, ebx
call fcn.007cc2fc
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x2c]
mov edx, ebx
call fcn.007cc308
add ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [esi + 0x30]
mov edx, ebx
call fcn.007cc308
add ebx, eax
lea eax, [ebp - 8]
mov edx, dword [esi + 0x34]
mov ecx, 0
call fcn.00406d50
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.007cc26c
add ebx, eax
mov edx, dword [ebp - 4]
mov ecx, ebx
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7cb505
lea eax, [ebp - 8]
call fcn.004069c8
lea eax, [ebp - 4]
mov edx, dword [0x7cb338]
call fcn.004098cc
ret
Function at 0x7ce178
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x7ce18a
add esp, 0xfffffff0
call fcn.00405b5c
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp + 8]
call fcn.00407b74
xor eax, eax
push ebp
push 0x7ce22e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00405600
mov dl, 1
mov eax, dword [0x77febc]
call fcn.007801bc
mov dword [edi + 0x30], eax
mov dl, 1
mov eax, dword [0x7cc5c0]
call fcn.007cc848
mov dword [edi + 4], eax
mov dl, 1
mov eax, dword [0x7cd314]
call fcn.007cd53c
mov dword [edi + 0x18], eax
mov dl, 1
mov eax, dword [0x7cd314]
call fcn.007cd53c
mov dword [edi + 0x1c], eax
mov dword [edi + 0xc], esi
mov dl, 1
mov eax, dword [0x77fd8c]
call fcn.007801bc
mov dword [edi + 0x34], eax
xor eax, eax
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [edi + 0x2c], eax
mov cl, 1
mov dl, 1
mov eax, dword [0x780080]
call fcn.00780c44
mov dword [edi + 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7ce235
lea eax, [ebp + 8]
call fcn.0040765c
ret

Function at 0x7d86ac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test dl, dl
je 0x7d86be
add esp, 0xfffffff0
call fcn.00405b5c
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp + 8]
call fcn.00407b74
xor eax, eax
push ebp
push 0x7d879e
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00405600
mov word [edi + 0x2a], 0
xor eax, eax
mov dword [edi + 8], eax
xor eax, eax
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x14], esi
xor eax, eax
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x20], eax
mov dl, 1
mov eax, dword [0x77febc]
call fcn.007801bc
mov dword [edi + 0x18], eax
mov word [edi + 0x24], 0
mov word [edi + 0x26], 0
xor eax, eax
mov dword [edi + 0x38], eax
mov word [edi + 0x34], 0x4e4
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x7bbbe0]
call fcn.007bbc90
mov dword [edi + 0xc], eax
mov dl, 1
mov eax, dword [0x7d8070]
call fcn.00405600
mov dword [edi + 0x58], eax
mov dl, 1
mov eax, dword [0x77febc]
call fcn.007801bc
mov dword [edi + 0x60], eax
mov dl, 1
mov eax, dword [0x780080]
call fcn.00780c88
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x6c], 0xffffffff
mov byte [edi + 0x44], 0
lea eax, [edi + 0x48]
xor edx, edx
mov cl, 1
call fcn.00428c74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7d87a5
lea eax, [ebp + 8]
call fcn.0040765c
ret

Function at 0x7f2c50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00407c38
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x7f2c69
test al, 0x10
jne 0x7f2c6d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x7fe814
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.00407b94
xor eax, eax
push ebp
push 0x7fe8c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0xa], 0
mov eax, dword [ebp - 4]
test eax, eax
je 0x7fe85c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x7fe85c
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406bb4
test eax, eax
je 0x7fe865
sub eax, 4
mov eax, dword [eax]
mov word [ebp - 0xc], ax
cmp word [ebp - 0xc], 0
jbe 0x7fe8ad
movzx esi, word [ebp - 0xc]
test si, si
jbe 0x7fe89f
mov bx, 1
movzx edi, bx
mov eax, dword [ebp - 4]
movzx edx, word [eax + edi*2 - 2]
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.007fe7e0
movzx eax, ax
xor word [ebp - 0xa], ax
inc ebx
dec si
jne 0x7fe87d
movzx eax, word [ebp - 0xc]
xor word [ebp - 0xa], ax
xor word [ebp - 0xa], 0xce4b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7fe8ca
lea eax, [ebp - 4]
call fcn.00407b9c
ret
Function at 0x814494
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x8145d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x8145e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
mov ebx, eax
test ebx, ebx
jne 0x8145b8
mov dl, 1
mov eax, dword [0x43497c]
call fcn.00441618
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x8145b1
push dword fs:[edx]
mov dword fs:[edx], esp
xor esi, esi
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00407f38
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00407f38
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.00407c38
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00407c38
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueW
mov ebx, eax
test ebx, ebx
jne 0x814565
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00407f38
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
jmp 0x814574
cmp ebx, 0x103
je 0x814574
call fcn.004062b8
jmp 0x8145b8
test ebx, ebx
je 0x8144f8
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xa0]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8145b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x1c], edx
call fcn.00405630
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8145da
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ba4
ret

Function at 0x814924
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x8149aa
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW_1
mov ebx, eax
test ebx, ebx
jne 0x814965
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00407bac
jmp 0x814994
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407f38
push ebx
mov eax, dword [ebp - 4]
call fcn.00407c38
push eax
push edi
push esi
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, dword [ebp + 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040839c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8149b1
lea eax, [ebp - 4]
call fcn.00407b9c
ret