joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b403
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
lea esi, [esi + esi + 2]
stosd dword es:[edi], eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
xor eax, eax
mov edx, dword [ebp + 0xc]
movzx edx, byte [eax + edx]
mov dword [ebp + eax*4 - 0x34], edx
inc eax
cmp eax, 5
jl 0x40b424
mov eax, dword [ecx]
xor edx, edx
inc edx
cmp esi, edx
mov dword [eax], 0xb7e15163
jle 0x40b459
mov eax, dword [ecx]
lea eax, [eax + edx*4]
mov edi, dword [eax - 4]
sub edi, 0x61c88647
inc edx
cmp edx, esi
mov dword [eax], edi
jl 0x40b444
cmp esi, 2
jge 0x40b467
mov dword [ebp - 4], 6
jmp 0x40b46d
imul esi, esi, 3
mov dword [ebp - 4], esi
xor esi, esi
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], ebx
jle 0x40b4d2
mov edi, dword [ecx]
mov eax, dword [ebp + 0xc]
cdq
idiv dword [ebp - 0xc]
mov eax, edx
shl eax, 2
lea ecx, [eax + edi]
lea edx, [ebx + esi]
add edx, dword [ecx]
rol edx, 3
mov dword [ecx], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
and edx, 0x80000001
mov edi, dword [ecx]
mov esi, dword [eax + edi]
jns 0x40b4ad
dec edx
or edx, 0xfffffffe
inc edx
lea edx, [ebp + edx*4 - 0x34]
mov eax, dword [edx]
add eax, dword [ebp - 8]
lea ecx, [ebx + esi]
add eax, esi
and ecx, 0x1f
inc dword [ebp + 0xc]
rol eax, cl
mov ebx, eax
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 4]
mov dword [ebp - 8], ebx
jl 0x40b47c
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 8

Function at 0x40b4dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [edi]
add esi, 8
test ecx, ecx
jle 0x40b553
mov dword [ebp - 8], ecx
push ebx
mov ecx, dword [edi]
mov ecx, dword [ecx]
add dword [eax], ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add dword [eax + 4], ecx
mov ecx, dword [edi + 4]
and dword [ebp - 4], 0
add ecx, ecx
test ecx, ecx
jle 0x40b54a
mov edx, dword [eax + 4]
mov ecx, edx
and ecx, 0x1f
rol edx, cl
mov ecx, dword [ebp - 4]
mov dword [eax], edx
mov ecx, dword [esi + ecx*4]
lea ebx, [ecx + edx]
mov edx, dword [eax + 4]
mov ecx, ebx
and ecx, 0x1f
xor edx, ebx
rol edx, cl
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 2
mov dword [eax], ebx
mov dword [eax + 4], edx
mov ecx, dword [esi + ecx*4 + 4]
add ecx, edx
mov dword [eax + 4], ecx
mov ecx, dword [edi + 4]
add ecx, ecx
cmp dword [ebp - 4], ecx
jl 0x40b50a
add eax, 8
dec dword [ebp - 8]
jne 0x40b4ef
pop ebx
pop esi
leave
ret
Function at 0x40bd7f
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x45f774]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x28], 0x41
mov byte [ebp - 0x27], 0x59
mov byte [ebp - 0x26], 0x34
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x23], 0x36
mov byte [ebp - 0x22], 0x45
mov byte [ebp - 0x21], 0x55
mov byte [ebp - 0x20], 0x33
mov byte [ebp - 0x1f], 0x47
mov byte [ebp - 0x1e], 0x53
mov byte [ebp - 0x1d], 0x37
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x51
mov byte [ebp - 0x1a], 0x32
mov byte [ebp - 0x19], 0x4b
mov byte [ebp - 0x18], 0x4f
mov byte [ebp - 0x17], 0x4d
mov byte [ebp - 0x16], 0x38
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x14], 0x4c
mov byte [ebp - 0x13], 0x50
mov byte [ebp - 0x12], 0x31
mov byte [ebp - 0x11], 0x4a
mov byte [ebp - 0x10], 0x52
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xe], 0x39
mov byte [ebp - 0xd], 0x54
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x44
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0x58
mov byte [ebp - 7], 0x42
mov byte [ebp - 6], 0x30
mov byte [ebp - 5], 0x5a
jle 0x40be5d
mov ebx, ecx
lea eax, [ebp - 0x40]
sub ebx, eax
lea esi, [ebp + edi - 0x40]
movzx eax, byte [ebx + esi]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fmul qword [0x453710]
fmul qword [0x453708]
call fcn.00435f06
inc edi
cmp edi, dword [ebp + 0xc]
mov byte [esi], al
jl 0x40be36
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x40becd
lea eax, [ebp - 0x40]
dec eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], ecx
jmp 0x40be7a
mov eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x48]
test esi, esi
movzx eax, byte [eax + esi]
mov bl, byte [ebp + eax - 0x28]
jge 0x40be8b
xor esi, esi
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
cmp esi, eax
jle 0x40be99
mov esi, eax
mov ecx, dword [ebp - 0x4c]
lea edi, [eax + 1]
push edi
call fcn.004017f7
mov ecx, edi
sub ecx, esi
push ecx
add esi, eax
push esi
push ecx
lea eax, [esi + 1]
push eax
call fcn.0040725c
mov ecx, dword [ebp - 0x4c]
add esp, 0x10
push edi
mov byte [esi], bl
call fcn.00401792
inc dword [ebp - 0x48]
dec dword [ebp - 0x44]
jne 0x40be77
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f15c
leave
ret 8
Function at 0x40bede
Capabilities:
Encode data using xor

