joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5250f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 2]
mov edi, edx
sub edi, eax
lea ebx, [edx + 2]
lea eax, [ebp - 2]
xor esi, esi
mov word [ebp - 2], cx
mov dword [ebp - 8], 0xbaadf00d
sub ebx, eax
mov ecx, 0xd83800
call fcn.004197f1
mov dl, byte [ebp + esi - 2]
lea ecx, [ebp + esi - 2]
mov byte [edi + ecx], al
movzx eax, al
xor dl, al
xor eax, dword [ebp - 8]
mov byte [ebx + ecx], dl
xor ecx, ecx
mov cl, dl
push 5
push eax
mov dword [ebp - 0xc], ecx
call fcn.00be1744
add eax, dword [ebp - 0xc]
inc esi
cmp esi, 2
pop ecx
pop ecx
mov dword [ebp - 8], eax
jb 0x52511b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x52515d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea esi, [eax + 2]
mov dword [ebp - 4], eax
sub dword [ebp - 4], esi
lea edi, [ebp + 0xa]
mov ecx, 0xbaadf00d
sub edi, esi
mov dword [ebp - 8], 2
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
movzx ebx, byte [esi]
mov dl, al
xor eax, ecx
xor dl, bl
push 5
push eax
mov byte [edi + esi], dl
call fcn.00be1744
add eax, ebx
pop ecx
inc esi
dec dword [ebp - 8]
pop ecx
mov ecx, eax
jne 0x525182
cmp ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x5251c6
push 0xc99538
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.00be12e7
mov ax, word [ebp + 0xa]
leave
ret

Function at 0x5251cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 2]
mov edi, edx
sub edi, eax
lea ebx, [edx + 2]
lea eax, [ebp - 2]
xor esi, esi
mov word [ebp - 2], cx
mov dword [ebp - 8], 0xbaadf00d
sub ebx, eax
mov ecx, 0xd83800
call fcn.004197f1
mov dl, byte [ebp + esi - 2]
lea ecx, [ebp + esi - 2]
mov byte [edi + ecx], al
movzx eax, al
xor dl, al
xor eax, dword [ebp - 8]
mov byte [ebx + ecx], dl
xor ecx, ecx
mov cl, dl
push 5
push eax
mov dword [ebp - 0xc], ecx
call fcn.00be1744
add eax, dword [ebp - 0xc]
inc esi
cmp esi, 2
pop ecx
pop ecx
mov dword [ebp - 8], eax
jb 0x5251f1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x53215e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [0xd7c46c]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], edi
call fcn.0042abbb
mov esi, dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.0042d822
push dword [edi + 0x1c]
lea eax, [ebp - 0x14]
push dword [edi + 0x18]
mov ecx, esi
push eax
call fcn.0042c47a
mov esi, dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.0042d72c
test esi, esi
je 0x53225c
lea ecx, [esi + 0xc]
call fcn.0042d5a8
mov ecx, dword [edi + 0x18]
cmp ecx, 2
mov esi, eax
mov dword [ebp - 0x10], esi
jne 0x532229
cdq
mov ebx, 0x2710
idiv ebx
cmp eax, 0xc8
je 0x532229
cmp eax, 0xc9
je 0x532229
cmp eax, 0xca
je 0x532229
cmp eax, 0xcd
je 0x532229
cmp eax, 0xdd
je 0x532229
cmp eax, 0xec
je 0x532229
cmp eax, 0xee
je 0x532229
cmp eax, 0xf5
je 0x532229
cmp eax, 0xd4
je 0x532229
cmp eax, 0xe2
je 0x532229
cmp eax, 0xe3
je 0x532229
cmp eax, 0xd2
je 0x532229
cmp eax, 0xf0
je 0x532229
cmp eax, 0xf1
jne 0x53225c
cmp ecx, 5
jne 0x532263
push esi
call fcn.00481227
cmp eax, 6
pop ecx
je 0x532263
push esi
call fcn.0048128b
cmp eax, 8
pop ecx
jl 0x532255
cmp eax, 0xb
jle 0x532257
cmp eax, 0x38
je 0x532257
cmp eax, 0x48
je 0x53225c
xor eax, eax
cmp eax, 9
je 0x532263
xor eax, eax
jmp 0x53230e
mov eax, dword [0xd82bcc]
mov ebx, dword [0xd82aa8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
and dword [ebp - 4], 0
and eax, 0xffffffaf
add eax, 0x59
test eax, eax
jle 0x5322de
cmp dword [ebp + 8], 0
je 0x532298
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + edx*4 + 4]
jmp 0x53229b
mov ecx, dword [ebp - 4]
cmp ecx, 0x36
jne 0x5322a3
push 0x2a
pop ecx
cmp dword [ebp + 8], 0
lea edx, [ebx + ecx*4]
lea ecx, [ecx + edx + 4]
je 0x5322bd
add edi, 0x10
mov esi, ecx
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov dl, byte [ecx]
cmp dl, 2
je 0x5322ce
cmp dl, 3
je 0x5322ce
cmp dl, 7
jne 0x5322d6
cmp dword [ecx + 1], esi
jne 0x5322d6
and byte [ecx], 0
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jl 0x532286
mov ecx, dword [0xd80b64]
push 0
call fcn.00b4658c
mov ecx, dword [0xd82bc4]
test ecx, ecx
je 0x5322fe
push 0
call fcn.00b4658c
jmp 0x53230b
cmp dword [ebp + 8], 0
je 0x53230b
mov ecx, ebx
call fcn.00624977
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x54e12a
Capabilities:
Get common file path

Disassembly:
mov eax, 0xc0f15e
call fcn.00be12c8
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov dword [0xd82c5c], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
lea edi, [esi + 0xc]
mov dword [edi], eax
push 0xffffffffffffffff
push 0xd80c88
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0041736e
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00be1770
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
push 0xd3cd30
push edi
call fcn.0044e655
mov ecx, dword [ebp - 0xc]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x54e373
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov eax, 0xc0f1cc
call fcn.00be12c8
sub esp, 0x814
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push str._maplestory_mxdfile_
push eax
mov byte [ebp - 4], 1
call fcn.004914de
add esp, 0xc
push dword [eax]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call fcn.0044e655
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406a50
push 0xd3c128
lea eax, [ebp - 0x20]
push eax
lea ecx, [esi + 0xc]
call fcn.00490d2c
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00486cf9
push dword [eax]
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 4
call fcn.0044e655
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.00406a50
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00406a50
push ebx
push 0x400000
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push 0xd3cef4
push dword [esi + 4]
call dword [sym.imp.wininet.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
jne 0x54e439
xor esi, esi
jmp 0x54e4e4
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.wininet.dll_HttpSendRequestA]
cmp eax, ebx
jne 0x54e457
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
jmp 0x54e432
push 0x800
lea eax, [ebp - 0x820]
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.00be1770
push 0xd3cef0
push dword [ebp + 8]
call fcn.00be3479
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x54e432
push edi
mov edi, dword [sym.imp.wininet.dll_InternetReadFile]
lea eax, [ebp - 0x14]
push eax
push 0x7ff
lea eax, [ebp - 0x820]
push eax
push esi
call edi
test eax, eax
je 0x54e4d0
cmp dword [ebp - 0x14], ebx
je 0x54e4d0
push dword [ebp - 0x10]
lea eax, [ebp - 0x820]
push dword [ebp - 0x14]
push 1
push eax
call fcn.00be330f
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
push 0x7ff
lea eax, [ebp - 0x820]
push eax
push esi
jmp 0x54e49b
push esi
call dword [sym.imp.wininet.dll_InternetCloseHandle]
push dword [ebp - 0x10]
call fcn.00be3292
pop ecx
push 1
pop esi
pop edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00406a50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406a50
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x58dd44
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edi, [eax + 8]
mov dword [ebp + 8], eax
sub dword [ebp + 8], edi
lea ebx, [ebp - 0x14]
mov dword [ebp - 4], 0xbaadf00d
sub ebx, edi
mov dword [ebp - 8], 2
mov eax, dword [ebp + 8]
mov esi, dword [eax + edi]
mov eax, dword [edi]
push 5
push eax
mov dword [ebp - 0xc], eax
call fcn.00be1d1b
xor eax, esi
xor esi, dword [ebp - 4]
push 5
push esi
mov dword [ebx + edi], eax
call fcn.00be1744
add eax, dword [ebp - 0xc]
add esp, 0x10
add edi, 4
dec dword [ebp - 8]
mov dword [ebp - 4], eax
jne 0x58dd6c
cmp eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
je 0x58ddbd
push 0xc99538
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 5
call fcn.00be12e7
fld qword [ebp - 0x14]
leave
ret

