joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a3e38
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 0x100a3e4e
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 0x100a3e5f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100a3ea0
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 0x100a620c
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 0x100a6155
add ebx, 0
push ecx
call 0x100a616a
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, 0x6c696313
sub ebx, dword [0x6c6b5b52]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c6b5b42
call fcn.100a1c34
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100a1142
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100a62c8
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100a62c8
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 0x100a627f
mov eax, 1
lock xchg dword [0x6c6b5b4e], eax
push 0x3dd1fc71
call 0x100a620c
push esi
add esp, 8
cmp eax, 0
jne 0x100a61f5
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100a621b
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100a6230
cmp ecx, edx
cmp eax, 0
je 0x100a6255
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 0x100a623f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100a626e
dec eax
loope 0x100a6271
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c6b5b4e], 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 0x100a62a5
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100a62ba
jmp 0x100a62c5
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100a61b3
Function at 0x100ad32d
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 0x100ad603
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c6a27c6
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c69978c
push 0xffffffffffffffff
call fcn.100a452d
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 0x100ad397
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100ad3af
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 0x100ad5f7
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100ad5cb
Function at 0x100bcdfd
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 0x100bce1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100bce1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100bce1f
ret
cmp word [ebx + 4], 0x14c
jne 0x100bce1f
test word [ebx + 0x16], 2
je 0x100bce1f
test word [ebx + 0x16], 0x100
je 0x100bce1f
cmp word [ebx + 0x18], 0x10b
jne 0x100bce1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100bce1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100bceab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100bce3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a3d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100bce1f
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 0x100bceab
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 0x100bce1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100bce1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100bce1f
ret
cmp word [ebx + 4], 0x14c
jne 0x100bce1f
test word [ebx + 0x16], 2
je 0x100bce1f
test word [ebx + 0x16], 0x100
je 0x100bce1f
cmp word [ebx + 0x18], 0x10b
jne 0x100bce1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100bce1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100bceab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100bce3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a3d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100bce1f
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 0x100bcf62
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100bcfbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100bcf62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100bcf71
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 0x104c2c14
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 0x100bcfc2
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.100a3e38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100bd061
add edi, 4
add eax, 2
dec ecx
jne 0x100bcfa7
call 0x100bd00e
loope 0x100bd004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100bd05e
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 0x100bd06f
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 0x100bd022
cmp eax, ecx
ja 0x100bd022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100bd0ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100bd0a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a4317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100bcf71
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100bcfbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100bcf62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100bcf71
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 0x104c2c14
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 0x100bcfc2
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.100a3e38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100bd061
add edi, 4
add eax, 2
dec ecx
jne 0x100bcfa7
call 0x100bd00e
loope 0x100bd004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100bd05e
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 0x100bd06f
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 0x100bd022
cmp eax, ecx
ja 0x100bd022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100bd0ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100bd0a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a4317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x402c00
pop dword [ebp - 0xc]
mov eax, 0x402c00
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x57934645
add dword [ebp - 0x1c], 0xf6beff06
mov dword [ebp - 0x18], 0xcc7bbd6d
add dword [ebp - 0x18], 0x65b78ed8
mov dword [ebp - 0x14], 0x7f2ea711
sub dword [ebp - 0x14], 0x32e262e3
mov dword [ebp - 0x10], 0xea77b659
add dword [ebp - 0x10], 0x158849a7
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x30f7c269
sub eax, 0x30b741dd
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xfe57d53f
add dword [ebp - 0x1c], 0x761a9417
mov dword [ebp - 0x18], 0x1172fe4a
add dword [ebp - 0x18], 0x2ff9632b
mov dword [ebp - 0x14], 0x1713dc6
sub dword [ebp - 0x14], 0x9e01d15a
mov dword [ebp - 0x10], 0x7bc5e74a
sub dword [ebp - 0x10], 0x7bc5e74a
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x37ae2
push 0
call eax
mov ecx, 0x4bf7
mov ebx, eax
mov edx, 0x3ff8e493
sub edx, 0x3fb7d493
add edx, dword [ebp - 0xc]
mov edi, 0x305013ab
sub edi, 0x8d6c218a
xor dword [ebp - 4], 0xfe208e2
mov esi, dword [edx]
sub esi, edi
add dword [ebp - 8], 0xc14722c9
mov dword [ebx], esi
sub dword [ebp - 8], esi
add ebx, 4
add edx, 0xc90bf002
sub edx, 0xc90beffe
loop 0x402d12
add eax, 0x3e7306b9
sub eax, 0x3e71e40a
xor ebx, ebx
add ebx, eax
add eax, 0x1ffdb858
sub eax, 0x1ffdb853
mov ecx, 0x950efb59
sub ecx, 0x94cefb59
add ecx, dword [ebp - 0xc]
call ebx
leave
ret
Function at 0x408670
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x40868a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408691
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408680
mov eax, 1
add ebx, ebx
jne 0x4086a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408698
jne 0x4086b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408698
xor ecx, ecx
sub eax, 3
jb 0x4086c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40873a
mov ebp, eax
add ebx, ebx
jne 0x4086d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4086e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408704
inc ecx
add ebx, ebx
jne 0x4086f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4086e5
jne 0x408701
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4086e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408724
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408715
jmp 0x408686
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408724
add edi, ecx
jmp 0x408686
pop esi
mov edi, esi
mov ecx, 0x26
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408742
cmp byte [edi], 0
jne 0x408742
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x408747
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4087bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9dac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9e04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408774
mov ecx, edi
jns 0x4087a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9e0c]
or eax, eax
je 0x4087b9
mov dword [ebx], eax
add ebx, 4
jmp 0x408791
call dword [esi + 0x9e08]
mov ebp, dword [esi + 0x9e10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4087f3
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x100097d1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100205e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call fcn.1000a2af
test eax, eax
je 0x100098e6
xor ebx, ebx
mov dword [ebp - 0x214], 0x104
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlW]
test eax, eax
js 0x100098e6
push ebx
push 0x80
push 3
push ebx
inc ebx
lea eax, [ebp - 0x20c]
push ebx
push SysReAllocStringLen
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100098e6
push 0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100098e6
cmp dword [ebp - 0x218], 4
jne 0x100098e6
push 3
lea eax, [ebp - 0x210]
push 0x10018620
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100098b0
push 3
lea eax, [ebp - 0x210]
push 0x10018624
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x100098b0
mov al, bl
jmp 0x100098e8
xor eax, eax
push eax
push eax
push eax
movsx ax, byte [ebp - 0x20d]
movzx eax, ax
push eax
call fcn.100099f9
mov ecx, dword [0x10021678]
add esp, 0x10
mov edi, eax
mov esi, edx
call fcn.100099f9
cmp edx, esi
jb 0x100098e2
ja 0x100098ac
cmp eax, edi
jae 0x100098ac
xor bl, bl
jmp 0x100098ac
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10013d40
leave
ret 4

