joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481815
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48192d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x48192d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004abd7f
mov esi, eax
test esi, esi
je 0x48192d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x48192d
mov ecx, esi
call fcn.00481780
cmp edi, eax
jge 0x48192d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4818b3
mov dword [esp + 0x34], 1
jmp 0x48190e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x48192d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00480cd0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4ac723
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ac75b
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004aa7b0
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004aa788
jmp 0x4ac767
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ade1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ade5c
call fcn.004b3bcc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ade5c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ade53
xor eax, eax
jmp 0x4ade64
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ade6a
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b40fc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b412a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b4148
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b4062
jmp 0x4b4148
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b4148
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b4062
test edi, edi
mov eax, edi
jne 0x4b4132
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40101a
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x600
lea ebp, [esp - 4]
mov eax, dword [0x430050]
xor eax, ebp
mov dword [ebp + 0x600], eax
push 0x44
mov eax, 0x4249da
call fcn.00411c5c
mov eax, dword [ebp + 0x60c]
lea ebx, [edi + 4]
mov esi, ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
call fcn.00403f66
and dword [ebp - 4], 0
lea esi, [edi + 0xc]
call fcn.00403f66
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
mov byte [ebp - 4], 1
call fcn.00411d70
lea eax, [ebp + 0x400]
mov dword [ebp - 0x40], eax
mov eax, 0x100
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x50]
push eax
push 0x80000000
lea ecx, [ebp + 0x200]
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov eax, dword [ebp - 0x44]
mov dword [edi], eax
lea eax, [ebp + 0x400]
push eax
push ebx
call fcn.00404247
movzx eax, word [ebp - 0x38]
mov dword [edi + 8], eax
lea eax, [ebp + 0x200]
push eax
push esi
call fcn.00404247
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x600]
xor ecx, ebp
call fcn.0040e8f3
add ebp, 0x604
leave
ret 4
Function at 0x4022ce
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0x438
mov eax, 0x4250d1
call fcn.00411cc5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x438], eax
push str.Content_type:_application_x_www_form_urlencoded_r_n
lea eax, [ebp - 0x418]
push eax
call fcn.0040417c
xor ebx, ebx
push str.http:__extension.client.baidu.com_nameservice.php_nameOnlineInstallerPreCheck
lea edi, [ebp - 0x434]
mov dword [ebp - 4], ebx
call fcn.0040101a
push 0x42964e
lea eax, [ebp - 0x414]
push eax
mov byte [ebp - 4], 1
call fcn.00403f7b
push ebx
push ebx
push ebx
push ebx
push 0x42a0d0
mov byte [ebp - 4], 2
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x440], eax
jne 0x40237f
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.004054c6
or eax, 0xffffffff
call fcn.00411d48
ret
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
mov dword [ebp - 0x444], eax
je 0x40233e
push ebx
push ebx
push ebx
push ebx
push ebx
push str._nameservice.php_nameOnlineInstallerPreCheck
push 0x4296ac
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x420], esi
je 0x402344
push dword [eax - 0xc]
push eax
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x402421
or esi, 0xffffffff
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x430]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, dword [ebp - 0x418]
add eax, 0xfffffff0
call fcn.004054c6
mov eax, esi
jmp 0x402379
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call fcn.00411d70
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
mov edi, 0x400
push edi
lea eax, [ebp - 0x410]
push eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x40247f
mov eax, dword [ebp - 0x41c]
cmp eax, ebx
jbe 0x40248b
mov byte [ebp + eax - 0x410], bl
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x420]
mov dword [ebp - 0x41c], edi
call esi
test eax, eax
jne 0x402459
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00403f7b
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x43c]
push eax
mov byte [ebp - 4], 3
call fcn.0040ca1b
pop ecx
pop ecx
mov edi, dword [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.00404206
mov eax, dword [ebp - 0x43c]
add eax, 0xfffffff0
call fcn.004054c6
push dword [ebp - 0x420]
call fcn.00406b87
push dword [ebp - 0x444]
call fcn.00406b87
push dword [ebp - 0x440]
call fcn.00406b87
mov eax, dword [ebp - 0x424]
add esp, 0xc
add eax, 0xfffffff0
call fcn.004054c6
xor esi, esi
inc esi
jmp 0x4023e2
Function at 0x405aad
Capabilities:
Create thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi + 8], edi
jg 0x405b22
cmp dword [esi + 0xc], edi
jne 0x405b22
push edi
push edi
push 1
push edi
call dword [0x4270cc]
cmp eax, edi
mov dword [esi + 0x10], eax
je 0x405b22
push edi
push 0x7fffffff
push edi
push edi
call dword [0x4270d0]
cmp eax, edi
mov dword [esi + 0x14], eax
je 0x405b22
xor eax, eax
xor ecx, ecx
push 4
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040e12c
cmp eax, edi
pop ecx
mov dword [esi + 0xc], eax
je 0x405b22
push edi
push edi
push esi
push 0x405c31
push edi
push edi
call fcn.004102fd
mov ecx, dword [esi + 0xc]
add esp, 0x18
mov dword [ecx], eax
mov dword [esi + 8], 1
mov al, 1
pop edi
ret
xor al, al
pop edi
ret
Function at 0x40b574
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x424d8e
call fcn.00411cc5
xor ebx, ebx
push str..redic
lea eax, [ebp + 0xc]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00406b69
push 0x42af50
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.00410843
add esp, 0xc
test eax, eax
jne 0x40b646
cmp dword [ebp - 0x14], ebx
je 0x40b646
call dword [0x43000c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x94]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x40b610
push eax
call dword [0x4270e8]
inc eax
cmp eax, 0x3fffffff
jg 0x40b610
lea edi, [eax + eax]
mov eax, edi
call fcn.0041ac00
mov esi, esp
cmp esi, ebx
je 0x40b610
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x18]
mov byte [esi], bl
push ebx
push dword [ebp - 0x1c]
call dword [0x4270a8]
neg eax
sbb eax, eax
and eax, esi
jmp 0x40b612
xor eax, eax
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x40b617
push dword [ebp - 0x14]
sub ecx, esi
push 1
push ecx
push eax
call fcn.004109f2
push dword [ebp - 0x14]
call fcn.00410ae6
mov eax, dword [ebp + 0xc]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004054c6
mov al, 1
jmp 0x40b653
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004054c6
xor al, al
lea esp, [ebp - 0x2c]
call fcn.00411d48
ret 8

