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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x10081d59
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x10081d46
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x100909b0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100909ee
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100909e6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100909f0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100909d6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10090ac0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10090ad6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10090af1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x100a7373
Capabilities:
Encode data using xor

Disassembly:
call 0x100a72ec
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100a731c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100a7338
xor edx, 0
jmp 0x100a7343
xor edx, edx
jmp 0x100a735a
jmp 0x100a7366
xor eax, eax
push 0x8427d7c0
call 0x100a7373
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100a73af
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100a7388
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100a73c6
add eax, 0
jno 0x100a73cb
add esi, 0
ret 0x10
Function at 0x100a8134
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 0x100a8156
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 0x100a82f8
cmp edi, dword [ebp + 0x10]
jb 0x100a82f8
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.100a7c20
inc edi
jmp 0x100a81df
jmp 0x100a81ec
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100a7c20
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100a7c20
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 0x100a8240
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 0x100a8224
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100a826e
add dword [eax], 0x39
jle 0x100a824a
sub al, 0xf5
mov ch, al
call fcn.100a8283
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100a9f5b
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 0x100a9f71
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 0x100a9f82
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100a9fc3
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 0x100ac32f
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 0x100ac278
add ebx, 0
push ecx
call 0x100ac28d
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, 0x6c48920e
sub ebx, dword [0x6c4a8a4d]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c4a8a3d
call fcn.100a7d57
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100a7265
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100ac3eb
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100ac3eb
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 0x100ac3a2
mov eax, 1
lock xchg dword [0x6c4a8a49], eax
push 0x3dd1fc71
call 0x100ac32f
push esi
add esp, 8
cmp eax, 0
jne 0x100ac318
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100ac33e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100ac353
cmp ecx, edx
cmp eax, 0
je 0x100ac378
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 0x100ac362
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100ac391
dec eax
loope 0x100ac394
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c4a8a49], 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 0x100ac3c8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100ac3dd
jmp 0x100ac3e8
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100ac2d6
Function at 0x100b3450
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 0x100b3726
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c4956c1
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c48c687
push 0xffffffffffffffff
call fcn.100aa650
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 0x100b34ba
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100b34d2
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 0x100b371a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100b36ee
Function at 0x100c2f20
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 0x100c2f42
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2f42
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2f42
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2f42
test word [ebx + 0x16], 2
je 0x100c2f42
test word [ebx + 0x16], 0x100
je 0x100c2f42
cmp word [ebx + 0x18], 0x10b
jne 0x100c2f42
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2f42
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c2fce
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2f62
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a9ead
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2f42
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 0x100c2fce
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 0x100c2f42
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c2f42
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c2f42
ret
cmp word [ebx + 4], 0x14c
jne 0x100c2f42
test word [ebx + 0x16], 2
je 0x100c2f42
test word [ebx + 0x16], 0x100
je 0x100c2f42
cmp word [ebx + 0x18], 0x10b
jne 0x100c2f42
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c2f42
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c2fce
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c2f62
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a9ead
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c2f42
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 0x100c3085
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c30de
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c3085
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c3094
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 0x104c8d37
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 0x100c30e5
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.100a9f5b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c3184
add edi, 4
add eax, 2
dec ecx
jne 0x100c30ca
call 0x100c3131
loope 0x100c3127
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c3181
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 0x100c3192
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 0x100c3145
cmp eax, ecx
ja 0x100c3145
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c31cf
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c31c5
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100aa43a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100c3094
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c30de
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c3085
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c3094
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 0x104c8d37
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 0x100c30e5
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.100a9f5b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c3184
add edi, 4
add eax, 2
dec ecx
jne 0x100c30ca
call 0x100c3131
loope 0x100c3127
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c3181
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 0x100c3192
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 0x100c3145
cmp eax, ecx
ja 0x100c3145
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c31cf
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c31c5
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100aa43a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401080
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
lea eax, [ebp - 0x7c]
sub esp, 0x88
mov dword [esp + 4], eax
mov dword [esp], str.browseui.dll
call dword [0x4061dc]
sub esp, 8
test eax, eax
jne 0x4010c0
mov dword [esp], str.Native_IE_detected__not_doing_registration_n
call sym._wine_dbg_printf.constprop.0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], eax
mov edi, eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov dword [ebp - 0x80], edx
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
mov ebx, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], edi
lea edi, [ebp - 0x74]
mov dword [esp + 4], eax
mov dword [esp], str.browseui.dll
call dword [0x4061e0]
lea eax, [ebp - 0x70]
sub esp, 0x10
mov dword [esp + 8], eax
mov eax, str.VarFileInfoTranslation
mov dword [esp + 4], eax
mov eax, dword [0x4061e4]
mov dword [esp + 0xc], edi
mov dword [esp], ebx
mov dword [ebp - 0x84], eax
call eax
sub esp, 0x10
test eax, eax
jne 0x401160
mov dword [esp + 8], ebx
xor ecx, ecx
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x4010a9
mov eax, dword [ebp - 0x70]
movzx ecx, word [eax + 2]
mov dword [esp + 0xc], ecx
lea ecx, [ebp - 0x6c]
movzx eax, word [eax]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov eax, str.StringFileInfo_04x_04xFileDescription
mov dword [esp + 4], eax
call dword [0x4061d0]
lea eax, [ebp - 0x78]
mov dword [esp + 8], eax
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], ebx
call eax
sub esp, 0x10
test eax, eax
je 0x401136
mov eax, dword [ebp - 0x78]
mov edi, 0x4030e6
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov edx, dword [ebp - 0x80]
test eax, eax
je 0x401136
mov dword [esp + 8], ebx
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, str.UnregisterIE
mov eax, str.RegisterIE
sub esp, 0xc
test esi, esi
mov dword [esp], 0
cmove eax, edx
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call sym._RegInstallA_12
shr eax, 0x1f
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
test eax, eax
je 0x4013c8
cmp byte [esi + eax - 1], 0xa
mov ebx, eax
je 0x4013c0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
xor eax, eax
jmp 0x40138a
add esp, 0x10
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov ebx, dword [ebp + 0xc]
mov dword [esp], ebx
call sym.___wine_dbg_get_channel_flags
movzx ecx, byte [ebp + 8]
movzx eax, al
sar eax, cl
test al, 1
je 0x401c28
mov edx, dword [0x405084]
mov eax, dword fs:[0x18]
cmp dword [eax + 0x24], edx
je 0x401c18
test byte [0x402074], 8
jne 0x401bc0
lea edi, [ebp - 0xd4]
mov esi, edi
test byte [0x402084], 8
jne 0x401b80
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, str._04x:
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401aca
cmp dword [ebp + 8], 3
jbe 0x401b38
mov dword [esp], 2
mov ebx, edi
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov esi, dword [ebx]
add ebx, 4
lea ecx, [esi - 0x1010101]
not esi
and ecx, esi
and ecx, 0x80808080
je 0x401ad9
mov dword [esp + 0xc], eax
mov esi, ecx
mov eax, 1
mov dword [esp + 4], eax
shr esi, 0x10
test ecx, 0x8080
mov dword [esp], edi
cmove ecx, esi
lea esi, [ebx + 2]
mov dl, cl
cmove ebx, esi
add dl, cl
sbb ebx, 3
sub ebx, edi
mov dword [esp + 8], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [ebp + 0x10]
add eax, esi
inc ebx
mov dword [esp + 0x10], ebx
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx*4 + 0x4031c4]
mov edx, str._s:_s:_s
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov ecx, edi
sub ecx, eax
add ecx, 0xc8
mov dword [esp + 4], ecx
call sym._snprintf.constprop.0
jmp 0x401aca
mov dword [esp], 0x402084
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x401a9f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov ecx, str._04x:
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sym._sprintf
add esi, eax
jmp 0x401a9f
mov dword [esp], 0x402074
call sym.___wine_dbg_get_channel_flags
and al, 8
je 0x401a8a
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov esi, str._3u._03u:
mov dword [esp + 4], esi
lea edi, [ebp - 0xd4]
mov dword [esp], edi
mov ecx, eax
mul edx
shr edx, 6
mov dword [esp + 8], edx
imul eax, edx, 0x3e8
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea esi, [edi + eax]
jmp 0x401a92
add esp, 0xe0
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xffffffff
jmp 0x401b27

