joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51ba64
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x43f
push str.inet.cpp
mov eax, dword [ebp - 8]
push eax
call fcn.004b69d0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x51baa0
push 0x440
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51baa0
int3
xor edx, edx
test edx, edx
jne 0x51ba83
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047f716
test eax, eax
jne 0x51bacd
push 0x441
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51bacd
int3
xor edx, edx
test edx, edx
jne 0x51baa6
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
je 0x51baf9
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
je 0x51baf9
push 0x442
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51baf9
int3
xor edx, edx
test edx, edx
jne 0x51bad3
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 1
je 0x51bb11
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x51bb1f
push 6
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005201e3
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x30], 0
jne 0x51bb6e
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x51bb53
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005201e3
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x51bb69
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005201e3
jmp 0x51bc1e
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
cmp ecx, dword [edx + 0x28]
jb 0x51bbba
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x2c]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x51bbb0
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c]
push edx
call fcn.005201e3
mov eax, dword [ebp - 8]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x28]
jb 0x51bbf2
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x51bbf0
push 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
push eax
call fcn.005201e3
jmp 0x51bc1e
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x30]
mov edx, dword [ebp - 8]
add ecx, dword [edx + 0x2c]
push ecx
call fcn.00440ab0
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x2c]
add ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x51bff6
Capabilities:
Query remote server for available data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x4dd
push str.inet.cpp
mov eax, dword [ebp - 8]
push eax
call fcn.004b69d0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x14], 0
jne 0x51c032
push 0x4de
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51c032
int3
xor edx, edx
test edx, edx
jne 0x51c015
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0
je 0x51c068
push 0
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x51c068
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x51c950
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574ca5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x18]
push eax
mov cx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0051c33c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00501ff7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CFtpConnection.0
cmp dword [ebp + 8], 0
jne 0x51c9c1
push 0x5c5
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51c9c1
int3
xor edx, edx
test edx, edx
jne 0x51c9a7
push 0x614e58
mov ecx, dword [ebp + 8]
call fcn.004b6900
test eax, eax
jne 0x51c9ec
push 0x5c6
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51c9ec
int3
xor eax, eax
test eax, eax
jne 0x51c9c7
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047f6f2
test eax, eax
jne 0x51ca15
push 0x5c7
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51ca15
int3
xor edx, edx
test edx, edx
jne 0x51c9f2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004b053d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp + 0x20]
neg eax
sbb eax, eax
and eax, 0x8000000
push eax
push 1
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ax, word [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0052052a
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x51ca84
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call fcn.005201e3
jmp 0x51ca9c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x6f0a50
call fcn.00520760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x51d575
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574d05
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x18]
push eax
mov cx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0051c33c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CGopherConnection.0
cmp dword [ebp + 8], 0
jne 0x51d5d7
push 0x6a6
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51d5d7
int3
xor edx, edx
test edx, edx
jne 0x51d5bd
push 0x614e58
mov ecx, dword [ebp + 8]
call fcn.004b6900
test eax, eax
jne 0x51d602
push 0x6a7
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51d602
int3
xor eax, eax
test eax, eax
jne 0x51d5dd
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047f6f2
test eax, eax
jne 0x51d62b
push 0x6a8
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51d62b
int3
xor edx, edx
test edx, edx
jne 0x51d608
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0
push 2
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov cx, word [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0052052a
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x51d67b
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.005201e3
jmp 0x51d693
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x6f0a50
call fcn.00520760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x51deac
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x1c]
push eax
mov cx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0051c33c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00501ff7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CHttpConnection.0
cmp dword [ebp + 8], 0
jne 0x51df1d
push 0x75c
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51df1d
int3
xor edx, edx
test edx, edx
jne 0x51df03
push 0x614e58
mov ecx, dword [ebp + 8]
call fcn.004b6900
test eax, eax
jne 0x51df48
push 0x75d
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51df48
int3
xor eax, eax
test eax, eax
jne 0x51df23
push 0xffffffffffffffff
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0047f6f2
test eax, eax
jne 0x51df71
push 0x75e
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51df71
int3
xor edx, edx
test edx, edx
jne 0x51df4e
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
push 0
push 3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov cx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0052052a
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x51dfc1
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.005201e3
jmp 0x51dfd9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x6f0a50
call fcn.00520760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x51dff6
Capabilities:
Connect to http server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574e3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0x20]
push eax
mov cx, word [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0051c33c
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00501ff7
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.CHttpConnection.0
cmp dword [ebp + 8], 0
jne 0x51e067
push 0x772
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51e067
int3
xor edx, edx
test edx, edx
jne 0x51e04d
push 0x614e58
mov ecx, dword [ebp + 8]
call fcn.004b6900
test eax, eax
jne 0x51e092
push 0x773
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51e092
int3
xor eax, eax
test eax, eax
jne 0x51e06d
mov ecx, dword [ebp + 0x10]
and ecx, 0x10000000
test ecx, ecx
je 0x51e0b9
push 0x774
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51e0b9
int3
xor edx, edx
test edx, edx
jne 0x51e098
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047f6f2
test eax, eax
jne 0x51e0e2
push 0x775
push str.inet.cpp
call fcn.00505a50
test eax, eax
je 0x51e0e2
int3
xor ecx, ecx
test ecx, ecx
jne 0x51e0bf
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 3
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov cx, word [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.0052052a
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 4], 0
jne 0x51e134
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
push ecx
call fcn.005201e3
jmp 0x51e14c
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x6f0a50
call fcn.00520760
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x5282bc
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
jne 0x5282e2
push 0x146
push str.afxtls.cpp
call fcn.00505a50
test eax, eax
je 0x5282e2
int3
xor eax, eax
test eax, eax
jne 0x5282c8
mov dword [ebp - 4], 1
mov dword [ebp - 8], 1
jmp 0x528301
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 8]
jge 0x528384
cmp dword [ebp + 0xc], 0
je 0x528324
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + eax*8 + 4]
cmp ecx, dword [ebp + 0xc]
jne 0x528369
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x528350
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc]
call dword [edx]
mov dword [ebp - 0x20], eax
jmp 0x528357
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx + edx*4], 0
jmp 0x52837f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 8]
cmp dword [ecx + edx*4], 0
je 0x52837f
mov dword [ebp - 4], 0
jmp 0x5282f8
cmp dword [ebp - 4], 0
je 0x5283f8
mov eax, dword [ebp - 0x1c]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.00528980
mov edx, dword [ebp - 0x1c]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5283e3
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x14]
call dword [edx]
mov dword [ebp - 0x24], eax
jmp 0x5283ea
mov dword [ebp - 0x24], 0
push 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x528401
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 0xc], 0
jne 0x528444
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x528442
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.005282bc
jmp 0x528479
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.005289a0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x528479
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.005282bc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
jmp 0x528452
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret 8
Function at 0x534818
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x5348bb
cmp dword [ebp + 8], 0
je 0x5348bb
lea edx, [ebp - 0xc]
push edx
push 0x6417f4
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [ebp - 0x10]
push edx
call fcn.0052b20e
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTreatAsClass]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x558c7f
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
push 0x55
push str.oledrop1.cpp
mov eax, dword [ebp - 0x24]
push eax
call fcn.004b69d0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x38], 0
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x558ce3
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x38]
or al, 1
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x34]
or al, 2
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x34], eax
jmp 0x558d10
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x558d10
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x38]
or ecx, 2
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x34]
or ecx, 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00509804
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x30], 0
jne 0x558dea
call fcn.005097f3
cmp eax, dword [ebp + 8]
je 0x558d3d
jmp 0x558dea
push 1
push 0x209
push 0x200
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x558d75
push 1
push 0x108
push pe_nt_image_headers32
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x558dca
cmp dword [ebp - 0x1c], 0x202
je 0x558d99
cmp dword [ebp - 0x1c], 0x205
je 0x558d99
cmp dword [ebp - 0x1c], 0x201
je 0x558d99
cmp dword [ebp - 0x1c], 0x204
jne 0x558d9b
jmp 0x558dea
cmp dword [ebp - 0x1c], 0x100
jne 0x558dac
cmp dword [ebp - 0x18], 0x1b
jne 0x558dac
jmp 0x558dea
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x20
call fcn.0050f5d6
neg eax
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [0x6f10fc]
jbe 0x558de5
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x30], 1
jmp 0x558d21
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x30]
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x446090
Capabilities:
Encode data using xor

