joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411598
Capabilities:
Encode data using xor
Get file size
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xa30
push ebx
mov ebx, dword [esp + 0xa38]
xorps xmm0, xmm0
movlpd qword [esp + 0x14], xmm0
push ebp
push esi
push edi
test ebx, ebx
je 0x411794
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push ebp
push closesocket
push ebx
mov dword [esp + 0x30], ebp
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x411794
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x411603
cmp dword [esp + 0x24], ebp
jne 0x41164b
cmp dword [esp + 0x20], 0x10000000
ja 0x41164b
push 0x4bb5ac
push dword [0x4ba2d8]
lea eax, [esp + 0x40]
push dword [0x4ba0c0]
push 0x472d48
push 0xffffffffffffffff
push 0x103
push eax
call fcn.00401ea4
add esp, 0x1c
lea eax, [esp + 0x38]
push ebp
push 0x80
push 3
push ebp
push 3
push 0xc0000000
push eax
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x411657
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x411794
push 2
lea eax, [esp + 0x38]
xorps xmm0, xmm0
push eax
push ebp
push edi
movlpd qword [esp + 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0x50000
push eax
push edi
call ebp
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x14]
jne 0x411696
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push edi
call ebp
push ebx
lea eax, [esp + 0x3c]
push 0x104
push eax
call fcn.0042338c
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x44]
push 0x4698c0
lea edx, [eax + eax]
call fcn.0044cad5
add esp, 0x10
lea eax, [esp + 0x10]
xor ebx, ebx
push ebx
push eax
mov eax, dword [esp + 0x20]
add eax, eax
push eax
lea eax, [esp + 0x44]
push eax
push edi
call ebp
push ebx
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
jmp 0x41176a
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x411788
xor eax, eax
mov ecx, eax
test edx, edx
je 0x411756
mov eax, ebx
and eax, 0xf
mov al, byte [eax*4 + 0x472d60]
add al, byte [esp + 0x14]
xor byte [esp + ecx + 0x240], al
inc ebx
movsx eax, byte [esp + ecx + 0x240]
inc ecx
mov dword [esp + 0x14], eax
cmp ecx, edx
jb 0x41172b
xor eax, eax
push eax
lea eax, [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x24c]
push eax
push edi
call ebp
xor eax, eax
push eax
lea eax, [esp + 0x20]
push eax
push 0x800
lea eax, [esp + 0x24c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41171b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa30
ret 4
Function at 0x443b34
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x380
push esi
mov esi, dword [esp + 0x38c]
test esi, esi
jne 0x443b4d
xor al, al
jmp 0x443d76
push ebx
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ebp, 0xff
push eax
push str.utm_codepage_u
push ebp
push esi
call fcn.0040529f
lea ebx, [ebp + 1]
push ebx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0041cce0
push ebx
push 0xfe
lea eax, [esp + 0x34]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d090
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403dd1
add esp, 0x2c
mov edi, 0x2710
test al, al
je 0x443bbb
lea eax, [esp + 0x10]
push eax
call fcn.0042a794
pop ecx
test edx, edx
jg 0x443bf6
jl 0x443bbb
cmp eax, edi
jae 0x443bf6
push ebx
push 0xfe
lea eax, [esp + 0x18]
mov edx, str.SOFTWAREMetaQuotes_Software
push eax
push 0x46d090
mov ecx, closesocket
call fcn.00403dd1
add esp, 0x10
test al, al
je 0x443bfd
lea eax, [esp + 0x10]
push eax
call fcn.0042a794
pop ecx
test edx, edx
jg 0x443bf6
jl 0x443bfd
cmp eax, edi
jb 0x443bfd
mov ax, word [esp + 0x10]
jmp 0x443c04
xor eax, eax
mov word [esp + 0x10], ax
test ax, ax
je 0x443c4e
push 0
push 0
push 0x7f
lea eax, [esp + 0x11c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x24]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x443c4e
push str.utm_uniq
mov edx, ebp
mov ecx, esi
call fcn.004073db
lea eax, [esp + 0x110]
mov edx, ebp
push eax
mov ecx, esi
call fcn.004073db
cmp byte [0x4b9f70], 0
je 0x443c73
push str.utm_link
mov edx, ebp
mov ecx, esi
call fcn.004073db
push 0x4b9f70
mov edx, ebp
mov ecx, esi
call fcn.004073db
push ebp
lea eax, [esp + 0x194]
push eax
push str.https:__www.mql5.com
call fcn.00443a54
test al, al
je 0x443d5a
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4b9ffc], 0
je 0x443d4f
mov edi, dword [0x4b9ff8]
jmp 0x443d47
lea eax, [esp + 0x190]
push eax
push edi
call fcn.0044397e
test al, al
je 0x443d3a
lea ebp, [edi + 0x80]
mov edx, str.utm_campaign
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443ce1
inc ecx
cmp ecx, 0xd
jne 0x443cd0
jmp 0x443cf7
mov edx, str.utm_source
xor ecx, ecx
movzx eax, byte [ecx + ebp]
cmp al, byte [edx + ecx]
jne 0x443d3a
inc ecx
cmp ecx, 0xb
jne 0x443ce8
lea ebx, [edi + 0xc0]
cmp byte [ebx], 0
je 0x443d3a
push 0x46d1a0
mov edx, 0xff
mov ecx, esi
call fcn.004073db
push ebp
mov ebp, 0xff
mov ecx, esi
mov edx, ebp
call fcn.004073db
push 0x46d1a4
mov edx, ebp
mov ecx, esi
call fcn.004073db
push ebx
mov edx, ebp
mov ecx, esi
call fcn.004073db
push edi
mov ecx, 0x4b9ff0
call fcn.00407348
mov edi, eax
test edi, edi
jne 0x443cb1
push 0x4b9590
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebp
pop ebx
jmp 0x443d6e
cmp al, 0x20
jne 0x443d68
mov byte [esi], 0x2b
jmp 0x443d6d
jge 0x443d6d
mov byte [esi], 0x5f
inc esi
mov al, byte [esi]
test al, al
jne 0x443d5f
inc al
pop esi
add esp, 0x380
ret 0xc
Function at 0x444231
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
je 0x444325
xor ebx, ebx
cmp word [esi], bx
je 0x444325
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
push edi
push ebp
push esi
call fcn.00444125
test al, al
je 0x44426a
mov al, 1
jmp 0x444327
lea eax, [esp + 0x34]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x38], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], ebx
push ebx
push esi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 6
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x444325
mov edx, dword [esp + 0x34]
test edx, edx
je 0x444325
mov eax, edx
movzx ecx, di
cmp dword [eax + 4], ecx
je 0x4442c6
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4442b8
jmp 0x44431a
mov ecx, dword [eax + 0x18]
push 0x17
pop eax
cmp di, ax
jne 0x444307
lea eax, [ebp + 8]
mov edi, eax
mov dword [esp + 0x3c], eax
lea esi, [ecx + 8]
push 0x17
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp], cx
mov esi, 0x493440
mov ecx, ebx
mov eax, dword [eax + ecx*4]
cmp eax, dword [esi + ecx*4]
jne 0x444303
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, 4
jne 0x4442ef
jmp 0x44431a
mov bl, 1
jmp 0x44431a
mov eax, dword [ecx + 4]
mov dword [ebp + 4], eax
push 2
pop eax
mov word [ebp], ax
cmp dword [ecx + 4], ebx
setne bl
push edx
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov al, bl
jmp 0x444327
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc

Function at 0x444fb0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
lea edx, [ebp - 0x100]
call fcn.004464b2
mov edx, 0x46f29c
pop ecx
test al, al
je 0x444ff0
lea esi, [ebp - 0x100]
xor ecx, ecx
movzx eax, byte [esi + ecx]
cmp al, byte [edx + ecx]
jne 0x445003
inc ecx
cmp ecx, 3
jne 0x444fe1
push ecx
push edx
push ecx
push 0x3f
pop edx
mov ecx, 0x4b9f30
call fcn.0044032b
pop esi
leave
ret
lea eax, [ebp - 0x100]
push eax
push str._s_en
push 0x3f
push 0x4b9f30
call fcn.00407378
add esp, 0x10
jmp 0x445000
Function at 0x445157
Capabilities:
Get common file path
Initialize winsock library

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
push edi
mov edi, 0x4b9590
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, esi
mov dword [0x4b9ab0], eax
cmp byte [0x4ba020], 0
jne 0x4451bf
push 0x190
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0041cce0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4451b8
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
jmp 0x44532e
mov byte [0x4ba020], 1
mov ebx, 0x4b96a0
push ebx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x103
mov ebp, 0x4b98a8
push ebx
mov edx, esi
mov ecx, ebp
call fcn.00403e49
push ebx
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.00403e49
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c8dd
test eax, eax
js 0x44521f
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push 0x470070
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c81b
lea ecx, [esp + 0x18]
call fcn.0040952e
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c8dd
test eax, eax
js 0x445257
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push str.Terminal
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c81b
lea ecx, [esp + 0x18]
call fcn.0040952e
lea eax, [esp + 0x14]
mov edx, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0043c8dd
test eax, eax
js 0x44528f
mov eax, dword [esp + 0x14]
mov edx, esi
push ecx
push str.Community
push ecx
lea ecx, [esp + 0x24]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.0043c81b
lea ecx, [esp + 0x18]
call fcn.0040952e
push str.MetaQuotesTerminalCommunitydns.dat
mov edx, esi
mov ecx, ebx
call fcn.00403be9
push str.MetaQuotesTerminalCommunitycookies.dat
mov edx, esi
mov ecx, ebp
call fcn.00403be9
call fcn.00444fb0
call fcn.00444f32
call fcn.00444ac2
call fcn.004449c0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str..mql5.com
call fcn.00444669
push str..mql5.net
call fcn.00444669
push str..finteza.com
call fcn.00444669
push str..metaquotes.net
call fcn.00444669
push str..metatrader.com
call fcn.00444669
call fcn.00444ebf
test al, al
je 0x44532c
mov esi, 0x4ba014
mov ecx, esi
call fcn.00403ba4
test al, al
jne 0x44532c
push 0x400000
push edi
push 0x4438d8
mov ecx, esi
call fcn.00403b43
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc
Function at 0x445887
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
test esi, esi
je 0x445a06
xor ebp, ebp
cmp word [esi], bp
je 0x445a06
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x445a06
push dword [esp + 0x40]
lea eax, [esp + 0x40]
push eax
push esi
call fcn.00445d90
test al, al
je 0x445a06
lea eax, [esp + 0x40]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x44], ebp
push eax
xorps xmm0, xmm0
mov dword [esp + 0x1c], ebp
push ebp
mov edi, ebp
movlpd qword [esp + 0x2c], xmm0
push esi
mov dword [esp + 0x54], edi
movlpd qword [esp + 0x38], xmm0
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 6
call dword [sym.imp.WS2_32.dll_GetAddrInfoW]
test eax, eax
jne 0x445963
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x445963
push 0x17
pop eax
lea edx, [ebx + 8]
push 2
mov dword [esp + 0x3c], edx
pop esi
cmp dword [ebp + 4], eax
jne 0x4459ae
mov esi, dword [ebp + 0x18]
add esi, 8
xor ecx, ecx
mov eax, dword [esi + ecx*4]
mov edi, 0x493450
cmp eax, dword [edi + ecx*4]
mov edi, dword [esp + 0x44]
jne 0x44596a
inc ecx
cmp ecx, 4
jne 0x445935
push 2
pop esi
push 0x17
pop eax
mov ebp, dword [ebp + 0x1c]
test ebp, ebp
jne 0x445924
push dword [esp + 0x40]
call dword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov eax, edi
jmp 0x445a08
cmp edi, 0x10
jge 0x44594c
push 7
pop ecx
push dword [esp + 0x3c]
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
inc edi
push 0x17
mov word [ebx + 2], ax
pop eax
mov word [ebx], ax
add ebx, 0x1c
add edx, 0x1c
mov dword [esp + 0x44], edi
push 2
mov dword [esp + 0x3c], edx
pop esi
jmp 0x445952
cmp dword [ebp + 4], esi
jne 0x445952
mov edx, dword [ebp + 0x18]
cmp dword [edx + 4], 0
je 0x4459fd
cmp edi, 0x10
jge 0x4459fd
push 7
pop ecx
push dword [esp + 0x3c]
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 4]
mov dword [ebx + 4], eax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
inc edi
mov word [ebx + 2], ax
mov word [ebx], si
add ebx, 0x1c
add edx, 0x1c
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], edx
jmp 0x44594f
mov edx, dword [esp + 0x38]
jmp 0x445952
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x18
Function at 0x448343
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x894
push ebx
push ebp
push esi
push edi
push 0x428
lea eax, [esp + 0x47c]
mov ebx, ecx
push 0
push eax
call fcn.0041cce0
add esp, 0xc
mov dword [esp + 0x10], 0x4679a8
lea eax, [esp + 0x58]
or esi, 0xffffffff
lea ecx, [esp + 0x48]
mov dword [esp + 0x14], esi
push dword [esp + 0x8ac]
push 0x104
push eax
call fcn.00403252
mov edi, dword [esp + 0x8a8]
mov dword [esp + 0x48], 0x46cfd4
test edi, edi
je 0x448581
cmp dword [esp + 0x8ac], 0
je 0x448581
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x448581
push edi
push 0x104
lea eax, [esp + 0x278]
push eax
lea ecx, [esp + 0x26c]
call fcn.00403252
mov dword [esp + 0x260], 0x46cfd4
cmp dword [esp + 0x268], ebp
jbe 0x448581
push ecx
push 3
push 1
push closesocket
push dword [esp + 0x274]
lea ecx, [esp + 0x24]
call fcn.00401442
test al, al
je 0x44857d
lea eax, [esp + 0x478]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov esi, dword [esp + 0x14]
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x488], ebp
mov dword [esp + 0x490], eax
mov dword [esp + 0x48c], ebp
movlpd qword [esp + 0x18], xmm0
cmp esi, 0xffffffff
je 0x44846d
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x448476
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x898], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x89c], ecx
test edx, edx
je 0x4484bd
test eax, eax
je 0x4484d9
mov ecx, ebp
test edx, edx
je 0x4484bd
cmp word [eax + ecx*2], 0x5c
jne 0x4484b8
push 0x2f
pop edx
mov word [eax + ecx*2], dx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
inc ecx
cmp ecx, edx
jb 0x4484a2
test eax, eax
je 0x4484d9
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x49c]
push 0x200
push eax
call fcn.0042940a
add esp, 0x10
lea eax, [esp + 0x478]
mov ecx, ebx
push eax
call fcn.00447c7d
test al, al
je 0x448581
cmp dword [ebx + 0x2b0], ebp
jne 0x448513
push 0x45f8cc
push 0x400080
call fcn.0041ae2d
mov dword [ebx + 0x2b0], eax
pop ecx
pop ecx
test eax, eax
je 0x448581
mov ebp, dword [ebx + 0x2b0]
cmp esi, 0xffffffff
je 0x448572
test ebp, ebp
je 0x448572
xor edi, edi
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
mov eax, 0x400000
sub eax, edi
push eax
lea eax, [edi + ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44855a
cmp dword [esp + 0x10], 0
je 0x44855a
add edi, dword [esp + 0x10]
cmp edi, 0x400000
jb 0x448524
test edi, edi
je 0x448572
push edi
push dword [ebx + 0x2b0]
mov ecx, ebx
call fcn.00447bba
test al, al
jne 0x448513
jmp 0x448581
mov ecx, ebx
call fcn.00447851
mov bl, al
jmp 0x448583
mov esi, dword [esp + 0x14]
xor bl, bl
and dword [esp + 0x4c], 0
and dword [esp + 0x50], 0
mov dword [esp + 0x48], 0x4654d8
cmp esi, 0xffffffff
je 0x4485a1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x894
ret 8
Function at 0x44902d
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
lea eax, [ebp - 0x244]
push ebx
push edi
mov ebx, 0x208
xor edi, edi
push ebx
push edi
push eax
call fcn.0041cce0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x244]
call fcn.0040f69c
test al, al
jne 0x4490e4
call fcn.0040975c
test al, al
je 0x4490e4
call fcn.004096ff
test al, al
jne 0x4490e4
push 0x3c
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0041cce0
push ebx
lea eax, [ebp - 0x44c]
push edi
push eax
call fcn.0041cce0
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4679ec
push 0x103
push eax
push edi
mov dword [ebp - 0x30], 0x4711d8
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
neg eax
sbb al, al
inc al
jmp 0x4490e6
mov al, 1
pop edi
pop ebx
leave
ret
Function at 0x44ab15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, ecx
call fcn.0044aadb
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 0x118], eax
cmp eax, 0x390
jae 0x44ab43
and dword [esi + 0x118], 0
xor al, al
jmp 0x44ab83
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esi + 0x110], eax
test eax, eax
je 0x44ab38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x114], eax
test eax, eax
jne 0x44ab81
push dword [esi + 0x110]
call dword [sym.imp.KERNEL32.dll_FreeResource]
and dword [esi + 0x110], 0
jmp 0x44ab38
mov al, 1
pop esi
ret 8

Function at 0x44bc67
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push esi
push edi
mov esi, ecx
je 0x44bcd6
cmp dword [ebp + 0xc], 0
je 0x44bcd6
cmp dword [ebp + 0x10], 0
je 0x44bcd6
cmp dword [ebp + 0x14], 0
je 0x44bcd6
mov eax, dword [esi]
test eax, eax
je 0x44bcd6
xor edi, edi
cmp dword [eax + 0xc], edi
je 0x44bcd6
push 0xf0000000
push 1
push edi
push edi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x44bcd6
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
add eax, 0x38
push eax
push 0x10001
push dword [ebp - 4]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x44bcde
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
pop edi
pop esi
leave
ret 0x10
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push 0x8004
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x44bd01
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
jmp 0x44bccc
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x44bd29
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
jmp 0x44bccc
push edi
push edi
push dword [ebp - 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
push dword [ebp - 8]
test eax, eax
je 0x44bd18
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, 1
jmp 0x44bcd8
Function at 0x44c924
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, ecx
push ebx
push esi
test edx, edx
je 0x44c975
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
jb 0x44c975
ja 0x44c947
cmp dword [ebp + 8], 0
jbe 0x44c975
mov esi, dword [ebp - 4]
xor bl, bl
mov ecx, dword [ebp - 8]
mov eax, ecx
and eax, 0xf
mov al, byte [eax*4 + 0x4698c0]
add al, bl
xor byte [ecx + edx], al
mov bl, byte [ecx + edx]
add ecx, 1
adc esi, 0
cmp esi, dword [ebp + 0xc]
jb 0x44c94f
ja 0x44c975
cmp ecx, dword [ebp + 8]
jb 0x44c94f
pop esi
pop ebx
leave
ret

Function at 0x44c9c9
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x44c9ff
test esi, esi
je 0x44ca0a
xor edx, edx
test edi, edi
je 0x44ca0a
mov ch, dl
mov cl, byte [edx + esi]
mov eax, edx
and eax, 0xf
mov al, byte [eax + ebx]
add al, ch
mov ch, cl
xor al, cl
mov byte [edx + esi], al
inc edx
cmp edx, edi
jb 0x44c9e4
jmp 0x44ca0a
push 0x4698c0
call fcn.0044cb03
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x44ca0e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
test ebx, ebx
je 0x44ca4f
cmp dword [ebp + 0xc], 0
je 0x44ca4f
test esi, esi
je 0x44ca5a
xor ecx, ecx
test edi, edi
je 0x44ca5a
mov byte [ebp + 0xb], cl
xor edx, edx
mov eax, ecx
div dword [ebp + 0xc]
mov al, byte [edx + ebx]
add al, byte [ebp + 0xb]
xor byte [ecx + esi], al
mov al, byte [ecx + esi]
inc ecx
mov byte [ebp + 0xb], al
cmp ecx, edi
jb 0x44ca32
jmp 0x44ca5a
push 0x4698c0
call fcn.0044cad5
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44caae
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x44cad5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x44cb01
xor ecx, ecx
test edx, edx
je 0x44cb01
push ebx
push edi
mov edi, dword [esp + 0x10]
mov bl, cl
mov eax, ecx
and eax, 0xf
mov al, byte [edi + eax*4]
add al, bl
xor byte [ecx + esi], al
mov bl, byte [ecx + esi]
inc ecx
cmp ecx, edx
jb 0x44caea
pop edi
pop ebx
pop esi
ret

Function at 0x44cb03
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
je 0x44cb37
xor edx, edx
test edi, edi
je 0x44cb37
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov bl, dl
mov cl, byte [edx + esi]
mov eax, edx
and eax, 0xf
mov al, byte [ebp + eax*4]
add al, bl
mov bl, cl
xor al, cl
mov byte [edx + esi], al
inc edx
cmp edx, edi
jb 0x44cb1b
pop ebp
pop ebx
pop edi
pop esi
ret