joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d270
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46c0c2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x21c], eax
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor esi, esi
mov edi, ecx
push 0x208
mov dword [esp + 0x238], esi
lea ecx, [esp + 0x22]
xor eax, eax
push esi
mov dword [esp + 0x1c], esi
push ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x28], ax
call fcn.00459a90
add esp, 0xc
push edi
mov ecx, 0x470750
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call fcn.00401990
lea edx, [esp + 0x10]
mov dword [esp + 0x234], esi
push edx
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x40d34b
lea eax, [esp + 0xc]
push eax
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x40d34b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x40d34b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
lea edx, [esp + 0x1c]
mov dword [esp + 0xc], esi
call fcn.00401950
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40d370
mov ecx, dword [esp + 0xc]
cmp ecx, esi
je 0x40d368
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x14]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004567fb
add esp, 0x22c
ret

Function at 0x40d3a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46c072
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov dword [esp + 0x228], 0
push esi
mov ecx, 0x470750
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.00401990
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x230], 0
push ecx
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], ax
call fcn.00459a90
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40d462
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d445
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, esi
call fcn.004018b0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004567fb
add esp, 0x224
ret
Function at 0x40d490
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46c072
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov dword [esp + 0x228], 0
push esi
mov ecx, 0x470750
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.00401990
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x230], 0
push ecx
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], ax
call fcn.00459a90
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40d552
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d535
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, esi
call fcn.004018b0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004567fb
add esp, 0x224
ret

Function at 0x40d670
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
mov ebp, dword [esp + 0x21c]
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
push eax
mov edi, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d6b9
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004567fb
add esp, 0x214
ret
push ebx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x46e66c
push 1
push 0
push 0x46e67c
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40d759
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x46e69c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d759
mov eax, dword [esp + 0x14]
mov esi, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0
push esi
push eax
call edx
test eax, eax
jl 0x40d759
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 4
push 0
push 0x104
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x40d759
lea edx, [esp + 0x18]
call fcn.00401950
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0x104
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
lea edx, [esp + 0x18]
mov edi, ebp
call fcn.00401950
mov bl, 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40d769
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d779
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x220]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004567fb
add esp, 0x214
ret
Function at 0x40d7a0
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
mov eax, dword [esi]
sub esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d7b6
xor al, al
add esp, 8
ret
push ebx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 4]
push eax
push 0x46e66c
push 1
push 0
push 0x46e67c
xor bl, bl
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40d858
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push 0x46e69c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x40d858
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov edx, dword [ecx]
push 0
push eax
mov eax, dword [edx + 0x14]
push ecx
call eax
test eax, eax
jl 0x40d858
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push 0x470750
push eax
call edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 8]
mov edx, dword [esi]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov bl, 1
mov eax, dword [esp + 8]
test eax, eax
je 0x40d868
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 4]
test eax, eax
je 0x40d878
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
pop ebx
add esp, 8
ret

