joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452126
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x27c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x290]
lea esi, [esp + 0x10]
mov dword [esp + 0x20], ecx
call fcn.00401b70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
inc dword [eax]
mov dword [esp + 0x34], eax
mov edi, 0x48a088
mov eax, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call fcn.0040d3b0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
push ecx
mov bl, 1
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
je 0x4522be
mov ebp, dword [esp + 0x29c]
mov edx, dword [esp + 0x20]
push edx
call fcn.00443009
cmp eax, 1
je 0x4522bc
cmp eax, 0xb
jne 0x4521ba
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x452198
lea eax, [esp + 0x64]
push 0x48724c
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x4522a2
lea ecx, [esp + 0x64]
push 0x48a090
push ecx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x4522a2
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x14]
call fcn.0040df50
lea edi, [esp + 0x64]
mov eax, esi
call fcn.0040d3b0
test byte [esp + 0x38], 0x10
je 0x45226f
cmp byte [esp + 0x2a0], 0
je 0x452220
add dword [ebp], 1
adc dword [ebp + 4], 0
cmp byte [esp + 0x2a4], 0
je 0x4522a2
mov edi, 0x484e10
lea eax, [esp + 0x10]
call fcn.0040d3b0
mov eax, dword [esp + 0x2a4]
mov ecx, dword [esp + 0x2a0]
mov edx, dword [esp + 0x298]
push eax
mov eax, dword [esp + 0x298]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push edx
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00452126
mov bl, al
test bl, bl
je 0x4522be
jmp 0x4522a2
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
xor edx, edx
xor esi, esi
or edx, eax
mov eax, dword [esp + 0x294]
or ecx, esi
add dword [eax], edx
adc dword [eax + 4], ecx
cmp byte [esp + 0x2a0], 0
je 0x4522a2
mov eax, dword [esp + 0x298]
add dword [eax], 1
adc dword [eax + 4], esi
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x452198
jmp 0x4522be
xor bl, bl
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
lea ecx, [esp + 0x28]
call fcn.00402620
lea ecx, [esp + 0x10]
call fcn.00402620
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x27c
ret 0x18
Function at 0x4534eb
Capabilities:
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xa54
lea eax, [esp + 0x234]
call fcn.0040ffb0
mov ecx, dword [esp + 0xa5c]
lea eax, [esp + 0x28]
call fcn.0040ffb0
lea eax, [esp + 0x234]
push eax
call fcn.00436ac4
add esp, 4
test al, al
jne 0x45352c
add esp, 0xa54
ret
lea ecx, [esp + 0x28]
push ebx
push ecx
call fcn.00436ac4
add esp, 4
xor ebx, ebx
test al, al
je 0x453618
cmp byte [esp + 0xa64], bl
je 0x453679
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x4535ab
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x23c]
push edx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x4535a1
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x23c]
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
setne al
pop ebx
add esp, 0xa54
ret
mov al, 1
pop ebx
add esp, 0xa54
ret
lea edx, [esp + 0x444]
push edx
lea eax, [esp + 0x64c]
push eax
lea ecx, [esp + 0x854]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x248]
push eax
call fcn.00413db0
lea ecx, [esp + 0x40]
push 0x484e10
push ecx
call fcn.00411663
lea edx, [esp + 0x664]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00411663
add esp, 0x24
cmp word [esp + 0x444], bx
je 0x453618
lea ecx, [esp + 0x444]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.00411663
add esp, 8
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x23c]
push ecx
call fcn.00436a1d
add esp, 8
test al, al
lea edx, [esp + 0x2c]
lea eax, [esp + 0x238]
je 0x45366b
push 1
push edx
push eax
call fcn.0044bbc9
add esp, 0xc
test al, al
je 0x453679
lea ecx, [esp + 0x238]
push 1
push ecx
call fcn.0044bb20
add esp, 8
test al, al
setne al
pop ebx
add esp, 0xa54
ret
push edx
push eax
call fcn.004133e4
add esp, 8
test eax, eax
jne 0x453683
xor al, al
pop ebx
add esp, 0xa54
ret
lea ecx, [esp + 0x238]
push ecx
call fcn.004112d5
xor edx, edx
mov word [esp + eax*2 + 0x23e], dx
lea eax, [esp + 0x30]
push eax
call fcn.004112d5
xor ecx, ecx
lea edx, [esp + 0x240]
mov word [esp + eax*2 + 0x36], cx
mov dword [esp + 0x14], edx
add esp, 8
lea edx, [esp + 4]
lea eax, [esp + 0x2c]
mov ecx, 0x614
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1e], ebx
mov dword [esp + 0x22], ebx
mov dword [esp + 0x1a], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0xa54
ret
Function at 0x457c08
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0040c060
xor esi, esi
push 0x3c
lea eax, [esp + 0x28]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x1c], 1
call fcn.004131f0
add esp, 0xc
cmp dword [esp + 0x70], 2
jb 0x457c69
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00453081
cmp word [eax], bx
je 0x457c69
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov ebx, eax
cmp dword [esp + 0x70], 3
jb 0x457c89
mov eax, dword [ebp + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00453081
mov edi, eax
call fcn.0040fff0
mov dword [esp + 0x6c], eax
mov esi, eax
cmp dword [esp + 0x70], 4
jb 0x457cc6
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00453081
cmp word [eax], 0
je 0x457cc6
mov edx, dword [ebp + 4]
mov edi, dword [edx + 0xc]
push edi
call fcn.0044adff
test al, al
jne 0x457cc6
push edi
call fcn.00453063
push eax
lea esi, [esp + 0x18]
call fcn.0040df50
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x70], 5
jb 0x457cdf
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040c760
movzx ecx, ax
mov dword [esp + 0x10], ecx
push 0x3c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.004131f0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00453081
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edi, eax
test ebx, ebx
je 0x457d49
push ebx
call fcn.004112ef
add esp, 4
test esi, esi
je 0x457d56
push esi
call fcn.004112ef
add esp, 4
test edi, edi
jne 0x457d94
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
push 1
add eax, ecx
call fcn.004040e0
mov esi, dword [esp + 0x74]
call fcn.004092c0
lea ecx, [esp + 0x14]
mov dword [esi + 8], 1
mov dword [esi], edi
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
cmp byte [esp + 0x68], 0
je 0x457dbe
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x450], eax
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
mov esi, dword [esp + 0x74]
call fcn.004092c0
mov eax, dword [esp + 0x5c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x457de3
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0x14]
call fcn.00402620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
Function at 0x457f49
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2020
call fcn.00425210
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0040c060
lea ecx, [esp + 0x20]
call fcn.0040c060
mov eax, dword [esp + 0x2034]
push eax
xor ebp, ebp
call fcn.00453081
mov esi, eax
movzx eax, word [esi]
xor bl, bl
test ax, ax
je 0x458074
nop
inc ebp
cmp ax, 0x25
jne 0x458049
cmp word [esi + ebp*2], ax
jne 0x457fad
push 0x25
lea eax, [esp + 0x14]
mov bl, 1
call fcn.00403470
inc ebp
jmp 0x458053
push 0x4848e8
lea eax, [esp + 0x24]
call fcn.004021e0
movzx eax, word [esi + ebp*2]
cmp ax, 0x25
je 0x457fe7
lea esp, [esp]
test ax, ax
je 0x457fe7
movzx eax, ax
push eax
lea eax, [esp + 0x24]
call fcn.00403470
movzx eax, word [esi + ebp*2 + 2]
inc ebp
cmp ax, 0x25
jne 0x457fc9
cmp word [esi + ebp*2], 0
je 0x458093
mov eax, dword [esp + 0x20]
push 0xfff
lea edx, [esp + 0x34]
push edx
xor ecx, ecx
push eax
inc ebp
mov word [esp + 0x3c], cx
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
test eax, eax
lea eax, [esp + 0x10]
je 0x458024
lea edi, [esp + 0x30]
call fcn.0040d3b0
mov bl, 1
jmp 0x458053
mov edi, 0x48b7e0
mov bl, 1
call fcn.0040d3b0
lea ecx, [esp + 0x20]
push ecx
lea eax, [esp + 0x14]
call fcn.0040c140
lea eax, [esp + 0x10]
call fcn.0040d3b0
jmp 0x458053
push eax
lea eax, [esp + 0x14]
call fcn.00403470
movzx eax, word [esi + ebp*2]
test ax, ax
jne 0x457f89
test bl, bl
je 0x458074
mov esi, dword [esp + 0x2034]
lea edi, [esp + 0x10]
call fcn.0040e640
lea ecx, [esp + 0x20]
call fcn.00402620
lea ecx, [esp + 0x10]
call fcn.00402620
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2020
ret 4
mov edi, 0x48b7e0
lea eax, [esp + 0x10]
call fcn.0040d3b0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
call fcn.0040c140
jmp 0x458064
Function at 0x4580e1
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
sub esp, 0x264
push ebp
mov ebp, dword [esp + 0x278]
push esi
mov esi, dword [esp + 0x274]
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
call fcn.0040c060
lea ecx, [esp + 0x18]
call fcn.0040c060
lea ecx, [esp + 0x38]
call fcn.0040c060
push str.SOFTWAREClasses_
lea eax, [esp + 0x2c]
call fcn.004021e0
mov edi, dword [esp + 0x274]
lea eax, [esp + 0x28]
call fcn.0040d3b0
mov edi, str.CLSID
lea eax, [esp + 0x28]
call fcn.0040d3b0
push 0x4848e8
lea eax, [esp + 0x1c]
call fcn.004021e0
test esi, esi
je 0x458187
cmp word [esi], 0x5c
je 0x458187
cmp word [esi + 2], 0x5c
je 0x458187
push 0x48a9e4
lea eax, [esp + 0x1c]
call fcn.004021e0
mov edi, esi
lea eax, [esp + 0x18]
call fcn.0040d3b0
test ebp, ebp
je 0x4581e5
push 0x20
lea eax, [esp + 0x4c]
push 0
push eax
call fcn.004131f0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x3c]
mov dword [esp + 0x50], 0
call fcn.0040df50
mov edi, str.IPC_
mov eax, esi
call fcn.0040d3b0
mov eax, dword [esp + 0x284]
mov edx, dword [esp + 0x38]
push 0
push ebp
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x6c], edx
call sub.MPR.dll_WNetAddConnection2W
mov esi, eax
test esi, esi
jne 0x458298
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x458298
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x458291
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x6c]
push edx
push 0
push 0
push 0
push eax
mov dword [esp + 0x28], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x45828a
mov eax, dword [esp + 0x10]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x68]
mov dword [esp + 0x10], eax
mov word [esp + eax*2 + 0x68], cx
call fcn.0040fff0
mov edx, dword [esp + 0x27c]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.004137d3
add esp, 4
mov eax, dword [esp + 0xc]
push eax
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call ebp
lea ecx, [esp + 0x38]
call fcn.00402620
lea ecx, [esp + 0x18]
call fcn.00402620
lea ecx, [esp + 0x28]
call fcn.00402620
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x264
ret
Function at 0x4582bf
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24c
push ebx
push ebp
mov ebp, dword [esp + 0x258]
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.0040c060
fld1
lea eax, [esp + 0x24]
fstp qword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
test esi, esi
jl 0x4584c0
mov edi, dword [esp + 0x24]
call fcn.0040fff0
mov esi, eax
push str.interface_
lea eax, [esp + 0x34]
call fcn.004021e0
mov edi, esi
lea eax, [esp + 0x30]
call fcn.0040d3b0
mov edi, str.TypeLib
lea eax, [esp + 0x30]
call fcn.0040d3b0
push esi
call fcn.004137d3
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4584c0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x54]
push edx
push eax
push eax
push eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0x1fe
call ebx
mov esi, eax
test esi, esi
jne 0x4584b5
mov eax, dword [esp + 0x14]
shr eax, 1
xor ecx, ecx
lea edi, [esp + 0x50]
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x50], cx
call fcn.0040fff0
lea edx, [esp + 0x40]
mov edi, eax
push edx
push edi
call dword [sym.imp.ole32.dll_CLSIDFromString]
push edi
mov esi, eax
call fcn.004137d3
add esp, 4
test esi, esi
jl 0x4584b5
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
push 0
push 0
push str.Version
push edx
mov dword [esp + 0x2c], 0x1fe
call ebx
test eax, eax
jne 0x458410
mov eax, dword [esp + 0x14]
shr eax, 1
lea edx, [esp + 0x50]
xor ecx, ecx
push edx
mov dword [esp + 0x18], eax
mov word [esp + eax*2 + 0x54], cx
call fcn.00413f97
fstp qword [esp + 0x2c]
add esp, 4
fld1
lea eax, [esp + 0x20]
push eax
push 0
sub esp, 0x10
fstp qword [esp + 8]
fld qword [esp + 0x40]
fstp qword [esp]
call fcn.00415a50
fnstcw word [esp + 0x2a]
add esp, 0x10
movzx eax, word [esp + 0x1a]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp dword [esp + 0x20]
mov cx, word [esp + 0x20]
movzx edx, cx
push edx
fldcw word [esp + 0x1e]
lea edx, [esp + 0x4c]
fld qword [esp + 0x34]
fnstcw word [esp + 0x1e]
movzx eax, word [esp + 0x1e]
or eax, 0xc00
mov dword [esp + 0x24], eax
fldcw word [esp + 0x24]
fistp dword [esp + 0x24]
mov ax, word [esp + 0x24]
movzx ecx, ax
push ecx
fldcw word [esp + 0x22]
push edx
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
test esi, esi
jl 0x4584b5
mov edx, dword [esp + 0x264]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push edx
push ebp
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x30]
call fcn.00402620
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x4584d6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x284
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov esi, 0x80004002
xor ebx, ebx
mov dword [esp + 0x14], 0x28
call fcn.0040c060
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push ebx
push str.interface
push SysReAllocString
call ebp
test eax, eax
jne 0x45861b
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x458610
mov eax, dword [esp + 0x14]
xor edx, edx
mov word [esp + eax*2 + 0x38], dx
push str.interface_
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0x1fe
call fcn.004021e0
lea edi, [esp + 0x38]
lea eax, [esp + 0x20]
call fcn.0040d3b0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
call ebp
test eax, eax
jne 0x4585fe
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x8c]
push ecx
push 0
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4585f3
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x29c]
shr eax, 1
xor ecx, ecx
mov dword [esp + 0x14], eax
mov word [esp + eax*2 + 0x88], cx
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x4585f3
mov ecx, dword [esp + 0x298]
push ecx
push edi
call dword [sym.imp.ole32.dll_IIDFromString]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x458610
inc ebx
mov dword [esp + 0x14], 0x28
jmp 0x45851d
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x20]
call fcn.00402620
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x284
ret
Function at 0x467e5e
Capabilities:
Print debug messages
Write file on windows

Disassembly:
sub esp, 0x18
mov al, byte [0x49728f]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x2c]
push 0x8000
push edi
mov byte [esp + 0x18], al
call fcn.0041453a
add esp, 4
push eax
call fcn.00414443
add esp, 8
mov esi, eax
push ebp
mov dword [esp + 0x18], esi
call fcn.00444279
test al, al
je 0x467ebd
push edi
push ebp
call fcn.00443676
push eax
push 1
push ebp
call fcn.004676a3
push eax
call fcn.004146ce
add esp, 0x10
mov ebx, eax
jmp 0x467f09
push esi
jmp 0x467f1c
lea esi, [esp + 0x18]
call fcn.0040d500
push ebp
call fcn.00453063
push esi
push eax
call fcn.0045efe7
mov edx, dword [esp + 0x18]
push edx
push 0x4873d8
push edi
call fcn.00414750
add esp, 0xc
cmp byte [esp + 0x10], 0
mov ebx, eax
je 0x467efc
push ebp
call fcn.00453081
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
lea esi, [esp + 0x18]
call fcn.00401330
mov esi, dword [esp + 0x14]
push edi
call fcn.004149f6
add esp, 4
cmp esi, 0xffffffff
jne 0x467eba
push 0x4000
push edi
call fcn.0041453a
add esp, 4
push eax
call fcn.00414443
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x18
ret
Function at 0x408460
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x41dad8
push 1
push 0
push 0x41dae8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40848e
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
lea edx, [esp + 4]
push edx
push 0x41dac8
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jge 0x4084c2
xor eax, eax
add esp, 0x210
ret 8
mov ecx, dword [esp + 0x218]
lea eax, [esp + 8]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
push 2
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 1
add esp, 0x210
ret 8

Function at 0x41a664
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41a692
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x41a6b0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041a5ca
jmp 0x41a6b0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41a6b0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0041a5ca
test edi, edi
mov eax, edi
jne 0x41a69a
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x413a4bdf
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x6d237b7f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2f9361cf
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2a8c6ef0
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219