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

Disassembly:
push ecx
mov al, byte [esp + 8]
mov edx, dword [esp + 0xc]
and al, 0xf
push ebx
movzx cx, al
push ebp
push esi
mov word [esp + 0xc], cx
lea ebp, [edx + edi - 1]
jmp 0x43c1f0
xor dl, dl
test di, di
mov ecx, ebp
je 0x43c21b
movzx esi, di
lea esp, [esp]
mov al, byte [ecx]
mov bl, dl
mov dl, al
shl al, 1
or al, bl
shr dl, 7
mov byte [ecx], al
dec ecx
dec esi
jne 0x43c200
test dl, dl
je 0x43c21b
or byte [ebp], 1
mov eax, dword [esp + 0xc]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0xc], eax
jne 0x43c1f0
xor ecx, ecx
test edi, edi
jbe 0x43c250
mov esi, dword [esp + 0x18]
mov dl, byte [esp + 0x14]
xor eax, eax
mov bl, byte [eax + esi]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
movzx eax, cx
cmp eax, edi
jb 0x43c240
pop esi
pop ebp
xor ax, ax
pop ebx
pop ecx
ret

Function at 0x43c260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
xor ecx, ecx
test ebx, ebx
push edi
jbe 0x43c27b
xor eax, eax
nop
xor byte [eax + ebp], dl
inc ecx
movzx eax, cx
cmp eax, ebx
jb 0x43c270
and dl, 0xf
movzx ax, dl
mov word [esp + 0x10], ax
xor dl, dl
test bx, bx
mov esi, ebp
je 0x43c2b1
movzx edi, bx
mov al, byte [esi]
mov cl, dl
mov dl, al
shr al, 1
shl cl, 7
or al, cl
and dl, 1
mov byte [esi], al
inc esi
dec edi
jne 0x43c293
test dl, dl
je 0x43c2b1
or byte [ebp], 0x80
mov eax, dword [esp + 0x10]
mov cx, ax
add eax, 0xffff
test cx, cx
mov dword [esp + 0x10], eax
jne 0x43c287
pop edi
pop esi
xor ax, ax
pop ebp
ret

Function at 0x43c350
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, dword [esp + 8]
movzx eax, byte [esi + 2]
movzx ecx, byte [eax + str._.C]
push edi
mov edi, dword [esp + 0x10]
mov eax, 4
cmp edi, eax
jle 0x43c38d
push ebx
nop
mov bl, byte [eax + esi]
mov edx, ecx
and edx, 0xff
mov dl, byte [edx + str._.C]
xor bl, dl
inc ecx
mov byte [eax + esi], bl
inc eax
cmp eax, edi
jl 0x43c370
pop ebx
pop edi
pop esi
ret