Function at 0x40d890
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
xor ebx, ebx
cmp ebp, ebx
jne 0x40d8a7
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40d8b0
sub eax, edx
sar eax, 1
push esi
push edi
lea edi, [eax + 2]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004564eb
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x40d8ef
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
lea eax, [edi + edi]
push eax
push ebx
push esi
call fcn.00459a90
mov edx, esi
add esp, 0xc
mov eax, ebp
sub edx, ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x40d903
xor eax, eax
lea edx, [esp + 0x10]
mov ecx, 0x614
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov word [esp + 0x24], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x40d964
mov bl, 1
push esi
call fcn.00457270
add esp, 4
pop edi
pop esi
pop ebp
movzx eax, bl
pop ebx
add esp, 0x20
ret
Function at 0x410410
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esi + 8]
push eax
push 1
push ecx
push edi
call fcn.004590e2
mov ecx, dword [esi + 8]
add esp, 0x10
cmp eax, 1
mov eax, ecx
sete bl
cdq
idiv dword [esi + 0x18]
mov byte [esp + 0x12], bl
mov dword [esi + 0x1c], eax
test bl, bl
je 0x410589
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push eax
push 0x18
push ecx
mov ecx, esp
jb 0x410463
mov eax, dword [esi + 0x40]
jmp 0x410466
lea eax, [esi + 0x40]
mov dword [ecx], eax
push ecx
mov eax, esp
mov dword [eax], str.read
lea eax, [esi + 0x20]
push eax
mov dword [esp + 0x2c], eax
call fcn.0040e640
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
add esp, 0x18
xor ebp, ebp
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x13]
test ebx, ebx
je 0x410524
xor edx, edx
dec ebx
cmp byte [esp + 0x13], dl
je 0x4104a8
cmp byte [edi], dl
jmp 0x4104ac
cmp word [edi], 0
sete dl
test edx, edx
je 0x4104d6
test eax, eax
je 0x4104cf
cmp edi, eax
je 0x4104cf
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.00459100
add esp, 0xc
mov ecx, dword [esi + 0x18]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x41049b
test eax, eax
je 0x4104f9
cmp edi, eax
je 0x4104f9
mov ecx, dword [esi + 0x18]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.00459100
add esp, 0xc
test ebp, ebp
je 0x410524
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebp
push 1
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], str.nulls_removed
call fcn.0040e640
add esp, 0x18
sub dword [esi + 0x1c], ebp
cmp dword [esi + 0x18], 1
jle 0x41057b
test byte [esi + 4], 0x80
je 0x41057b
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x410556
jmp 0x410540
mov ecx, dword [esp + 0x1c]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x410540
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], str.endian_swap
mov eax, dword [esp + 0x28]
push eax
call fcn.0040e640
add esp, 0x18
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.0040fe50
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 8
ret 4
Function at 0x410aa0
Capabilities:
Write file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
imul ecx, eax
push edi
mov dword [esi + 8], ecx
test ebp, ebp
jne 0x410abc
mov ebp, edx
mov ecx, dword [esi + 4]
xor edi, edi
test cl, cl
jns 0x410b36
test edx, edx
jne 0x410af5
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004564eb
mov edi, eax
mov eax, dword [esi + 0x1c]
add eax, eax
push eax
push ebp
push edi
call fcn.0045aa90
add esp, 0x10
mov edx, edi
mov ebp, edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x410b12
lea esp, [esp]
movzx ecx, word [edx + eax*2 - 2]
dec eax
rol cx, 8
mov word [edx + eax*2], cx
test eax, eax
jne 0x410b00
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push ecx
mov eax, esp
push ecx
mov dword [eax], 0
mov eax, esp
lea ecx, [esi + 0x20]
push ecx
mov dword [eax], str.endian_swap
call fcn.0040e640
add esp, 0x18
mov edx, dword [esi]
mov eax, dword [esi + 8]
push edx
push 1
push eax
push ebp
call fcn.004578e8
add esp, 0x10
cmp eax, 1
sete bl
test edi, edi
je 0x410b5b
push edi
call fcn.00457270
add esp, 4
test bl, bl
je 0x410b9e
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
add dword [esi + 0x14], ecx
cmp dword [esi + 0x54], 8
push 0xffffffffffffffff
push edx
push 0x18
push ecx
mov ecx, esp
jb 0x410b7b
mov eax, dword [esi + 0x40]
jmp 0x410b7e
lea eax, [esi + 0x40]
push ecx
mov dword [ecx], eax
mov eax, esp
add esi, 0x20
push esi
mov dword [eax], str.write
call fcn.0040e640
add esp, 0x18
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call fcn.0040fe50
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
ret 4
Function at 0x412410
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x46b609
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x18], esi
lea edi, [ebp + 4]
xor eax, eax
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], esi
mov dword [esp + 0x1c], ebp
mov word [edi], ax
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], 1
mov ebx, eax
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x412470
sub eax, edx
mov esi, dword [ebp + 0x14]
sar eax, 1
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [ecx + eax + 7]
cmp esi, eax
ja 0x4124c1
cmp dword [ebp + 0x18], eax
je 0x4124c1
push 1
push eax
mov eax, ebp
call fcn.0040c310
test al, al
je 0x4124c1
cmp dword [ebp + 0x18], 8
mov dword [ebp + 0x14], esi
jb 0x4124bb
mov edi, dword [edi]
xor ecx, ecx
mov word [edi + esi*2], cx
movzx eax, word [ebx]
test ax, ax
je 0x4125db
mov esi, dword [esp + 0x38]
and esi, 0x100
mov dword [esp + 0x14], esi
test esi, esi
je 0x4124f8
lea edx, [eax - 0x22]
cmp dx, 0x1c
ja 0x4125c1
movzx ecx, ax
movsx edi, byte [ecx + 0x477eee]
jmp 0x41250f
lea edx, [eax - 0x26]
cmp dx, 0x18
ja 0x4125c1
movzx ecx, ax
movsx edi, byte [ecx + 0x477f0a]
test edi, edi
je 0x4125c1
test byte [esp + 0x38], 8
je 0x412597
cmp ax, 0x26
jne 0x412597
movzx eax, word [ebx + 2]
lea esi, [ebx + 2]
lea edx, [eax - 0x23]
cmp dx, 0x57
ja 0x412542
movzx ecx, ax
movsx ecx, byte [ecx + 0x477f2d]
test ecx, ecx
jne 0x412548
cmp ax, 0x7f
jbe 0x412597
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
je 0x41257f
lea edx, [eax - 0x2d]
cmp dx, 0x4d
ja 0x41256c
movzx ecx, ax
movsx ecx, byte [ecx + 0x477f83]
test ecx, ecx
jne 0x412572
cmp ax, 0x7f
jbe 0x412597
movzx eax, word [esi + 2]
add esi, 2
cmp ax, 0x3b
jne 0x412555
mov eax, esi
sub eax, ebx
sar eax, 1
inc eax
push eax
push ebx
mov eax, ebp
call fcn.00415000
mov ebx, esi
mov esi, dword [esp + 0x14]
jmp 0x4125cb
mov edx, dword [edi*4 + 0x4881c0]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4125a3
sub eax, esi
sar eax, 1
push eax
push edx
mov eax, ebp
call fcn.00415000
mov esi, dword [esp + 0x14]
jmp 0x4125cb
push 1
push ebx
mov eax, ebp
call fcn.00415000
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
jne 0x4124db
mov eax, ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x415450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46ccc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, 7
xor esi, esi
xor ecx, ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], esi
mov word [edi + 4], cx
mov dword [esp + 0x18], esi
xor edx, edx
mov dword [edi + 0x34], eax
mov dword [edi + 0x30], esi
mov word [edi + 0x20], dx
mov byte [esp + 0x18], 1
push 4
mov dword [edi + 0x5c], esi
call fcn.00456a8e
add esp, 4
cmp eax, esi
je 0x4154b6
mov dword [eax], esi
jmp 0x4154b8
xor eax, eax
push 0xc
mov dword [edi + 0x60], eax
call fcn.00456a8e
add esp, 4
cmp eax, esi
je 0x4154d3
mov dword [eax + 8], esi
mov dword [eax + 4], esi
mov dword [eax], esi
jmp 0x4154d5
xor eax, eax
mov dword [edi + 0x64], eax
mov eax, dword [esp + 0x20]
push eax
mov dword [edi + 0x58], esi
call fcn.00411d10
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x415db0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
mov eax, edx
push edi
lea esi, [eax + 1]
jmp 0x415dd0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415dd0
sub eax, esi
push edx
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00415530
lea esi, [esp + 8]
lea ecx, [esp + 0x60]
call fcn.004155f0
xor esi, esi
lea edi, [esp + 0x70]
jmp 0x415e30
movzx eax, byte [esp + esi + 0x60]
push eax
push 0x47349c
push edi
call fcn.00458329
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jl 0x415e30
push 0x20
lea ecx, [esp + 0x74]
push ecx
push 0x489f30
call fcn.0045aa90
mov ecx, dword [esp + 0xa0]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
mov eax, 0x489f30
call fcn.004567fb
add esp, 0x94
ret
Function at 0x417160
Capabilities:
Allocate thread local storage

