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

Disassembly:
call 0x1003b412
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 0x1003b442
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 0x1003b45e
xor edx, 0
jmp 0x1003b469
xor edx, edx
jmp 0x1003b480
jmp 0x1003b48c
xor eax, eax
push 0x8427d7c0
call 0x1003b499
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1003b4d5
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 0x1003b4ae
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 0x1003b4ec
add eax, 0
jno 0x1003b4f1
add esi, 0
ret 0x10

Function at 0x1003c25a
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 0x1003c27c
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 0x1003c41e
cmp edi, dword [ebp + 0x10]
jb 0x1003c41e
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.1003bd46
inc edi
jmp 0x1003c305
jmp 0x1003c312
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1003bd46
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1003bd46
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 0x1003c366
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 0x1003c34a
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1003c394
add dword [eax], 0x39
jle 0x1003c370
sub al, 0xf5
mov ch, al
call fcn.1003c3a9
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1003e081
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 0x1003e097
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 0x1003e0a8
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1003e0e9
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 0x10040455
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 0x1004039e
add ebx, 0
push ecx
call 0x100403b3
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, 0x6cba9385
sub ebx, dword [0x6cbc8bc4]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cbc8bb4
call fcn.1003be7d
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1003b38b
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10040511
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10040511
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 0x100404c8
mov eax, 1
lock xchg dword [0x6cbc8bc0], eax
push 0x3dd1fc71
call 0x10040455
push esi
add esp, 8
cmp eax, 0
jne 0x1004043e
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10040464
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10040479
cmp ecx, edx
cmp eax, 0
je 0x1004049e
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 0x10040488
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100404b7
dec eax
loope 0x100404ba
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cbc8bc0], 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 0x100404ee
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x10040503
jmp 0x1004050e
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100403fc
Function at 0x10047576
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 0x1004784c
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cbb5838
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cbac7fe
push 0xffffffffffffffff
call fcn.1003e776
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 0x100475e0
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100475f8
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 0x10047840
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x10047814
Function at 0x10057046
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 0x10057068
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10057068
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10057068
ret
cmp word [ebx + 4], 0x14c
jne 0x10057068
test word [ebx + 0x16], 2
je 0x10057068
test word [ebx + 0x16], 0x100
je 0x10057068
cmp word [ebx + 0x18], 0x10b
jne 0x10057068
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10057068
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100570f4
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10057088
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1003dfd3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10057068
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 0x100570f4
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 0x10057068
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10057068
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10057068
ret
cmp word [ebx + 4], 0x14c
jne 0x10057068
test word [ebx + 0x16], 2
je 0x10057068
test word [ebx + 0x16], 0x100
je 0x10057068
cmp word [ebx + 0x18], 0x10b
jne 0x10057068
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10057068
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100570f4
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10057088
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1003dfd3
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10057068
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 0x100571ab
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10057204
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100571ab
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100571ba
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 0x1045ce5d
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 0x1005720b
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.1003e081
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100572aa
add edi, 4
add eax, 2
dec ecx
jne 0x100571f0
call 0x10057257
loope 0x1005724d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100572a7
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 0x100572b8
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 0x1005726b
cmp eax, ecx
ja 0x1005726b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100572f5
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100572eb
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003e560
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100571ba
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10057204
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100571ab
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100571ba
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 0x1045ce5d
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 0x1005720b
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.1003e081
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100572aa
add edi, 4
add eax, 2
dec ecx
jne 0x100571f0
call 0x10057257
loope 0x1005724d
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100572a7
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 0x100572b8
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 0x1005726b
cmp eax, ecx
ja 0x1005726b
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100572f5
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100572eb
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1003e560
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x403c2a
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x74
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x403c40
mov ecx, dword [esi + 4]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x403c4a
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esi + 4]
mov ebx, eax
push ebp
lea eax, [esp + 0x10]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov edi, eax
mov eax, dword [esp + 0x18]
sub edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebp
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x33c8]
test eax, eax
je 0x403cf2
mov edx, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0x33c8]
lea eax, [esp + 0x34]
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov edx, dword [esp + 0x38]
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x18]
add ecx, edx
push ecx
mov ecx, dword [esi + 0x33c8]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004b9880
lea ecx, [esp + 0x14]
push ecx
push edi
mov ecx, esi
call fcn.00403800
lea edx, [esp + 0x14]
push 2
push edx
mov ecx, esi
call fcn.004028a0
mov eax, dword [esi + 0x3440]
test eax, eax
je 0x403d2d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 1
push ecx
push edx
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
push edi
mov ecx, esi
call fcn.00403b60
push edi
mov ecx, esi
call fcn.004039d0
push edi
mov ecx, esi
call fcn.00403a80
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
push eax
push ecx
sub edx, eax
push edi
push edx
mov edx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x88]
pop edi
test eax, eax
pop ebp
je 0x403db9
mov edx, dword [esi + 4]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
pop esi
pop ebx
add esp, 0x74
ret 4
mov eax, dword [esi + 4]
push ebx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
pop ebx
add esp, 0x74
ret 4
Function at 0x404b6a
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1048
call fcn.004d03a0
push esi
mov esi, ecx
cmp word [esi + 0x34c8], 0
lea eax, [esi + 0x34c8]
je 0x404b8b
push eax
mov eax, dword [esi + 0x33c0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x33c0]
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x824
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 8]
push eax
call fcn.0048b240
mov edi, dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 4
lea ecx, [esp + 8]
push 0x4e92e0
push ecx
call edi
add esp, 8
test eax, eax
je 0x404be6
mov word [eax], 0x2e
jmp 0x404bcc
lea edx, [esp + 8]
push 1
push edx
mov ecx, esi
call fcn.00403df0
mov eax, dword [esi + 0x1308]
pop edi
test eax, eax
je 0x404c33
mov eax, dword [esi + 0x1304]
push 0
push 0
push 0
test eax, eax
push 0
je 0x404c18
push 0x759c
jmp 0x404c1d
push 0x7595
call fcn.00421ea0
mov ecx, eax
call fcn.00421f30
mov dword [esi + 0x1308], 0
mov eax, dword [esi + 0x130c]
cmp eax, 3
jbe 0x404c4d
push 0
push 0
push 0
push 0
push 0x7596
jmp 0x404c76
jne 0x404c5e
push 0
push 0
push 0
push 0
push 0x7597
jmp 0x404c76
push 0
push 0
test eax, eax
push 0
push 0
ja 0x404c71
push 0x7599
jmp 0x404c76
push 0x7598
call fcn.00421ea0
mov ecx, eax
call fcn.00421f30
mov eax, dword [esp + 0x1050]
test eax, eax
jne 0x404c94
mov ecx, esi
call fcn.00404870
mov eax, dword [esi + 4]
push eax
push eax
call dword [sym.imp.USER32.dll_GetMenu]
and eax, 0xffff
or eax, 0xb0000
push eax
mov eax, dword [esi + 0x33c4]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push 0x2009
push ecx
mov word [esi + 0x1320], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 1
mov ecx, esi
call fcn.00405690
pop esi
add esp, 0x1048
ret 4
Function at 0x405590
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x214
push esi
mov esi, ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x405682
mov eax, dword [esi + 0x38]
push ebx
test eax, eax
push edi
jne 0x4055df
xor ebx, ebx
jmp 0x4055f1
mov ebx, dword [esi + 0x3c]
sub ebx, eax
sar ebx, 2
cmp ebx, 0x18
jle 0x4055f1
mov ebx, 0x18
mov ecx, dword [0x4e9368]
mov edx, dword [0x4e936c]
mov dword [esp + 0x18], ecx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x405675
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__itow]
mov edi, 1
jmp 0x40562c
mov esi, dword [esp + 0x18]
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + eax*4]
lea esi, [ecx + eax*4]
mov ecx, dword [edx - 8]
test ecx, ecx
jle 0x40566b
lea eax, [esp + 0x22]
push 0xa
push eax
push edi
call ebp
mov eax, dword [esi]
add esp, 0xc
lea edx, [esp + 0x1c]
mov ecx, dword [eax - 8]
shl ecx, 1
push ecx
push eax
mov eax, dword [esp + 0x18]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x14]
inc edi
inc eax
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x405628
pop ebp
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0x214
ret
Function at 0x405be0
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x1050
call fcn.004d03a0
push ebx
push ebp
mov ebp, dword [esp + 0x105c]
push esi
push edi
mov edi, dword [esp + 0x1070]
mov ebx, ecx
push ebp
mov esi, edi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [esp + 0x106c]
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x405d71
push eax
push ebp
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x405c8d
push 7
push 0x4e9394
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405c59
mov eax, dword [esp + 0x10]
lea esi, [edi + 0xe]
push eax
push ebp
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x405c8d
push 0xb
push str.http:__www.
push edi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405d71
mov ecx, dword [esp + 0x10]
lea esi, [edi + 0x16]
push ecx
push ebp
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x405d71
mov eax, dword [0x5e210c]
test eax, eax
je 0x405d71
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x33c0]
lea edx, [esp + 0x18]
push 0x823
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x18]
push esi
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x405d0d
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
lea eax, [esi + edx*2]
push eax
push ebp
push 0x4e9370
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebx + 0x33c0]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebp
mov dword [ebx + 0x33b4], 0
call edi
push esi
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x33c0]
add esp, 8
push eax
push ecx
push 0xb1
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 0x4e925c
lea eax, [ebx + 0x34c8]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, dword [esp + 0x107c]
mov edi, dword [esp + 0x1080]
add esp, 0x10
mov dword [ecx], 0
mov eax, dword [esp + 0x107c]
mov ecx, dword [esp + 0x1078]
mov edx, dword [ebx + 0x4c]
push eax
mov eax, dword [esp + 0x1078]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x107c]
add ebx, 0x4c
push eax
push edi
mov eax, dword [ecx]
mov ecx, ebx
push eax
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1050
ret 0x1c
Function at 0x409490
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x2090
call fcn.004d03a0
mov eax, dword [0x505aac]
push edi
test eax, eax
mov edi, ecx
je 0x4094b3
mov eax, 0x505ab0
pop edi
add esp, 0x2090
ret
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
add edi, 0x64
push 0x5c
push edi
mov esi, eax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
mov edi, eax
lea eax, [esp + 0x10]
push esi
push 0x4e925c
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
call ebx
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
mov esi, eax
test esi, esi
je 0x40950f
push edi
call ebp
lea esi, [esi + eax*2]
add esp, 4
test esi, esi
jne 0x409531
lea esi, [edi + 2]
lea edx, [esp + 0x10]
push esi
push edx
call ebx
mov edi, eax
test edi, edi
je 0x4095a4
push esi
call ebp
lea esi, [edi + eax*2]
add esp, 4
test esi, esi
je 0x4095a4
push 0x4e9698
push esi
call ebx
test eax, eax
je 0x409542
lea esi, [eax + 4]
jmp 0x40955a
push 2
push 0x4e9690
push esi
call dword [sym.imp.MSVCRT.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x40955a
add esi, 4
push esi
call ebp
add esp, 4
test eax, eax
jbe 0x4095a4
push esi
push 0x4e925c
push 0x1047
push 0x505ab0
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x505ab0
mov word [0x507b3e], 0
call fcn.0048b240
push 0x505ab0
call fcn.0048b910
push 0x505ab0
call fcn.0048b240
add esp, 0x1c
pop esi
pop ebp
pop ebx
mov dword [0x505aac], 1
mov eax, 0x505ab0
pop edi
add esp, 0x2090
ret