joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036d4e
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 0x10036d70
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10036d70
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10036d70
ret
cmp word [ebx + 4], 0x14c
jne 0x10036d70
test word [ebx + 0x16], 2
je 0x10036d70
test word [ebx + 0x16], 0x100
je 0x10036d70
cmp word [ebx + 0x18], 0x10b
jne 0x10036d70
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10036d70
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10036dfc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10036d90
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dcdb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10036d70
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 0x10036dfc
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 0x10036d70
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10036d70
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10036d70
ret
cmp word [ebx + 4], 0x14c
jne 0x10036d70
test word [ebx + 0x16], 2
je 0x10036d70
test word [ebx + 0x16], 0x100
je 0x10036d70
cmp word [ebx + 0x18], 0x10b
jne 0x10036d70
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10036d70
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10036dfc
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10036d90
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1001dcdb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10036d70
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 0x10036eb3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10036f0c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036eb3
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036ec2
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 0x1043cb65
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 0x10036f13
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.1001dd89
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10036fb2
add edi, 4
add eax, 2
dec ecx
jne 0x10036ef8
call 0x10036f5f
loope 0x10036f55
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10036faf
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 0x10036fc0
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 0x10036f73
cmp eax, ecx
ja 0x10036f73
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10036ffd
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10036ff3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e268
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10036ec2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x10036f0c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10036eb3
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10036ec2
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 0x1043cb65
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 0x10036f13
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.1001dd89
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10036fb2
add edi, 4
add eax, 2
dec ecx
jne 0x10036ef8
call 0x10036f5f
loope 0x10036f55
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10036faf
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 0x10036fc0
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 0x10036f73
cmp eax, ecx
ja 0x10036f73
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x10036ffd
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10036ff3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1001e268
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000f2b3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000f2f2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000f2f2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000f2f2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1000f2f2
cmp dword [ecx + 0x74], 0xe
jbe 0x1000f2f2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10011f6f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001200c
push ebx
push esi
call fcn.10011f38
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10011ecc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011fb9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001200b
push edi
push eax
call fcn.10012f2a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011fd9
call fcn.10010a14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001200a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10011ecc
add esp, 0x20
test eax, eax
jne 0x10011ff8
push edi
call fcn.10010a14
jmp 0x10012000
push ebx
call fcn.10010a14
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10012279
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019888
push 0x10019880
push str.FlsAlloc
push 0x1f
call fcn.10012195
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100122ad
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
jmp 0x100122b3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100122f7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10019898
push 0x10019890
push str.FlsGetValue
push 0x21
call fcn.10012195
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001232e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012336
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100198a0
push 0x10019898
push str.FlsSetValue
push 0x22
call fcn.10012195
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012370
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10018150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100179f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10017a1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10017a1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401350
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 0x401369
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4013a4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4013a0
lea ebx, [ebx]
cmp esi, eax
jae 0x4013a4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401390
cmp esi, eax
jb 0x4013aa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4034f0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
mov ebx, dword [esp + 0x2e8]
push ebp
mov ebp, dword [esp + 0x2f0]
push esi
push edi
push 0x104
xor esi, esi
lea eax, [esp + 0x20]
push esi
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebp
call fcn.0041ec20
lea ecx, [esp + 0x28]
push ecx
call fcn.004078c0
lea eax, [esp + 0x2c]
add esp, 0x10
dec eax
cmp byte [0x44b3c4], 7
jne 0x403574
jmp 0x403550
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403550
mov edx, dword [str.LdxCab.ini]
mov ecx, dword [0x43b844]
mov dword [eax], edx
mov edx, dword [0x43b848]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4035a1
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403574
mov ecx, dword [str.LdCab.ini]
mov edx, dword [0x43b838]
mov dword [eax], ecx
mov cx, word [0x43b83c]
mov dword [eax + 4], edx
mov dl, byte [0x43b83e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x1c]
push eax
push 0
push str.FileTotal
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov dword [esp + 0x10], edi
test ebp, ebp
jne 0x4035d2
push 0x43b814
push ebx
call fcn.0041e83b
add esp, 8
mov ebp, eax
mov ebx, 1
cmp edi, ebx
jl 0x4036a2
nop
push ebx
lea ecx, [esp + 0x124]
push str.File__d
push ecx
call fcn.0041ed85
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push 0x64
lea eax, [esp + 0x18c]
push eax
push 0x43b830
push str.SrcFilePath
lea ecx, [esp + 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x1e8]
push edx
call fcn.004078c0
lea edi, [esp + 0x1ec]
add esp, 4
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403635
mov ax, word [0x43b574]
mov word [edi], ax
lea eax, [esp + 0x184]
mov edx, eax
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403650
lea edi, [esp + 0x1e8]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x403661
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x1f0]
push ecx
push edx
call fcn.00402ba0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4036a2
inc ebx
cmp ebx, dword [esp + 0x10]
jle 0x4035e0
cmp dword [esp + 0x14], 0
jne 0x4036b6
test ebp, ebp
je 0x4036b6
push ebp
call fcn.0041e1f2
add esp, 4
mov ecx, dword [esp + 0x2ec]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041d4f4
add esp, 0x2e0
ret
Function at 0x406270
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43a0bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
call fcn.0040b6a0
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [0x44b3c0], eax
test edx, edx
jne 0x4062c8
xor eax, eax
jmp 0x4062d9
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062d0
sub eax, esi
push eax
push edx
mov ecx, 0x44b3b4
call fcn.00401900
mov edx, dword [esp + 0xec]
test edx, edx
jne 0x4062f4
xor eax, eax
jmp 0x406309
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406300
sub eax, esi
push eax
push edx
mov ecx, 0x44b3b8
call fcn.00401900
mov edx, dword [esp + 0xf0]
test edx, edx
jne 0x406324
xor eax, eax
jmp 0x406339
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406330
sub eax, esi
push eax
push edx
mov ecx, 0x44b3bc
call fcn.00401900
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x405c20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xc]
call fcn.0040f8eb
lea ecx, [esp + 0xc]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004010e0
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xdc
ret

Function at 0x4063a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x43a0bb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push esi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x10]
call fcn.0040b6a0
mov edx, dword [esp + 0xe8]
lea eax, [esp + 0xc]
mov dword [esp + 0xe0], 0
mov dword [0x44b3c0], eax
test edx, edx
jne 0x4063f8
xor eax, eax
jmp 0x406409
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406400
sub eax, esi
push eax
push edx
mov ecx, 0x44b3b4
call fcn.00401900
mov edx, dword [esp + 0xec]
test edx, edx
jne 0x406424
xor eax, eax
jmp 0x406439
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x406430
sub eax, esi
push eax
push edx
mov ecx, 0x44b3b8
call fcn.00401900
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x405cd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [esp + 0xc]
call fcn.0040f8eb
lea ecx, [esp + 0xc]
mov dword [esp + 0xe0], 0xffffffff
call fcn.004010e0
xor eax, eax
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xdc
ret
Function at 0x407950
Capabilities:
Delete file

Disassembly:
sub esp, 0x338
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x334], eax
push ebp
mov ebp, dword [esp + 0x340]
lea edx, [esp + 0x234]
push esi
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407978
lea eax, [esp + 0x238]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x407990
mov ecx, dword [str..]
mov dl, byte [0x43baf8]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x23c]
push ecx
call fcn.0041f463
mov esi, eax
add esp, 8
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x407b04
lea edx, [esp + 0xc]
push edx
push esi
call fcn.0041f593
add esp, 8
test eax, eax
jne 0x407afb
push edi
lea ecx, [esp + 0x34]
mov eax, 0x43baf0
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407a10
test dl, dl
je 0x407a0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407a10
add eax, 2
add ecx, 2
test dl, dl
jne 0x4079f0
xor eax, eax
jmp 0x407a15
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407ae4
lea ecx, [esp + 0x34]
mov eax, 0x43baec
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407a46
test dl, dl
je 0x407a42
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407a46
add eax, 2
add ecx, 2
test dl, dl
jne 0x407a26
xor eax, eax
jmp 0x407a4b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407ae4
lea edx, [esp + 0x138]
mov eax, ebp
sub edx, ebp
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407a60
lea edi, [esp + 0x138]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407a72
mov ax, word [0x43b574]
mov word [edi], ax
lea eax, [esp + 0x34]
mov edx, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a90
lea edi, [esp + 0x138]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407aa1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test byte [esp + 0x10], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x407ad2
lea ecx, [esp + 0x138]
push ecx
call fcn.00407950
add esp, 4
jmp 0x407ae0
lea edx, [esp + 0x138]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push esi
call fcn.0041f593
add esp, 8
test eax, eax
je 0x4079e4
pop edi
push esi
call fcn.0041f3d5
add esp, 4
push ebp
call fcn.0041f3a5
mov ecx, dword [esp + 0x340]
add esp, 4
pop esi
pop ebp
xor ecx, esp
call fcn.0041d4f4
add esp, 0x338
ret

Function at 0x407b30
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00407920
add esp, 4
test eax, eax
je 0x407b49
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x407d30
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0x43b560
push eax
xor esi, esi
call fcn.0041e83b
mov ecx, dword [esp + 0x20]
push 0x43b580
push ecx
mov ebp, eax
call fcn.0041e83b
add esp, 0x10
mov edi, eax
mov dword [esp + 0xc], edi
test ebp, ebp
je 0x407de1
test edi, edi
je 0x407dd8
push ebx
push 0x7d000
call fcn.0040f12f
push ebp
mov ebx, eax
call fcn.0041e452
add esp, 8
test eax, eax
jne 0x407dc9
mov edi, dword [esp + 0x20]
push ebp
push 0x7d000
push 1
push ebx
call fcn.0041e75a
lea edx, [eax + esi]
add esp, 0x10
cmp edx, edi
jbe 0x407da1
mov eax, edi
sub eax, esi
mov ecx, dword [esp + 0x10]
push ecx
push eax
push 1
push ebx
call fcn.0041e3d0
add esi, eax
add esp, 0x10
cmp esi, edi
jae 0x407dc5
push ebp
call fcn.0041e452
add esp, 4
test eax, eax
je 0x407d85
mov edi, dword [esp + 0x10]
push ebx
call fcn.0040f13a
add esp, 4
mov esi, 1
pop ebx
push ebp
call fcn.0041e1f2
add esp, 4
test edi, edi
je 0x407dee
push edi
call fcn.0041e1f2
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x407e00
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0x10
sete cl
mov eax, ecx
ret

Function at 0x407f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x439851
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0xc], ebx
call fcn.00410194
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407f89
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov esi, dword [esp + 0x34]
add eax, 0x10
mov dword [esi], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], 1
call fcn.004010b0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 1
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00401070
push eax
lea ecx, [esp + 0x18]
call fcn.00401060
push eax
lea ecx, [esp + 0x1c]
call fcn.00401050
push eax
lea ecx, [esp + 0x20]
call fcn.00401040
push eax
lea ecx, [esp + 0x24]
call fcn.00401030
push eax
push str._04d__02d__02d__02d:_02d:_02d
push esi
call fcn.00401ce0
add esp, 0x20
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], bl
call fcn.00401020
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret