joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eb5c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x47fc00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x47fd174
lea ecx, [ebp - 0x40]
call fcn.00417340
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], esi
jbe 0x408522
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, ebx
movsx ax, byte [eax + esi]
movzx edi, ax
cmp edx, ecx
jae 0x408503
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
jmp 0x408514
push edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004181c0
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x408522
mov edx, dword [ebp - 0x18]
jmp 0x4084d0
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [0x47f10b0]
call dword [0x47f1068]
cmp eax, 0xb7
je 0x4085dd
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40857e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408574
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085e4
push edx
push ecx
call fcn.004190e4
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x4085c1
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x4085b7
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4085e4
push ecx
push ebx
call fcn.004190e4
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418a72
mov esp, ebp
pop ebp
ret
push 0
call fcn.0041c4ff
call fcn.0041dd37
int3
Function at 0x4231ff
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00423075

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x522454db
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x91b5c7a
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x65bc528d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x540f7cba
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x35b16aa4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x138819f9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x74c7cfa
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3f5c377f
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x432001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x48537220
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x466a0d16
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x100740d
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1007b08
call fcn.01007774
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100b658
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1007222
cmp eax, esi
jne 0x1007215
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1007225
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10071fc
xor esi, esi
inc esi
mov eax, dword [0x100b654]
cmp eax, esi
jne 0x1007238
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1007273
mov eax, dword [0x100b654]
test eax, eax
jne 0x100726d
mov dword [0x100b654], esi
push 0x1001290
push 0x1001284
call fcn.01007179
pop ecx
pop ecx
test eax, eax
je 0x1007273
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100733d
mov dword [0x1009094], esi
mov eax, dword [0x100b654]
cmp eax, esi
jne 0x1007297
push 0x1001280
push 0x1001278
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100b654], 2
cmp dword [ebp - 0x1c], ebx
jne 0x10072a4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100b65c], ebx
je 0x10072c5
push 0x100b65c
call fcn.010076e9
pop ecx
test eax, eax
je 0x10072c5
push ebx
push 2
push ebx
call dword [0x100b65c]
push dword [0x100907c]
push dword [0x1009080]
push dword [0x1009078]
call fcn.010060dd
add esp, 0xc
mov dword [0x1009090], eax
cmp dword [0x1009084], ebx
jne 0x1007323
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1009094], ebx
jne 0x1007331
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1009090]
call fcn.010077b9
ret
call fcn.010078c1
jmp 0x10071da

Function at 0x634cdf
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00634d5e
jae 0x634ceb
xor ecx, ecx
call fcn.00634d5e
jae 0x634d15
xor eax, eax
call fcn.00634d5e
jae 0x634d26
mov al, 0x10
call fcn.00634d5e
adc al, al
jae 0x634d07
jne 0x634d53
stosb byte es:[edi], al
jmp 0x634cec
call fcn.00634d6a
dec ecx
loop 0x634d32
mov eax, ebp
call fcn.00634d68
jmp 0x634d54
lodsb al, byte [esi]
shr eax, 1
je 0x634d7a
adc ecx, 2
mov ebp, eax
jmp 0x634d54
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00634d68
cmp eax, 0x7d00
jae 0x634d52
cmp eax, 0x500
jae 0x634d53
cmp eax, 0x7f
ja 0x634d54
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x634cec
pop ebp
ret 8
Function at 0x847527
Capabilities:
Encode data using xor

Disassembly:
push 0x8472a2
pop edi
push 0x1c86995
pop eax
mov ebx, ebx
call fcn.0084756c
and eax, eax
add eax, 0x60e82d03
xor dword [edx], edi
or ebx, ebx
mov eax, ebx
sub eax, 0x5d78e153
inc edx
sub eax, 1
cmp edx, esi
jne fcn.00847527
sub eax, 0xf3a3a28
sub eax, 0xbabd0a7b
inc eax
ret

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

Disassembly:
pushal
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x406189
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4061df
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4061df
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4061d1
cmp esi, ecx
jae 0x4061df
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4061bf
cmp esi, ecx
jae 0x4061df
cmp word [esi], 0
je 0x4061df
mov eax, esi
jmp 0x4061e1
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4064af
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.004062aa
test eax, eax
je 0x406640
mov edx, dword [eax]
mov ecx, eax
push ebx
push esi
push edi
call dword [edx + 0xc]
add eax, 0x10
mov ebx, 0x104
mov dword [ebp - 4], eax
or edi, 0xffffffff
lea eax, [ebp - 4]
mov dword [ebp - 0x14], edi
push ebx
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00406a46
push ebx
push eax
xor ebx, ebx
mov dword [ebp - 0x18], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x406631
cmp esi, 0x104
ja 0x406631
mov esi, dword [ebp - 4]
call fcn.004062aa
push eax
lea ecx, [ebp - 8]
call fcn.00406bc5
test esi, esi
je 0x406542
test esi, 0xffff0000
jne 0x406542
movzx eax, si
lea ecx, [ebp - 8]
push eax
call fcn.00406bee
jmp 0x40654b
push esi
lea ecx, [ebp - 8]
call fcn.00406994
mov eax, dword [ebp - 8]
lea ecx, [ebp - 8]
push dword [eax - 0xc]
call fcn.00406a46
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [ebp - 8]
test esi, esi
jne 0x40656b
mov eax, ebx
jmp 0x406576
push dword [esi - 8]
push esi
call fcn.0040b68d
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00406ac8
lea ecx, [esi - 0x10]
call fcn.00406c6d
add eax, 0x10
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004069bf
lea ecx, [ebp - 0x10]
call fcn.00406baa
call fcn.004062aa
test eax, eax
je 0x406640
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push 0x104
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.00406a46
push eax
push ebx
push ebx
push 0x26
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00406a20
test esi, esi
js 0x406621
lea ecx, [ebp - 0xc]
call fcn.0040695a
lea ecx, [ebp - 4]
call fcn.0040695a
mov edx, dword [ebp - 0xc]
test edx, edx
je 0x40661c
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0xc], ebx
jl 0x40661c
call fcn.00406eb7
test eax, eax
je 0x40661c
mov edi, eax
sub edi, dword [ebp - 4]
sar edi, 1
test edi, edi
sete bl
lea ecx, [ebp - 0xc]
call fcn.00406baa
lea ecx, [ebp - 8]
call fcn.00406baa
lea ecx, [ebp - 4]
call fcn.00406baa
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push 0x80004005
call fcn.00406105
int3
Function at 0x40664b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push 0x20019
push edi
movzx eax, cl
mov esi, edx
push 0x405aa0
sub eax, 0x7fffffff
mov dword [ebp - 4], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x406688
jle 0x4066e5
movzx eax, ax
or eax, 0x80070000
jmp 0x4066e5
or dword [ebp - 0x10], 0xffffffff
mov ecx, esi
push 0x32
pop eax
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], esi
call fcn.00406a46
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], eax
push ecx
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x405a88
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.00406a20
test esi, esi
je 0x4066d8
jle 0x4066d4
movzx esi, si
or esi, 0x80070000
mov eax, esi
jmp 0x4066e5
mov eax, dword [ebp - 8]
dec eax
neg eax
sbb eax, eax
and eax, 0x8000ffff
pop edi
pop esi
leave
ret

Function at 0x4084aa
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4084e5
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4084cc
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4084dd
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4084e7
inc edi
add eax, 0x28
cmp edi, esi
jb 0x4084c2
xor eax, eax
pop edi
pop esi
ret
Function at 0x40dbd9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x416008]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40dc24
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040ddfa
test al, al
jne 0x40dc1e
sub edx, 2
cmp edx, edi
jne 0x40dc04
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40dc46
lea eax, [edi + 2]
cmp edx, eax
je 0x40dc46
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040db25
add esp, 0x10
jmp 0x40dd40
push esi
lea ecx, [ebp - 0x255]
call fcn.0040ddfa
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40dc89
push dword [ebp - 0x25c]
jmp 0x40dc36
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40dcc6
cmp word [ebp - 0x226], 0
je 0x40dce7
cmp word [ebp - 0x226], ax
jne 0x40dcc6
cmp word [ebp - 0x224], 0
je 0x40dce7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040db25
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40dd33
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40dca0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40dd1b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40dd40
push 0x40d955
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004108b0
add esp, 0x10
jmp 0x40dd10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407061
leave
ret

Function at 0x40eaaa
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4026ac
push 0x4026a4
push 0x4011ac
push 0x1e
call fcn.0040e9e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40eade
push dword [ebp + 8]
mov ecx, esi
call dword [0x41814c]
call esi
jmp 0x40eae4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40eb28
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4026bc
push 0x4026b4
push 0x4011d0
push 0x20
call fcn.0040e9e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40eb5f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41814c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10007a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100b1459
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e87b8]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x54]
mov esi, ecx
mov eax, dword [esi + 0x88]
mov edx, dword [eax + 0x14]
lea edi, [esi + 0x88]
mov ecx, edi
call edx
push eax
lea ecx, [esp + 0x1c]
call fcn.1007f440
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x54], 1
call fcn.1007ee00
push eax
push 0
call fcn.10007790
mov ebx, eax
add esp, 0x10
test ebx, ebx
setne byte [esp + 0x1c]
mov dword [esp + 0x20], ebx
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov ecx, dword [esi + 0x4d8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push 0xffffffffffffffff
call edx
mov eax, dword [esi + 0x278]
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x1c], 0
call fcn.1007ee00
push eax
call fcn.10080fe0
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x10007b4f
mov ecx, dword [esi + 0x47c]
mov edx, dword [ecx]
mov eax, dword [edi]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xac]
mov ecx, edi
call edx
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x47c]
movzx eax, ax
push eax
mov eax, dword [edx + 0x24]
call eax
mov ecx, dword [esi + 0x4d8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 1
push 0
push 0
push ebp
call eax
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x10007b33
lea eax, [esp + 0x28]
mov ecx, dword [esi + 0x47c]
mov esi, dword [esi + 0x4d8]
mov edx, dword [ecx]
push 0x20
push esi
push eax
mov eax, dword [edx + 0x78]
push ebp
call eax
mov esi, eax
jmp 0x10007b53
mov esi, dword [esp + 0x14]
push ebp
call fcn.100811a0
xor ecx, ecx
add esp, 4
test esi, esi
setge cl
cmp byte [esp + 0x1c], 0
mov esi, ecx
je 0x10007b75
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x4c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c], 0xffffffff
call fcn.1007ece0
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100af9b2
add esp, 0x3c
ret 4
Function at 0x1000ef80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b2014
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.10092240
xor eax, eax
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 1
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
call fcn.1007ecd0
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call fcn.1007ecd0
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 2
call fcn.1007ecd0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 3
call fcn.1007ecd0
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 4
call fcn.1007ecd0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x1000f610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100b20b4
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x40]
mov dword [esp + 0x14], 4
call fcn.1007ece0
lea ecx, [esi + 0x3c]
mov byte [esp + 0x14], 3
call fcn.1007ece0
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 2
call fcn.1007ece0
lea ecx, [esi + 0x34]
mov byte [esp + 0x14], 1
call fcn.1007ece0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.1007ece0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.10093250
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x100175c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100b2b13
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CNeroIsoTrackEx.0
call fcn.1007ecd0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esi + 8], ecx
push edx
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esi + 4], eax
call fcn.1007f5b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14