joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
push 0x104
push eax
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push eax
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea ecx, [esp + 0x10]
push ecx
call ebx
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x10]
push str.MarkVision_vivophone.exe
push edx
call ebp
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x10]
push 0x104
push ecx
push 0
call esi
push eax
call edi
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push str.Installer.exe
push eax
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x4010a0
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
add esp, 0x104
ret 0x10

Function at 0x401cf5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x405118
cmp edx, dword [eax]
je 0x401d17
add eax, 8
inc ecx
cmp eax, 0x4051a8
jl 0x401d08
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x405118]
jne 0x401e45
mov eax, dword [0x4054c8]
cmp eax, 1
je 0x401e1f
test eax, eax
jne 0x401d48
cmp dword [0x405068], 1
je 0x401e1f
cmp edx, 0xfc
je 0x401e45
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401d7f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004022a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402410
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401dc2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402410
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x404390
push edi
call fcn.004030a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004022a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004022b0
lea eax, [ebp - 0xa0]
push 0x404370
push eax
call fcn.004022b0
push dword [esi + 0x40511c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004022b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040300e
add esp, 0x2c
pop edi
jmp 0x401e45
lea eax, [ebp + 8]
lea esi, [esi + 0x40511c]
push 0
push eax
push dword [esi]
call fcn.00402410
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 0x4027f4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
xor eax, eax
push eax
push eax
push eax
push 0x402729
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 4]
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
call fcn.00403d3d
push dword [esp + 4]
push ecx
push dword [esp + 0xc]
push ecx
push dword [esp + 0x14]
mov ecx, 0x452cc8
call fcn.0040285e
pop ecx
mov ecx, eax
call fcn.0040285e
pop ecx
mov ecx, eax
call fcn.0040285e
push eax
call fcn.00403c92
pop ecx
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x408657
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x408678
jl 0x40866f
test edi, edi
jne 0x408678
xor eax, eax
xor edx, edx
jmp 0x408739
cmp dword [ebx + 0x38], 0
je 0x40868d
push eax
push edi
push dword [ebp + 8]
call fcn.0040873f
jmp 0x408739
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4086d4
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4086d4
cmp eax, edi
jb 0x4086ae
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040b950
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4086da
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40872e
mov ecx, ebx
call fcn.00407eee
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x408719
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041689b
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40872e
jmp 0x4086ec
test edx, edx
je 0x40872e
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041689b
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40b72e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40b76d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40b76d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40b76d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40b76d
cmp dword [ecx + 0x74], 0xe
jbe 0x40b76d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41df31
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42f398
push 0x42f390
push str.FlsAlloc
push 0x1e
call fcn.0041dd9e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41df65
push dword [ebp + 8]
mov ecx, esi
call dword [0x42b144]
call esi
jmp 0x41df6b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x41f4b5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f157

Function at 0x41f4c0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f2e6