Function at 0x6248f4
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [0xd80b64]
test ebx, ebx
je 0x624975
push ebp
push esi
mov esi, dword [sym.imp.user32.dll_MapVirtualKeyA]
push edi
xor edi, edi
lea ebp, [ecx + 5]
jmp 0x624915
mov ebx, dword [0xd80b64]
movzx eax, byte [ebp - 1]
test eax, eax
jl 0x624969
cmp eax, 8
jg 0x624969
cmp eax, 4
jne 0x624969
test ebx, ebx
je 0x624969
mov eax, dword [ebp]
sub eax, 0
je 0x62495a
dec eax
je 0x624950
dec eax
je 0x624946
dec eax
jne 0x624969
push 1
push edi
call esi
push eax
push 3
jmp 0x624962
push 1
push edi
call esi
push eax
push 2
jmp 0x624962
push 1
push edi
call esi
push eax
push 1
jmp 0x624962
push 1
push edi
call esi
push eax
push 0
mov ecx, ebx
call fcn.00a06e3d
inc edi
add ebp, 5
cmp edi, 0x59
jl 0x62490f
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x6307ec
Capabilities:
Get number of processors

Disassembly:
mov eax, 0xc19b21
call fcn.00be12c8
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0052b41e
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x98], ebx
mov ebp, 0x42d373
push ebp
mov edi, 0x486e6a
push edi
push 2
push 8
lea eax, [esi + 0x9c]
push eax
mov byte [esp + 0x30], 2
call fcn.00be223e
push ebp
push edi
push 2
push 8
lea eax, [esi + 0xac]
push eax
mov byte [esp + 0x30], 3
call fcn.00be223e
push ebp
push edi
push 2
push 8
lea eax, [esi + 0xbc]
push eax
mov byte [esp + 0x30], 4
call fcn.00be223e
push ebp
push edi
push 2
push 8
lea eax, [esi + 0xcc]
push eax
mov byte [esp + 0x30], 5
call fcn.00be223e
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
push ebx
push 1
push 0xa
push 0x157
push 0xfa
push 0x64
push 0x113
mov ecx, esi
mov byte [esp + 0x38], 9
mov dword [esi], 0xc88540
mov dword [esi + 4], 0xc884f0
mov dword [esi + 8], 0xc884ec
call fcn.0052b4bc
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x641578
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0xc1a69d
call fcn.00be12c8
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0047b86e
xor edi, edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x68], edi
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 7
call fcn.0065516c
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 8
call fcn.00641668
lea ecx, [esi + 0xd3c]
mov byte [ebp - 4], 9
call fcn.00641790
lea ecx, [esi + 0x16e0]
mov byte [ebp - 4], 0xa
call fcn.006418a2
lea ecx, [esi + 0x209c]
mov byte [ebp - 4], 0xb
call fcn.006419e9
lea ecx, [esi + 0x216c]
mov byte [ebp - 4], 0xc
call fcn.00641b41
lea ecx, [esi + 0x225c]
mov byte [ebp - 4], 0xd
call fcn.00641d71
lea ecx, [esi + 0x2d54]
mov byte [ebp - 4], 0xe
call fcn.00641cad
mov dword [esi + 0x2dfc], edi
mov dword [esi + 0x2e24], edi
push dword [ebp + 8]
mov ecx, esi
mov byte [ebp - 4], 0x11
mov dword [esi], 0xc88700
mov dword [esi + 4], 0xc886b0
mov dword [esi + 8], 0xc886ac
mov dword [esi + 0xc], 0xc886a8
call fcn.006428c6
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x68d791
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ecx + 8]
push ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp + 8]
sub dword [ebp - 4], ecx
lea eax, [ebp + 8]
sub dword [ebp - 8], eax
push edi
mov dword [ebp - 0xc], 0xbaadf00d
lea esi, [ebp + 8]
mov dword [ebp - 0x10], 2
mov ecx, 0xd83800
call fcn.004197f1
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + esi], edi
mov eax, edi
xor eax, dword [esi]
push 5
push eax
call fcn.00be1744
xor edi, dword [ebp - 0xc]
mov ebx, eax
mov eax, dword [ebp - 8]
push 5
push edi
mov dword [eax + esi], ebx
call fcn.00be1744
add eax, ebx
add esp, 0x10
add esi, 4
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jne 0x68d7c0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x6aa1d4
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov eax, 0xc23e9c
call fcn.00be12c8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x13c], ebx
jne 0x6aa3d8
cmp dword [edi + 0x408], ebx
jne 0x6aa3d8
cmp dword [edi + 0x138], ebx
jne 0x6aa3d8
xor eax, eax
xor edx, edx
mov ecx, dword [edi + 0x160]
cmp ecx, ebx
je 0x6aa3d8
cmp eax, dword [ecx - 4]
jae 0x6aa3d8
mov ecx, dword [edx + ecx]
cmp ecx, dword [ebp + 8]
je 0x6aa235
inc eax
add edx, 0x20
jmp 0x6aa210
cmp eax, ebx
jl 0x6aa3d8
mov ecx, dword [edi + 0x160]
cmp ecx, ebx
je 0x6aa3d8
cmp eax, dword [ecx - 4]
jae 0x6aa3d8
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jl 0x6aa3d8
mov edx, dword [edi + 0x160]
shl eax, 5
lea esi, [eax + edx]
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x6aa3d8
cmp ecx, dword [eax - 4]
jae 0x6aa3d8
cmp eax, ebx
jne 0x6aa287
xor eax, eax
jmp 0x6aa28a
mov eax, dword [eax - 4]
lea ecx, [ebp + 0xb]
push ecx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
call fcn.0049bd26
mov eax, dword [esi + 0x18]
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x6aa2a8
xor eax, eax
jmp 0x6aa2ab
mov eax, dword [eax - 4]
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
call fcn.006b0026
and dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x18]
test eax, eax
je 0x6aa2f5
cmp ebx, dword [eax - 4]
jae 0x6aa2f5
add eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + ebx*4]
call fcn.0041b94d
mov ecx, dword [ebp - 0x14]
mov eax, dword [esi + 0x18]
mov eax, dword [eax + ecx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + ebx*4], eax
inc ebx
add dword [ebp - 0x14], 0x14
jmp 0x6aa2c3
mov ecx, dword [0xd7c46c]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.00b6da5c
push 8
lea ecx, [ebp - 0x30]
call fcn.0079117f
xor eax, eax
mov al, byte [esi]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
call fcn.00406cba
push dword [ebp + 0x10]
lea ecx, [ebp - 0x30]
call fcn.00406cba
push dword [ebp + 0xc]
lea ecx, [ebp - 0x30]
call fcn.00406d17
mov eax, dword [0xd7c468]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0x10
mov eax, dword [eax + 8]
push ecx
push eax
xor ebx, ebx
call dword [sym.imp.ws2_32.dll_getsockname]
test eax, eax
jne 0x6aa365
mov ebx, dword [ebp - 0x3c]
push ebx
lea ecx, [ebp - 0x30]
call fcn.00406d17
mov ecx, dword [0xd7c468]
lea eax, [ebp - 0x30]
push eax
call fcn.004b1207
mov dword [edi + 0x13c], 1
mov eax, dword [0xd808e8]
add esi, 4
push esi
lea ecx, [eax + 0xc]
call fcn.0041b94d
mov eax, dword [0xd80eb0]
mov ecx, dword [0xd808e8]
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x10], eax
mov ecx, dword [0xd808e8]
call fcn.004b9e58
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0042db5c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.006358ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004691dd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x6c41dd
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0xc25ee1
call fcn.00be12c8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x44]
mov dword [ebp - 4], 0xe
call fcn.00406a50
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call fcn.00406a50
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xc
call fcn.00406a50
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xb
call fcn.00406a50
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xa
call fcn.00406a50
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 9
call fcn.00406a50
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 8
call fcn.00406a50
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.00406a50
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 6
call fcn.00406a50
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 5
call fcn.00406a50
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 4
call fcn.00406a50
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 3
call fcn.00406a50
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 2
call fcn.00406a50
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00406a50
and byte [ebp - 4], 0
lea ecx, [esi + 8]
call fcn.00406a50
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00406a50
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
push str.MapleTVDownloader
mov esi, ecx
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x6e5696
push edi
push edi
push 0x8000001
push edi
push edi
push 0x15
push str.127.0.0.1
push eax
call dword [sym.imp.wininet.dll_InternetConnectA]
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x6e56a1
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, esi
call fcn.006e56a7
xor eax, eax
jmp 0x6e56a4
push 1
pop eax
pop edi
pop esi
ret
Function at 0x6e5723
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov eax, 0xc288b0
call fcn.00be12c8
sub esp, 0x15c
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push str..swf
push dword [esi + 0x18]
lea eax, [ebp - 0x1c]
push 0xd3e998
push eax
mov dword [ebp - 4], ebx
call fcn.0044e655
add esp, 0x10
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x28], eax
je 0x6e5863
push edi
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x13c]
push eax
push dword [esi + 0x18]
lea eax, [ebp - 0x10]
push 0xd3e998
push eax
mov byte [ebp - 4], 1
call fcn.0044e655
add esp, 0x10
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x6e57ea
mov ecx, dword [eax - 4]
cmp ecx, ebx
je 0x6e57ea
lea edi, [eax + ecx*4 - 4]
cmp edi, ebx
je 0x6e57ea
cmp edi, dword [esi + 0x14]
mov eax, edi
ja 0x6e57c5
xor edi, edi
jmp 0x6e57c8
sub edi, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.0041b94d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004876b8
test eax, eax
je 0x6e57b6
mov dword [ebp - 0x20], 1
jmp 0x6e57b6
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push 0xd3cd30
push eax
mov byte [ebp - 4], 3
call fcn.0044e655
add esp, 0xc
cmp dword [ebp - 0x20], ebx
jne 0x6e5813
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileA]
lea eax, [ebp - 0x168]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_FindNextFileA]
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
call fcn.00406a50
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406a50
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00406a50
cmp edi, ebx
jne 0x6e577b
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_FindClose]
mov ebx, dword [ebp - 0x18]
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00406a50
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x6eafb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0xc28b6b
call fcn.00be12c8
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0047b86e
xor edi, edi
push 0xffffffffffffffff
lea ecx, [esi + 0x28]
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
push 0xd808dc
mov dword [ebp - 4], edi
mov dword [ecx], edi
call fcn.0041fdb1
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov eax, 0xc84490
mov dword [esi + 0x3c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x78], 0xc8a7f4
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x8c], 0xc8a7f0
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xa0], 0xc8a7ec
mov dword [esi + 0xb8], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xb4], 0xc8a7e8
push 0x1f
pop ebx
mov dword [esi + 0xbc], ebx
lea eax, [esi + 0x78]
lea eax, [esi + 0x8c]
push 0x64
pop edx
mov dword [esi + 0xc4], edx
lea eax, [esi + 0xa0]
lea eax, [esi + 0xb4]
push 0x18
pop ecx
mov dword [eax + 0x14], ecx
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd8], edi
mov dword [esi + 0xcc], 0xc8a7e4
mov dword [esi + 0xdc], edx
mov dword [esi + 0xe0], ecx
lea eax, [esi + 0xcc]
lea eax, [esi + 0xe4]
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax], 0xc8a7e0
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x11c], edi
mov dword [esi + 0x120], edi
mov dword [esi + 0x124], edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi], fcn.006eb5c2
mov dword [esi + 4], 0xc8a780
mov dword [esi + 8], 0xc8a77c
mov dword [esi + 0xc], 0xc8a778
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x6fca85
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
push edi
jne 0x6fcaa7
push 0xf4240
mov ecx, 0xd86a88
call fcn.004030bb
mov dword [esi + 4], eax
mov ecx, esi
call fcn.006fcb5c
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x6fcb15
push ebx
push eax
call dword [sym.imp.kernel32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
jle 0x6fcb1c
push ebx
lea eax, [ebp + 8]
push eax
push 0xf4240
push dword [esi + 4]
mov dword [ebp + 8], ebx
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x6fcb0c
push dword [ebp + 8]
mov ecx, esi
push dword [esi + 4]
call fcn.006fcb81
sub edi, dword [ebp + 8]
jmp 0x6fcad9
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, 0xd80c88
jmp 0x6fcb2c
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, esi
call fcn.006fcc46
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x6fcb5c
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x18], 0
and dword [ecx + 0x1c], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
ret