Function at 0x401cf0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete dl
movzx edx, dl
inc edx
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x401d60
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test eax, eax
je 0x401de1
cmp eax, 9
je 0x401dd0
cmp eax, 0x20
je 0x401dd0
xor edi, edi
xor esi, esi
lea esi, [esi]
lea esi, [esi]
cmp eax, 0x5c
je 0x401e48
cmp eax, 0x22
je 0x401e30
xor esi, esi
movzx eax, word [ebx + 2]
add ebx, 2
test eax, eax
je 0x401de1
cmp eax, 9
sete cl
cmp eax, 0x20
sete dl
or cl, dl
je 0x401d90
test edi, 1
jne 0x401d90
lea esi, [esi]
nop
movzx eax, word [ebx + 2]
add ebx, 2
cmp eax, 9
je 0x401dd0
cmp eax, 0x20
je 0x401dd0
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x24], 1
je 0x401e50
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
xor edx, edx
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._wWinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
and esi, 1
jne 0x401da2
xor edi, 1
jmp 0x401da4
inc esi
jmp 0x401da4
mov word [ebp - 0x20], 1
mov esi, 1
jmp 0x401dfa
Function at 0x401ee4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
sub esp, 0x920
mov eax, esp
mov ebx, eax
mov dword [ebp - 0x96], 0x330056
mov dword [ebp - 0x92], 0x530044
mov dword [ebp - 0x8e], 0x6f0043
mov dword [ebp - 0x8a], 0x46006d
mov dword [ebp - 0x86], 0x6e0069
mov dword [ebp - 0x82], 0x650064
mov dword [ebp - 0x7e], 0x430072
mov dword [ebp - 0x7a], 0x61006c
mov dword [ebp - 0x76], 0x730073
mov word [ebp - 0x72], 0
lea edx, [ebp - 0xc8]
mov eax, 0
mov ecx, 0xc
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0xc8], 0x30
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xc0], 0x401520
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb4], eax
mov dword [esp + 4], 0x7f89
mov dword [esp], 0
mov eax, dword [0x40d504]
call eax
sub esp, 8
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0
lea eax, [ebp - 0x96]
mov dword [ebp - 0xa0], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40d508]
call eax
sub esp, 8
mov dword [ebp - 0x9c], eax
mov dword [esp + 4], 0x65
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [0x40d508]
call eax
sub esp, 8
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xc8]
mov dword [esp], eax
mov eax, dword [0x40d518]
call eax
sub esp, 4
test ax, ax
jne 0x40205f
mov dword [esp + 0xc], 0x30
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Window_Registration_Failed_
mov dword [esp], 0
mov eax, dword [0x40d50c]
call eax
sub esp, 0x10
mov eax, 0
jmp 0x402a05
mov dword [esp], 0
mov eax, dword [0x40d4f8]
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
mov dword [esp], 1
mov eax, dword [0x40d4f8]
call eax
sub esp, 4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], 0x1d6
mov dword [ebp - 0x40], 0x10e
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x3c]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
jmp fcn.0081ad83
mov esp, ebx
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 0x10