joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002d26c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006009e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002d2cf
lea eax, [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1002d2c0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
and dword [eax], 0
jmp 0x1002d2ca
push 0
push 0x3c
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
jmp 0x1002d3e7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x1002d3df
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x1002d3dd
mov dword [ebp - 0x20], 0x35fd
mov dword [ebp - 0x44], 0x10009a98
cmp dword [ebp - 0x20], 0x3646
jle 0x1002d384
and dword [ebp - 0x14], 0
jmp 0x1002d327
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x37f4
jge 0x1002d384
and dword [ebp - 0x18], 0
jmp 0x1002d33d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x288d
jge 0x1002d382
and dword [ebp - 0x1c], 0
jmp 0x1002d353
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a24
jge 0x1002d380
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
mov ecx, 0x106081f8
call fcn.1000f7b3
jmp 0x1002d34c
jmp 0x1002d336
jmp 0x1002d320
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1603
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x34f1
jge 0x1002d3b7
mov edx, dword [ebp - 0x44]
mov ecx, 0x106081f8
call fcn.1001125d
jmp 0x1002d3d3
or dword [ebp - 4], 0xffffffff
jmp 0x1002d3dd
jmp 0x1002d3e7
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10038f35
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006030b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100390d6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10038f92
push 0
call dword [sym.imp.GDI32.dll_GetObjectType]
jmp 0x100390d4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x20], 0xa80
mov dword [ebp - 0x3c], 0x1000a9d8
cmp dword [ebp - 0x20], 0xb25
jle 0x1003905b
and dword [ebp - 0x1c], 0
jmp 0x10038fc6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4a03
jge 0x1003903e
and dword [ebp - 0x14], 0
jmp 0x10038fdc
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3c5a
jge 0x1003903c
and dword [ebp - 0x18], 0
jmp 0x10038ff2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5126
jge 0x1003903a
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
or edx, dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x78]
call fcn.1000cfb0
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.1000f793
push eax
call fcn.1004a046
pop ecx
lea ecx, [ebp - 0x78]
call fcn.1000f789
jmp 0x10038feb
jmp 0x10038fd5
jmp 0x10038fbf
push 0
push 0
push 0
push 0
push 0x1e2e
push 1
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x79e
jge 0x10039077
push dword [ebp - 0x3c]
call fcn.1004a046
pop ecx
jmp 0x10039093
or dword [ebp - 4], 0xffffffff
jmp 0x1003909d
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 0xfffffff6
je 0x100390c8
mov dword [ebp - 0x24], 1
jmp 0x100390cc
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x100390ef
push 0x5cc8
push 1
push 0x5298
push 0x289c
call fcn.10038f1a
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100392b6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006031f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1003942c
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1003931d
push 0
push 0xdcc
push 0
push 0
push 0x787
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1003942a
mov dword [ebp - 0x20], 0x6684
mov dword [ebp - 0x30], 0x1000aaac
cmp dword [ebp - 0x20], 0x6a2b
jle 0x100393a3
and dword [ebp - 0x18], 0
jmp 0x10039341
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2c1d
jge 0x1003939b
and dword [ebp - 0x1c], 0
jmp 0x10039357
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1c0d
jge 0x10039399
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
lea ecx, [ebp - 0x6c]
call fcn.1000cfb0
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1000f793
push eax
call fcn.1004a046
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.1000f789
jmp 0x10039350
jmp 0x1003933a
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x637c
jge 0x100393bf
push dword [ebp - 0x30]
call fcn.1004a046
pop ecx
jmp 0x100393db
or dword [ebp - 4], 0xffffffff
jmp 0x100393e5
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1003940d
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x1003942a
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x40]
call fcn.1000f966
mov dword [eax], 0xfffffff6
jmp 0x10039402
jmp 0x10039451
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
call fcn.1002a9b4
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100410d1
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x10041110
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0x157f
push 0x7a78
push dword [ebp - 0x14]
push 1
call fcn.1004118f
add esp, 0x18
jmp 0x1004118b
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10041140
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1004113e
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x1004118b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1004116e
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 3
jge 0x1004118b
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1000f966
mov dword [eax], 0xba8d7d2a
jmp 0x10041163
mov esp, ebp
pop ebp
ret
Function at 0x10041388
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004141a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100413ca
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100413c8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x10041415
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x100413f8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10041415
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1000f966
mov dword [eax], 0x120d
jmp 0x100413ed
jmp 0x1004149b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10041486
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x1004146a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 1
jge 0x10041484
mov eax, dword [ebp - 0xc]
push dword [eax]
mov ecx, dword [ebp - 0x3c]
call fcn.1000f966
and dword [eax], 0
jmp 0x1004145f
jmp 0x1004149b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [eax], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x1004241b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100424a0
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10042498
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffff0
jmp 0x10042473
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffffff2
jge 0x10042496
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x1004248a
jmp 0x10042496
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
je 0x10042494
jmp 0x10042496
jmp 0x10042468
jmp 0x1004249e
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
jmp 0x100424df
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100424c7
push 0x1a3b
push 0x1a60
push 0x559
call dword [sym.imp.KERNEL32.dll_HeapCreate]
jmp 0x100424df
push 0
push 0xdcc
push 0
push 0
push 0x787
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x10047362
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100605bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100474cc
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100473f2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x48]
mov dword [eax], ecx
jmp 0x100474ca
mov dword [ebp - 0x1c], 0x5798
mov dword [ebp - 0x50], 0x1000ba64
cmp dword [ebp - 0x1c], 0x5813
jle 0x10047463
push 0x4da
call dword [sym.imp.USER32.dll_MessageBeep]
and dword [ebp - 0x14], 0
jmp 0x10047421
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5230
jge 0x10047463
and dword [ebp - 0x18], 0
jmp 0x10047437
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7130
jge 0x10047461
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sar eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x106081f8
call fcn.1000f7b3
jmp 0x10047430
jmp 0x1004741a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x5748
jge 0x10047483
mov edx, dword [ebp - 0x50]
mov ecx, 0x106081f8
call fcn.1001125d
jmp 0x1004749f
or dword [ebp - 4], 0xffffffff
jmp 0x100474a9
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x100474ca
push 0
push 0
push 0x35
push 0x188d
call dword [sym.imp.USER32.dll_GetDlgItemInt]
jmp 0x10047500
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x100474ea
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x10047500
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005b7e5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10065750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1004d978
mov dword [ebp - 0x14], eax
cmp dword [0x1060925c], esi
jne 0x1005b8d8
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1005b865
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1005b9b8
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1005b9b8
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1005b9b8
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1060925c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x10609260], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x10609264], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060926c], eax
test eax, eax
je 0x1005b8d5
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10609268], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1005b8fd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1005b8f0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1005b912
push 4
pop eax
jmp 0x1005b9ba
cmp dword [ebp - 0x14], esi
je 0x1005b912
push dword [0x1060925c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1005b8f7
mov eax, dword [0x10609268]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1005b970
cmp dword [0x1060926c], edi
je 0x1005b970
push eax
call ebx
push dword [0x1060926c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1005b970
test eax, eax
je 0x1005b970
call ecx
test eax, eax
je 0x1005b965
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1005b965
test byte [ebp - 8], 1
jne 0x1005b970
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1005b9a0
mov eax, dword [0x10609260]
cmp eax, edi
je 0x1005b99d
push eax
call ebx
test eax, eax
je 0x1005b99d
call eax
mov esi, eax
test esi, esi
je 0x1005b99d
mov eax, dword [0x10609264]
cmp eax, edi
je 0x1005b99d
push eax
call ebx
test eax, eax
je 0x1005b99d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060925c]
call ebx
test eax, eax
je 0x1005b9b8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1005b9ba
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ae8c
mov esp, ebp
pop ebp
ret
Function at 0x425450
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x804
mov eax, dword [0x42c004]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x81d808]
imul eax, eax, 0x343fd
cmp dword [0x81fc7c], 0x139e
mov dword [0x81d808], eax
jne 0x425491
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
mov eax, dword [0x81d808]
add eax, 0x269ec3
push esi
mov dword [0x81d808], eax
movzx esi, word [0x81d80a]
and esi, 0x7fff
cmp dword [0x81fc7c], 0x8e7
jne 0x4254c6
push 0
lea eax, [esp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x804]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret

Function at 0x425510
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x425524
call fcn.00425450
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x425517
pop esi
cmp ebx, 0x2d
jne 0x42553e
mov dword [0x81fc88], 0xa62e7790
mov dword [0x81fc8c], 0xffffffff
ret

Function at 0x425540
Capabilities:
Create pipe

Disassembly:
mov eax, dword [str.C_k]
sub esp, 0x14
push ebx
mov ebx, dword [0x81fc7c]
push edi
mov edi, dword [0x81d80c]
call fcn.004254e0
cmp dword [0x81fc7c], 0x2f
jne 0x42559a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00425510
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x425880
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00407bd0
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x4258a9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe0f4a
jge 0x425951
cmp dword [0x81fc7c], 0xa5f
jne 0x4258f5
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x818]
push edx
push str.xonatoyuhejigoriramadiguyo
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
cmp dword [ebp - 4], 0x84620b
jne 0x42591a
mov eax, dword [0x42dbd8]
mov dword [0x81fc7c], eax
mov ecx, dword [0x81fc7c]
add ecx, 0xa231
mov dword [0x81fc7c], ecx
cmp dword [0x81fc7c], 0x141
jne 0x42594c
push str.wucusipeyekexe_zelisapecuyozabozecaxufer_miweyumeriwosizupuyubahu_regorekuzet_begazixezibunodumekacefasuhato
lea edx, [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x42f180], 0xec58acac
mov dword [0x42f184], 0xffffffff
jmp 0x4258a0
call fcn.004255b0
jmp dword [0x81d80c]
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4167b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402de2
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
push str.rawio:__s_n
call fcn.004024a2
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0040273a
add esp, 0xc
push 1
call fcn.00403199
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004039c9
mov esp, ebp
pop ebp
ret

Function at 0x401080
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push str.usage:_rawio__flags__n
call fcn.004024a2
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0040273a
add esp, 8
push str.flags:__f_file____filename_n
call fcn.004024a2
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0040273a
add esp, 8
push str.________d_device__device_filename_n
call fcn.004024a2
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0040273a
add esp, 8
push str.________o_offset__offset_into_device__default_0__n
call fcn.004024a2
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0040273a
add esp, 8
push str.________l_length__length_to_read_or_write__default_8MB__n
call fcn.004024a2
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0040273a
add esp, 8
push str.________R_________read_from_device_to_file_n
call fcn.004024a2
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0040273a
add esp, 8
push str.________W_________write_to_device_from_file_n
call fcn.004024a2
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0040273a
add esp, 8
push str.________L_________list_available_devices_n
call fcn.004024a2
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0040273a
add esp, 8
push 1
call fcn.00403199
pop ebp
ret