Function at 0x43c3f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
test cx, cx
push ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], eax
jbe 0x43c492
push ebp
movzx ecx, cx
push esi
push edi
mov dword [esp + 0x1c], ecx
jmp 0x43c420
mov eax, dword [esp + 0x10]
jmp 0x43c420
mov edi, dword [eax + 4]
mov ebp, dword [eax]
mov dword [esp + 0x18], 0x10
lea ecx, [ecx]
xor ecx, ecx
mov cl, bl
lea edx, [esp + 0x14]
mov dword [esp + 0x14], edi
and ecx, 0xf
call fcn.0043c390
mov edx, dword [esp + 0x14]
mov esi, ebp
xor esi, edx
mov ecx, 2
lea edx, [esp + 0x24]
xor esi, ebx
call fcn.0043c3c0
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
dec eax
mov ebp, edi
mov edi, esi
mov dword [esp + 0x18], eax
jne 0x43c430
mov eax, dword [esp + 0x10]
mov dword [eax + 4], esi
mov dword [eax], ebp
add eax, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
inc ebx
dec eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
jne 0x43c411
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x43e690
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
add dword [eax + 4], edx
mov edx, dword [ecx + 4]
add esi, edx
mov dword [eax], esi
lea edx, [ecx + 0x10]
mov dword [esp + 0x10], 3
mov edi, edi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
xor ebx, ebp
mov esi, ebx
mov edi, ebp
shr edi, 4
and edi, 0x1f
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 8]
shl ebx, cl
mov ecx, 0x20
or esi, ebx
sub esi, edi
mov dword [eax + 4], esi
mov edi, esi
shr edi, 7
xor esi, ebp
and edi, 0x1f
sub ecx, edi
mov ebx, esi
shr ebx, cl
mov ecx, edi
shl esi, cl
mov ecx, dword [edx - 4]
or ebx, esi
add ecx, ebx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
xor ebx, esi
mov edi, esi
mov dword [eax + 4], esi
shr edi, 7
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 4]
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
mov edi, ecx
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx + 8]
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
shr edi, 7
and edi, 0x1f
mov dword [eax + 4], esi
xor ebx, esi
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, dword [edx + 0xc]
add edx, 0x20
or esi, ebx
mov ebx, dword [eax + 4]
add ecx, esi
xor ebx, ecx
mov dword [eax], ecx
mov ebp, dword [edx - 0x10]
mov edi, ecx
shr edi, 4
and edi, 0x1f
mov esi, ebx
mov ecx, 0x20
sub ecx, edi
shr esi, cl
mov ecx, edi
shl ebx, cl
mov ecx, 0x20
or esi, ebx
mov ebx, dword [eax]
sub esi, ebp
mov edi, esi
xor ebx, esi
shr edi, 7
mov dword [eax + 4], esi
and edi, 0x1f
sub ecx, edi
mov esi, ebx
shr esi, cl
mov ecx, edi
mov edi, dword [edx - 0xc]
shl ebx, cl
mov ecx, dword [esp + 0x10]
or esi, ebx
add esi, edi
dec ecx
mov dword [eax], esi
mov dword [esp + 0x10], ecx
jne 0x43e6b0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x43e7f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0xc
jmp 0x43e800
mov ebx, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + ebp*8 + 4]
mov edx, dword [edi]
sub edx, ecx
mov esi, ebx
shr esi, 7
and esi, 0x1f
mov eax, edx
mov ecx, 0x20
sub ecx, esi
shl eax, cl
mov ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x10]
or eax, edx
xor eax, ebx
mov dword [edi], eax
mov edx, dword [ecx + ebp*8]
lea esi, [edx + ebx]
mov edx, eax
shr edx, 4
and edx, 0x1f
mov ecx, 0x20
sub ecx, edx
mov ebx, esi
shl ebx, cl
mov ecx, edx
shr esi, cl
or ebx, esi
xor ebx, eax
dec ebp
mov dword [edi + 4], ebx
jne 0x43e800
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
sub dword [edi], ecx
mov edx, dword [eax]
mov eax, ebx
pop esi
sub eax, edx
pop ebp
mov dword [edi + 4], eax
pop ebx
ret
Function at 0x445f30
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x44c600
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
xor ebx, ebx
xor ecx, ecx
test eax, eax
je 0x44c696
mov dword [esp + 0xc], eax
push ebp
nop
mov ebp, 8
call fcn.0044c5f0
push ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 8
push eax
mov dword [esp + 0x24], edx
call fcn.0042d920
mov ecx, eax
mov edx, ecx
and edx, 1
xor esi, edx
call fcn.0044c5f0
push ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push 8
push eax
mov dword [esp + 0x30], edx
call fcn.0042d920
mov ecx, eax
mov edx, ecx
and edx, 1
xor edi, edx
add esp, 0x18
cmp esi, edi
je 0x44c625
add ebx, ebx
or ebx, esi
dec ebp
jne 0x44c625
mov eax, dword [esp + 0x20]
mov byte [eax], bl
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x44c620
mov eax, dword [esp + 0x24]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x44c7d0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov edx, dword [esp + 0xc]
sub esp, 0x24
push ebx
add edx, 0xfffffffa
push ebp
lea eax, [edx - 1]
test eax, eax
push esi
push edi
jl 0x44c7fe
mov ecx, dword [esp + 0x38]
lea esi, [esp + 0x14]
sub ecx, esi
nop
lea esi, [ecx + eax*4]
dec eax
mov esi, dword [esp + esi + 0x14]
mov dword [esp + eax*4 + 0x18], esi
jns 0x44c7f0
mov ebp, dword [esp + 0x3c]
xor esi, esi
xor ecx, ecx
xor eax, eax
test edx, edx
jle 0x44c842
lea esp, [esp]
mov edi, dword [esp + 0x40]
inc edi
cmp esi, edi
jge 0x44c842
cmp eax, edx
jge 0x44c836
lea ecx, [ecx]
cmp ecx, 4
jge 0x44c839
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x44c820
cmp ecx, 4
jne 0x44c83e
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x44c810
mov eax, dword [esp + 0x40]
inc eax
cmp esi, eax
mov dword [esp + 0x10], eax
jge 0x44c9ac
mov dword [esp + 0x40], 0x4a2590
jmp 0x44c860
movzx edi, byte [esp + edx*4 + 0x11]
mov bl, byte [edi + str.cw]
mov al, byte [esp + 0x14]
xor al, bl
mov byte [esp + 0x14], al
movzx edi, byte [esp + edx*4 + 0x12]
mov bl, byte [edi + str.cw]
xor byte [esp + 0x15], bl
movzx edi, byte [esp + edx*4 + 0x13]
mov bl, byte [edi + str.cw]
xor byte [esp + 0x16], bl
movzx edi, byte [esp + edx*4 + 0x10]
mov bl, byte [edi + str.cw]
mov edi, dword [esp + 0x40]
xor byte [esp + 0x17], bl
xor al, byte [edi]
add edi, 4
cmp edx, 8
mov byte [esp + 0x14], al
mov dword [esp + 0x40], edi
mov eax, 1
je 0x44c8e0
cmp edx, eax
jle 0x44c964
mov ebx, dword [esp + eax*4 + 0x14]
mov edi, dword [esp + eax*4 + 0x10]
xor ebx, edi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, edx
jl 0x44c8c5
jmp 0x44c964
mov ebx, dword [esp + eax*4 + 0x14]
mov edi, dword [esp + eax*4 + 0x10]
xor ebx, edi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, 4
jl 0x44c8e0
movzx eax, byte [esp + 0x20]
mov al, byte [eax + str.cw]
mov bl, byte [esp + 0x24]
xor bl, al
movzx eax, byte [esp + 0x21]
mov al, byte [eax + str.cw]
mov byte [esp + 0x24], bl
mov bl, byte [esp + 0x25]
xor bl, al
movzx eax, byte [esp + 0x22]
mov al, byte [eax + str.cw]
mov byte [esp + 0x25], bl
mov bl, byte [esp + 0x26]
xor bl, al
movzx eax, byte [esp + 0x23]
mov al, byte [eax + str.cw]
mov byte [esp + 0x26], bl
xor byte [esp + 0x27], al
mov eax, 5
jmp 0x44c950
mov ebx, dword [esp + eax*4 + 0x14]
mov edi, dword [esp + eax*4 + 0x10]
xor ebx, edi
mov dword [esp + eax*4 + 0x14], ebx
inc eax
cmp eax, 8
jl 0x44c950
xor eax, eax
test edx, edx
jle 0x44c9a2
lea ebx, [ebx]
cmp esi, dword [esp + 0x10]
jge 0x44c9a2
cmp eax, edx
jge 0x44c996
lea ebx, [ebx]
cmp ecx, 4
jge 0x44c999
mov ebx, dword [esp + eax*4 + 0x14]
lea edi, [ecx + esi*4]
inc eax
inc ecx
cmp eax, edx
mov dword [ebp + edi*4], ebx
jl 0x44c980
cmp ecx, 4
jne 0x44c99e
inc esi
xor ecx, ecx
cmp eax, edx
jl 0x44c970
cmp esi, dword [esp + 0x10]
jl 0x44c860
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
Function at 0x44c9c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
cmp ecx, 1
jle 0x44cab7
mov eax, dword [esp + 4]
push esi
add eax, 0x16
dec ecx
push edi
jmp 0x44c9e0
movzx esi, byte [eax - 4]
mov edi, dword [esi*4 + 0x4a1d90]
movzx edx, byte [eax - 3]
mov edx, dword [edx*4 + 0x4a2190]
movzx esi, byte [eax - 5]
xor edx, edi
mov edi, dword [esi*4 + 0x4a1990]
movzx esi, byte [eax - 6]
xor edx, edi
xor edx, dword [esi*4 + 0x4a1590]
mov dword [eax - 6], edx
movzx esi, byte [eax - 1]
mov edi, dword [esi*4 + 0x4a1990]
movzx edx, byte [eax + 1]
mov edx, dword [edx*4 + 0x4a2190]
movzx esi, byte [eax]
xor edx, edi
mov edi, dword [esi*4 + 0x4a1d90]
movzx esi, byte [eax - 2]
xor edx, edi
xor edx, dword [esi*4 + 0x4a1590]
mov dword [eax - 2], edx
movzx esi, byte [eax + 4]
mov edi, dword [esi*4 + 0x4a1d90]
movzx edx, byte [eax + 5]
mov edx, dword [edx*4 + 0x4a2190]
movzx esi, byte [eax + 3]
xor edx, edi
mov edi, dword [esi*4 + 0x4a1990]
movzx esi, byte [eax + 2]
xor edx, edi
xor edx, dword [esi*4 + 0x4a1590]
mov dword [eax + 2], edx
movzx esi, byte [eax + 8]
movzx edx, byte [eax + 9]
mov edi, dword [esi*4 + 0x4a1d90]
movzx esi, byte [eax + 7]
mov edx, dword [edx*4 + 0x4a2190]
xor edx, edi
mov edi, dword [esi*4 + 0x4a1990]
movzx esi, byte [eax + 6]
xor edx, edi
xor edx, dword [esi*4 + 0x4a1590]
mov dword [eax + 6], edx
add eax, 0x10
dec ecx
jne 0x44c9e0
pop edi
pop esi
xor eax, eax
ret
Function at 0x457fa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
push ebx
xor ebx, ebx
lea ecx, [esp + 4]
mov byte [esp + 4], bl
mov byte [esp + 5], bl
mov byte [esp + 6], bl
mov byte [esp + 7], bl
mov byte [esp + 8], bl
mov byte [esp + 9], bl
mov byte [esp + 0xa], bl
mov byte [esp + 0xb], bl
mov byte [esp + 0xc], bl
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
call fcn.00457d60
mov eax, dword [esp + 0x30]
shr eax, 4
cmp eax, ebx
jbe 0x458085
push ebp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x38]
inc esi
mov ebp, eax
mov ecx, dword [esp + 0x44]
push ecx
push 0x10
lea edx, [esp + 0x28]
push edx
push edi
call fcn.00457df0
add esp, 0x10
xor eax, eax
lea ebx, [ebx]
mov dl, byte [esp + eax + 0x10]
mov cl, byte [esp + eax + 0x20]
xor cl, dl
mov dl, byte [esp + eax + 0x21]
mov byte [esi + eax - 1], cl
xor dl, byte [esp + eax + 0x11]
mov cl, byte [esp + eax + 0x22]
mov byte [esi + eax], dl
xor cl, byte [esp + eax + 0x12]
mov dl, byte [esp + eax + 0x23]
mov byte [esi + eax + 1], cl
xor dl, byte [esp + eax + 0x13]
mov byte [esi + eax + 2], dl
add eax, 4
cmp eax, 0x10
jb 0x458030
push 0x10
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00415940
add esp, 0xc
add esi, 0x10
add edi, 0x10
dec ebp
jne 0x458013
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret

Function at 0x458090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
lea ecx, [esp]
mov byte [esp], 0
mov byte [esp + 1], 0
mov byte [esp + 2], 0
mov byte [esp + 3], 0
mov byte [esp + 4], 0
mov byte [esp + 5], 0
mov byte [esp + 6], 0
mov byte [esp + 7], 0
mov byte [esp + 8], 0
mov byte [esp + 9], 0
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
mov byte [esp + 0xc], 0
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
call fcn.00457d60
mov eax, dword [esp + 0x30]
shr eax, 4
test eax, eax
jbe 0x458176
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov edi, dword [esp + 0x38]
inc esi
mov ebp, eax
nop
xor eax, eax
mov dl, byte [esp + eax + 0x10]
mov cl, byte [esi + eax - 1]
xor cl, dl
mov dl, byte [esi + eax]
mov byte [esp + eax + 0x20], cl
xor dl, byte [esp + eax + 0x11]
mov cl, byte [esi + eax + 1]
mov byte [esp + eax + 0x21], dl
xor cl, byte [esp + eax + 0x12]
mov dl, byte [esi + eax + 2]
mov byte [esp + eax + 0x22], cl
xor dl, byte [esp + eax + 0x13]
mov byte [esp + eax + 0x23], dl
add eax, 4
cmp eax, 0x10
jb 0x458112
push ebx
push 0x10
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00457d80
push 0x10
lea ecx, [esp + 0x24]
push edi
push ecx
call fcn.00415940
add esp, 0x1c
add esi, 0x10
add edi, 0x10
dec ebp
jne 0x458110
pop edi
pop esi
pop ebp
pop ebx
xor eax, eax
add esp, 0x20
ret
Function at 0x466cf0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
mov eax, dword [0x4a3e78]
and eax, 0xff00
cmp eax, 0x2300
je 0x466d3d
shr edi, 2
xor edx, edx
test edi, edi
jle 0x466d3d
push ebx
mov edi, edi
mov ecx, dword [esi + edx*4]
mov eax, ecx
shl ecx, 0x10
shr eax, 0x10
or eax, ecx
mov ecx, eax
shr ecx, 8
mov ebx, eax
shl ebx, 8
xor ecx, ebx
and ecx, 0xff00ff
shl eax, 8
xor ecx, eax
mov dword [esi + edx*4], ecx
inc edx
cmp edx, edi
jl 0x466d10
pop ebx
pop edi
ret
Function at 0x46ef50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [ebp + 0x110]
push esi
call fcn.004386d0
add esp, 4
test eax, eax
jne 0x46f0c0
imul esi, esi, 0x64
mov eax, dword [esi + 0x57951c]
push ebx
push edi
mov edi, dword [esi + 0x579518]
push eax
mov dword [esp + 0x1c], edi
call fcn.00415970
push edi
mov ebx, eax
call fcn.00415970
add esp, 8
test ebx, ebx
mov dword [esp + 0x10], eax
je 0x46f0ac
test eax, eax
je 0x46f098
push eax
push ebp
call dword [esi + 0x57956c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f071
mov ecx, dword [esi + 0x57951c]
test ecx, ecx
jbe 0x46efea
jmp 0x46efd0
mov ecx, dword [ebp + 0x228]
mov dl, byte [ecx + eax]
xor dl, 0x5c
mov byte [eax + ebx], dl
mov ecx, dword [esi + 0x57951c]
inc eax
cmp eax, ecx
jb 0x46efd0
push ebp
call dword [esi + 0x579564]
mov edi, eax
add esp, 4
test edi, edi
jne 0x46f071
mov eax, dword [esi + 0x57951c]
push eax
push ebx
push ebp
call dword [esi + 0x579568]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f071
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push edx
push ebp
call dword [esi + 0x579568]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46f071
push ebx
push ebp
call dword [esi + 0x57956c]
mov edi, eax
add esp, 8
test edi, edi
jne 0x46f071
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x46f069
mov edi, dword [esp + 0x1c]
mov esi, ebx
sub esi, edi
lea ecx, [ecx]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx]
jae 0x46f069
lea ecx, [eax + edi]
mov dl, byte [esi + ecx]
mov byte [ecx], dl
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
jb 0x46f050
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
xor edi, edi
mov edx, dword [ebp + 0x228]
push edx
call fcn.00412f90
mov eax, dword [esp + 0x14]
push eax
call fcn.00412f90
push ebx
call fcn.00412f90
add esp, 0xc
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
push ebx
call fcn.00412f90
add esp, 4
pop edi
pop ebx
pop esi
mov eax, 0xc
pop ebp
pop ecx
ret
test eax, eax
je 0x46f0b9
push eax
call fcn.00412f90
add esp, 4
pop edi
mov eax, 0xc
pop ebx
pop esi
pop ebp
pop ecx
ret
Function at 0x46f110
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push ebp
call fcn.004386d0
add esp, 4
test eax, eax
jne 0x46f29e
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, ebp
imul esi, esi, 0x64
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
mov dword [ebx + 0x110], ebp
mov eax, dword [esi + 0x579518]
mov dword [esp + 0x18], eax
jne 0x46f15a
pop edi
pop esi
pop ebx
mov eax, 0x20001
pop ebp
add esp, 0xc
ret
mov ecx, dword [esi + 0x57951c]
push ecx
call fcn.00415970
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
jne 0x46f17e
pop edi
pop esi
pop ebx
mov eax, 0xc
pop ebp
add esp, 0xc
ret
mov edx, dword [esi + 0x57951c]
push edx
call fcn.00415970
add esp, 4
test eax, eax
mov dword [ebx + 0x228], eax
jne 0x46f1b1
mov eax, dword [esp + 0x10]
push eax
call fcn.00412f90
add esp, 4
pop edi
pop esi
pop ebx
mov eax, 0xc
pop ebp
add esp, 0xc
ret
mov ecx, dword [esi + 0x57951c]
cmp edi, ecx
jbe 0x46f1fa
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push edi
push edx
push ebp
call fcn.0046d1b0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x46f27d
mov eax, dword [esi + 0x57951c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jae 0x46f227
sub eax, ecx
push eax
mov eax, dword [ebx + 0x228]
add eax, ecx
push eax
jmp 0x46f21f
mov ecx, dword [esp + 0x28]
push edi
push ecx
push eax
call fcn.004379f0
mov eax, dword [esi + 0x57951c]
add esp, 0xc
cmp edi, eax
jae 0x46f227
mov edx, dword [ebx + 0x228]
sub eax, edi
push eax
add edx, edi
push edx
call fcn.0044da10
add esp, 8
mov ecx, dword [esi + 0x57951c]
xor eax, eax
test ecx, ecx
jbe 0x46f251
mov ecx, dword [ebx + 0x228]
mov dl, byte [eax + ecx]
mov ecx, dword [esp + 0x10]
xor dl, 0x36
mov byte [eax + ecx], dl
mov ecx, dword [esi + 0x57951c]
inc eax
cmp eax, ecx
jb 0x46f233
push ebx
call dword [esi + 0x579564]
mov edi, eax
add esp, 4
test edi, edi
jne 0x46f27d
mov edx, dword [esi + 0x57951c]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebx
call dword [esi + 0x579568]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x46f28c
mov ecx, dword [ebx + 0x228]
push ecx
call fcn.00412f90
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.00412f90
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
add esp, 0xc
ret
Function at 0x4777a9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4a5d48
cmp edx, dword [eax]
je 0x4777cb
add eax, 8
inc ecx
cmp eax, 0x4a5dd8
jl 0x4777bc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4a5d48]
jne 0x4778f9
mov eax, dword [0x585850]
cmp eax, 1
je 0x4778d3
test eax, eax
jne 0x4777fc
cmp dword [0x4a5714], 1
je 0x4778d3
cmp edx, 0xfc
je 0x4778f9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x477833
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00477a30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00477b20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x477876
lea eax, [ebp - 0x1a4]
push eax
call fcn.00477b20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x490530
push edi
call fcn.0047a1c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00477a30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00477a40
lea eax, [ebp - 0xa0]
push 0x490510
push eax
call fcn.00477a40
push dword [esi + 0x4a5d4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00477a40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0047a137
add esp, 0x2c
pop edi
jmp 0x4778f9
lea eax, [ebp + 8]
lea esi, [esi + 0x4a5d4c]
push 0
push eax
push dword [esi]
call fcn.00477b20
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 0x47eeee
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 0x47ef30
call fcn.00484565
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47ef30
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47ef27
xor eax, eax
jmp 0x47ef38
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ef3e
pop edi
pop esi
pop ebx
ret 4

Function at 0x482d7a
Capabilities:
Create http request

Disassembly:
mov eax, 0x485da8
call fcn.004732f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x482db2
call fcn.00484565
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x482dd7
push eax
push dword [esi + 4]
call fcn.004839ba
jmp 0x482de3
push esi
push eax
mov ecx, 0x5853e0
call fcn.00482df4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4830a5
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x485e07
call fcn.004732f0
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004807a0
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x4a51e4]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.0047fba7
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.0047fba7
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x484c89
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 0x484cb7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x484cd5
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00484bef
jmp 0x484cd5
mov eax, dword [esi + 0x14]
test eax, eax
je 0x484cd5
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00484bef
test edi, edi
mov eax, edi
jne 0x484cbf
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8