joyce8/EMBER2024-capa huggingface dataset:
Function at 0x740157d3
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x7404cf1c]
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
test eax, eax
je 0x7401580f
push eax
push 1
lea eax, [ebp - 4]
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
push dword [0x7404cf1c]
lea eax, [ebp - 8]
push 1
push 4
push eax
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x20
leave
ret

Function at 0x74015811
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x7404cf1c]
test eax, eax
je 0x74015828
push eax
push edx
push 1
push ecx
call dword [sym.imp.msvcrt.dll_fwrite]
add esp, 0x10
ret
Function at 0x7401a192
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
lea ecx, [ebx + 0xe28]
call fcn.7402c755
test eax, eax
jne 0x7401a30a
push esi
push 0xdde
xor esi, esi
push esi
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
mov ecx, ebx
mov word [ebx + 0xdde], ax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7401a079
test eax, eax
jne 0x7401a309
mov eax, dword [ebp + 0x10]
mov edx, 0x1c4
push edi
mov dword [ebx + 0xdaa], eax
lea edi, [ebx + 0x10a0]
push 8
pop ecx
xor eax, eax
mov dword [ebx + 0xe40], ebx
mov dword [ebx + 0x10c0], 0x10c4
rep stosd dword es:[edi], eax
or dword [ebx + 0xe18], 0xffffffff
mov ecx, ebx
call fcn.7401bb36
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0xd02], eax
lea eax, [ebp - 4]
push eax
push 0x7400248c
mov dword [ebx + 0xde0], 0x7401dd30
mov dword [ebx + 0xde4], 0x7401d8a0
mov dword [ebx + 0xde8], 0x7401d950
mov dword [ebx + 0xdec], 0x7401d710
mov dword [ebx + 0xdf0], 0x7401d780
mov dword [ebx + 0xdf4], 0x7401d7a0
mov dword [ebx + 0xdf8], 0x7401d740
mov dword [ebx + 0xdfc], 0x740070e0
push 0x80000002
mov dword [ebx + 0xdae], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7401a306
push 4
pop edi
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push 0x74002c34
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7401a2c1
cmp dword [ebp - 0xc], edi
jne 0x7401a2c1
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x74002c48
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x7401a2fd
cmp dword [ebp - 0xc], edi
jne 0x7401a2fd
cmp dword [ebp - 0x10], eax
jne 0x7401a2f7
or dword [ebx + 0xdae], 0xffffffff
jmp 0x7401a2fd
mov dword [ebx + 0xdae], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7401e5d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x7400248c
push 0x80000002
mov esi, edx
mov dword [ebp - 4], edi
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7401e62e
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x7401e62a
cmp dword [ebp - 8], ebx
jne 0x7401e62a
inc edi
mov eax, edi
jmp 0x7401e630
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7403f1d0
Capabilities:
Enumerate pe sections

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

Function at 0x7403f2e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7403f311
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7403f311
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7403f311
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x740551ed
Capabilities:
Encode data using xor

Disassembly:
call 0x74055166
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 0x74055196
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 0x740551b2
xor edx, 0
jmp 0x740551bd
xor edx, edx
jmp 0x740551d4
jmp 0x740551e0
xor eax, eax
push 0x8427d7c0
call 0x740551ed
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x74055229
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 0x74055202
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 0x74055240
add eax, 0
jno 0x74055245
add esi, 0
ret 0x10
Function at 0x74055fae
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 0x74055fd0
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 0x74056172
cmp edi, dword [ebp + 0x10]
jb 0x74056172
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.74055a9a
inc edi
jmp 0x74056059
jmp 0x74056066
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74055a9a
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.74055a9a
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 0x740560ba
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 0x7405609e
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.740560e8
add dword [eax], 0x39
jle 0x740560c4
sub al, 0xf5
mov ch, al
call fcn.740560fd
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x74057dd5
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 0x74057deb
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 0x74057dfc
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.74057e3d
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 0x7405a1a9
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 0x7405a0f2
add ebx, 0
push ecx
call 0x7405a107
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, 0x6f375229
sub ebx, dword [0x6f394a68]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6f394a58
call fcn.74055bd1
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.740550df
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7405a265
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7405a265
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 0x7405a21c
mov eax, 1
lock xchg dword [0x6f394a64], eax
push 0x3dd1fc71
call 0x7405a1a9
push esi
add esp, 8
cmp eax, 0
jne 0x7405a192
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x7405a1b8
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x7405a1cd
cmp ecx, edx
cmp eax, 0
je 0x7405a1f2
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 0x7405a1dc
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.7405a20b
dec eax
loope 0x7405a20e
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6f394a64], 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 0x7405a242
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x7405a257
jmp 0x7405a262
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x7405a150
Function at 0x740612ca
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 0x740615a0
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6f3816dc
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6f3786a2
push 0xffffffffffffffff
call fcn.740584ca
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 0x74061334
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.7406134c
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 0x74061594
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x74061568
Function at 0x74070d9a
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 0x74070dbc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x74070dbc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x74070dbc
ret
cmp word [ebx + 4], 0x14c
jne 0x74070dbc
test word [ebx + 0x16], 2
je 0x74070dbc
test word [ebx + 0x16], 0x100
je 0x74070dbc
cmp word [ebx + 0x18], 0x10b
jne 0x74070dbc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x74070dbc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x74070e48
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x74070ddc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.74057d27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x74070dbc
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 0x74070e48
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 0x74070dbc
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x74070dbc
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x74070dbc
ret
cmp word [ebx + 4], 0x14c
jne 0x74070dbc
test word [ebx + 0x16], 2
je 0x74070dbc
test word [ebx + 0x16], 0x100
je 0x74070dbc
cmp word [ebx + 0x18], 0x10b
jne 0x74070dbc
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x74070dbc
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x74070e48
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x74070ddc
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.74057d27
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x74070dbc
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 0x74070eff
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x74070f58
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x74070eff
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x74070f0e
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 0x74476bb1
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 0x74070f5f
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.74057dd5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x74070ffe
add edi, 4
add eax, 2
dec ecx
jne 0x74070f44
call 0x74070fab
loope 0x74070fa1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x74070ffb
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 0x7407100c
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 0x74070fbf
cmp eax, ecx
ja 0x74070fbf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x74071049
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7407103f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.740582b4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x74070f0e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x74070f58
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x74070eff
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x74070f0e
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 0x74476bb1
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 0x74070f5f
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.74057dd5
cmp eax, dword [ebp + 0xc]
pop eax
je 0x74070ffe
add edi, 4
add eax, 2
dec ecx
jne 0x74070f44
call 0x74070fab
loope 0x74070fa1
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x74070ffb
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 0x7407100c
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 0x74070fbf
cmp eax, ecx
ja 0x74070fbf
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x74071049
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7407103f
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.740582b4
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x4010a8
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 8], ebx
je 0x40111d
cmp dword [0x419198], ebx
je 0x4010c1
xor eax, eax
jmp 0x401136
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov edi, 0x4191ec
mov ecx, edi
call esi
push eax
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x419198], eax
cmp eax, ebx
jne 0x4010fd
mov ecx, edi
call esi
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x419198], eax
cmp eax, ebx
je 0x4010bd
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401133
push dword [0x419198]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x419198], ebx
jmp 0x4010bd
mov eax, dword [0x419198]
cmp eax, ebx
je 0x401133
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x419198], ebx
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x406f55
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x410f7e
call fcn.0040f882
mov esi, ecx
mov eax, dword [esi + 0x30]
mov ebx, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
cmp eax, 0x14
jb 0x406f89
jne 0x406f79
cmp dword [esi + 0x34], 0x5e
jb 0x406f89
lea ecx, [esi + 0x3c]
call ebx
xor ecx, ecx
test al, al
sete cl
mov edi, ecx
jmp 0x406f8b
xor edi, edi
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
and dword [ebp - 4], 0
test edi, edi
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
je 0x406fb1
add esi, 0x3c
push esi
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
jmp 0x406fd2
lea eax, [ebp - 0x14]
push eax
call fcn.00406e9f
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp - 0x10]
call ebx
lea ecx, [ebp - 0x10]
test al, al
je 0x406fec
or dword [ebp - 4], 0xffffffff
call edi
xor eax, eax
call fcn.0040f921
ret
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor esi, esi
cmp eax, 0xffffffff
jne 0x40700d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call edi
mov eax, esi
jmp 0x406fe6
inc esi
jmp 0x407000

Function at 0x407010
Capabilities:
Enumerate files on windows

Disassembly:
push 0x25c
mov eax, 0x410fa2
call fcn.0040f8eb
and dword [ebp - 4], 0
and dword [ebp - 0x264], 0
and dword [ebp - 0x260], 0
push 0x24c
lea eax, [ebp - 0x25c]
push 0
xor esi, esi
push eax
inc esi
call sub.MSVCR100.dll_memset
push 0x414b20
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x268]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4070d7
test esi, esi
je 0x4070d0
test byte [ebp - 0x260], 0x10
je 0x4070b8
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x414b18
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x4070be
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x4070be
inc dword [ebp - 0x264]
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x407081
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x268]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call esi
mov eax, dword [ebp - 0x264]
call fcn.0040f935
ret
Function at 0x4070fa
Capabilities:
Enumerate files on windows

Disassembly:
push 0x260
mov eax, 0x410fe1
call fcn.0040f8eb
xor ebx, ebx
push 0x24c
lea eax, [ebp - 0x25c]
push ebx
xor esi, esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x26c], ebx
inc esi
mov dword [ebp - 0x260], ebx
call sub.MSVCR100.dll_memset
push 0x414b20
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x264]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40720a
cmp esi, ebx
je 0x407203
test byte [ebp - 0x260], 0x10
je 0x4071ee
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x414b18
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x4071ee
push 0x414b14
lea eax, [ebp - 0x234]
push eax
call esi
test eax, eax
je 0x4071ee
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
lea eax, [ebp - 0x234]
push eax
push 0x414b30
call esi
test eax, eax
jne 0x4071d2
mov dword [ebp - 0x268], 1
jmp 0x4071ee
lea eax, [ebp - 0x234]
push eax
push 0x414b28
call esi
test eax, eax
jne 0x4071ee
mov dword [ebp - 0x26c], 1
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, eax
jmp 0x407173
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [0x419208], ebx
je 0x40723c
cmp dword [ebp - 0x268], ebx
je 0x407264
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call esi
xor eax, eax
call fcn.0040f935
ret
cmp dword [ebp - 0x26c], ebx
je 0x407264
xor edi, edi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], bl
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call esi
mov eax, edi
jmp 0x407236
xor edi, edi
inc edi
jmp 0x407246