joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d60
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
push edi
push str.SoftwarelhfDJSM_
push 0x80000005
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x403d9b
push str._SDToo_
push 0x42ebc0
call fcn.00401d90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404b80
mov eax, dword [esi]
mov eax, dword [eax + 4]
jmp 0x403dbd
push str._DFailOr_
push 0x42ebc0
call fcn.00401d90
add esp, 8
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00404b80
mov edx, dword [esi]
mov eax, dword [edx + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x403ddd
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x403ddd
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x403dfe
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x403df6
or eax, 4
push 0
push eax
call fcn.004015f0
pop edi
pop esi
pop ecx
ret
Function at 0x4087d6
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x4088b1
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x42be40]
xor edx, dword [esi*4 + 0x42b640]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x42ba40]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x42b240]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x42be40]
xor edx, dword [esi*4 + 0x42ba40]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x42b640]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x42b240]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x42be40]
xor edx, dword [esi*4 + 0x42ba40]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x42b640]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x42b240]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x42be40]
xor edx, dword [esi*4 + 0x42ba40]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x42b640]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x42b240]
dec ecx
mov dword [eax - 6], edx
jne 0x4087eb
pop esi
ret
Function at 0x408fe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push 4
lea eax, [ebp - 4]
push 0x42c470
push eax
call fcn.00407fa0
mov esi, dword [ebp - 4]
push 4
lea eax, [ebp - 4]
push 0x42c46c
push eax
call fcn.00407fa0
mov edi, dword [ebp - 4]
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x475f4352
push eax
push 0
push 0
mov dword [ebp - 0x10], 0x646e6172
mov dword [ebp - 0xc], 0x6e65704f
mov dword [ebp - 8], 0x676f44
call esi
mov esi, eax
test esi, esi
je 0x409044
push 0xffffffffffffffff
push esi
call edi
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x409048
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x42c41c]
push esi
mov esi, dword [ebp + 8]
and eax, 3
sub eax, 0
je 0x4090d2
dec eax
je 0x4090af
dec eax
je 0x40908c
dec eax
jne 0x4090f3
mov eax, dword [0x42c42c]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409133
add dword [0x42c42c], 0x3f2
pop ecx
pop ecx
jmp 0x4090f3
mov eax, dword [0x42c428]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409133
add dword [0x42c428], 0x3f2
pop ecx
pop ecx
jmp 0x4090f3
mov eax, dword [0x42c424]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409133
add dword [0x42c424], 0x3f2
pop ecx
pop ecx
jmp 0x4090f3
mov eax, dword [0x42c420]
mov dword [ebp + 8], eax
lea eax, [esi + 2]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00409133
add dword [0x42c420], 0x3f2
pop ecx
pop ecx
mov ax, word [esi + 2]
add dword [0x42c41c], 0x3eb
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x409109
mov al, byte [esi + 0x10]
push esi
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
call fcn.004091c7
pop ecx
pop esi
pop ebp
ret
Function at 0x409774
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor ebx, ebx
push 0x2b
mov byte [esi], 0x52
mov byte [esi + 1], 0x43
mov byte [esi + 2], 0x36
mov byte [esi + 3], bl
mov dword [esi + 4], 0xb8
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
pop ecx
mov edx, dword [eax - 4]
sub edx, 0x61c88647
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x4097a4
mov dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0x84
mov eax, dword [ebp - 4]
push 3
lea edi, [esi + eax*4 + 8]
mov eax, dword [ebp + 0xc]
add eax, ebx
add eax, dword [edi]
push eax
call fcn.00409922
mov ecx, dword [ebp - 8]
mov dword [edi], eax
mov ebx, eax
mov eax, dword [ebp + 8]
lea edi, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [ebx + eax]
push ecx
mov ecx, dword [edi]
add ecx, eax
add ecx, ebx
push ecx
call fcn.00409922
mov dword [edi], eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
add esp, 0x10
inc eax
push 0x2c
cdq
pop ecx
idiv ecx
mov eax, dword [ebp - 8]
push 4
inc eax
pop ecx
mov dword [ebp - 4], edx
cdq
idiv ecx
dec dword [ebp - 0xc]
mov dword [ebp - 8], edx
jne 0x4097c5
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409827
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test byte [ebp + 0x10], 0xf
je 0x409838
push 1
pop eax
leave
ret
cmp dword [ebp + 0x10], 0
je 0x40991e
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [ebx]
push 4
mov dword [ebp - 4], eax
pop eax
add ebx, eax
sub dword [ebp + 0x10], 0x10
mov dword [ebp - 0x10], 0x14
mov esi, dword [ebx]
mov ecx, dword [eax + ebx]
add ebx, eax
mov dword [ebp - 8], ecx
add ebx, eax
mov edi, dword [ebx]
add ebx, eax
mov eax, dword [ebp + 8]
add esi, dword [eax + 8]
add edi, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp + 0xc], eax
lea eax, [esi + esi + 1]
push 5
imul eax, esi
push eax
call fcn.00409922
mov dword [ebp - 0xc], eax
lea eax, [edi + edi + 1]
imul eax, edi
push 5
push eax
call fcn.00409922
mov dword [ebp - 0x18], eax
push eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 4]
push eax
call fcn.00409922
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0xc]
mov dword [ebp - 4], esi
add eax, dword [ecx - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 8]
push eax
call fcn.00409922
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 8
add esp, 0x20
mov dword [ebp - 8], edi
add eax, dword [ecx]
dec dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov esi, eax
jne 0x40987c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push 4
mov edx, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0xb4]
add edx, dword [ebp - 4]
add ecx, dword [ebp - 8]
mov dword [eax], edx
pop edx
add eax, edx
mov dword [eax], esi
add eax, edx
mov dword [eax], ecx
add eax, edx
mov ecx, edi
mov dword [eax], ecx
add eax, edx
cmp dword [ebp + 0x10], 0
mov dword [ebp + 0x14], eax
jne 0x409848
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret
Function at 0x4099a0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x40a481
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.0040a4bb
mov ax, word [esi + 2]
pop ecx
xor word [esi], ax
xor ecx, ecx
lea eax, [esi + 0x12]
mov edx, ecx
and edx, 3
mov edx, dword [esi + edx*4 + 2]
xor dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 0xa
jb 0x40a499
mov al, byte [esi + 0x10]
xor byte [esi + 0x3a], al
mov al, byte [esi + 0x11]
xor byte [esi + 0x3b], al
pop esi
ret