Disassembly:
push 0
mov eax, 0x446f55
call fcn.00434949
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
cmp esi, ebx
jle 0x40bf0b
mov ecx, ebx
lea eax, [ebp + 8]
call fcn.0040c48f
mov byte [ebx + edi], al
inc ebx
cmp ebx, esi
jl 0x40bef9
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jge 0x40bf25
mov eax, edi
sub ecx, esi
mov bl, byte [eax]
lea edx, [eax + 1]
xor bl, byte [edx]
dec ecx
mov byte [eax + esi], bl
mov eax, edx
jne 0x40bf16
mov eax, dword [ebp + 0xc]
cdq
xor esi, esi
sub eax, edx
sar eax, 1
inc esi
cmp eax, esi
mov dword [ebp + 0xc], eax
jle 0x40bf4d
lea ecx, [eax + edi]
mov al, byte [ecx]
mov dl, byte [esi + edi]
mov byte [esi + edi], al
inc esi
mov byte [ecx], dl
inc esi
inc ecx
inc ecx
cmp esi, dword [ebp + 0xc]
jl 0x40bf3a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004017b8
call fcn.00434a21
ret 8

Function at 0x40bf60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xf8
mov eax, dword [0x45f774]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x460c88]
mov esi, dword [ebp + 0x7c]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x460c14], dl
setne al
mov byte [ebp + ecx], al
inc ecx
cmp ecx, 0x38
jl 0x40bf7c
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
lea ecx, [ebp + eax*4 - 0x80]
lea esi, [ebp + eax*4 - 0x84]
movzx eax, byte [edi + 0x460cc0]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x40bfd3
mov bl, byte [ebp + edi]
jmp 0x40bfd7
mov bl, byte [ebp + edi - 0x1c]
mov byte [ebp + edx + 0x38], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x40bfc8
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x40bff2
mov dl, byte [ebp + eax]
jmp 0x40bff6
mov dl, byte [ebp + eax - 0x1c]
mov byte [ebp + edi + 0x38], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x40bfe7
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x460ce8]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi + 0x38], bl
je 0x40c01e
mov edi, dword [eax*4 + 0x460c28]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx + 0x38], bl
je 0x40c030
mov edx, dword [eax*4 + 0x460c28]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x40c005
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x40bfa8
lea eax, [ebp - 0x84]
push eax
call fcn.0040c063
mov ecx, dword [ebp + 0x70]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f15c
add ebp, 0x74
leave
ret 4
Function at 0x40c182
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x460d00]
or edx, dword [ebx*4 + 0x460f00]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x461100]
and esi, edi
or edx, dword [esi*4 + 0x461300]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x460e00]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x461000]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x461200]
and esi, edi
or ecx, dword [esi*4 + 0x461400]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x460d00]
or edx, dword [ebx*4 + 0x460f00]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x461100]
and esi, edi
or edx, dword [esi*4 + 0x461300]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x460e00]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x461000]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x461200]
and esi, edi
or ecx, dword [esi*4 + 0x461400]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x40c1fd
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x40cea7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x45f774]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
push 0x128
xor ebx, ebx
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.00431370
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40cee6
xor eax, eax
jmp 0x40cf2c
lea eax, [ebp - 0x134]
push eax
push edi
mov dword [ebp - 0x134], 0x128
call sub.KERNEL32.DLL_Process32First
jmp 0x40cf17
mov eax, dword [ebp - 0x12c]
cmp eax, dword [ebp + 8]
je 0x40cf1d
lea eax, [ebp - 0x134]
push eax
push edi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40ceff
jmp 0x40cf23
mov ebx, dword [ebp - 0x11c]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042f15c
leave
ret

Function at 0x40cf3a
Capabilities:
Enumerate processes

Disassembly:
push 0x138
mov eax, 0x447f98
call fcn.004349b2
and dword [ebp - 0x140], 0
mov ecx, ebx
mov dword [ebp - 0x144], ebx
call fcn.00401cc4
and dword [ebp - 4], 0
push 0
push 2
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x13c], 0x128
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x40cfc6
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.DLL_Process32First
jmp 0x40cfab
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp + 8]
je 0x40cfb1
lea eax, [ebp - 0x13c]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40cf93
jmp 0x40cfbf
lea eax, [ebp - 0x118]
push eax
mov ecx, ebx
call fcn.00401afc
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, ebx
call fcn.00434a35
ret

Function at 0x40d20d
Capabilities:
Create process on windows
Terminate process

Disassembly:
push 0x170
mov eax, 0x447f0b
call fcn.004349b2
push 0x104
lea eax, [ebp - 0x11c]
xor esi, esi
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
call fcn.00419238
push eax
lea ecx, [ebp - 0x120]
call fcn.004017d2
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp - 0x120]
push str.__s__delete___s_
push eax
call fcn.00402b1b
push 0x44
lea eax, [ebp - 0x17c]
push esi
push eax
call fcn.00431370
xor eax, eax
lea edi, [ebp - 0x130]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x1c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x17c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x120]
mov dword [ebp - 0x17c], 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x40d4a9
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x45f774]
xor eax, ebp
mov dword [ebp + 0x194], eax
mov eax, dword [ebp + 0x1a0]
push esi
push 1
xor esi, esi
push esi
push esi
push eax
push str.open
push esi
mov dword [ebp - 0x80], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov dword [ebp - 0x7c], eax
ja 0x40d5b6
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
lea eax, [ebp - 0x78]
push eax
push 1
push esi
push str..htm
push SysReAllocString
call ebx
cmp eax, esi
jne 0x40d5b4
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x74]
call fcn.0040d44b
cmp eax, esi
pop ecx
jne 0x40d5b4
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push str._shellopencommand
mov eax, edi
push eax
call esi
lea eax, [ebp - 0x78]
push eax
push 1
push 0
mov eax, edi
push eax
push SysReAllocString
call ebx
test eax, eax
jne 0x40d5b4
lea eax, [ebp - 0x78]
push eax
call fcn.0040d44b
test eax, eax
pop ecx
jne 0x40d5b4
mov eax, edi
push str.__1_
push eax
call fcn.0042f892
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x40d594
lea eax, [ebp - 0x74]
push 0x452fe0
push eax
call fcn.0042f892
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x40d594
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [ebp + eax - 0x75]
jmp 0x40d597
mov byte [edi], 0
push 0x452fe4
push edi
call esi
push dword [ebp - 0x80]
push edi
call esi
push 1
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
mov dword [ebp - 0x7c], eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x194]
mov eax, dword [ebp - 0x7c]
xor ecx, ebp
pop esi
call fcn.0042f15c
add ebp, 0x198
leave
ret

Function at 0x40e210
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x446173
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x45f774]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.0040df30
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4657e0
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x4512f3
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0040d710
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4156ba
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4156f3
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0041567d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00409671
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x41720e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x417251
call fcn.0041ed23
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x417251
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x41726c
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00416dc5
test ebx, ebx
mov esi, eax
je 0x41726a
test edi, edi
je 0x41726a
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41cdb9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41cdff
call fcn.0041ed23
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x41cdff
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x41ce42
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x41ce2b
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41ce2b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41ce3f
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42076b
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x420794
call fcn.0041ed23
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4207b7
push eax
push dword [esi + 4]
call fcn.004206f6
push esi
push eax
mov ecx, 0x46731c
call fcn.004203d0
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x42d438
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42d441
xor eax, eax
jmp 0x42d4aa
cmp dword [esp + 8], 0
jne 0x42d44d
call fcn.004190f6
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00432423
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x42d488
push dword [esi + 0x10]
call fcn.00434031
test eax, eax
pop ecx
jne 0x42d488
mov esi, dword [esi + 0xc]
call fcn.00434d94
push esi
push dword [eax]
push 1
call fcn.0042b63b
push dword [esi + 0x10]
call fcn.00434060
test eax, eax
pop ecx
je 0x42d4a7
push dword [esi + 0x10]
call fcn.00436b93
push eax
call fcn.0040727b
pop ecx
pop ecx
jmp 0x42d476
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x42d4b3
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x42d4bd
call fcn.004190f6
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00436d59
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x42d4ea
mov esi, dword [esi + 0xc]
call fcn.00434d94
push esi
push dword [eax]
push 1
call fcn.0042b63b
pop esi
ret 8

Function at 0x42f15c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45f774]
jne 0x42f166
repz ret
jmp fcn.00437289
Function at 0x4425bf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00437460
xor ebx, ebx
cmp dword [0x46811c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x442694
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4425ff
xor eax, eax
jmp 0x442758
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x45080c
push edi
call esi
cmp eax, ebx
je 0x4425f8
push eax
call fcn.004373fd
mov dword [esp], 0x4507fc
push edi
mov dword [0x46811c], eax
call esi
push eax
call fcn.004373fd
mov dword [esp], 0x4507e8
push edi
mov dword [0x468120], eax
call esi
push eax
call fcn.004373fd
mov dword [0x468124], eax
lea eax, [ebp - 8]
push eax
call fcn.00435122
test eax, eax
pop ecx
pop ecx
je 0x442662
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004315c9
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x442694
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004373fd
cmp eax, ebx
pop ecx
mov dword [0x46812c], eax
je 0x442694
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004373fd
pop ecx
mov dword [0x468128], eax
mov eax, dword [0x468128]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44270d
cmp dword [0x46812c], esi
je 0x44270d
push eax
call fcn.00437469
pop ecx
call eax
cmp eax, ebx
je 0x4426da
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x46812c]
call fcn.00437469
pop ecx
call eax
test eax, eax
je 0x4426da
test byte [ebp - 0x18], 1
jne 0x44270d
lea eax, [ebp - 0xc]
push eax
call fcn.00435159
test eax, eax
pop ecx
je 0x4426f5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004315c9
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x442704
or dword [ebp + 0x10], 0x200000
jmp 0x44273e
or dword [ebp + 0x10], 0x40000
jmp 0x44273e
mov eax, dword [0x468120]
cmp eax, esi
je 0x44273e
push eax
call fcn.00437469
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44273e
mov eax, dword [0x468124]
cmp eax, esi
je 0x44273e
push dword [ebp - 4]
push eax
call fcn.00437469
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x46811c]
call fcn.00437469
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x445c07
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45f774]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00445b9c
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00431370
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x445c56
cmp dword [ebp - 0x1c], 5
jb 0x445c6e
jmp 0x445c6a
cmp dword [ebp - 0x10], 1
jne 0x445c6e
cmp dword [ebp - 0x1c], 4
ja 0x445c6a
jne 0x445c6e
cmp dword [ebp - 0x18], 0
jbe 0x445c6e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4510f8
call fcn.00445a8d
test eax, eax
jge 0x445c8f
mov byte [0x468f6c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042f15c
add ebp, 0x78
leave
ret