joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5df770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x636259
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x68b740]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
mov eax, dword [esp + 0x74]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 0
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
lea ecx, [esp + 0xc]
je 0x5df918
mov edi, dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
push esi
push 0xf4240
push str.MinBasePrice
push str.Main
call edi
lea ecx, [esi + 4]
push ecx
push 0x2710
push str.AddPricePerTime
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 8]
push edx
push 5
push str.MaxPrearrangeRounds
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0xc]
push eax
push 0x2710
push str.FeePerRound
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x10]
push ecx
push 4
push str.ItemsPerRound
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x14]
push edx
push 0xc
push str.TaxRate
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x18]
push eax
push 0x1e
push str.CountDown
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x1c]
push ecx
push 0xa
push str.MaxLadderCount
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x20]
push edx
push 0x20
push str.MaxAuctionPerCity
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea eax, [esi + 0x24]
push eax
push 3
push str.MaxAuctionPerPlayer
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esi + 0x28]
push ecx
push 0xa
push str.MaxBidderPerItem
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea edx, [esi + 0x2c]
push edx
push 0xe10
push str.ResultKeepTime
push str.Main
lea ecx, [esp + 0x1c]
call edi
add esi, 0x30
push esi
push 5
push str.AuctionTime
push str.Main
lea ecx, [esp + 0x1c]
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x64
ret 4
Function at 0x611c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
push esi
mov esi, dword [esp + 0x10]
mov ebx, esi
and ebx, 3
shr esi, 2
push edi
mov edi, dword [esp + 0x18]
je 0x611c85
lea ecx, [ecx]
sub esi, 1
lea eax, [ecx + esi]
xor edx, edx
div dword [0x68b71c]
add edi, 4
mov ecx, dword [edx*4 + 0x685e60]
add ecx, 0x2e6d23c1
xor dword [edi - 4], ecx
test esi, esi
ja 0x611c60
xor edx, edx
mov eax, ebx
div dword [0x68b71c]
xor ecx, dword [edx*4 + 0x685e60]
test ebx, ebx
jbe 0x611caf
lea ebx, [ebx]
xor byte [edi], cl
sub ebx, 1
add edi, 1
shr ecx, 8
test ebx, ebx
ja 0x611ca0
mov eax, dword [ebp]
mov ecx, eax
shl ecx, 5
sub ecx, eax
pop edi
add ecx, 0x8088405
pop esi
mov dword [ebp], ecx
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x611d00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x611d1c
mov eax, dword [ebp - 4]
jmp 0x611df7
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x611dd2
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x6566d0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x6566d0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x6566d0]
dec ebp
jne 0x611d3c
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x611dee
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x6566d0]
dec ecx
jne 0x611ddc
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6129f0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0xc]
push eax
push 0xf00ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x612a3b
mov ecx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push ecx
mov ecx, ebx
call fcn.00612980
test eax, eax
je 0x612a3b
mov edi, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x612a4a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x612c78
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x68b740]
jne 0x612c82
repz ret
jmp fcn.00613546
Function at 0x615800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp], 0x657e70
test eax, eax
je 0x615825
push eax
call ebx
mov dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x615905
mov al, 0x6f
mov cl, 0x6c
mov byte [esp + 0xa], al
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
mov al, 0x72
mov byte [esp + 0x13], al
mov byte [esp + 0x1b], al
lea eax, [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], cl
push eax
mov dl, 0x74
mov cl, 0x75
push 0
push 0x1f0001
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x19], 0x70
mov byte [esp + 0x1e], 0x44
mov byte [esp + 0x1f], 0x65
mov byte [esp + 0x20], dl
mov byte [esp + 0x22], cl
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x69
mov byte [esp + 0x26], 0x67
mov byte [esp + 0x27], 0x6e
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0
call esi
test eax, eax
je 0x6158da
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push eax
call ebx
push 0x1f4
call edi
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x1f0001
call esi
test eax, eax
jne 0x6158bd
pop edi
mov ecx, dword [ebp + 8]
pop esi
test ecx, ecx
je 0x6158e8
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [ebp + 4]
test eax, eax
je 0x6158f8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x615905
mov eax, dword [ecx]
push 1
call dword [eax]
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x615990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [ecx], 0x657e74
jmp 0x615a30
sub esp, 8
push ebx
mov ebx, ecx
mov eax, dword [ebx + 8]
test eax, eax
jne 0x615a44
xor eax, eax
pop ebx
add esp, 8
ret
mov ecx, dword [ebx + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x40
push 5
push ecx
call ebp
mov edi, dword [ebx + 0xc]
xor ecx, ecx
mov cl, byte [ebx + 0x3f]
lea esi, [ebx + 0x20]
mov edx, ecx
lea eax, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0xc]
push ecx
push 5
push edx
call ebp
pop edi
pop esi
mov dword [ebx + 8], 0
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x6159a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x6159b4
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x20]
push eax
push ecx
call fcn.006154e0
test eax, eax
jne 0x6159ca
pop esi
add esp, 8
ret
mov ecx, dword [esi + 0xc]
xor eax, eax
mov al, byte [esi + 0x3f]
push edi
mov edx, eax
push 0
add edx, ecx
lea eax, [eax + esi + 0x20]
push edx
push 5
push eax
call fcn.00615480
mov edx, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 8]
push ecx
push 0x40
push 5
push edx
call edi
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x10]
push 0
push eax
push 5
push ecx
call fcn.00615480
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0xc]
push edx
push eax
push 5
push ecx
call edi
mov eax, 1
pop edi
mov dword [esi + 8], eax
pop esi
add esp, 8
ret
Function at 0x9c6b35
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9c6b5c
call fcn.00969068
mov dword [eax], esi
call fcn.00969055
push 0x16
pop esi
mov dword [eax], esi
call fcn.00969caa
mov eax, esi
jmp 0x9c6bb1
test dword [ebp + 0xc], 0xfffffff9
jne 0x9c6b42
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9c6b89
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0096907b
pop ecx
call fcn.00969055
mov eax, dword [eax]
jmp 0x9c6bb1
test al, 0x10
jne 0x9c6baf
test al, 1
je 0x9c6baf
test byte [ebp + 0xc], 2
je 0x9c6baf
call fcn.00969068
mov dword [eax], 5
call fcn.00969055
mov dword [eax], 0xd
jmp 0x9c6b80
xor eax, eax
pop esi
pop ebp
ret
Function at 0x401070
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov edx, ebx
push esi
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x401080
sub edx, ecx
mov esi, ebx
lea ecx, [edx + ebx]
mov dword [ebp - 8], ecx
cmp ebx, ecx
ja 0x401186
push edi
nop word [eax + eax]
mov al, byte [esi]
cmp al, 0x7c
je 0x4010ae
test al, al
jne 0x40117c
mov edi, esi
sub edi, ebx
test edi, edi
jle 0x401179
lea eax, [edi + 1]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4011ad
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, edi
sub ecx, ebx
push 0xa
push eax
push edi
mov byte [ecx + esi], 0
mov dword [ebp - 4], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ecx, dword [ebp - 4]
add esp, 0x18
mov ebx, eax
test ecx, ecx
je 0x401141
cmp byte [ecx], 0
je 0x401141
mov eax, dword [0x4063b8]
lea eax, [eax*4 + 4]
push eax
push dword [0x4063ac]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x40118c
mov ecx, dword [0x4063b8]
mov dword [0x4063ac], eax
mov dword [eax + ecx*4], edi
inc ecx
mov dword [0x4063b8], ecx
jmp 0x401176
mov eax, dword [0x40639c]
lea eax, [eax*4 + 4]
push eax
push dword [0x4063d0]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x40118c
mov ecx, dword [0x40639c]
mov dword [0x4063d0], eax
mov dword [eax + ecx*4], ebx
inc ecx
mov dword [0x40639c], ecx
mov ecx, dword [ebp - 8]
lea ebx, [esi + 1]
inc esi
cmp esi, ecx
jbe 0x4010a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.ERROR:_realloc___failed_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push str.ERROR:_malloc___failed_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00401010
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x406628
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
cld
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub eax, 3
mov edx, dword [ecx]
imul eax, edx
cmp al, 0x7c
je 0x406676
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [edx + ebp]
je 0x4066b9
mov eax, 0x406671
lea eax, [edx + eax]
push ebp
push eax
push 0
call sub.KERNEL32.dll_EnumResourceTypesA
test eax, eax
jne 0x40668f
jmp 0x4066b9
retf
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
or eax, 7
xchg dword [esp + 0xc], edx
lea eax, es:[eax + 0x789691]
xchg ecx, eax
xchg esi, eax
js 0x406693
add eax, 0xff87c9b8
add dword es:[edx - 0x1b4], eax
mov ecx, dword [esp]
sub esp, 0xffffffec
mov eax, 0
push cs
pop dx
push dx
push ecx
jmp 0x406674
add byte [eax], al
add byte [eax], al
and dword [ebp + 0x5409ff08], ebp
add byte [0x4b007629], dh
stosd dword es:[edi], eax
pop eax
or ah, ch
insb byte es:[edi], dx
inc dword [ecx]
iretd
Function at 0x40f6db
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub eax, dword [ebp + 0x24]
stc
xor eax, eax
stc
nop
xchg dword [esp], edi
ret
mov eax, dword [esp]
stc
nop
jb 0x40d624
push es
add eax, 0xe358fbc7
push eax
add cl, dh
out dx, eax
mov ecx, 0x12bcc
stc
nop
jb 0x40eb45
add byte [ecx - 0x123e4900], cl
push ebp
mov ebp, esp
in al, dx
sti
sbb al, 0x3d
add byte [eax], al
push 0xfffffffffffffffc
add byte [esi - 0x59000000], ch
xchg esi, eax
jge 0x40f6d1
arpl word [ebp + 0x10], dx
add byte [eax - 0x1b], bh
or ebx, esp
xchg ebp, eax
and byte [eax], al
mov edx, dword [edx]
add byte [edx + 0x61f99d00], al
stosd dword es:[edi], eax
les eax, [eax]
and eax, ecx
in al, dx
jle 0x40f766
inc esi
add byte [eax + eax], dh
insb byte es:[edi], dx
comiss xmm2, dword [edi + 0x56]
add byte [ebx - 0x2d], bl
jl 0x40f707
dec ebp
in eax, 0x93
fimul word cs:[ebp + 0x6cf70082]
jg 0x40f744
add byte [edx - 0x73a5156f], ch
rol byte [eax], 0xd1
jne 0x40f79b
add byte [ebx + 0x204e00c6], cl
add byte [ebx + 0x4c93b7db], cl
dec esp
add byte fs:[eax], dl
or esi, dword [edx + 0x53e8c00]
add byte ss:[esi + 0x73003000], ah
push edi
sbb edi, dword [edx + ebx*4]
cmp eax, 0xea00d47a
test al, 2
add byte [ebx + 0x71071781], cl
push cs
js 0x40f7a6
and ebx, dword [eax]
sal dword [ecx - 0x75], cl
test dword [edx], ecx
xor al, byte [eax]
and byte [eax], al
mov edx, dword [ebx + 0x2300b29c]
add byte [ebx], ah
fucomi st(7)
xor al, 0
rol edi, cl
jmp 0x712fdb
xor byte [eax], al
lcall 0xd900, 0x343500c2
mov ah, 0
and edx, dword [ebx + 0x52]
add byte [ebp + 0x20], cl
add byte [ebx - 0x7c68ff8c], cl
adc dword [ebx], ecx
sbb ebx, dword [edi + 0x643a0074]
add byte [ebx - 0x16], dh
pop es
xchg ecx, eax
mov ch, 0x9d
sbb al, 0x15
pop es
test byte [eax], al
or byte [ebp + 0x7c], ah
sub ch, byte [esi]
add byte [ebx + 0x528eee], cl
in al, 0
xor eax, 0xd7fb0030
scasd eax, dword es:[edi]
mov ecx, 0x8e35fec8
mov word [eax], es
mov ebp, dword [esi - 0x72ff3995]
out dx, eax
imul ebp, dword [edx + ebx*8 - 0x70f2ff0e], 0x2e0cdcee
inc esp
add byte [esi + 0xd00700], dl
push es
add byte [eax + eax + 0x34], dh
add al, al
add byte [edi], ch
push ebp
xor byte [eax], al
add byte [ecx - 2], al
xor eax, esp
add dl, dl
add ch, dl
rol byte [eax], cl
scasd eax, dword es:[edi]
adc eax, 0x39ed73c
jae 0x40f82b
loope 0x40f80b
nop
add byte [edx], dh
add byte [edx], dh
fcmove st(0), st(4)
xchg edx, eax
add byte [eax + eax - 0xd], ah
das
daa
dec esp
fxam
add byte es:[ebx - 0x376a5c52], dh
lds eax, [esi - 0x5d2e5900]
add byte [ebx + 0x41], al
loop 0x40f84c
rol byte [eax], cl
xchg edx, eax
add byte [ecx], cl
sar dword [edi - 0x75faffba], 0x50
add byte [eax], cl
rcr dword [eax + 0x38183d28], 1
call 0x29499321
jge 0x40f88c
inc ebp
pop ebp
xchg dword [edx - 0x1a], ebx
add ch, ch
popfd
add al, byte [eax]
mov esp, dword [eax + eax + 0x821fa7]
push 0xffffffffffffffbe
jmp 0xa3e7f0
and al, 0
pop ecx
mov byte [0x9e7f9500], al
add byte [eax + eax], al
sbb dword [0xa300800d], esp
add byte [esi - 0xa], ch
add byte [eax + eax], ah
mov bl, 0x32
add byte [edi], bh
push esi
add byte [ebx - 0x26], al
call 0xca8f9e29
in al, dx
cdq
sub dh, byte [ebx]
mov ah, byte [ebx]
inc ebp
sti
retf
Function at 0x4082e0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x449ad8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x45b9ac]
mov eax, 0x7e3fea57
imul ecx
sar edx, 0x15
push esi
mov esi, dword [0x45b9b4]
push edi
mov edi, dword [0x45b9c0]
mov eax, edx
imul edi, edi, 0x427252
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x7595e9bf
imul esi
sar edx, 0x15
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
add edi, edx
mov eax, 0x9eea7d1d
imul esi
shr ecx, 0x1f
add edx, esi
sar edx, 0x16
add ecx, edi
add ecx, edx
mov eax, edx
mov edx, dword [0x571d2c]
shr eax, 0x1f
add eax, ecx
mov ecx, dword [0x45b9c8]
imul ecx, ecx, 0x8b0f0c
add eax, ecx
mov ecx, 0x571d2c
mov dword [str._r_____r____], eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x45b9b0]
mov esi, dword [0x45b9a8]
mov eax, 0x69527c69
imul esi, esi, 0x78665a
imul ecx
mov ecx, dword [0x45b9bc]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x7595e9bf
imul ecx
sar edx, 0x15
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [str._r_____r____]
imul edx, edx, 0x45ab1c
mov edi, dword [0x45b9c4]
sub esi, ecx
mov ecx, dword [0x45b9c8]
add esi, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
imul ecx, ecx, 0x458786
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add esi, edx
add eax, esi
add eax, ecx
mov dword [esp + 0x14], 0
sub eax, edi
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
sub eax, 0x346bb5
push edx
lea ecx, [esp + 0x10]
mov dword [0x45b9b0], eax
call fcn.00408050
mov ecx, dword [0x45b9ac]
mov esi, dword [0x45b9bc]
mov eax, 0x8814777b
imul esi, esi, 0x346bb5
imul ecx
add edx, ecx
mov ecx, dword [0x45b9b0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, dword [0x45b9c0]
mov edx, ecx
imul eax, eax, 0x533b61
imul edx, edx, 0x40e326
add esi, edx
add esi, eax
mov eax, 0x7595e9bf
imul ecx
mov ecx, dword [0x45b9b8]
sar edx, 0x15
add esi, edx
mov edi, edx
mov eax, 0x9eea7d1d
imul ecx
add edx, ecx
sar edx, 0x16
shr edi, 0x1f
add edi, esi
mov esi, dword [esp + 8]
mov ecx, edx
add edi, edx
mov edx, dword [0x45b9c8]
imul edx, edx, 0x458786
shr ecx, 0x1f
add ecx, edi
add ecx, edx
push esi
mov dword [0x45b9bc], ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x4084d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a9c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x45d320]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41aae2
lea ecx, [esp + 8]
call fcn.0041a8a0
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x41aae6
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x41aa90
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.0041a9c0
mov edi, eax
test edi, edi
jne 0x41ab0a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x41aa52
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41aaa9
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41aac8
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042f231
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x41aaf1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.0042f231
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41ab19
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.0042f231
add esp, 0x118
ret 4
Function at 0x41aff0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x41b002
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8