Disassembly:
push ecx
mov eax, dword [0x489d44]
cmp eax, 2
je 0x4171aa
call fcn.00417fe0
test al, al
je 0x4171aa
mov dword [0x489d48], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x489d48], eax
mov dword [0x489d4c], 0x489d48
push 0x489d48
mov dword [0x489d44], 2
call fcn.00419380
add esp, 4
mov eax, dword [0x489d4c]
pop ecx
ret

Function at 0x4196f0
Capabilities:
Resume thread

Disassembly:
mov eax, dword [esi + 0xc]
push ebp
mov ebp, dword [esp + 8]
test eax, eax
je 0x419752
cmp eax, 0xffffffff
je 0x419752
cmp byte [esi + 6], 0
je 0x419752
cmp byte [esi + 8], 0
je 0x419746
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x419730
cmp eax, 0xffffffff
je 0x419730
push eax
call edi
test eax, eax
jl 0x419730
cmp eax, 1
jne 0x419730
mov byte [esi + 8], 0
cmp byte [esi + 8], 0
jne 0x419714
mov eax, dword [esi + 0xc]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop edi
pop ebp
ret 4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebp
ret 4
xor eax, eax
pop ebp
ret 4
Function at 0x419ee0
Capabilities:
Resume thread
Terminate thread

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
xor ebx, ebx
cmp eax, ebx
je 0x4196e9
cmp eax, 0xffffffff
je 0x4196e9
cmp byte [esi + 6], bl
je 0x4196e9
mov byte [esi + 7], 1
cmp byte [esi + 8], bl
je 0x4196b8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x4196b2
cmp eax, 0xffffffff
je 0x4196b2
push eax
call edi
cmp eax, ebx
jl 0x4196b2
cmp eax, 1
jne 0x4196b2
mov byte [esi + 8], bl
cmp byte [esi + 8], bl
jne 0x419697
pop edi
push 0x3e8
call fcn.004196f0
cmp eax, 0x102
jne 0x4196d4
mov eax, dword [esi + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], ebx
mov byte [esi + 6], bl
pop esi
mov al, 1
pop ebx
ret
pop esi
xor al, al
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push edi
mov edi, 0x64
lea esi, [ebx + 0x28]
push esi
dec edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x5c], 0
push esi
je 0x419f22
call ebp
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
test edi, edi
jne 0x419ef1
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, ebx
pop ebp
jmp 0x419670
call ebp
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, ebx
pop ebp
jmp 0x419670
Function at 0x41a700
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x46b730
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0x288
mov dword [esp + 0x1c], 0x288
call fcn.00457eff
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
je 0x41a90d
lea eax, [esp + 0x18]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41a779
push esi
call fcn.00457e22
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00457eff
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x41a90d
mov ebx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x41a90d
test ebx, ebx
je 0x41a90d
jmp 0x41a7a0
push str.VMWare
lea eax, [ebx + 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x41a89d
mov edx, dword [0x488da4]
mov eax, dword [edx + 0xc]
mov ecx, 0x488da4
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x2c], 0
mov edx, dword [0x488da4]
mov eax, dword [edx + 0xc]
mov ecx, 0x488da4
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x2c], 1
mov eax, dword [ebx + 0x190]
xor esi, esi
test eax, eax
jbe 0x41a851
dec eax
lea edi, [esp + 0x1c]
cmp esi, eax
jne 0x41a81a
movzx ecx, byte [ebx + esi + 0x194]
push ecx
push str._.2X
jmp 0x41a828
movzx edx, byte [ebx + esi + 0x194]
push edx
push str._.2X:
call fcn.00405f00
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp - 0xc]
add esp, 8
push ebp
lea ecx, [esp + 0x18]
push ecx
call fcn.00405e40
mov eax, dword [ebx + 0x190]
inc esi
cmp esi, eax
jb 0x41a801
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jne 0x41a8a9
add ebp, 0xfffffff0
mov byte [esp + 0x2c], 0
lea edx, [ebp + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41a879
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a89d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebx]
test ebx, ebx
jne 0x41a7a0
jmp 0x41a900
mov edi, dword [esp + 0x34]
lea eax, [esp + 0x14]
call fcn.00403ae0
add ebp, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8d8
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a900
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00457e22
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4