Function at 0x40b3de
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
push ebx
push esi
push edi
push 4
pop edi
lea eax, [ebp - 4]
push edi
push 0x42c490
push eax
call fcn.00407fa0
mov esi, dword [ebp - 4]
push edi
lea eax, [ebp - 4]
push 0x42c478
push eax
call fcn.00407fa0
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push 0x42c494
push eax
call fcn.00407fa0
mov eax, dword [ebp - 4]
push 0x14
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0040a452
add esp, 0x30
push 1
pop ebx
cmp dword [ebp + 8], ebx
push 0x10
jne 0x40b46a
lea eax, [ebp - 0x24]
push 0x42c440
push eax
call fcn.00407fa0
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x40b459
mov byte [ebp - 0x14], 0x6c
jmp 0x40b493
lea eax, [ebp - 0x24]
push 0x42c450
push eax
call fcn.00407fa0
add esp, 0xc
lea eax, [ebp - 0x24]
mov ecx, edi
xor dword [eax], 0x3dd17ea6
add eax, edi
dec ecx
jne 0x40b480
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x6c
lea eax, [ebp - 0x24]
push eax
call esi
test eax, eax
mov dword [ebp - 8], eax
je 0x40b4d1
lea esi, [ebp - 0x9c]
push ebx
push dword [ebp - 8]
call dword [ebp - 0xc]
test eax, eax
mov dword [esi], eax
je 0x40b4cb
inc ebx
add esi, edi
cmp ebx, 0x1f
jb 0x40b4a6
cmp dword [ebp + 8], 1
mov eax, dword [ebp - 0x30]
jne 0x40b4d8
mov dword [0x42c414], eax
jmp 0x40b4dd
push dword [ebp - 8]
call dword [ebp - 0x10]
mov eax, 0xa8160005
jmp 0x40b52a
mov dword [0x42c418], eax
push dword [ebp - 0x8c]
call fcn.0040b52f
test eax, eax
pop ecx
je 0x40b4f4
mov eax, 0xa8160006
jmp 0x40b52a
push dword [ebp - 0x4c]
push dword [ebp - 0x44]
call fcn.0040b5fc
pop ecx
test eax, eax
pop ecx
je 0x40b50c
mov eax, 0xa8160007
jmp 0x40b52a
cmp dword [ebp + 8], 1
jne 0x40b51e
mov dword [0x42c40c], 2
jmp 0x40b528
mov dword [0x42c410], 2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cf5f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42c914]
jne 0x40cf69
repz ret
jmp fcn.0040e1dd
Function at 0x411bdc
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 0x411c03
call fcn.0040e6bd
mov dword [eax], esi
call fcn.0040e6aa
push 0x16
pop esi
mov dword [eax], esi
call fcn.0040e658
mov eax, esi
jmp 0x411c58
test dword [ebp + 0xc], 0xfffffff9
jne 0x411be9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x411c30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040e6d0
pop ecx
call fcn.0040e6aa
mov eax, dword [eax]
jmp 0x411c58
test al, 0x10
jne 0x411c56
test al, 1
je 0x411c56
test byte [ebp + 0xc], 2
je 0x411c56
call fcn.0040e6bd
mov dword [eax], 5
call fcn.0040e6aa
mov dword [eax], 0xd
jmp 0x411c27
xor eax, eax
pop esi
pop ebp
ret

