joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000e3d1
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x1000e40e
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x1000e407
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x1000e413
add edx, 0x28
cmp edx, esi
jne 0x1000e3f8
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1000e410

Function at 0x10017193
Capabilities:
Encode data using xor

Disassembly:
call 0x1001710c
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 0x1001713c
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 0x10017158
xor edx, 0
jmp 0x10017163
xor edx, edx
jmp 0x1001717a
jmp 0x10017186
xor eax, eax
push 0x8427d7c0
call 0x10017193
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100171cf
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 0x100171a8
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 0x100171e6
add eax, 0
jno 0x100171eb
add esi, 0
ret 0x10
Function at 0x10017f54
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 0x10017f76
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 0x10018118
cmp edi, dword [ebp + 0x10]
jb 0x10018118
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.10017a40
inc edi
jmp 0x10017fff
jmp 0x1001800c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017a40
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10017a40
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 0x10018060
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 0x10018044
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1001808e
add dword [eax], 0x39
jle 0x1001806a
sub al, 0xf5
mov ch, al
call fcn.100180a3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10019d7b
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 0x10019d91
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 0x10019da2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10019de3
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 0x1001c14f
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 0x1001c098
add ebx, 0
push ecx
call 0x1001c0ad
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, 0x7299738d
sub ebx, dword [0x729b6bcc]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x729b6bbc
call fcn.10017b77
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10017085
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001c20b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001c20b
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 0x1001c1c2
mov eax, 1
lock xchg dword [0x729b6bc8], eax
push 0x3dd1fc71
call 0x1001c14f
push esi
add esp, 8
cmp eax, 0
jne 0x1001c138
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001c15e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1001c173
cmp ecx, edx
cmp eax, 0
je 0x1001c198
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 0x1001c182
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1001c1b1
dec eax
loope 0x1001c1b4
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x729b6bc8], 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 0x1001c1e8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001c1fd
jmp 0x1001c208
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x1001c0f6
Function at 0x10023270
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 0x10023546
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x729a3840
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7299a806
push 0xffffffffffffffff
call fcn.1001a470
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 0x100232da
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100232f2
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 0x1002353a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1002350e
Function at 0x10032d40
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 0x10032d62
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10032d62
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10032d62
ret
cmp word [ebx + 4], 0x14c
jne 0x10032d62
test word [ebx + 0x16], 2
je 0x10032d62
test word [ebx + 0x16], 0x100
je 0x10032d62
cmp word [ebx + 0x18], 0x10b
jne 0x10032d62
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10032d62
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10032dee
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10032d82
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10019ccd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10032d62
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 0x10032dee
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 0x10032d62
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10032d62
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10032d62
ret
cmp word [ebx + 4], 0x14c
jne 0x10032d62
test word [ebx + 0x16], 2
je 0x10032d62
test word [ebx + 0x16], 0x100
je 0x10032d62
cmp word [ebx + 0x18], 0x10b
jne 0x10032d62
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10032d62
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10032dee
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10032d82
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10019ccd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10032d62
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 0x10032ea5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10032efe
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10032ea5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10032eb4
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 0x10438b57
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 0x10032f05
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.10019d7b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10032fa4
add edi, 4
add eax, 2
dec ecx
jne 0x10032eea
call 0x10032f51
loope 0x10032f47
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10032fa1
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 0x10032fb2
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 0x10032f65
cmp eax, ecx
ja 0x10032f65
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10032fef
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10032fe5
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a25a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10032eb4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10032efe
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10032ea5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10032eb4
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 0x10438b57
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 0x10032f05
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.10019d7b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10032fa4
add edi, 4
add eax, 2
dec ecx
jne 0x10032eea
call 0x10032f51
loope 0x10032f47
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10032fa1
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 0x10032fb2
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 0x10032f65
cmp eax, ecx
ja 0x10032f65
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10032fef
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10032fe5
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001a25a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x405b32
pop dword [ebp - 0x20]
mov eax, 0x8914aef2
add eax, 0x772bac40
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xab125e74
add dword [ebp - 0x30], 0xa33fe6d7
mov dword [ebp - 0x2c], 0xde4571f7
sub dword [ebp - 0x2c], 0xac1225b2
mov dword [ebp - 0x28], 0xe28aac95
add dword [ebp - 0x28], 0x69c19799
mov dword [ebp - 0x24], 0x4edd198b
add dword [ebp - 0x24], 0xb122e675
lea eax, [ebp - 0x30]
push eax
mov eax, 0x612d40dc
sub eax, 0x60ecc064
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xa873726f
sub dword [ebp - 0x30], 0x34010919
mov dword [ebp - 0x2c], 0xc7e3d113
add dword [ebp - 0x2c], 0x79889062
mov dword [ebp - 0x28], 0x1669a81
sub dword [ebp - 0x28], 0x9df72e15
mov dword [ebp - 0x24], 0xf45a3a50
sub dword [ebp - 0x24], 0xf45a3a50
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x33d3c
push 0
call eax
mov ecx, 0x3b45
xor edi, edi
add edi, eax
mov edx, 0x3d45cd9b
sub edx, 0x3d003b9b
add edx, dword [ebp - 0x20]
mov esi, 0x3b04e645
add esi, 0xf48325f
add dword [ebp - 4], 0xd0117b2b
mov ebx, dword [edx]
mov dword [ebp - 0x14], 0xfdcd8f0f
add ebx, esi
xor dword [ebp - 0x10], edx
mov dword [edi], ebx
mov dword [ebp - 4], 0xf4581707
add edi, 4
add edx, 0xfed9d00d
add edx, 0x1262ff7
loop 0x405c4b
add eax, 0xdfe7
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x405dee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ee2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x40df68
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41e778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::constructor_void_
fild dword [esi + 0xc]
sub esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
fstp qword [esp]
fild dword [esi + 0x10]
sub esp, 8
fstp qword [esp]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::GeneratePSF_double__double_
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::MapRestoreByteVar_unsigned_char___int__int__int__int_
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.ImageRestoreLib8.dll_public:_void___thiscall_ImageRestoreExt::destructor_void_
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x419100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ea88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0xc]
push edi
lea esi, [ebp + 4]
push eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.0040f300
mov edi, dword [eax]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040f300
mov ebx, dword [eax + 4]
xor esi, esi
push 0xffffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
lea edx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x50]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp + 0x24]
cmp ebx, esi
mov dword [esp + 0x10], edx
jle 0x4191d2
mov ebp, ebx
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x41919c
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0xcc0020
push 0
push ecx
mov ecx, dword [edx]
push ecx
push 1
push edi
push ebp
push 0
push 1
push edi
push esi
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
dec ebp
cmp esi, ebx
jl 0x419191
xor esi, esi
mov dword [esp + 0x1c], 0x4211d8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x419340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ead0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea eax, [esp + 0x28]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esp + 0x20], edi
call fcn.0040f300
mov ebx, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
mov dword [esp + 0x28], ebx
call fcn.0040f300
mov ebp, dword [eax + 4]
xor edi, edi
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebp
call sub.MFC42.DLL_CBrush::CBrush
lea eax, [esp + 0x30]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x34]
lea edx, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edi
push eax
mov eax, dword [esp + 0x5c]
push edx
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x24]
imul eax, dword [esi + 0xc]
mov dword [esp + 0x28], edx
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
shl esi, 2
mov edi, esi
imul edi, ebp
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [esp + 0x14], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
test ebp, ebp
jle 0x419470
xor ebx, ebx
mov dword [esp + 0x14], ebp
xor ecx, ecx
test esi, esi
jle 0x41945f
mov edx, dword [esp + 0x1c]
lea ebp, [ebx + ecx]
xor eax, eax
mov edx, dword [edx]
mov al, byte [edx + ebp]
imul eax, edi
cdq
and edx, 0xff
add eax, edx
mov edx, dword [esp + 0x10]
sar eax, 8
lea ebp, [ebx + edx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebp - 1], al
jl 0x41942e
mov ebp, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
add ebx, esi
dec eax
mov dword [esp + 0x14], eax
jne 0x419428
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x41947b
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0
push ecx
push edx
push ebp
push ebx
push 0
push 0
push ebp
push ebx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_StretchDIBits]
push 3
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x100
jl 0x41941e
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x30], 0x4211d8
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4