joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x402793
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4027a2
pop dword [ebp - 0x1c]
mov eax, 0x4027a2
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x364ea
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x39ef
xor esi, esi
add esi, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x1c]
mov ebx, 0x69ee8cdd
add ebx, 0x350dafdb
xor dword [ebp - 0x14], 0xc65f9222
mov edx, dword [edi]
xor dword [ebp - 0x18], eax
xor edx, ebx
sub dword [ebp - 0x14], ecx
mov dword [esi], edx
mov dword [ebp - 4], 0xd2ab2d39
add esi, 0xdeaa9582
sub esi, 0xdeaa957e
add edi, 4
loop 0x4027ed
add eax, 0xeaec68b9
sub eax, 0xeaeb8e2a
mov ebx, eax
add eax, 0x6f82efb7
add eax, 0x907d104e
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1000fafa
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000fc60
mov dword [ebp - 0x24], 0x634f
mov dword [ebp - 0x2c], 0x10007a40
cmp dword [ebp - 0x24], 0x6613
jle 0x1000fbb1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
and dword [ebp - 0x18], 0
jmp 0x1000fb56
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7920
jge 0x1000fbb1
and dword [ebp - 0x1c], 0
jmp 0x1000fb6c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x893
jge 0x1000fbaf
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
push dword [ebp - 0x40]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.1002fe3d
jmp 0x1000fb65
jmp 0x1000fb4f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x5f74
jge 0x1000fbcd
push dword [ebp - 0x2c]
call fcn.1004eea6
pop ecx
jmp 0x1000fbe9
or dword [ebp - 4], 0xffffffff
jmp 0x1000fbf3
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1000fc4f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 0
jmp 0x1000fc25
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jg 0x1000fc4d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000fc4b
push 0x188
push 0x25bb
push 0
call dword [sym.imp.USER32.dll_EnableMenuItem]
jmp 0x1000fc1a
jmp 0x1000fc5e
push 0
push 0
push 0x1022
call dword [sym.imp.USER32.dll_SetWindowRgn]
jmp 0x1000fc7d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
push 0xccb
push 0
push dword [ebp - 0x3c]
push 0xdfe
call fcn.1000e98c
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 0x1001480b
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064748
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 0x58], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
push 0x1c
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 8]
push 0xd50
push 0xc1c
call fcn.100444b5
pop ecx
pop ecx
call eax
test eax, eax
je 0x10014986
mov dword [ebp - 0x30], 0xee
mov dword [ebp - 0x2c], 0x7e5e
mov dword [ebp - 0x34], 0x10008294
cmp dword [ebp - 0x2c], 0x7ef4
jle 0x10014918
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
and dword [ebp - 0x20], 0
jmp 0x10014894
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x20cd
jge 0x1001490d
and dword [ebp - 0x24], 0
jmp 0x100148aa
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5eca
jge 0x1001490b
and dword [ebp - 0x18], 0
jmp 0x100148c0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x7422
jge 0x10014909
and dword [ebp - 0x1c], 0
jmp 0x100148d6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x351f
jge 0x10014907
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor ecx, dword [ebp - 0x24]
xor eax, ecx
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov ecx, 0x1060e278
call fcn.1002fe67
jmp 0x100148cf
jmp 0x100148b9
jmp 0x100148a3
jmp 0x1001488d
push 0x896
call dword [sym.imp.USER32.dll_IsZoomed]
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x30]
jne 0x10014929
mov dword [ebp - 0x28], 1
jmp 0x1001492d
and dword [ebp - 0x28], 0
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x11], al
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x7c5d
jge 0x1001494d
mov edx, dword [ebp - 0x34]
mov ecx, 0x1060e278
call fcn.10031911
jmp 0x10014969
or dword [ebp - 4], 0xffffffff
jmp 0x10014973
mov eax, dword [ebp - 0x44]
and eax, 0x101
je 0x10014981
mov byte [ebp - 0x11], 1
mov al, byte [ebp - 0x11]
jmp 0x10014988
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10014e83
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10014ebf
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10014eb0
push 0
push 0x1b1a
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x10014ebd
push 0x1c48
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x10014ee5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push 0
push dword [ebp - 8]
push 0x762d
push 0xcf7
push dword [ebp - 0xc]
call fcn.10014ee9
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10025562
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100256fb
lea eax, [ebp + 0x38]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100256ea
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0xd50
push 0xdea
call fcn.100444b5
pop ecx
pop ecx
call eax
push eax
push 0xd50
push 0xfb8
call fcn.100444b5
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
push 0xac1
lea eax, [ebp - 8]
push eax
push 0xe66
lea eax, [ebp - 4]
push eax
push 1
push 1
push 0x5ce9
push 1
push 0x6e5d
call fcn.1001abb9
add esp, 0x24
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 0x10], 0
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0xd50
push 0x1052
call fcn.100444b5
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0xd50
push 0x1052
call fcn.100444b5
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.10044562
add esp, 0xc
push 0x3a79
lea eax, [ebp - 0x10]
push eax
push 0x21d6
push 0x2486
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0x3ca9
push 1
call fcn.10025429
add esp, 0x24
push 0
push 0x1d24
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002988b
add esp, 0x10
jmp 0x100256f9
push 0x1e2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x10025757
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x48], eax
push 0x670e
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0x7950
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push 0
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.1000e382
add esp, 0x2c
mov esp, ebp
pop ebp
ret
Function at 0x1002583d
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064adb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 0xa96
mov dword [ebp - 0x2c], 0x10009378
cmp dword [ebp - 0x1c], 0xbeb
jle 0x100258c4
and dword [ebp - 0x14], 0
jmp 0x10025883
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x991
jge 0x100258c4
and dword [ebp - 0x18], 0
jmp 0x10025899
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xf12
jge 0x100258c2
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
push dword [ebp - 0x30]
push dword [ebp - 0x34]
mov ecx, 0x1060e278
call fcn.1002fe67
jmp 0x10025892
jmp 0x1002587c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100258f4
lea eax, [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x100258e8
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
jmp 0x100258f2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10025938
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x1894
push 0x79cb
push 0x7695
push dword [ebp - 0x28]
push 0x503f
push 0x6210
push 0x6cca
push 1
push 0x7c96
push 0x231e
call fcn.1000e382
add esp, 0x2c
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x788
jge 0x10025952
mov edx, dword [ebp - 0x2c]
mov ecx, 0x1060e278
call fcn.10031911
jmp 0x1002596e
or dword [ebp - 4], 0xffffffff
jmp 0x10025978
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10026965
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x100269b2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push 1
push 0x4107
push 0x308b
push dword [ebp - 4]
push dword [ebp - 8]
push 0x457f
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.100269ee
add esp, 0x20
jmp 0x100269ea
lea eax, [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x100269e2
push 0x81
push 0
push 0x268c
push 0x93e
push 0
push 0x1ad1
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
jmp 0x100269ea
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret
Function at 0x10027dac
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10027de8
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10027dd7
push 0x65b
call dword [sym.imp.USER32.dll_IsIconic]
jmp 0x10027de6
push 0x1e2d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x10027e0e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push 1
push dword [ebp - 0xc]
push 0x4a1c
push 0x3acc
call fcn.10027ab3
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10028f2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10028f6f
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10028f58
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x10028f6d
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x9986e3e4
jmp 0x10028f8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push 0x65a5
push 0
push 0x458b
push dword [ebp - 0x14]
call fcn.10014d8c
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10040d7a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006511d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0x6cb0
mov dword [ebp - 0x30], 0x1000b980
cmp dword [ebp - 0x24], 0x6f81
jle 0x10040e6e
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
and dword [ebp - 0x14], 0
jmp 0x10040dd6
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x17e3
jge 0x10040e6e
and dword [ebp - 0x18], 0
jmp 0x10040df0
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x41dd
jge 0x10040e69
and dword [ebp - 0x1c], 0
jmp 0x10040e06
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x34dd
jge 0x10040e67
and dword [ebp - 0x20], 0
jmp 0x10040e1c
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2c41
jge 0x10040e65
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.1000db90
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.1002fe47
push eax
call fcn.1004eea6
pop ecx
lea ecx, [ebp - 0x50]
call fcn.1002fe3d
jmp 0x10040e15
jmp 0x10040dff
jmp 0x10040de9
jmp 0x10040dcf
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x69e2
jge 0x10040e8a
push dword [ebp - 0x30]
call fcn.1004eea6
pop ecx
jmp 0x10040ea6
or dword [ebp - 4], 0xffffffff
jmp 0x10040eb0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x28]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004c2bb
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006548a
call fcn.10064168
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x4e2b
cmp dword [ebp - 0x1c], 0x5069
push edi
mov dword [ebp - 0x10], esp
jle 0x1004c335
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_UnionRect]
xor esi, esi
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], 0x25e4
mov dword [ebp - 0x14], eax
and eax, edi
mov ecx, 0x1060e278
xor eax, esi
cdq
push edx
push eax
call fcn.1002fe67
mov eax, dword [ebp - 0x14]
add eax, ebx
dec dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jne 0x1004c2fc
inc ebx
cmp ebx, 0x5812
jl 0x1004c2f0
inc edi
cmp edi, 0x5fdf
jl 0x1004c2ee
inc esi
cmp esi, 0x590c
jl 0x1004c2ec
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x4d70
jge 0x1004c351
mov edx, 0x1000c654
mov ecx, 0x1060e278
call fcn.10031911
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10060635
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b750]
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.100527d8
mov dword [ebp - 0x14], eax
cmp dword [0x1060f2dc], esi
jne 0x10060728
push 0x800
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100606b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10060808
push esi
push esi
push 0x10007510
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10060808
push 0x10007528
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10060808
push eax
call ebx
push 0x10007534
push edi
mov dword [0x1060f2dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007544
push edi
mov dword [0x1060f2e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007558
push edi
mov dword [0x1060f2e4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060f2ec], eax
test eax, eax
je 0x10060725
push 0x10007574
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1060f2e8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006074d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10060740
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10060762
push 4
pop eax
jmp 0x1006080a
cmp dword [ebp - 0x14], esi
je 0x10060762
push dword [0x1060f2dc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10060747
mov eax, dword [0x1060f2e8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100607c0
cmp dword [0x1060f2ec], edi
je 0x100607c0
push eax
call ebx
push dword [0x1060f2ec]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100607c0
test eax, eax
je 0x100607c0
call ecx
test eax, eax
je 0x100607b5
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 0x100607b5
test byte [ebp - 8], 1
jne 0x100607c0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100607f0
mov eax, dword [0x1060f2e0]
cmp eax, edi
je 0x100607ed
push eax
call ebx
test eax, eax
je 0x100607ed
call eax
mov esi, eax
test esi, esi
je 0x100607ed
mov eax, dword [0x1060f2e4]
cmp eax, edi
je 0x100607ed
push eax
call ebx
test eax, eax
je 0x100607ed
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1060f2dc]
call ebx
test eax, eax
je 0x10060808
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006080a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004fcec
mov esp, ebp
pop ebp
ret
Function at 0x79d734
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x79d73a
pop ebp
sub ebp, 6
sub ebp, 0x39d734
jmp 0x79d798
jmp 0x79d7a1
mov eax, 0x39d734
add eax, ebp
add eax, 0x93
mov ecx, 0x614
mov edx, 0xfd5b6561
xor byte [eax], dl
inc eax
dec ecx
jne 0x79d7b8
jmp 0x79d7cb
or esp, dword [ecx]
or dword [ecx + 0x71], esp
popal
popal
or dword [ecx - 0x53], esp
dec ebp
popal
push edx
mov eax, dword [0xa5f49e31]
rcl dword [ecx + 0x61], 0x31
ljmp 0x6161
Function at 0x402954
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x48d030], 0x8088405
inc edx
mov dword [0x48d030], edx
mul edx
mov eax, edx
ret

Function at 0x419a4c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x419a52
ret

Function at 0x44f8c4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x48d768
mov eax, esi
mov edx, 8
test al, 1
je 0x44f8e0
shr eax, 1
xor eax, 0xedb88320
jmp 0x44f8e2
shr eax, 1
dec edx
jne 0x44f8d3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x44f8cc
pop esi
ret

Function at 0x44f8f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x48d764], 0
jne 0x44f91b
call fcn.0044f8c4
push 1
push 0x48d764
call fcn.0040589c
mov eax, edi
test esi, esi
je 0x44f946
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x48d768]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x44f921
mov eax, ebx
pop edi
pop esi
pop ebx
ret