Function at 0x40b65e
Capabilities:
Read file on windows

Disassembly:
push 0x3c
mov eax, 0x424d6b
call fcn.00411c5c
lea eax, [ebp - 0x48]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
call fcn.00410c5f
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x40b731
mov eax, dword [ebp - 0x34]
inc eax
push eax
call fcn.0040e12c
mov esi, eax
cmp esi, ebx
pop ecx
je 0x40b731
push str..redic
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 0x10], ebx
call fcn.00406b69
push 0x42af58
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00410843
add esp, 0xc
test eax, eax
jne 0x40b731
cmp dword [ebp - 0x10], ebx
je 0x40b731
mov eax, dword [ebp - 0x34]
inc eax
push eax
push ebx
push esi
call fcn.00411d70
push dword [ebp - 0x10]
push dword [ebp - 0x34]
push 1
push esi
call fcn.00411232
mov eax, esi
add esp, 0x1c
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40b6eb
sub eax, ecx
je 0x40b712
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsURLA]
test eax, eax
je 0x40b712
mov eax, dword [ebp + 8]
push esi
add eax, 0x94
push eax
call fcn.0040471e
mov bl, 1
push esi
call fcn.0040e8ee
push dword [ebp - 0x10]
call fcn.00410ae6
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004054c6
mov al, bl
jmp 0x40b73e
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004054c6
xor al, al
call fcn.00411d34
ret 8
Function at 0x410f96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x410fd3
cmp dword [ebp + 0x14], edi
je 0x410fd3
cmp ecx, edi
jne 0x410fda
call fcn.00413375
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0040f37f
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x410fee
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x41100f
cmp ebx, 0xffffffff
je 0x410ffe
push ebx
push edi
push ecx
call fcn.00411d70
add esp, 0xc
cmp esi, edi
je 0x410fbb
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x410fbb
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x41102b
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x411032
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x411123
test word [esi + 0xc], 0x10c
je 0x411086
mov eax, dword [esi + 4]
test eax, eax
je 0x411086
jl 0x411184
cmp ebx, eax
mov edi, ebx
jb 0x411057
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x41112b
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0040f861
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x41111b
cmp ebx, dword [ebp - 0xc]
jb 0x4110f3
cmp dword [ebp - 0xc], 0
je 0x4110b0
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4110a5
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4110ac
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4110bb
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x4110bb
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x411157
push eax
push dword [ebp - 8]
push esi
call fcn.004197c1
pop ecx
push eax
call fcn.0041a735
add esp, 0xc
test eax, eax
je 0x411196
cmp eax, 0xffffffff
je 0x411184
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x41111b
push esi
call fcn.0041a054
cmp eax, 0xffffffff
pop ecx
je 0x411188
cmp dword [ebp - 4], 0
je 0x411157
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x41103a
mov eax, dword [ebp + 0x14]
jmp 0x410fd5
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x411142
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00411d70
add esp, 0xc
call fcn.00413375
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x410fcb
cmp dword [ebp + 0xc], 0xffffffff
je 0x41116d
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00411d70
add esp, 0xc
call fcn.00413375
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x410fcb
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x410fd5
or dword [esi + 0xc], 0x10
jmp 0x411188
Function at 0xdd15f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0xdd74cc]
cmp dword [eax + 0x28], 0
jne 0xdd1608
xor eax, eax
jmp 0xdd1737
mov ecx, dword [0xdd743c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0xdd7430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0xdd742c], eax
push 0
call dword [0xdd5138]
mov dword [ebp - 0x10], eax
push 1
call dword [0xdd5138]
mov dword [ebp - 0x18], eax
mov ecx, dword [0xdd7430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0xdd742c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0xdd74b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0xdd5680
push 0xdd56d0
push 0x88
call dword [0xdd5134]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0xdd7428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [0xdd510c]
push eax
call fcn.00dd1530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [0xdd5148]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [0xdd512c]
push 0xdd15c0
mov edx, dword [0xdd74cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [0xdd513c]
mov dword [0xdd7434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [0xdd5130]
test eax, eax
je 0xdd1737
cmp dword [ebp - 0x38], 0x12
jne 0xdd172b
mov dword [0xdd7444], 0
call fcn.00dd1740
xor eax, eax
jmp 0xdd1737
lea edx, [ebp - 0x3c]
push edx
call dword [0xdd5140]
jmp 0xdd16fc
mov esp, ebp
pop ebp
ret 4

Function at 0xdd2b00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0xdd369c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0xdd5168
sub eax, eax
test esi, esi
je 0xdd3774
sub eax, 1
test ecx, ecx
je 0xdd3772
test esi, 3
je 0xdd36da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xdd36bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0xdd3759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xdd36e4
mov ecx, edx
test ecx, ecx
je 0xdd3772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0xdd375f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0xdd377c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.00dd37ff
jae 0xdd378a
xor ecx, ecx
call fcn.00dd37ff
jae 0xdd37b9
xor eax, eax
call fcn.00dd37ff
jae 0xdd37c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.00dd37ff
adc al, al
jae 0xdd37ab
jne 0xdd37f5
stosb byte es:[edi], al
jmp 0xdd378d
call fcn.00dd380b
sub ecx, ebx
jne 0xdd37d2
call fcn.00dd3809
jmp 0xdd37f1
lodsb al, byte [esi]
shr eax, 1
je 0xdd381b
adc ecx, ecx
jmp 0xdd37ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00dd3809
cmp eax, 0x7d00
jae 0xdd37ee
cmp ah, 5
jae 0xdd37ef
cmp eax, 0x7f
ja 0xdd37f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdd378d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0xdd414c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xdd7000]
jne 0xdd4156
repz ret
jmp fcn.00dd43fd
Function at 0x409ce0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e22c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5aa464]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.CCurlDownloader.0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x24], 0
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x409d3d
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [edi + 0x24], eax
lea edi, [esi + 0x30]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x409d5c
mov eax, dword [edi]
jmp 0x409d5e
mov eax, edi
mov edx, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409d7f
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409d70
sub ecx, ebx
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004067d0
lea ebx, [esi + 0x48]
mov byte [ebp - 4], 3
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
cmp dword [ebx + 0x14], 8
jb 0x409da7
mov eax, dword [ebx]
jmp 0x409da9
mov eax, ebx
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov word [eax], cx
cmp word [edx], cx
je 0x409dd0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409dc0
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.004067d0
mov byte [ebp - 4], 4
cmp dword [edi + 0x14], 8
jb 0x409de5
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
jb 0x409ded
mov ebx, dword [ebx]
push dword [ebp - 0x10]
push ecx
push edi
push ebx
lea ecx, [esi + 0x60]
call fcn.0041beb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x10]
lea ecx, [esi + 0x60]
push 1
push eax
mov dword [ebx + 0xf0], 0
mov byte [ebx + 0xf4], 0
call fcn.0041c170
cmp dword [eax + 0x14], 8
jb 0x409e29
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x409e45
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00406f30
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc