joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f1690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x164
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebx + 8]
push edi
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.00471d70
xor esi, esi
mov eax, 2
mov ecx, 0x40
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push esi
push eax
push edi
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.004deb60
cmp dword [esp + 0x44], edi
jge 0x4f163f
lea edi, [esp + 0x70]
push 0
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 0
call fcn.004dfe90
lea eax, [esp + 0xc]
mov ecx, edi
push eax
inc esi
add edi, 4
call fcn.00463510
mov ecx, dword [esp + 0xc]
mov eax, ecx
and eax, 7
cmp esi, 0x40
jge 0x4f15c0
cmp eax, 7
jne 0x4f1595
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f159f
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f15ad
lea ecx, [esp + 0xc]
call fcn.00463210
mov ecx, dword [ebp + 0x10]
cmp dword [esp + 0x44], ecx
mov dword [esp + 0xc], 2
jl 0x4f1547
jmp 0x4f15e8
cmp eax, 7
jne 0x4f15d0
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f15da
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f15e8
lea ecx, [esp + 0xc]
call fcn.00463210
cmp esi, 1
jl 0x4f163f
lea ecx, [esp + 0x70]
call fcn.0040c310
test al, al
je 0x4f163f
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x14]
call fcn.00464010
mov ecx, dword [ebx + 8]
push eax
call fcn.004a5630
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xc], edi
call fcn.004ef830
test eax, eax
jne 0x4f163f
mov edx, dword [ebx]
dec esi
push esi
lea eax, [esp + 0x78]
push eax
mov eax, dword [ebp + 8]
mov ecx, edi
push ecx
push eax
mov ecx, ebx
call dword [edx + 4]
lea ecx, [esp + 0x34]
call fcn.004def50
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00439d00
add esp, 4
lea esi, [esp + 0x170]
mov edi, 0x40
mov ecx, dword [esi - 4]
sub esi, 4
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4f167c
and ecx, 0xfffffff8
mov ecx, dword [ecx + 4]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4f1686
and ecx, 0x1f
mov eax, ecx
cmp eax, 6
jne 0x4f1692
mov ecx, esi
call fcn.00463210
dec edi
mov dword [esi], 2
jne 0x4f1661
lea ecx, [esp + 0x20]
call fcn.00471350
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4f24e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [0x53d2c8]
push esi
push edi
lea edi, [ebx + 0x5c]
push edi
call ebp
mov esi, dword [ebx + 0x58]
test esi, esi
je 0x4f24d1
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x58], eax
push edi
call dword [0x53d2c4]
test esi, esi
je 0x4f24e7
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 8]
jmp 0x4f24c1
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4fcc00
Capabilities:
Check http status code

Disassembly:
mov eax, dword [ecx + 0xf8]
test eax, eax
jne 0x4fcbc7
mov eax, dword [esp + 4]
mov dword [ecx + 0xf8], eax
ret 4
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov bl, byte [edi + 8]
xor esi, esi
test bl, bl
jne 0x4fcbde
mov esi, eax
mov eax, dword [eax + 4]
jmp 0x4fcbf2
mov dl, byte [eax + 8]
cmp dl, bl
jae 0x4fcbec
mov esi, eax
mov eax, dword [eax + 4]
jmp 0x4fcbf2
je 0x4fcc06
cmp dl, bl
ja 0x4fcc15
test eax, eax
jne 0x4fcbd3
test esi, esi
jne 0x4fcc34
mov dword [ecx + 0xf8], edi
pop edi
pop esi
pop ebx
ret 4
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [eax + 4], edi
pop edi
pop esi
pop ebx
ret 4
test esi, esi
jne 0x4fcc28
mov dword [ecx + 0xf8], edi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret 4
mov dword [esi + 4], edi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
ret 4
mov dword [esi + 4], edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4fcfb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [esp + 4]
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov dword [ebp], 0x54a194
mov dword [ebp + 4], esi
mov dword [ebp + 0xf8], esi
mov byte [ebp + 8], al
mov byte [ebp + 9], 0
mov byte [ebp + 0xa], 0
mov byte [ebp + 0xb], 0
call fcn.004e3270
call fcn.004ae0e0
xor ecx, ecx
mov dword [ebp + 0xc], eax
mov word [ebp + 0x10], si
mov word [ebp + 0x12], si
mov dword [ebp + 0x14], esi
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
lea edx, [ebp + 0x24]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
xor eax, eax
mov ecx, 0x10
lea edi, [ebp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, 0x20
lea edi, [ebp + 0x74]
rep stosd dword es:[edi], eax
push 0x10
mov dword [ebp + 0xf4], 0x63538263
call fcn.0052b380
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x4fd01a
push 0x25
mov dword [ebx], 0x54a190
mov dword [ebx + 4], esi
mov byte [ebx + 8], 0x3c
mov dword [ebx + 0xc], esi
mov byte [ebx + 9], 0x25
call fcn.0052b380
movzx ecx, byte [ebx + 9]
mov dword [ebx + 0xc], eax
mov edi, eax
mov eax, ecx
shr ecx, 2
mov esi, str.Macromedia_Flash_Proxy_Auto_Discovery
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
add esp, 4
rep movsb byte es:[edi], byte [esi]
xor esi, esi
jmp 0x4fd01c
xor ebx, ebx
push ebx
mov ecx, ebp
call fcn.004fcbb0
push 0x10
call fcn.0052b380
add esp, 4
cmp eax, esi
je 0x4fd057
push eax
mov ecx, ebp
mov dword [eax], 0x54a190
mov dword [eax + 4], esi
mov byte [eax + 8], 0xff
mov byte [eax + 9], 0
mov dword [eax + 0xc], esi
call fcn.004fcbb0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
xor eax, eax
push eax
mov ecx, ebp
call fcn.004fcbb0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret 4
Function at 0x4fd3e0
Capabilities:
Capture microphone audio

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x4c]
test al, al
je 0x4fd47b
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov eax, edx
push edi
mov edi, dword [esi + 0x40]
sub eax, ecx
mov ecx, dword [esp + 0xc]
shr edi, cl
cmp eax, edi
jbe 0x4fd47a
cmp edx, 0xefffffff
jbe 0x4fd414
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x48]
push 0x18
mov dword [esi + 0x44], eax
call fcn.0052b380
add esp, 4
test eax, eax
je 0x4fd438
push 0x400
mov ecx, eax
call fcn.004fefc0
mov edi, eax
jmp 0x4fd43a
xor edi, edi
mov eax, dword [esi + 0x44]
mov ecx, eax
shr ecx, 0x18
mov edx, eax
mov byte [esp + 0xc], cl
shr eax, 8
push 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x12], al
mov al, byte [esi + 0x44]
shr edx, 0x10
push ecx
mov ecx, edi
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], al
call fcn.004ff170
mov edx, dword [esi + 0x38]
push 0
push edi
push 1
push edx
call dword [esi + 0x3c]
add esp, 0x10
pop edi
pop esi
ret 4

