joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4def88
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 0x4def9c
inc ebx
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
test edx, edx
jg 0x4def9b
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 0x4df105
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 + 0x58b6bc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 1]
cmp eax, dword [esp]
jge 0x4df0bd
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 + 0x58b6bc]
mov byte [eax + ebx - 1], dl
lea eax, [esi + 2]
cmp eax, dword [esp]
jge 0x4df08c
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 + 0x58b6bc]
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 + 0x58b6bc]
mov byte [eax + ebx - 1], dl
jmp 0x4df0f9
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 + 0x58b6bc]
mov byte [eax + ebx - 1], dl
inc ebx
mov eax, edi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
jmp 0x4df0f9
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 + 0x58b6bc]
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 0x4defcd
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4dffdc
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, 0x58b818
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 0x4dfffb
mov esi, 1
mov edx, 0x58b920
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 0x4e0075
dec ebx
je 0x4e0099
dec ebx
je 0x4e00bd
dec ebx
je 0x4e00e0
jmp 0x4e00f9
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 0x4e00f9
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 0x4e00f9
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 0x4e00f9
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 0x4e0062
inc esi
add edx, 0x40
cmp esi, 9
jne 0x4e0017
mov esi, 0x20
mov eax, 0x58b848
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 0x4e011e
add esp, 0x5c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e0158
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 + 0x58b8cf]
test bl, bl
jbe 0x4e0189
lea eax, [esi + 0x3e0]
call fcn.004e0138
lea eax, [esi + 0x3fc]
call fcn.004e0138
dec bl
jne 0x4e016f
mov cl, 0x30
mov edi, 0x58b8a0
mov eax, dword [esp]
mov dl, byte [edi]
cmp dl, 0x1c
ja 0x4e01ab
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x4e01ba
and edx, 0xff
mov dl, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x4e0193
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4e01c8
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.004dff70
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e01e4
mov bl, 0x1c
mov esi, 0x58b868
lea edi, [ebp - 0x41]
mov dl, byte [esi]
mov eax, dword [ebp - 8]
call fcn.004dff70
mov byte [edi], al
mov dl, byte [esi + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004dff70
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x4e0200
mov bl, 1
lea esi, [ebp - 0x3a1]
mov ecx, esi
lea eax, [ebp - 0x421]
mov edx, ebx
call fcn.004e0158
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x4e0228
mov bl, 1
mov eax, 0x58b798
lea edx, [ebp - 0xa1]
cmp bl, 0x20
ja 0x4e0261
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [ebp + ecx - 0x422]
mov byte [edx], cl
jmp 0x4e026e
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 0x4e024d
mov byte [ebp - 9], 1
lea esi, [ebp - 0x3a1]
cmp byte [ebp + 8], 0
je 0x4e0298
lea ecx, [ebp - 0x61]
mov edx, esi
lea eax, [ebp - 0x81]
call fcn.004dffdc
jmp 0x4e02c0
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.004dffdc
mov bl, 0x20
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x4e02c8
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 0x4e0280
mov bl, 0x40
mov esi, 0x58b7d8
lea eax, [ebp - 0x3e1]
mov dl, byte [esi]
cmp dl, 0x20
ja 0x4e032e
and edx, 0xff
mov dl, byte [ebp + edx - 0x82]
mov byte [eax], dl
jmp 0x4e033d
and edx, 0xff
mov dl, byte [ebp + edx - 0xc2]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x4e0316
mov bl, 1
lea esi, [ebp - 0x3e1]
mov cl, byte [esi]
mov eax, dword [ebp - 4]
mov edx, ebx
call fcn.004dff98
inc ebx
inc esi
cmp bl, 0x41
jne 0x4e034b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e0e5c
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 0x4e0f08
mov dl, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x4e0f03
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.004e01c8
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4fcf54
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 0x4fcfb2
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 0x4fcfcb
sub al, 2
jb 0x4fcfd2
jmp 0x4fcfd7
mov ebx, 2
jmp 0x4fcfd7
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 0x4fd0b9
test edi, edi
jle 0x4fd033
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 0x4fd0ad
test edi, edi
jge 0x4fd079
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 0x4fd0ad
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 0x4fcfef
mov al, byte [ebp - 1]
sub al, 1
jb 0x4fd0c9
sub al, 2
jb 0x4fd102
jmp 0x4fd149
cmp edi, 2
jne 0x4fd0cf
dec ebx
mov eax, ebx
sub eax, 2
jl 0x4fd149
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 [0x58bb2c]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fd0df
jmp 0x4fd149
cmp edi, 2
jne 0x4fd108
dec ebx
test ebx, ebx
jle 0x4fd144
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 [0x58bb30]
mov dl, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x4fd114
jmp 0x4fd144
inc ebx
mov eax, esi
call fcn.00405330
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x4fd137
mov eax, esi
mov edx, ebx
call fcn.00405464
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x50218c
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.00501c2c
test byte [ebx + 0x23d], 4
jne 0x502221
mov edx, esp
mov eax, ebx
call fcn.0046555c
push esp
mov eax, ebx
call fcn.0046c324
push eax
push 0
mov eax, ebx
test eax, eax
je 0x5021c1
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 0x5021f2
mov ecx, dword [0x58fd9c]
mov dl, 1
mov eax, dword [0x4878ac]
call fcn.0040f164
call fcn.0040475c
mov eax, ebx
call fcn.00502760
cmp byte [ebx + 0x57], 0
jne 0x502228
mov eax, ebx
call fcn.0046c528
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x502228
push 0
mov eax, ebx
call fcn.0046c528
push eax
call sub.user32.dll_ShowWindow
jmp 0x502228
mov eax, ebx
call fcn.004694a8
add esp, 0x10
pop ebx
ret
Function at 0x5108cc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004085ec
ret

Function at 0x513b54
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.00513afc
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.00513afc
push 0xffffffffffffffff
mov eax, dword [esp + 0x50]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov ecx, dword [esp]
mov dl, 1
mov eax, dword [0x41ab04]
call fcn.0041f7b0
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x513c4d
cmp eax, 0
jbe 0x513c76
jmp 0x513c4f
jle 0x513c76
mov dl, 1
mov eax, dword [0x41a97c]
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 0x51eafc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004052c8
mov eax, dword [ebp - 8]
call fcn.004052c8
xor eax, eax
push ebp
push 0x51ecaf
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 0x424]
mov dword [eax], esi
inc esi
add eax, 4
cmp esi, 0x100
jne 0x51eb42
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.004050d8
mov dword [ebp - 0x14], eax
xor esi, esi
lea ecx, [ebp - 0x424]
mov eax, esi
cdq
idiv dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x10]
movzx edx, byte [edx + edi]
mov eax, dword [ecx]
add ebx, eax
add edx, ebx
and edx, 0x800000ff
jns 0x51eb8e
dec edx
or edx, 0xffffff00
inc edx
mov ebx, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + ebx*4 - 0x424]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + ebx*4 - 0x424], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x51eb65
xor edi, edi
xor ebx, ebx
lea eax, [ebp - 0x20]
call fcn.00404e08
mov eax, dword [ebp - 8]
call fcn.004050d8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x51ec76
inc eax
mov dword [ebp - 0x24], eax
xor esi, esi
inc edi
and edi, 0x800000ff
jns 0x51ebec
dec edi
or edi, 0xffffff00
inc edi
mov eax, dword [ebp + edi*4 - 0x424]
add ebx, eax
and ebx, 0x800000ff
jns 0x51ec05
dec ebx
or ebx, 0xffffff00
inc ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + ebx*4 - 0x424]
mov dword [ebp + edi*4 - 0x424], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + ebx*4 - 0x424], eax
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + edi*4 - 0x424]
add edx, eax
and edx, 0x800000ff
jns 0x51ec43
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x428]
mov edx, dword [ebp - 0x10]
mov edx, dword [ebp + edx*4 - 0x424]
xor edx, dword [ebp - 0x1c]
call fcn.00404ff0
mov edx, dword [ebp - 0x428]
lea eax, [ebp - 0x20]
call fcn.004050e0
inc esi
dec dword [ebp - 0x24]
jne 0x51ebdb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
call fcn.00404e5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51ecb6
lea eax, [ebp - 0x428]
call fcn.00404e08
lea eax, [ebp - 0x20]
call fcn.00404e08
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404e2c
ret
Function at 0x5296e8
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 0x5297ff
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x52977d
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 [0x489ae0]
call fcn.0048aac4
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 0x529773
mov eax, dword [ebp - 0xc]
call fcn.00403f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5297d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x529806
lea eax, [ebp - 0x14]
call fcn.00404e08
lea eax, [ebp - 0x10]
call fcn.00405524
lea eax, [ebp - 8]
call fcn.00404e08
ret
Function at 0x52b0e8
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 0x52b24b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.0050ff74
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.0050ff94
jmp 0x52b21d
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 0x52b1ff
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 0x52b214
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.0050ffb4
test eax, eax
jne 0x52b160
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b252
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret
Function at 0x52b258
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 0x52b45f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, 0x52b478
call fcn.0040541c
test eax, eax
jne 0x52b43a
mov edx, dword [ebp - 4]
mov eax, 0x52b48c
call fcn.0040541c
test eax, eax
jne 0x52b43a
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409ae0
mov edx, dword [ebp - 0x30]
mov eax, 0x52b49c
call fcn.0040541c
test eax, eax
jne 0x52b2e3
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x52b49c
call fcn.00405124
push 0
push 0
push 0
push 0
push 0x52b4a4
call sub.wininet.dll_InternetOpenA
mov edi, eax
test edi, edi
je 0x52b43c
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 0x52b348
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 0x52b3bd
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 0x52b3cb
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, 0x52b4bc
call fcn.00405224
je 0x52b3fd
lea eax, [ebp - 0x40]
mov edx, ebx
call fcn.00405010
mov eax, dword [ebp - 0x40]
mov edx, 0x52b4c8
call fcn.00405224
jne 0x52b420
cmp dword [ebp - 0x14], 0
jne 0x52b40e
cmp dword [ebp - 0x18], 0xf4240
ja 0x52b424
jmp 0x52b410
jg 0x52b424
cmp dword [ebp - 0x14], 0
jne 0x52b41e
cmp dword [ebp - 0x18], 0
jb 0x52b424
jmp 0x52b420
jl 0x52b424
xor eax, eax
jmp 0x52b426
mov al, 1
mov ebx, eax
test esi, esi
je 0x52b432
push esi
call sub.wininet.dll_InternetCloseHandle
push edi
call sub.wininet.dll_InternetCloseHandle
jmp 0x52b43c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b466
lea eax, [ebp - 0x40]
mov edx, 5
call fcn.00404e2c
lea eax, [ebp - 4]
call fcn.00404e08
ret