Function at 0x416983
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42c914]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004112a1
and dword [ebp - 0x14], 0
cmp dword [0x42eaac], 0
mov dword [ebp - 0x18], eax
jne 0x416a36
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416ade
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x416ade
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42eaac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42eab0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42eab4], eax
call edi
push eax
call esi
mov dword [0x42eabc], eax
test eax, eax
je 0x416a36
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42eab8], eax
mov eax, dword [0x42eab8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416a8f
cmp dword [0x42eabc], ecx
je 0x416a8f
push eax
call esi
push dword [0x42eabc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416a8f
test ebx, ebx
je 0x416a8f
call edi
test eax, eax
je 0x416a86
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416a86
test byte [ebp - 8], 1
jne 0x416a8f
or dword [ebp + 0x10], 0x200000
jmp 0x416ac2
mov eax, dword [0x42eab0]
cmp eax, dword [ebp - 0x18]
je 0x416ac2
push eax
call esi
test eax, eax
je 0x416ac2
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416ac2
mov eax, dword [0x42eab4]
cmp eax, dword [ebp - 0x18]
je 0x416ac2
push eax
call esi
test eax, eax
je 0x416ac2
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42eaac]
call esi
test eax, eax
je 0x416ade
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416ae0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040cf5f
leave
ret
Function at 0x486ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x56000]
push edi
jmp 0x486afa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x486b01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x486af0
mov eax, 1
add ebx, ebx
jne 0x486b13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x486b24
jne 0x486b43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x486b43
dec eax
add ebx, ebx
jne 0x486b30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x486b08
add ebx, ebx
jne 0x486b3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x486b95
xor ecx, ecx
sub eax, 3
jb 0x486b5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x486bca
sar eax, 1
mov ebp, eax
jmp 0x486b66
add ebx, ebx
jne 0x486b66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x486b34
inc ecx
add ebx, ebx
jne 0x486b74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x486b34
add ebx, ebx
jne 0x486b81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x486b76
jne 0x486b92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x486b76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x486bb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x486ba6
jmp 0x486af6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x486bb4
add edi, ecx
jmp 0x486af6
pop esi
mov edi, esi
mov ecx, 0x28aa
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x486bd2
cmp byte [edi], 0x29
jne 0x486bd2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x486bd7
lea edi, [esi + 0x83000]
mov eax, dword [edi]
or eax, eax
je 0x486c4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x87b64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x87c7c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x486c04
mov ecx, edi
jns 0x486c33
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x87c80]
or eax, eax
je 0x486c49
mov dword [ebx], eax
add ebx, 4
jmp 0x486c21
call dword [esi + 0x87c90]
mov ebp, dword [esi + 0x87c84]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x486c83
sub esp, 0xffffff80
jmp 0x44b688
Function at 0x406a20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46199b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00459ca8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406aa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004546f5
mov eax, dword [eax]
push 0x48bb90
push eax
call fcn.004473ea
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459f33
test bl, bl
je 0x406aa2
push 0x48bb90
lea ecx, [esp + 0xc]
call fcn.0045a2c3
push 0x48bb9c
lea ecx, [esp + 0xc]
call fcn.0045a2c3
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x406ade
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459f33
jmp 0x406ba9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x406b62
lea edx, [esp + 0x7c]
push 0x48bb98
push edx
call fcn.004473ea
add esp, 8
test eax, eax
je 0x406b62
lea eax, [esp + 0x7c]
push 0x48bb94
push eax
call fcn.004473ea
add esp, 8
test eax, eax
je 0x406b62
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406af2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00459f33
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4073c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407422
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x407430
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x461a1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x492580]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x407568
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x407496
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459f33
xor eax, eax
jmp 0x4075df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045a070
push esi
lea ecx, [esp + 0xc]
call fcn.0045a2ff
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4075bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004073c0
test eax, eax
jne 0x4075bd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.004073c0
test eax, eax
jne 0x4075bd
lea eax, [esp + 0x14]
push 0x48bbb4
push eax
call fcn.00447880
mov esi, eax
add esp, 8
test esi, esi
jne 0x40759c
lea ecx, [esp + 0x14]
push 0x48bbb0
push ecx
call fcn.00447800
mov esi, eax
add esp, 8
test esi, esi
jne 0x40759c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40759f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045a020
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4074ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459f33
xor eax, eax
jmp 0x4075df
mov byte [esi], 0
push 0x48bbac
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00459f33
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41a1b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x462958
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.0041ad30
lea edx, [esp + 0x18]
push eax
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x41a259
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00419e40
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push edi
lea ecx, [esp + 0x4c]
call fcn.0045da4c
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00430100
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.0045dabe
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14