Function at 0x4fd6d0
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ebp, [ebx + 0xe8]
push ebp
call dword [0x53d2c8]
push 0x600
call fcn.0052b380
mov esi, dword [esp + 0x18]
mov dword [ebx + 0xc8], eax
mov edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, 0x180
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebx + 0xc8]
mov ecx, eax
shr ecx, 0x18
mov byte [edx + 4], cl
mov edx, dword [ebx + 0xc8]
mov ecx, eax
shr ecx, 0x10
mov byte [edx + 5], cl
mov edx, dword [ebx + 0xc8]
mov ecx, eax
shr ecx, 8
mov byte [edx + 6], cl
mov ecx, dword [ebx + 0xc8]
add esp, 4
push ebp
mov byte [ecx + 7], al
call dword [0x53d2c4]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x529610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, ecx
mov eax, dword [esi + 0x40]
xor cl, cl
cmp ebp, eax
push edi
jae 0x529608
mov dword [esi + 0x40], ebp
mov cl, 1
mov edx, dword [esp + 0x18]
mov edi, dword [esi + 0x44]
lea eax, [edx + 1]
shl eax, 0xc
add eax, ebp
cmp eax, edi
jbe 0x529620
mov dword [esi + 0x44], eax
jmp 0x529624
test cl, cl
je 0x529695
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
shr edi, 0xe
add edi, eax
shr ecx, 0xe
lea ebx, [ecx + eax + 0x1000]
mov eax, dword [esi + 0x54]
and edi, 0xfffff000
and ebx, 0xfffff000
cmp edi, eax
jb 0x529654
cmp ebx, dword [esi + 0x58]
jbe 0x529695
test eax, eax
jne 0x529660
mov edx, ebx
sub edx, edi
push edx
push edi
jmp 0x529680
cmp edi, eax
jae 0x529673
mov ecx, dword [esi + 0x1a0]
sub eax, edi
push eax
push edi
call fcn.0052b4a0
mov eax, dword [esi + 0x58]
cmp ebx, eax
jbe 0x52968b
mov ecx, ebx
sub ecx, eax
push ecx
push eax
mov ecx, dword [esi + 0x1a0]
call fcn.0052b4a0
mov edx, dword [esp + 0x18]
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], ebx
shr ebp, 0xc
test edx, edx
mov eax, ebp
je 0x5296c3
mov ebp, edx
mov dl, byte [esp + 0x1c]
mov edi, dword [esi + 0x4c]
mov ecx, eax
shr ecx, 2
add edi, ecx
mov ecx, eax
and ecx, 3
shl ecx, 1
mov bl, dl
shl bl, cl
mov cl, byte [edi]
or cl, bl
inc eax
dec ebp
mov byte [edi], cl
jne 0x5296a4
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0x75
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xa9
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x47
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdf
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x27
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1c
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7d
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x81
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcf
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x77
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x1a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xb3
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451bc9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bda
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b072
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b083
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af59
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b0ab
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4fff10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5149fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x500002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00503dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x500002
lea edx, [esp + 0x14]
push edx
push 0x51a140
call fcn.004fb6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0050420b
push 0x10
call fcn.005041d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x4fffc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.004f01c0
jmp 0x4fffc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.004ffb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x4ffff0
mov ecx, edi
call fcn.004f02c0
push edi
call fcn.005041c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x500021
inc ebx
cmp ebx, 0x20
jb 0x4fff3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5031b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00503140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00503140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00503140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00503140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x503230
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x218]
push ebp
mov ebp, dword [esp + 0x218]
push esi
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5032d6
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
push edx
call edi
mov esi, eax
test esi, esi
jne 0x5032ae
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00503230
mov esi, eax
add esp, 8
test esi, esi
jne 0x5032ae
lea edx, [esp + 0x14]
push 0x104
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
mov esi, eax
test esi, esi
je 0x50327e
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0x103
pop edi
je 0x5032ce
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret

Function at 0x503bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x503c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x51587c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x503c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x503c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40311c
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x40311e
ret

Function at 0x405155
Capabilities:
Encode data using xor

Disassembly:
push ecx
or al, 0x82
cmp edi, dword [esi - 0x3a]
mov ecx, eax
or al, 0x64
xor al, 0x50
or dword [esi], esp
push edx
add byte [eax], al
mov eax, dword [ebp + 8]
mov dword [ebx], ebp
call 0x5be88482
pop ebp
ret 0x55
add byte [eax - 0x6f6f6f70], dl
sbb dword [eax + 0x55909090], edx
mov ebp, esp
sub esp, 0x20
loope 0x4051be
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], edi
xor esi, dword [esi]
mov eax, dword [esp + ebp - 0x77]
inc ebp
call 0x8950ec06
dec ebp
loopne 0x405109
push eax
adc al, 0x4a
xor dword [ebp - 0x10], eax
add byte [ecx + 0x5d89e4d7], cl
mov edx, 0x8b10488b
push eax
cmp al, 0x3b
retf 0x2a75
add byte [ebx + 0x4d8b1045], cl
or al, 0x50
add al, 0x55
loopne 0x40521b
push edx
ljmp 0x9ee8
and dword [ebx - 0x3f7a1f09], ecx
je 0x405229
push eax
call fcn.0040a2d0
mov eax, dword [esp + eax - 0x75]
jns 0x57cb5a88
or byte [ecx + 0x4d], bh
or al, 0x8b
push es
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
dec esp
leave
mov al, byte [0x76c23b0a]
push es
mov dword [esi], ebx
mov ebx, esi
jmp 0x40527f
mov esi, dword [ebp - 8]
test esi, esi
jne 0x405233
mov esp, dword [esp + ecx]
mov dword [edi + 8], edx
arpl word [edi], ax
mov edi, dword [edi - 0x66]
test dword [ecx + 6], eax
push edi
call 0x70a340
and ebx, ebx
je 0x4052b3
mov al, byte [0x40c13035]
add byte [ebx + 0x501b8bc3], cl
push eax
call esi
add esp, 0x7c
test edi, ebp
js 0x4052a9
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov al, byte [ebp - 0x10]
test al, al
jne 0x4052cb
push ebp
adc byte [ebx + 0x458a087d], cl
invalid
pop edi
pop esi
mov ebp, dword [esp + ebx*4]
mov ebx, esp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + 0x29]
mov dword [ecx - 0x52], 0x70000
mov edx, dword [eax + 4]
mov edx, ebx
mov dword [edx], ecx
mov dword [ecx], eax
mov dword [eax + 0x24], ecx
mov dword [edi + 0x2c], ecx
mov ecx, dword [eax - 0x2f]
mov ebx, dword [eax + 0x10]
push ebp
xor byte [ebx], ch
dec ebx
or dword [esi], 0xf600
mov edx, esi
and ecx, 0xffff1cc7
dec ecx
sal dword [esi], 0xc
mov dword [eax + 0xc], ecx
mov edi, dword [edx - 0x1e]
jae 0x4052db
jae 0x40532f
mov edx, dword [0x720c4a3b]
stc
into
dec eax
imul esi, dword [edi], 0x8b088b31
jo 0x405323
mov dword [ecx + 0x27], esi
mov ecx, dword [edx + 4]
dec eax
dec edx
add al, 0x67
dec eax
add al, 0x1f
jle 0x4052b4
adc byte [ecx + 0x455edb42], cl
pop esi
inc ebp
adc byte [edi + 0x2f], bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47c9b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x47c9dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x47c9dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x4f0e96
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4f0c08
sub ecx, esi
sub ecx, ecx
sub ecx, 0xb2686c33
call fcn.004f0ed1
add esi, 1
sub esi, ecx
dec ecx
xor dword [edx], eax
and esi, ecx
inc edx
and ecx, ecx
add esi, 0xd40f6939
cmp edx, ebx
jne fcn.004f0e96
sub ecx, 0x43adfd2c
ret