joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001464d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100146ea
push ebx
push esi
call fcn.10014616
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10010cc3
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10014697
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100146e9
push edi
push eax
call fcn.1000fa8b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100146b7
call fcn.1000f234
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100146e8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10010cc3
add esp, 0x20
test eax, eax
jne 0x100146d6
push edi
call fcn.1000f234
jmp 0x100146de
push ebx
call fcn.1000f234
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100190b0
Capabilities:
Parse pe header

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

Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x40ce48
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004078db
mov dword [ebp - 0x14], eax
cmp dword [0x813cf8], esi
jne 0x40cf3b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d01b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d01b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d01b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813cf8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813cfc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813d00], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813d08], eax
test eax, eax
je 0x40cf38
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813d04], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cf60
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cf53
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cf75
push 4
pop eax
jmp 0x40d01d
cmp dword [ebp - 0x14], esi
je 0x40cf75
push dword [0x813cf8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cf5a
mov eax, dword [0x813d04]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cfd3
cmp dword [0x813d08], edi
je 0x40cfd3
push eax
call ebx
push dword [0x813d08]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cfd3
test eax, eax
je 0x40cfd3
call ecx
test eax, eax
je 0x40cfc8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cfc8
test byte [ebp - 8], 1
jne 0x40cfd3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d003
mov eax, dword [0x813cfc]
cmp eax, edi
je 0x40d000
push eax
call ebx
test eax, eax
je 0x40d000
call eax
mov esi, eax
test esi, esi
je 0x40d000
mov eax, dword [0x813d00]
cmp eax, edi
je 0x40d000
push eax
call ebx
test eax, eax
je 0x40d000
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813cf8]
call ebx
test eax, eax
je 0x40d01b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d01d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041ee
mov esp, ebp
pop ebp
ret
Function at 0x10001809
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [0x1002d298]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x1002d29c], 0xa
setl al
or al, cl
mov ebx, dword [ebp + 8]
push eax
sub esp, 0xfc
mov esi, esp
test al, al
je 0x10001830
movdqa xmm0, xmmword [0x100243e0]
xor eax, eax
movdqa xmm1, xmmword [0x100243f0]
movdqu xmmword [esi + eax], xmm0
add eax, 0x10
paddb xmm0, xmm1
cmp eax, 0x100
jne 0x1000184f
xor ecx, ecx
xor edi, edi
movzx eax, byte [esi + ecx]
mov dword [ebp - 0x10], eax
add edi, eax
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
movzx eax, word [ebx + edx*2]
add eax, edi
movzx edi, al
mov al, byte [esi + edi]
mov byte [esi + ecx], al
mov eax, dword [ebp - 0x10]
mov byte [esi + edi], al
inc ecx
cmp ecx, 0x100
jne 0x10001866
xor ebx, ebx
mov eax, dword [ebp + 0x14]
test eax, eax
cmovle eax, ebx
jle 0x100018e7
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x10], eax
lea eax, [ecx + 1]
lea edi, [ecx + 0x100]
test eax, eax
cmovns edi, eax
and edi, 0xffffff00
neg edi
add ecx, edi
inc ecx
mov al, byte [esi + ecx]
add dl, al
movzx edi, dl
mov ah, byte [esi + edi]
mov byte [esi + ecx], ah
mov byte [esi + edi], al
mov edi, dword [ebp + 0x10]
add al, byte [esi + ecx]
movzx eax, al
mov al, byte [esi + eax]
xor byte [edi + ebx], al
mov eax, dword [ebp - 0x10]
inc ebx
cmp eax, ebx
jne 0x100018a6
xor eax, eax
inc eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10003e07
Capabilities:
Suspend thread

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, edx
mov edi, ecx
cmp dword [0x1002ce98], 0xa
jl 0x10003e2a
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10003e2a
jmp 0x10003e28
mov dword [edi], 0
cmp dword [0x1002ce98], 0xa
jl 0x10003e49
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10003e2a
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.10008f11
mov edx, dword [0x1002ce9c]
mov ecx, dword [0x1002ce98]
cmp ecx, 0xa
jl 0x10003f13
lea ebx, [edx + 1]
imul ebx, edx
and ebx, 1
je 0x10003f13
xor ebx, ebx
lea eax, [edx + 1]
imul eax, edx
test al, 1
je 0x10003ede
jmp 0x10003f04
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
call fcn.10008f11
mov edx, dword [0x1002ce9c]
mov ecx, dword [0x1002ce98]
cmp ecx, 0xa
jl 0x10003f13
lea ebp, [edx + 1]
imul ebp, edx
and ebp, 1
jne 0x10003e7e
jmp 0x10003f13
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
call fcn.10008f11
cmp dword [0x1002ce98], 0xa
jl 0x10003e8a
mov edx, dword [0x1002ce9c]
lea eax, [edx + 1]
imul eax, edx
and eax, 1
jne 0x10003e7e
jmp 0x10003e8a
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
call fcn.10008f11
cmp dword [0x1002ce98], 0xa
jl 0x10003eb5
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10003eb5
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov ecx, edi
call fcn.10008f11
jmp 0x10003ede
test eax, eax
je 0x10003f32
cmp dword [edi], 0
je 0x1000401d
cmp ecx, 0xa
jl 0x10003f50
lea eax, [edx + 1]
imul eax, edx
and eax, 1
je 0x10003f50
jmp 0x10003f30
lea esi, [edx + 1]
imul esi, edx
and esi, 1
mov eax, 9
cmp ecx, 0xa
jl 0x10003f4b
test esi, esi
je 0x10003f4b
jmp 0x10003f49
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [edi + 8], 0
je 0x1000401d
xor ebp, ebp
mov eax, dword [edi]
push dword [eax + ebp*4]
push 0
push 0x5a
call fcn.10009fa5
test eax, eax
je 0x10003ffd
mov ebx, eax
cmp dword [0x1002ce98], 0xa
jl 0x10003f91
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1000401b
push 0
push ebx
call sub.NTDLL.dll_NtSuspendThread
cmp dword [0x1002ce98], 0xa
jl 0x10003fbc
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10003fe5
jmp 0x10003fbc
inc ebp
cmp ebp, dword [edi + 8]
jb 0x10003f5c
jmp 0x1000401d
mov ecx, ebx
mov edx, esi
push dword [esp + 0x14]
call fcn.100108f8
add esp, 4
cmp dword [0x1002ce98], 0xa
jl 0x10003ff7
mov eax, dword [0x1002ce9c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10003ff7
mov ecx, ebx
mov edx, esi
push dword [esp + 0x14]
call fcn.100108f8
add esp, 4
jmp 0x10003fbc
push ebx
call sub.NTDLL.dll_NtClose
mov edx, dword [0x1002ce9c]
mov ecx, dword [0x1002ce98]
cmp ecx, 0xa
jl 0x10003fb4
lea eax, [edx + 1]
imul eax, edx
and eax, 1
je 0x10003fb4
jmp 0x10004019
jmp 0x1000401b
lea esi, [edx + 1]
imul esi, edx
and esi, 1
xor eax, eax
cmp ecx, 0xa
jl 0x10003f40
test esi, esi
je 0x10003f40
jmp 0x10004039
Function at 0x1000b7b6
Capabilities:
Resume thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], ecx
mov ecx, dword [0x1002d518]
mov eax, dword [0x1002d51c]
lea edx, [ecx + 1]
imul edx, ecx
mov ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x1000b7e1
test ecx, ecx
je 0x1000b7e1
jmp 0x1000b7df
mov esi, dword [esp]
cmp dword [esi], 0
je 0x1000b925
cmp eax, 0xa
jl 0x1000b7fb
and edx, 1
jne 0x1000b8f4
xor ebx, ebx
mov ebp, 0x5a
xor edx, edx
mov ecx, dword [esp]
mov eax, dword [ecx]
cmp edx, dword [ecx + 8]
jae 0x1000b8f8
mov dword [esp + 4], edx
mov esi, dword [eax + edx*4]
push esi
push 0
push 0x5a
call fcn.10009fa5
mov edi, eax
mov eax, dword [0x1002d518]
mov ecx, dword [0x1002d51c]
cmp ecx, 0xa
jl 0x1000b86b
lea edx, [eax + 1]
imul edx, eax
and edx, 1
je 0x1000b86b
push esi
push ebx
push ebp
call fcn.10009fa5
push esi
push ebx
push ebp
call fcn.10009fa5
cmp dword [0x1002d51c], 0xa
jl 0x1000b819
mov eax, dword [0x1002d518]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1000b840
jmp 0x1000b819
test edi, edi
je 0x1000b8c5
push 0
push edi
call sub.NTDLL.dll_NtResumeThread
cmp dword [0x1002d51c], 0xa
jl 0x1000b8a0
mov eax, dword [0x1002d518]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1000b8a0
push ebx
push edi
call sub.NTDLL.dll_NtResumeThread
push ebx
jmp 0x1000b871
push edi
call sub.NTDLL.dll_NtClose
push edi
call sub.NTDLL.dll_NtClose
mov eax, dword [0x1002d518]
mov ecx, dword [0x1002d51c]
lea edx, [eax + 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x1000b8ce
test edx, edx
jne 0x1000b89a
jmp 0x1000b8ce
lea edx, [eax + 1]
imul edx, eax
and edx, 1
cmp ecx, 0xa
jl 0x1000b8d7
test edx, edx
jne 0x1000b8f6
mov edx, dword [esp + 4]
inc edx
cmp ecx, 0xa
jl 0x1000b804
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1000b804
jmp 0x1000b8f4
jmp 0x1000b8f6
push eax
push 0
push dword [0x1002ca34]
call fcn.1001763e
mov edx, dword [0x1002d518]
mov eax, dword [0x1002d51c]
lea ecx, [edx + 1]
imul ecx, edx
and ecx, 1
cmp eax, 0xa
jl 0x1000b925
test ecx, ecx
je 0x1000b925
jmp 0x1000b923
cmp eax, 0xa
jl 0x1000b930
test ecx, ecx
je 0x1000b930
jmp 0x1000b92e
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x1000cf51
Capabilities:
Send data

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edi, dword [esp + 0x20]
cmp dword [edi], 0
je 0x1000cf9e
xor esi, esi
mov ebx, esp
mov ebp, dword [sym.imp.WININET.dll_InternetWriteFile]
mov eax, dword [edi]
sub eax, esi
jbe 0x1000cfa0
mov ecx, dword [esp + 0x1c]
add ecx, esi
mov dword [esp], 0
push ebx
push eax
push ecx
push dword [esp + 0x24]
call ebp
test eax, eax
je 0x1000cf96
mov eax, dword [esp]
test eax, eax
je 0x1000cf96
add esi, eax
mov al, 1
jmp 0x1000cf98
xor eax, eax
test al, al
jne 0x1000cf69
jmp 0x1000cfa0
xor esi, esi
mov eax, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000f5e7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 2
push dword [0x1002d138]
call esi
mov dword [0x1002c9d4], eax
push 4
push dword [0x1002d138]
call esi
mov dword [0x1002c9d8], eax
mov eax, dword [0x1002d148]
lea ecx, [eax + 1]
imul ecx, eax
test cl, 1
sete cl
cmp dword [0x1002d14c], 0xa
setl al
or al, cl
test al, al
je 0x1000f62b
mov edi, dword [0x1002d138]
push 5
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1002c9dc], eax
cmp dword [0x1002d14c], 0xa
jl 0x1000f68c
mov eax, dword [0x1002d148]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1000f68c
mov ebx, 5
push ebx
push edi
call esi
mov dword [0x1002c9dc], eax
push ebx
push edi
call esi
mov dword [0x1002c9dc], eax
cmp dword [0x1002d14c], 0xa
jl 0x1000f68c
mov eax, dword [0x1002d148]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1000f661
pop esi
pop edi
pop ebx
ret
Function at 0x1000f911
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x1000fa7b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x1002d278], 0xa
jl 0x1000f987
mov ecx, dword [0x1002d27c]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
je 0x1000f987
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
push edi
call esi
cmp dword [0x1002d278], 0xa
jl 0x1000f96a
mov eax, dword [0x1002d27c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x1000f94b
push edi
call esi
cmp dword [0x1002d278], 0xa
jl 0x1000f987
mov ecx, dword [0x1002d27c]
lea edx, [ecx + 1]
imul edx, ecx
and edx, 1
jne 0x1000f94b
add eax, eax
add eax, 2
mov dword [esp], eax
mov ebp, dword [esp]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp]
push dword [esp + 0x20]
push 1
push 0
push str.HostN
push dword [0x1002c988]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [0x1002d278], 0xa
jl 0x1000fa1d
mov eax, dword [0x1002d27c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1000fa1d
push ebp
mov edi, dword [esp + 0x20]
push edi
xor ebx, ebx
inc ebx
push ebx
xor ebx, ebx
push ebx
mov eax, str.HostN
push eax
push dword [0x1002c988]
call esi
push ebp
push edi
xor edi, edi
inc edi
push edi
push ebx
mov eax, str.HostN
push eax
push dword [0x1002c988]
call esi
mov ecx, dword [0x1002d27c]
lea eax, [ecx + 1]
imul eax, ecx
and eax, edi
cmp dword [0x1002d278], 0xa
jl 0x1000f998
test eax, eax
jne 0x1000f9cd
jmp 0x1000f998
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
add eax, 2
xor esi, esi
push eax
push edi
push 1
push esi
push str.PathN
push dword [0x1002c988]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call ebp
mov edi, 4
lea eax, [esp + 0x24]
push edi
push eax
push edi
push esi
push str.SSLN
push dword [0x1002c988]
call ebp
mov al, byte [esp + 0x28]
test al, al
je 0x1000fabd
cmp al, 0xff
movzx eax, al
mov ecx, 0xfe
cmovne ecx, eax
movzx esi, cl
jmp 0x1000fac2
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push str.HostN
push dword [0x1002c988]
call esi
push str.PathN
push dword [0x1002c988]
call esi
push str.SSLN
push dword [0x1002c988]
call esi
push str.Next
push dword [0x1002c988]
call esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, 0xc
lea ebx, [esp + 4]
mov dword [esp + 4], esi
push edi
push ebx
push edi
push 0
push str.Next
push dword [0x1002c988]
call ebp
cmp dword [0x1002d278], 0xa
jl 0x1000fab5
mov eax, dword [0x1002d27c]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x1000fab5
mov dword [esp + 4], esi
push edi
push ebx
push edi
push 0
push str.Next
push dword [0x1002c988]
call ebp
jmp 0x1000fac6
Function at 0x10012a9e
Capabilities:
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x1000
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10012ae4
mov esi, eax
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
cmp dword [0x1002d190], 0xa
jl 0x10012af0
mov eax, dword [0x1002d194]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10012b1e
jmp 0x10012af0
xor ebx, ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 2
push edi
push ebp
push ebx
push str._s_s_s_c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
cmp dword [0x1002d190], 0xa
jl 0x10012b34
mov edx, dword [0x1002d194]
lea ecx, [edx + 1]
imul ecx, edx
and ecx, 1
je 0x10012b34
push 2
push edi
push ebp
push ebx
push str._s_s_s_c
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
jmp 0x10012af0
mov dword [esp], eax
xor ebx, ebx
push ebx
push ebx
push esi
call fcn.100177d2
add esp, 0xc
mov ebp, eax
cmp dword [0x1002d190], 0xa
jl 0x10012b92
mov eax, dword [0x1002d194]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10012b92
xor edi, edi
push edi
push edi
push esi
call fcn.100177d2
add esp, 0xc
push edi
push edi
push esi
call fcn.100177d2
add esp, 0xc
mov ebp, eax
cmp dword [0x1002d190], 0xa
jl 0x10012b92
mov eax, dword [0x1002d194]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10012b61
test ebp, ebp
je 0x10012bbe
xor edi, edi
push dword [esp]
push ebp
push edi
call sub.NTDLL.dll_RtlComputeCrc32
mov ebx, eax
sub ebx, 0xffffff7f
cmovb ebx, eax
bswap ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x1002d190], 0xa
jl 0x10012ae6
mov eax, dword [0x1002d194]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
je 0x10012ae6
mov dword [esp], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebp, ebp
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
call ebx
push esi
push ebp
push eax
call edi
call ebx
push esi
push ebp
push eax
call edi
cmp dword [0x1002d190], 0xa
jl 0x10012c27
mov eax, dword [0x1002d194]
lea ecx, [eax + 1]
imul ecx, eax
and ecx, 1
jne 0x10012c00
mov ebx, dword [esp]
jmp 0x10012ae6
Function at 0x100171ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push edi
push esi
cmp dword [0x1002ce34], 0xa
jl 0x1001720a
mov eax, dword [0x1002ce30]
lea esi, [eax + 1]
imul esi, eax
and esi, 1
je 0x1001720a
jmp 0x10017208
movzx ebx, byte [ecx]
xor eax, eax
test ebx, ebx
je 0x10017223
cmp ebx, 0xcc
je 0x10017223
cmp ebx, 0x90
jne 0x1001723e
cmp edx, 2
jb 0x1001723b
xor esi, esi
inc esi
mov edi, esi
cmp byte [ecx + edi], bl
jne 0x1001723e
inc edi
cmp edx, edi
jne 0x1001722d
mov eax, esi
jmp 0x1001723e
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
ret
Function at 0x1001a2a0
Capabilities:
Parse pe header

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

Function at 0x1001a5f0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ad0
push 0x10024ac8
push str.FlsAlloc
push 0x1e
call fcn.1001a8d3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001a624
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x1001a62a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001a66e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10024ae0
push 0x10024ad8
push str.FlsGetValue
push 0x20
call fcn.1001a8d3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001a6a5
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1001d8f4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001d991
push ebx
push esi
call fcn.1001d994
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d83d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001d93e
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d990
push edi
push eax
call fcn.1001dc05
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001d95e
call fcn.1001bba8
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001d98f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d83d
add esp, 0x20
test eax, eax
jne 0x1001d97d
push edi
call fcn.1001bba8
jmp 0x1001d985
push ebx
call fcn.1001bba8
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403790
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x4037b6
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jge 0x403857
mov edx, dword [ebp - 4]
add edx, 1
and edx, 0x800000ff
jns 0x4037d8
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0xc]
and ecx, 0x800000ff
jns 0x4037f7
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 4]
push eax
call fcn.004036c0
add esp, 8
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 4]
movzx edx, byte [ecx]
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x403834
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + edx]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], al
jmp 0x4037ad
call fcn.00401ad0
mov esp, ebp
pop ebp
ret