Function at 0x100099f9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x10009a08
pop dword [ebp - 0x20]
mov eax, 0xa3115bac
add eax, 0x6cef3e5c
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3288e
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0xcfd6886e
add ecx, 0x3029a0d2
mov edx, eax
mov ebx, 0x910a159a
sub ebx, 0x8107c19a
add ebx, dword [ebp - 0x20]
mov esi, 0xeab69b07
mov dword [ebp - 0xc], 0xa3bbeda
mov edi, dword [ebx]
sub dword [ebp - 0x10], ecx
sub edi, esi
sub dword [ebp - 0x18], 0x8f40c784
mov dword [edx], edi
xor dword [ebp - 0x1c], 0x307335d1
add edx, 0xd8c0dfd4
sub edx, 0xd8c0dfd0
add ebx, 0x62ff48b6
sub ebx, 0x62ff48b2
loop 0x10009a5c
add eax, 0x2528611e
sub eax, 0x2527c94b
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x1000d50f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x100156af
call fcn.10013e2a
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov esi, ebx
mov dword [ebp - 0x42c], edx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test eax, eax
je 0x1000d730
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
call fcn.100099f9
add esp, 0x10
test eax, eax
js 0x1000d72a
mov edi, dword [ebp - 0x420]
cmp edi, 0x400
jg 0x1000d5b3
push edi
call fcn.10008238
pop ecx
test al, al
je 0x1000d5b3
mov eax, edi
call fcn.10014020
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000d5c5
push edi
lea ecx, [ebp - 0x424]
call fcn.100099f9
mov esi, dword [ebp - 0x424]
push 3
push edi
push dword [ebp - 0x41c]
push eax
call fcn.100099f9
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x1000d72a
push 0x60
push ebx
push eax
call fcn.1000eab1
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x1000d61d
push 2
push ebx
push dword [ebp - 0x41c]
call fcn.1000eab1
mov edi, eax
mov dword [ebp - 0x420], eax
test edi, edi
jne 0x1000d61d
call fcn.10003821
mov ebx, eax
jmp 0x1000d6f9
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x1000d644
call fcn.10003821
jmp 0x1000d6ec
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x1000d63a
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x41c], eax
lea ecx, [eax + 1]
cmp ecx, eax
jae 0x1000d677
mov ebx, 0x8007000e
jmp 0x1000d6ee
push ecx
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.100099f9
jmp 0x1000d69d
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x1000d670
mov eax, dword [ebp - 0x41c]
push eax
push dword [ebp - 0x428]
push eax
push dword [ebp - 0x418]
call fcn.100099f9
mov eax, dword [ebp - 0x418]
add esp, 0x10
mov ecx, dword [ebp - 0x41c]
push dword [ebp + 0x14]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x434]
push dword [ebp - 0x418]
call fcn.100099f9
mov ebx, eax
test edi, edi
je 0x1000d6f9
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000d712
lea ecx, [ebp - 0x418]
call fcn.1000ccf9
or dword [ebp - 4], 0xffffffff
jmp 0x1000d722
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1000d718
mov eax, ebx
jmp 0x1000d75e
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x1000d745
lea ecx, [ebp - 0x418]
call fcn.1000ccf9
or dword [ebp - 4], 0xffffffff
jmp 0x1000d755
push esi
mov esi, dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
jne 0x1000d74b
mov eax, 0x8007000e
lea esp, [ebp - 0x444]
call fcn.10013d77
ret 0x10
Function at 0x1000f2f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x3c
push esi
mov esi, dword [eax + 8]
push edi
mov edi, dword [ebp + 0x10]
add esi, 0x568
push 0x10018bc0
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push str.file:__
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push dword [ebp + 0xc]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x1000f37c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call dword [sym.imp.wininet.dll_InternetCrackUrlW]
test eax, eax
je 0x1000f37f
mov eax, dword [ebp - 0x30]
sub eax, 1
je 0x1000f378
dec eax
sub eax, 1
je 0x1000f378
sub eax, 1
jne 0x1000f37f
mov esi, edi
jmp 0x1000f37f
mov esi, dword [ebp + 0xc]
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.100099f9
add esp, 0x10
pop edi
pop esi
leave
ret 0x20