Function at 0x41f8ba
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040b8a0
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041cb8f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41f8fc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41fa58
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042a250
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x453678]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00420a8a
mov ecx, dword [esi*4 + 0x453678]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41fa51
cmp eax, dword [edi + ecx + 0x24]
jne 0x41fa51
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41fa51
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00420a8a
add esp, 0x14
test edx, edx
jl 0x41fa51
jg 0x41f9c7
test eax, eax
jb 0x41fa51
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41fa51
jl 0x41f9e1
cmp dword [ebp - 0x1008], eax
ja 0x41fa51
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41f9ff
test ebx, ebx
je 0x41fa38
cmp ecx, edi
jae 0x41fa38
mov al, byte [ecx]
cmp al, 0xd
jne 0x41fa19
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41fa25
cmp byte [ecx + 1], 0xa
jne 0x41fa25
inc ecx
jmp 0x41fa25
movzx eax, al
movsx eax, byte [eax + 0x436300]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41f9ff
cmp edx, ebx
jne 0x41f9ff
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41fa56
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040aa76
leave
ret
Function at 0x41ff28
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x453678]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41ff68
cmp byte [ebx], 0xa
jne 0x41ff68
or byte [eax + edi + 0x28], 4
jmp 0x41ff6d
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x42006b
mov al, byte [edx]
cmp al, 0x1a
je 0x42004d
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41ff9c
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41ffc1
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41ffcb
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41ff7e
jmp 0x42006b
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420048
cmp dword [ebp - 0xc], 0
je 0x420048
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x453678]
test byte [eax + edi + 0x28], 0x48
je 0x420022
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x42000d
mov byte [esi], dl
jmp 0x42001e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x453678]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x42006b
cmp byte [ebp - 1], 0xa
jne 0x420031
cmp esi, ebx
jne 0x420031
mov byte [esi], 0xa
jmp 0x42006a
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00420aa8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x42006b
mov byte [esi], 0xd
jmp 0x42006a
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x453678]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420067
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42006b
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x420074
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x453678]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4200b7
cmp word [esi], dx
jne 0x4200b7
or byte [edi + eax + 0x28], 4
jmp 0x4200bc
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x42020f
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4201ef
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4200fe
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x420134
cmp eax, edx
jae 0x420140
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4200d6
jmp 0x42020f
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4201eb
cmp dword [ebp - 0x14], 0
je 0x4201eb
mov eax, dword [ebx*4 + 0x453678]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4201c3
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x42018c
mov word [esi], cx
jmp 0x4201bf
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x453678]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x453678]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x453678]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x42020f
pop ebx
cmp word [ebp - 4], bx
jne 0x4201d4
cmp esi, dword [ebp + 0xc]
jne 0x4201d4
mov word [esi], bx
jmp 0x42020c
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00420aa8
add esp, 0x10
cmp word [ebp - 4], bx
je 0x42020f
push 0xd
jmp 0x420208
mov ecx, dword [ebx*4 + 0x453678]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x420206
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x42020f
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x403e6e
Capabilities:
Authenticate hmac

Disassembly:
je 0x403ed5
and dl, byte [0x6f630e0a]
outsb dx, byte [esi]
je 0x403ede
outsb dx, byte [esi]
je 0x403ea9
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
je 0x403eea
je 0x403eea
adc al, byte [ebx]
xor dword [0xa262237], esi
or al, 0x63
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x403ef5
outsb dx, byte [esi]
je 0x403ec0
je 0x403f0e
jo 0x403efc
adc dl, byte [esi]
popal
jo 0x403f0c
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x6e6f6974
das
push 0x61
jbe 0x403f0a
jae 0x403f0e
jb 0x403f16
jo 0x403f23
and ah, byte [0x6164040a]
and byte [esi + 0x65], al
bound esp, qword [eax]
push esp
adc ah, byte [edx]
and dh, byte [edx]
xor esp, dword [ebx + 0x62]
xor si, word [ebx]
xor esp, dword fs:[ecx + 0x39]
xor byte fs:[ecx], bh
outsd dx, dword [esi]
imul esp, dword fs:[esi + 0x69], 0x1d126465
imul sp, word [ebp + 0x64], 0x1d12
imul esp, dword [esi + 0x69], 0x1d126465
xor dh, byte [eax]

Function at 0x403e80
Capabilities:
Authenticate hmac

Disassembly:
je 0x403ed5
and dl, byte [0x6f630e0a]
outsb dx, byte [esi]
je 0x403ede
outsb dx, byte [esi]
je 0x403ea9
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
je 0x403eea
je 0x403eea
adc al, byte [ebx]
xor dword [0xa262237], esi
or al, 0x63
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x403ef5
outsb dx, byte [esi]
je 0x403ec0
je 0x403f0e
jo 0x403efc
adc dl, byte [esi]
popal
jo 0x403f0c
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x6e6f6974
das
push 0x61
jbe 0x403f0a
jae 0x403f0e
jb 0x403f16
jo 0x403f23
and ah, byte [0x6164040a]
and byte [esi + 0x65], al
bound esp, qword [eax]
push esp
adc ah, byte [edx]
and dh, byte [edx]
xor esp, dword [ebx + 0x62]
xor si, word [ebx]
xor esp, dword fs:[ecx + 0x39]
xor byte fs:[ecx], bh
outsd dx, dword [esi]
imul esp, dword fs:[esi + 0x69], 0x1d126465
imul sp, word [ebp + 0x64], 0x1d12
imul esp, dword [esi + 0x69], 0x1d126465
xor dh, byte [eax]

Function at 0x403f0f
Capabilities:
Authenticate hmac

Disassembly:
je 0x403ed5
and dl, byte [0x6f630e0a]
outsb dx, byte [esi]
je 0x403ede
outsb dx, byte [esi]
je 0x403ea9
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
je 0x403eea
je 0x403eea
adc al, byte [ebx]
xor dword [0xa262237], esi
or al, 0x63
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x403ef5
outsb dx, byte [esi]
je 0x403ec0
je 0x403f0e
jo 0x403efc
adc dl, byte [esi]
popal
jo 0x403f0c
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x6e6f6974
das
push 0x61
jbe 0x403f0a
jae 0x403f0e
jb 0x403f16
jo 0x403f23
and ah, byte [0x6164040a]
and byte [esi + 0x65], al
bound esp, qword [eax]
push esp
adc ah, byte [edx]
and dh, byte [edx]
xor esp, dword [ebx + 0x62]
xor si, word [ebx]
xor esp, dword fs:[ecx + 0x39]
xor byte fs:[ecx], bh
outsd dx, dword [esi]
imul esp, dword fs:[esi + 0x69], 0x1d126465
imul sp, word [ebp + 0x64], 0x1d12
imul esp, dword [esi + 0x69], 0x1d126465
xor dh, byte [eax]
Function at 0x100015c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x100015db
push 0
push 0
push 0x10001590
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
add esp, 0xc
mov eax, 1
pop ebp
ret 0xc
Function at 0x44cb78
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x5dcb70], 0
je 0x44cbbf
cmp dword [0x5efb54], 0
je 0x44cb98
mov eax, dword [0x5efb54]
mov dword [ebp - 4], eax
jmp 0x44cba0
call fcn.0051ba80
mov dword [ebp - 4], eax
mov ecx, dword [0x5dcb38]
push ecx
call fcn.0053b4a0
add esp, 4
push eax
mov edx, dword [ebp - 4]
push edx
call dword [0x5bf1e0]
add esp, 8
jmp 0x44cbc6
push 1
call fcn.00593892
mov esp, ebp
pop ebp
ret

Function at 0x44d965
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5efb1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00520040
add esp, 8
mov dword [ebp - 4], eax
push 0
push 0
push 0
push 0
push str.Dynace
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x44d9ad
mov ecx, dword [ebp + 8]
push ecx
call dword [0x5bf2bc]
add esp, 4
jmp 0x44d9ee
push 0
push 0
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0x15
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
jne 0x44d9eb
mov eax, dword [ebp + 8]
push eax
call dword [0x5bf2bc]
add esp, 4
jmp 0x44d9ee
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x4653d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x4653f0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x4653f0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x48], 0
je 0x4653f5
jmp 0x465524
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
add eax, 1
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
call fcn.004663d9
add esp, 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x5dcc0c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jne 0x46543b
mov edx, dword [0x5dcc0c]
mov eax, dword [edx]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x465468
mov edx, dword [0x5dcc0c]
mov eax, dword [edx]
push eax
call fcn.00465f8e
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
call dword [0x5bebd0]
add esp, 8
jmp 0x4654a8
cmp dword [0x5efc34], 0
je 0x46547b
mov eax, dword [0x5efc34]
mov dword [ebp - 8], eax
jmp 0x465483
call fcn.00506e50
mov dword [ebp - 8], eax
mov ecx, dword [0x5dcc0c]
mov edx, dword [ecx]
push edx
call fcn.00465f8e
add esp, 4
push eax
mov eax, dword [ebp - 8]
push eax
call dword [0x5bf060]
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x10], 0
je 0x4654d0
mov eax, dword [ebp + 8]
push eax
call fcn.00466269
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
call dword [0x5bebd0]
add esp, 8
jmp 0x46550b
cmp dword [0x5efc34], 0
je 0x4654e3
mov eax, dword [0x5efc34]
mov dword [ebp - 0xc], eax
jmp 0x4654eb
call fcn.00506e50
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00466269
add esp, 4
push eax
mov edx, dword [ebp - 0xc]
push edx
call dword [0x5bf060]
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x28], 0
je 0x465524
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x28]
push ecx
call dword [0x5be714]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x46e597
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 0
push 2
mov eax, dword [ebp + 0xc]
and eax, 0xffff
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46e666
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0046e66d
add esp, 8
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
je 0x46e628
push 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.GDI32.dll_SelectPalette]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
add eax, dword [edx]
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx*4]
push edx
push 4
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret