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

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x7733a15b
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x7733a2fd
cmp edi, dword [ebp + 0x10]
jb 0x7733a2fd
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.77339c25
inc edi
jmp 0x7733a1e4
jmp 0x7733a1f1
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77339c25
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.77339c25
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x7733a245
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x7733a229
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.7733a273
add dword [eax], 0x39
jle 0x7733a24f
sub al, 0xf5
mov ch, al
call fcn.7733a288
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x7733bf60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x7733bf76
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x7733bf87
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.7733bfc8
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x7733e334
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 0x7733e27d
add ebx, 0
push ecx
call 0x7733e292
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, 0x6fc9b05d
sub ebx, dword [0x6fcba89c]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6fcba88c
call fcn.77339d5c
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.7733926a
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7733e3f0
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7733e3f0
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 0x7733e3a7
mov eax, 1
lock xchg dword [0x6fcba898], eax
push 0x3dd1fc71
call 0x7733e334
push esi
add esp, 8
cmp eax, 0
jne 0x7733e31d
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7733e343
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7733e358
cmp ecx, edx
cmp eax, 0
je 0x7733e37d
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 0x7733e367
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7733e396
dec eax
loope 0x7733e399
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6fcba898], 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 0x7733e3cd
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7733e3e2
jmp 0x7733e3ed
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7733e2db
Function at 0x77345455
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 0x7734572b
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6fca7510
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6fc9e4d6
push 0xffffffffffffffff
call fcn.7733c655
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 0x773454bf
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.773454d7
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 0x7734571f
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x773456f3
Function at 0x77354f25
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 0x77354f47
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77354f47
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77354f47
ret
cmp word [ebx + 4], 0x14c
jne 0x77354f47
test word [ebx + 0x16], 2
je 0x77354f47
test word [ebx + 0x16], 0x100
je 0x77354f47
cmp word [ebx + 0x18], 0x10b
jne 0x77354f47
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77354f47
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77354fd3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77354f67
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7733beb2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77354f47
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 0x77354fd3
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 0x77354f47
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77354f47
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77354f47
ret
cmp word [ebx + 4], 0x14c
jne 0x77354f47
test word [ebx + 0x16], 2
je 0x77354f47
test word [ebx + 0x16], 0x100
je 0x77354f47
cmp word [ebx + 0x18], 0x10b
jne 0x77354f47
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77354f47
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77354fd3
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77354f67
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7733beb2
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77354f47
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 0x7735508a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x773550e3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7735508a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77355099
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 0x7775ad3c
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 0x773550ea
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.7733bf60
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77355189
add edi, 4
add eax, 2
dec ecx
jne 0x773550cf
call 0x77355136
loope 0x7735512c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77355186
mov dh, pe_nt_image_headers32
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 0x77355197
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 0x7735514a
cmp eax, ecx
ja 0x7735514a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x773551d4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x773551ca
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7733c43f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77355099
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x773550e3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7735508a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77355099
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 0x7775ad3c
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 0x773550ea
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.7733bf60
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77355189
add edi, 4
add eax, 2
dec ecx
jne 0x773550cf
call 0x77355136
loope 0x7735512c
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x77355186
mov dh, pe_nt_image_headers32
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 0x77355197
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 0x7735514a
cmp eax, ecx
ja 0x7735514a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x773551d4
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x773551ca
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7733c43f
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x46fed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, eax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x46fee5
pop es
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
jne 0x46fef9
mov byte [ebp - 1], 0x55
mov al, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop esi
pop ecx
pop ebp
ret

Function at 0x10001060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call fcn.1000106f
Function at 0x1000435a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x10004369
pop dword [ebp - 0x34]
mov eax, 0x10004369
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x8d025be9
add dword [ebp - 0x44], 0xc14fe962
mov dword [ebp - 0x40], 0xbbee1cf9
add dword [ebp - 0x40], 0x76452f4c
mov dword [ebp - 0x3c], 0x6b0c4c91
add dword [ebp - 0x3c], 0xe13ff79d
mov dword [ebp - 0x38], 0xd18dec0e
sub dword [ebp - 0x38], 0xd18dec0e
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xa43f109d
sub dword [ebp - 0x44], 0x2fcca747
mov dword [ebp - 0x40], 0xc06f9eab
add dword [ebp - 0x40], 0x80fcc2ca
mov dword [ebp - 0x3c], 0xd9a3de14
add dword [ebp - 0x3c], 0x89cb8e58
mov dword [ebp - 0x38], 0xa3afe011
add dword [ebp - 0x38], 0x5c501fef
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x21d5465c
add eax, 0xee2c79f0
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3bd10
push 0
call eax
mov ecx, 0x48f8
xor edi, edi
add edi, eax
mov edx, 0x1002aa00
add edx, dword [ebp - 0x34]
mov esi, 0x27e22599
add esi, 0x12ccbfec
sub dword [ebp - 0x24], 0x632511e6
mov ebx, dword [edx]
add dword [ebp - 0xc], 0x4d29660a
xor ebx, esi
mov dword [ebp - 4], 0x7beecac5
mov dword [edi], ebx
add dword [ebp - 0x30], ecx
add edi, 0xfc82f70
sub edi, 0xfc82f6c
add edx, 4
loop 0x10004477
add eax, 0x48e76d98
add eax, 0xb719a91b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x91968813
add ecx, 0x7e6977ed
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x10008c61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024050]
jne 0x10008c6b
repz ret
jmp fcn.1000d082

Function at 0x10554058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105541a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
pop es
inc edi
mov ebx, 2
add dl, dl
jne 0x1055407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055406a
add dl, dl
jne 0x10554089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105540dc
xor eax, eax
add dl, dl
jne 0x10554096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055417d
add dl, dl
jne 0x105540a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105540b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105540bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105540c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105540d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10554075
mov eax, 1
add dl, dl
jne 0x105540ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105540f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105540e1
sub eax, ebx
mov ebx, 1
jne 0x10554128
mov ecx, 1
add dl, dl
jne 0x1055410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10554119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10554105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10554075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1055413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10554136
cmp eax, 0x7d00
jae 0x1055416d
cmp eax, 0x500
jb 0x10554168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10554075
cmp eax, 0x7f
ja 0x10554170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10554075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1055419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10554075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401380
Capabilities:
Get common file path
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ff0a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4ac
push ebx
push esi
push edi
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x224]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x3c
push 0
lea edx, [ebp - 0x260]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x260], 0x3c
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x24c], 1
mov dword [ebp - 0x240], 1
mov dword [ebp - 0x238], 1
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x228], 1
lea eax, [ebp - 0x260]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x401461
mov dword [ebp - 0x474], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x474]
jmp 0x401532
mov edx, dword [ebp - 0x230]
mov word [ebp + edx*2 - 0x468], 0
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x468]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x46c], eax
cmp dword [ebp - 0x46c], 0
je 0x4014cb
mov ecx, dword [ebp - 0x46c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5c
je 0x4014cb
mov eax, dword [ebp - 0x46c]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x2f
jne 0x4014e5
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x411450
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x401512
mov ecx, dword [ebp - 0x46c]
push ecx
lea edx, [ebp - 0x224]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x104
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov dword [ebp - 0x478], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x478]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4015e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push str.InitInstance
call fcn.0040c300
add esp, 4
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
push 0
push SysReAllocString
push 0
push SysReAllocString
push 0xcf0000
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401644
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InitInstance_CreateWindow_error:_d
call fcn.0040c300
add esp, 8
xor eax, eax
jmp 0x40165d
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401930
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x4008340
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], str.open
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4019c7
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x4019d0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp - 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4019e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ff49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push esi
push edi
push 0x44
push 0
lea eax, [ebp - 0x50]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x50], 0x44
push 0x10
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x64]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__s___s
lea ecx, [ebp - 0x64]
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
mov dword [ebp - 0x68], 0
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call fcn.00401910
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x401ac0
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], ecx
cmp dword [ebp + 0x10], 0
je 0x401a9d
push 0xffffffffffffffff
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], 0
je 0x401abe
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
jmp 0x401b01
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401930
add esp, 0xc
test eax, eax
je 0x401b01
cmp dword [ebp + 0x10], 0
je 0x401aea
push 0xffffffffffffffff
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], 0
je 0x401b01
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call sub.MFC42u.DLL_CString::CString
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401b90
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401bd7
push 0x104
mov ecx, dword [ebp + 8]
push ecx
push str.CommonProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401bd5
xor eax, eax
jmp 0x401beb
jmp 0x401be6
push str.Common_Files
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret