joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d801c
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x4d8061
lea eax, [ebp - 0x60]
call fcn.004d7550
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.004d7578
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004d7648
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x4d8063
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x4d808a
mov bl, byte [esi]
xor bl, 0x36
mov byte [eax], bl
mov bl, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x4d8090
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x4d8071
lea eax, [ebp - 0x60]
call fcn.004d7550
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004d7578
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.004d7efc
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004d7648
lea eax, [ebp - 0x60]
call fcn.004d7550
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.004d7578
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.004d7578
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.004d7648
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4de8c8
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, ecx
mov dword [esp], edx
mov ebp, eax
xor esi, esi
mov ebx, dword [esp]
jmp 0x4de8dc
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4de8db
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
shl eax, 2
mov ebx, eax
mov eax, edi
mov edx, ebx
call fcn.00405464
xor ebx, ebx
cmp esi, dword [esp]
jge 0x4dea45
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4de9fd
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov cl, byte [ebp + esi + 1]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4de9cc
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov cl, byte [ebp + esi + 2]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi + 2]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
jmp 0x4dea39
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi + 1]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
jmp 0x4dea39
inc ebx
mov eax, edi
call fcn.00405330
mov dl, byte [ebp + esi]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x5836bc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
inc ebx
mov eax, edi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
add esi, 3
cmp esi, dword [esp]
jl 0x4de90d
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4df91c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x583818
mov ecx, dword [esp]
lea edx, [esp + 0xc]
xor ebx, ebx
mov bl, byte [edi]
mov bl, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x4df93b
mov esi, 1
mov edx, 0x583920
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
shl ecx, 2
xor ebx, ebx
mov bl, byte [esp + eax + 0xc]
mov edi, ebx
add edi, edi
xor ebx, ebx
mov bl, byte [esp + eax + 0x11]
add edi, ebx
xor ebx, ebx
mov bl, byte [esp + eax + 0xd]
shl ebx, 3
movzx ebp, byte [esp + eax + 0xe]
shl ebp, 2
add ebx, ebp
movzx ebp, byte [esp + eax + 0xf]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x10]
add ebx, eax
mov dword [esp + 8], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x4df9b5
dec ebx
je 0x4df9d9
dec ebx
je 0x4df9fd
dec ebx
je 0x4dfa20
jmp 0x4dfa39
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 8
and ebx, 0xff
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4dfa39
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 4
and ebx, 0xff
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4dfa39
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 2
and ebx, 0xff
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
jmp 0x4dfa39
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 8]
mov bl, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3b], bl
inc eax
cmp eax, 5
jne 0x4df9a2
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4df957
mov esi, 0x20
mov eax, 0x583848
mov edx, dword [esp + 4]
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx + 0x3b]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x4dfa5e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4dfa98
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
xor eax, eax
mov al, dl
mov bl, byte [eax + 0x5838cf]
test bl, bl
jbe 0x4dfac9
lea eax, [esi + 0x3e0]
call fcn.004dfa78
lea eax, [esi + 0x3fc]
call fcn.004dfa78
dec bl
jne 0x4dfaaf
mov cl, 0x30
mov edi, 0x5838a0
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4dfaeb
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4dfafa
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4dfad3
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4dfb08
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbdc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x421]
mov eax, edi
mov edx, ebx
call fcn.004df8b0
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4dfb24
mov bl, 0x1c
mov esi, 0x583868
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004df8b0
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004df8b0
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4dfb40
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004dfa98
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4dfb68
mov bl, 1
mov eax, 0x583798
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4dfba1
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4dfbae
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x4dfb8d
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4dfbd8
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004df91c
jmp 0x4dfc00
xor eax, eax
mov al, byte [ebp - 9]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d1]
lea ecx, [ebp - 0x61]
lea eax, [ebp - 0x81]
call fcn.004df91c
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4dfc08
push esi
lea esi, [ebp - 0x81]
lea edi, [ebp - 0xa1]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x61]
lea edi, [ebp - 0x81]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 9]
add esi, 0x30
cmp byte [ebp - 9], 0x11
jne 0x4dfbc0
mov bl, 0x40
mov esi, 0x5837d8
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4dfc6e
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4dfc7d
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4dfc56
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004df8d8
inc ebx
inc esi
cmp bl, 0x41
jne 0x4dfc8b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e079c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebp, ecx
mov dword [esp], edx
mov esi, eax
mov dl, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
mov al, byte [esi + 1]
xor ecx, ecx
mov cl, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
mov dl, byte [esi + 2]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
mov al, byte [esi + 3]
xor ecx, ecx
mov cl, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
xor edx, edx
mov dl, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
mov al, byte [esi + 4]
shl eax, 3
and al, 0xff
xor edx, edx
mov dl, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
mov al, byte [esi + 5]
shl eax, 2
and al, 0xff
xor edx, edx
mov dl, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
mov al, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov edi, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
xor ebx, ebx
mov bl, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x4e0848
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4e0843
mov eax, ebp
mov edx, 8
call fcn.00405464
push 1
mov eax, ebp
call fcn.00405330
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.004dfb08
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fc894
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
shl eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.004054c8
cmp byte [ebp - 1], 0
jne 0x4fc8f2
mov eax, esi
call fcn.00405330
mov dl, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov al, byte [ebp - 1]
sub al, 1
jb 0x4fc90b
sub al, 2
jb 0x4fc912
jmp 0x4fc917
mov ebx, 2
jmp 0x4fc917
mov ebx, 1
mov eax, esi
call fcn.00405330
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4fc9f9
test edi, edi
jle 0x4fc973
mov eax, esi
call fcn.00405330
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.00405330
mov byte [eax + ebx - 1], 0
jmp 0x4fc9ed
test edi, edi
jge 0x4fc9b9
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.00405330
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x4fc9ed
mov eax, esi
call fcn.00405330
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
mov cl, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.00405330
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4fc92f
mov al, byte [ebp - 1]
sub al, 1
jb 0x4fca09
sub al, 2
jb 0x4fca42
jmp 0x4fca89
cmp edi, 2
jne 0x4fca0f
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4fca89
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.00405330
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x583b2c]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fca1f
jmp 0x4fca89
cmp edi, 2
jne 0x4fca48
dec ebx
test ebx, ebx
jle 0x4fca84
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.00405330
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x583b30]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fca54
jmp 0x4fca84
inc ebx
mov eax, esi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4fca77
mov eax, esi
mov edx, ebx
call fcn.00405464
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x501acc
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0050156c
test byte [ebx + 0x23d], 4
jne 0x501b61
mov edx, esp
mov eax, ebx
call fcn.00464e9c
push esp
mov eax, ebx
call fcn.0046bc64
push eax
push 0
mov eax, ebx
test eax, eax
je 0x501b01
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x501b32
mov ecx, dword [0x587950]
mov dl, 1
mov eax, dword [0x4871ec]
call fcn.0040eaa4
call fcn.0040475c
mov eax, ebx
call fcn.005020a0
cmp byte [ebx + 0x57], 0
jne 0x501b68
mov eax, ebx
call fcn.0046be68
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x501b68
push 0
mov eax, ebx
call fcn.0046be68
push eax
call sub.user32.dll_ShowWindow
jmp 0x501b68
mov eax, ebx
call fcn.00468de8
add esp, 0x10
pop ebx
ret
Function at 0x511ce0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff98
mov edi, edx
mov ebx, eax
mov eax, edi
call fcn.00404e08
lea eax, [esp + 0x5c]
xor ecx, ecx
mov edx, 0xc
call fcn.0040379c
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x64], 0xffffffff
xor eax, eax
mov dword [esp + 0x60], eax
push 0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.00511c88
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0x44
call fcn.0040379c
mov dword [esp + 8], 0x44
mov word [esp + 0x38], 0
mov dword [esp + 0x34], 0x101
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
push 0xfffffffffffffff6
call sub.kernel32.dll_GetStdHandle_1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x10
push 0xffffffffffffffff
push 0
push 0
mov eax, ebx
call fcn.004052d8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
call fcn.00511c88
push 0xffffffffffffffff
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ecx, dword [esp]
mov dl, 1
mov eax, dword [0x41a444]
call fcn.0041f0f0
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x511dd9
cmp eax, 0
jbe 0x511e02
jmp 0x511ddb
jle 0x511e02
mov dl, 1
mov eax, dword [0x41a2bc]
call fcn.00403f4c
mov esi, eax
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov edx, edi
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, esi
call fcn.00403f7c
mov eax, ebx
call fcn.00403f7c
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
add esp, 0x68
pop edi
pop esi
pop ebx
ret
Function at 0x522d40
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x522e57
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x522dd5
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.004056f8
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
sub edx, ebx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SetEndOfFile_1
cmp dword [ebp - 0xc], 0
je 0x522dcb
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522e31
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522e5e
lea eax, [ebp - 0x14]
call fcn.00404e08
lea eax, [ebp - 0x10]
call fcn.00405524
lea eax, [ebp - 8]
call fcn.00404e08
ret
Function at 0x524740
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004052c8
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x5248a3
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0050fbf8
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0050fc18
jmp 0x524875
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040ac20
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00409a90
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405224
je 0x524857
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00405088
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00409a90
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00409a90
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405224
jne 0x52486c
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.0050fc38
test eax, eax
jne 0x5247b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5248aa
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret
Function at 0x5248b0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004052c8
xor eax, eax
push ebp
push 0x524ab7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x524ad0
call fcn.0040541c
test eax, eax
jne 0x524a92
mov edx, dword [ebp - 4]
mov eax, 0x524ae4
call fcn.0040541c
test eax, eax
jne 0x524a92
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409ae0
mov edx, dword [ebp - 0x30]
mov eax, 0x524af4
call fcn.0040541c
test eax, eax
jne 0x52493b
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x524af4
call fcn.00405124
push 0
push 0
push 0
push 0
push 0x524afc
call sub.wininet.dll_InternetOpenA
mov edi, eax
test edi, edi
je 0x524a94
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xa
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x13
push esi
call sub.wininet.dll_HttpQueryInfoA
lea ebx, [ebp - 0x2c]
test esi, esi
je 0x5249a0
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004052d8
push eax
push edi
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
push 5
push esi
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x524a15
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x2c]
mov ecx, 0x14
call fcn.00404ef8
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00405338
mov eax, dword [ebp - 0x34]
call fcn.0040a584
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x524a23
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x3c]
mov edx, ebx
call fcn.00405010
mov eax, dword [ebp - 0x3c]
mov edx, 0x524b14
call fcn.00405224
je 0x524a55
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00405010
mov eax, dword [ebp - 0x40]
mov edx, 0x524b20
call fcn.00405224
jne 0x524a78
cmp dword [ebp - 0x14], 0
jne 0x524a66
cmp dword [ebp - 0x18], 0xf4240
ja 0x524a7c
jmp 0x524a68
jg 0x524a7c
cmp dword [ebp - 0x14], 0
jne 0x524a76
cmp dword [ebp - 0x18], 0
jb 0x524a7c
jmp 0x524a78
jl 0x524a7c
xor eax, eax
jmp 0x524a7e
mov al, 1
mov ebx, eax
test esi, esi
je 0x524a8a
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x524a94
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524abe
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret