joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c00f
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 0x1001c031
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 0x1001c1d3
cmp edi, dword [ebp + 0x10]
jb 0x1001c1d3
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.1001bafb
inc edi
jmp 0x1001c0ba
jmp 0x1001c0c7
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bafb
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1001bafb
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 0x1001c11b
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 0x1001c0ff
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001c149
add dword [eax], 0x39
jle 0x1001c125
sub al, 0xf5
mov ch, al
call fcn.1001c15e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001de36
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 0x1001de4c
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 0x1001de5d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1001de9e
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 0x1002020a
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 0x10020153
add ebx, 0
push ecx
call 0x10020168
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, 0x7379a090
sub ebx, dword [0x737b98cf]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x737b98bf
call fcn.1001bc32
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1001b140
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100202c6
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100202c6
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 0x1002027d
mov eax, 1
lock xchg dword [0x737b98cb], eax
push 0x3dd1fc71
call 0x1002020a
push esi
add esp, 8
cmp eax, 0
jne 0x100201f3
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x10020219
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1002022e
cmp ecx, edx
cmp eax, 0
je 0x10020253
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 0x1002023d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1002026c
dec eax
loope 0x1002026f
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x737b98cb], 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 0x100202a3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100202b8
jmp 0x100202c3
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100201b1
Function at 0x1002732b
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 0x10027601
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x737a6543
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7379d509
push 0xffffffffffffffff
call fcn.1001e52b
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 0x10027395
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100273ad
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 0x100275f5
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100275c9
Function at 0x10036dfb
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 0x10036e1d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10036e1d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10036e1d
ret
cmp word [ebx + 4], 0x14c
jne 0x10036e1d
test word [ebx + 0x16], 2
je 0x10036e1d
test word [ebx + 0x16], 0x100
je 0x10036e1d
cmp word [ebx + 0x18], 0x10b
jne 0x10036e1d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10036e1d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10036ea9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10036e3d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dd88
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10036e1d
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 0x10036ea9
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 0x10036e1d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10036e1d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10036e1d
ret
cmp word [ebx + 4], 0x14c
jne 0x10036e1d
test word [ebx + 0x16], 2
je 0x10036e1d
test word [ebx + 0x16], 0x100
je 0x10036e1d
cmp word [ebx + 0x18], 0x10b
jne 0x10036e1d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10036e1d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10036ea9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10036e3d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dd88
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10036e1d
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 0x10036f60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10036fb9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036f60
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036f6f
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 0x1043cc12
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 0x10036fc0
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.1001de36
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003705f
add edi, 4
add eax, 2
dec ecx
jne 0x10036fa5
call 0x1003700c
loope 0x10037002
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003705c
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 0x1003706d
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 0x10037020
cmp eax, ecx
ja 0x10037020
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100370aa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100370a0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e315
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10036f6f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10036fb9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036f60
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036f6f
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 0x1043cc12
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 0x10036fc0
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.1001de36
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1003705f
add edi, 4
add eax, 2
dec ecx
jne 0x10036fa5
call 0x1003700c
loope 0x10037002
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1003705c
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 0x1003706d
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 0x10037020
cmp eax, ecx
ja 0x10037020
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100370aa
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100370a0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e315
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x408f0e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push esi
add esp, 4
call fcn.00408f0e
add byte [eax], bh
dec esi
inc esi
xor eax, 0x3d47344f
dec edi
add esp, 4
or ecx, 0x4404
or ecx, 0xc02c
pop ecx
push eax
or eax, 0x2227
or eax, 0x69a6
pop eax
mov edx, dword [ebp - 0xcc8]
mov ax, word [edx]
mov word [ebp - 0x1042], ax
mov ecx, dword [ebp - 0xcc8]
add ecx, 2
mov dword [ebp - 0xcc8], ecx
mov dx, word [ebp - 0x1042]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xccc]
mov cx, word [eax]
mov word [ebp - 0x1044], cx
mov edx, dword [ebp - 0xccc]
add edx, 2
mov dword [ebp - 0xccc], edx
mov ax, word [ebp - 0x1044]
mov word [ebp - 0x3c], ax
push edx
push eax
add esp, 4
or edx, 0x11b3d
pop edx
push eax
sub eax, 0x8c2a
add eax, 0x841
or eax, 0x5077
and eax, 0x86c5
pop eax
push edx
push esi
add esp, 4
or edx, 0x1726c
pop edx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x408fd2
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1668], edx
jmp 0x40902c
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x408efa
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x408efa
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x409016
mov dword [ebp - 0x1624], 0xffffffff
jmp 0x409020
mov dword [ebp - 0x1624], 1
mov ecx, dword [ebp - 0x1624]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x409075
push ebx
sub ebx, 0x5dab
and ebx, 0xedda
pop ebx
push edi
push ebx
add esp, 4
and edi, 0x143e5
pop edi
push eax
push ecx
add esp, 4
and eax, 0x11f98
add eax, 0x167f3
and eax, 0x12292
pop eax
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x774], edx
jmp 0x4090dd
push esi
push ecx
add esp, 4
call 0x409089
add byte [edx + eax*2 + 0x37], al
push eax
cmp eax, 0x83414c3f
les eax, [esi + ebx*2]
push esi
add esi, 0xd27a
pop esi
push ebx
push ebx
add esp, 4
and ebx, 0x15a92
add ebx, 0x15bbb
pop ebx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x4090d3
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x408e9e
mov dword [ebp - 0x774], 0
Function at 0x4282b0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x50
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [esp + 0x58]
mov edx, esi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4282c0
call fcn.0047415a
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x4c]
lea edx, [esp + 4]
sub edx, eax
jmp 0x4282e0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4282e0
push edi
lea edi, [esp + 8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4282f0
mov eax, dword [str..exe]
mov cl, byte [0x4801b0]
mov dword [edi], eax
mov eax, esi
mov byte [edi + 4], cl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428310
sub eax, edx
mov edi, eax
cmp byte [esi], 0x22
jne 0x42832f
push edi
lea edx, [esi + 1]
push edx
push esi
call fcn.0045dbf0
add esp, 0xc
dec edi
cmp byte [edi + esi - 1], 0x20
jne 0x42833c
mov byte [edi + esi - 1], 0
dec edi
cmp byte [edi + esi - 1], 0x22
jne 0x428348
mov byte [edi + esi - 1], 0
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428350
sub eax, edx
mov ecx, eax
lea eax, [esp + 8]
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x428362
sub eax, edi
sub ecx, eax
mov eax, esi
mov byte [ecx + esi], dl
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428376
sub eax, edx
cmp byte [eax + esi - 1], 0x5c
je 0x42838f
mov byte [eax + esi - 1], 0x5c
mov byte [eax + esi], 0
pop esi
add esp, 0x50
ret
Function at 0x429920
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47797b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x2b0
test eax, eax
jne 0x429958
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
add esp, 0x2bc
ret
push ebx
push ebp
push eax
push 0x5c
push str.PROTOKOL
push 0x49b7b8
lea eax, [esp + 0xc8]
push str._s_s_c_s
push eax
call fcn.0045d67e
add esp, 0x18
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp eax, ebp
je 0x4299ce
lea ecx, [esp + 8]
call fcn.0046f891
push 0
push 0
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2cc], 0
call fcn.0046fae2
test eax, eax
lea ecx, [esp + 8]
jne 0x4299e7
mov dword [esp + 0x2c0], ebp
call fcn.0046f8d0
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
add esp, 0x2bc
ret
call fcn.0046f783
mov ebx, eax
cmp ebx, 0x150
lea ecx, [esp + 8]
jb 0x429a36
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0
push 0
call dword [eax + 0x28]
push 0xa0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.0046f59e
mov edi, str.PROT
lea esi, [esp + 0x20]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
je 0x429a64
lea ecx, [esp + 8]
call fcn.0046f82f
lea ecx, [esp + 8]
mov dword [esp + 0x2c0], ebp
call fcn.0046f8d0
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
add esp, 0x2bc
ret
mov eax, dword [esp + 0xb4]
test eax, eax
jle 0x429a32
imul eax, eax, 0xb0
sub ebx, 0xa0
cmp eax, ebx
lea ecx, [esp + 8]
jne 0x429a36
call fcn.0046f82f
lea ecx, [esp + 8]
mov dword [esp + 0x2c0], ebp
call fcn.0046f8d0
mov ecx, dword [esp + 0x2b8]
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2bc
ret
Function at 0x42a640
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47791b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x238]
xor ebx, ebx
cmp edi, 1
mov dword [esp + 0x10], ebx
jl 0x42a80d
cmp dword [esp + 0x23c], ebx
je 0x42a80d
mov eax, dword [esp + 0x240]
push eax
push 0x5c
push str.FILE_OPIT
push 0x49b7b8
lea ecx, [esp + 0x38]
push str._s_s_c_s
push ecx
call fcn.0045d67e
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp eax, ebp
je 0x42a80d
lea ecx, [esp + 0x14]
call fcn.0046f891
push ebx
push 2
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x23c], ebx
call fcn.0046fae2
test eax, eax
lea ecx, [esp + 0x14]
je 0x42a801
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
call dword [edx + 0x28]
lea ecx, [esp + 0x14]
call fcn.0046f783
mov esi, eax
cmp esi, 0xe4
lea ecx, [esp + 0x14]
jb 0x42a7f8
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
call dword [eax + 0x28]
push 4
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0046f59e
mov eax, dword [esp + 0x10]
cmp eax, 1
jl 0x42a7f4
imul eax, eax, 0xe0
lea edx, [eax + 4]
cmp esi, edx
jne 0x42a7f4
push eax
call fcn.0045e1f2
mov ebx, eax
mov eax, dword [esp + 0x14]
imul eax, eax, 0xe0
add esp, 4
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.0046f59e
lea ecx, [esp + 0x14]
call fcn.0046f82f
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x24], 0
jle 0x42a7c8
mov esi, ebx
mov ebp, eax
xor ecx, ecx
test edi, edi
jle 0x42a7bc
mov edx, dword [esi]
mov eax, dword [esp + 0x23c]
cmp dword [eax], edx
je 0x42a7a4
inc ecx
add eax, 0x1c8
cmp ecx, edi
jl 0x42a794
jmp 0x42a7bc
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x20]
push ecx
push edx
call fcn.00423220
add esp, 8
test eax, eax
je 0x42a7bc
inc dword [esp + 0x24]
add esi, 0xe0
dec ebp
jne 0x42a785
or ebp, 0xffffffff
test ebx, ebx
je 0x42a7d5
push ebx
call fcn.0045df2d
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x230], ebp
jle 0x42a808
call fcn.0046f8d0
mov eax, 1
jmp 0x42a80f
lea ecx, [esp + 0x14]
call fcn.0046f82f
lea ecx, [esp + 0x14]
mov dword [esp + 0x230], ebp
call fcn.0046f8d0
xor eax, eax
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x43beb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43bec9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x43bedd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x43befe
cmp esi, eax
jae 0x43bed7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x43bef0
cmp esi, eax
jae 0x43bed7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x43d470
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x49d890]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
xor esi, esi
cmp eax, esi
je 0x43d4de
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x12c
push eax
mov dword [0x496734], 1
call edi
cmp eax, 0x102
jne 0x43d4dd
cmp dword [0x496738], esi
jne 0x43d4c3
mov eax, dword [0x49d890]
push 0x2bc
push eax
mov dword [0x496734], 1
call edi
mov eax, dword [0x49d890]
cmp eax, esi
je 0x43d4dd
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x49d890]
push ecx
call ebx
pop edi
mov eax, dword [0x49d4d8]
cmp eax, esi
mov dword [0x49d890], esi
mov dword [0x49d894], esi
je 0x43d4fe
mov edx, dword [eax]
push eax
call dword [edx + 0x2c]
mov eax, dword [0x49d4d8]
cmp eax, esi
mov dword [esp + 8], esi
je 0x43d539
mov ecx, dword [eax]
push esi
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [0x49d4d8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [0x49d4d8]
cmp eax, esi
je 0x43d539
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x60]
mov eax, dword [0x49d4d8]
mov ecx, dword [0x49d4dc]
cmp ecx, esi
mov word [0x49d82c], si
je 0x43d556
push ecx
call dword [sym.imp.KERNEL32.dll_CancelIo]
mov eax, dword [0x49d4d8]
mov ecx, dword [0x49b9b8]
cmp ecx, esi
je 0x43d56e
push ecx
call fcn.0045df2d
mov eax, dword [0x49d4d8]
add esp, 4
mov ecx, dword [0x49d700]
cmp ecx, esi
mov dword [0x49b9b8], esi
mov dword [0x49b9c0], esi
mov dword [0x49b9bc], esi
je 0x43d592
push ecx
call ebx
mov eax, dword [0x49d4d8]
mov ecx, dword [0x49d838]
xor edx, edx
cmp ecx, esi
mov dword [0x49d6f0], edx
mov dword [0x49d6f4], edx
mov dword [0x49d6f8], edx
mov dword [0x49d6fc], edx
mov dword [0x49d700], edx
mov dword [0x49b9c4], esi
je 0x43d5d0
push ecx
call fcn.0045df2d
mov eax, dword [0x49d4d8]
add esp, 4
mov ecx, dword [0x49d83c]
cmp ecx, esi
mov dword [0x49d838], esi
mov dword [0x49d848], 0
mov dword [0x49d84c], 0
je 0x43d602
push ecx
call fcn.0045df2d
mov eax, dword [0x49d4d8]
add esp, 4
mov ecx, dword [0x49d840]
cmp ecx, esi
mov dword [0x49d83c], esi
mov dword [0x49d850], 0
mov dword [0x49d854], 0
je 0x43d634
push ecx
call fcn.0045df2d
mov eax, dword [0x49d4d8]
add esp, 4
mov ecx, dword [0x49d844]
cmp ecx, esi
mov dword [0x49d840], esi
mov dword [0x49d858], 0
mov dword [0x49d85c], 0
je 0x43d666
push ecx
call fcn.0045df2d
mov eax, dword [0x49d4d8]
add esp, 4
cmp eax, esi
mov dword [0x49d844], esi
mov dword [0x49d860], 0
mov dword [0x49d864], 0
je 0x43d68a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x49d4d8], esi
mov dword [0x49d830], esi
mov dword [0x49d834], esi
mov dword [0x496734], esi
pop esi
mov dword [0x496738], 1
pop ebx
pop ecx
ret