Disassembly:
salc
jae 0x44604f
insb byte es:[edi], dx
jns 0x446016
mov al, cl
invalid

Function at 0x4bb7ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33c8
cmp edx, dword [eax]
je 0x4bb7cf
add eax, 8
inc ecx
cmp eax, 0x4c3458
jl 0x4bb7c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33c8]
jne 0x4bb8fd
mov eax, dword [0x4c8df0]
cmp eax, 1
je 0x4bb8d7
test eax, eax
jne 0x4bb800
cmp dword [0x4c32f0], 1
je 0x4bb8d7
cmp edx, 0xfc
je 0x4bb8fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb837
lea eax, [ebp - 0x1a4]
push 0x4c09d8
push eax
call fcn.004bc190
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc620
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb87a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc620
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09d4
push edi
call fcn.004be4f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c09b8
push eax
call fcn.004bc190
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc1a0
lea eax, [ebp - 0xa0]
push 0x4c09b4
push eax
call fcn.004bc1a0
push dword [esi + 0x4c33cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc1a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c098c
push eax
call fcn.004be464
add esp, 0x2c
pop edi
jmp 0x4bb8fd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33cc]
push 0
push eax
push dword [esi]
call fcn.004bc620
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x10000
push 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [0x4053c0], eax
call edi
push 0x8040
push 2
mov dword [0x4053bc], eax
call esi
push eax
mov dword [0x4053f8], eax
call edi
push 0x400
push 2
mov dword [0x4053e8], eax
call esi
push eax
mov dword [0x4053d8], eax
call edi
mov dword [0x4053c4], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x4053c4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x4053c4]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x4021b2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x84
add dword [ebp - 0x18], 0x14d
sub dword [ebp - 0x18], eax
mov dword [ebp - 4], 6
cmp eax, eax
je 0x4021e8
call dword [sym.imp.kernel32.dll_GetTickCount]
call fcn.0040219c
mov eax, 0
push 1
push section..flat
push section..flat
call dword [sym.imp.kernel32.dll_QueryDosDeviceW]
call dword [sym.imp.kernel32.dll_GetLastError]
add dword [ebp - 4], eax
mov eax, 0
call 0x402217
mov dword [ebp - 8], 0xf
add eax, dword [ebp - 4]
pop ecx
add ecx, 0x23
add ecx, eax
xor esi, esi
mov edx, 0x3e8
sub eax, 2
mov al, byte [ecx]
xor al, byte [ebp - 8]
mov byte [ecx], al
cmp edx, 0
je 0x402242
inc esi
dec edx
inc ecx
jmp 0x40222e
mov bh, 0xe
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
pmulhrw mm1, qword [edi]
push cs
invalid