joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c12dd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4c12fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004bf7ba
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4c1320
test byte [esp + 8], 2
je 0x4c1320
call fcn.004bf82d
mov dword [eax], 0xd
call fcn.004bf836
mov dword [eax], 5
jmp 0x4c12f9
xor eax, eax
ret

Function at 0x4de8cd
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4de905
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004dc8ba
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004dc892
jmp 0x4de911
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4dffc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4e0002
call fcn.004e5fa8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e0002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4dfff9
xor eax, eax
jmp 0x4e000a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e0010
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e64d8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4e6506
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e6524
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e643e
jmp 0x4e6524
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e6524
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e643e
test edi, edi
mov eax, edi
jne 0x4e650e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401640
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword [ecx + 0x20]
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x401677
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
inc esi
lea ecx, [esi + esi]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x40167f
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
mov eax, 1
pop ebx
ret 4
Function at 0x403190
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41f660
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
xor edi, edi
mov al, byte [esi + 0x36]
mov dword [esp + 0xc], edi
test al, al
je 0x403222
mov al, byte [esi + 0x1240]
mov cl, byte [esi + 0x1241]
cmp al, cl
jne 0x4031d4
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov cl, byte [esi + 0x1240]
mov al, byte [esi + 0x1241]
cmp cl, al
je 0x403238
mov ecx, dword [esp + 0x24]
xor edx, edx
mov dl, byte [esi + 0x1241]
mov al, byte [edx + esi + 0x1140]
mov edx, dword [esp + 0xc]
mov byte [edx + ebp], al
mov edx, dword [esp + 0xc]
mov al, byte [esi + 0x1241]
inc edx
inc al
dec ecx
mov dword [esp + 0xc], edx
mov byte [esi + 0x1241], al
je 0x403238
cmp byte [esi + 0x1240], al
jne 0x4031e8
jmp 0x403238
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x18]
lea eax, [esp + 0xc]
push edi
push eax
push ecx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0xc], edi
je 0x403351
mov al, byte [esi + 0x34]
test al, al
je 0x403339
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esi + 0x1c8]
mov byte [esp + 0x18], 1
test edi, edi
jne 0x403282
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [esi + 0x1c8], edi
jmp 0x40328e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c8], eax
mov eax, dword [esi + 0x1c8]
lea ecx, [esp + 0x24]
sub eax, edi
push eax
push str._r_nIN___4d__:
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
add esp, 0xc
xor edi, edi
test eax, eax
jle 0x403304
xor edx, edx
lea eax, [esp + 0x20]
mov dl, byte [edi + ebp]
push edx
push str._02X
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.0041ec68
mov edx, edi
and edx, 0x8000000f
jns 0x4032e8
dec edx
or edx, 0xfffffff0
inc edx
cmp edx, 0xf
jne 0x4032fb
push 0x435844
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0xc]
inc edi
cmp edi, eax
jl 0x4032b3
mov eax, dword [esp + 0x24]
mov byte [esi + 0x35], 1
push eax
push esi
call fcn.00402ed0
add esp, 8
lea ecx, [esp + 0x20]
mov byte [esi + 0x35], 0
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x403370
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41f680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x34]
test al, al
je 0x40348f
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esi + 0x1c8]
mov byte [esp + 0x1c], 1
test edi, edi
jne 0x4033d8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [esi + 0x1c8], edi
jmp 0x4033e4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x1c8], eax
mov eax, dword [esi + 0x1c8]
lea ecx, [esp + 0x28]
sub eax, edi
push eax
push str._r_nOUT__4d__:
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
xor edi, edi
test ebp, ebp
mov dword [esp + 0x24], ebp
jle 0x40345a
xor edx, edx
lea eax, [esp + 0x10]
mov dl, byte [edi + ebx]
push edx
push str._02X
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041ec68
mov edx, edi
and edx, 0x8000000f
jns 0x40343e
dec edx
or edx, 0xfffffff0
inc edx
cmp edx, 0xf
jne 0x403451
push 0x435844
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x403409
mov eax, dword [esp + 0x28]
mov byte [esi + 0x35], 1
push eax
push esi
call fcn.00402ed0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esi + 0x35], 0
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esi + 0x36]
test al, al
je 0x4034c2
mov edx, dword [esi + 0x18]
lea edi, [esi + 0x1118]
lea ecx, [esp + 0x24]
push edi
push ecx
push ebp
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x24]
push 1
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
jmp 0x403503
mov eax, dword [esi + 0x1ac]
test eax, eax
jne 0x4034e1
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x24]
push 0
push edx
push ebp
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x403503
xor edi, edi
test ebp, ebp
jle 0x403503
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x24]
push 0
push ecx
lea edx, [edi + ebx]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc edi
cmp edi, ebp
jl 0x4034e7
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x407410
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x11c]
shl eax, 5
mov ecx, dword [eax + 0x4216e8]
and ecx, 0x7f8000
cmp ecx, 0xc8000
jb 0x4075c8
mov al, byte [esi + 0x22]
test al, al
je 0x40744e
mov ecx, esi
call fcn.00404bf0
pop edi
pop esi
pop ebx
add esp, 8
ret
mov edx, dword [esi + 0x674]
mov al, byte [edx + 0xf]
test al, 0x80
je 0x4075c8
and al, 0x60
cmp al, 0x20
jne 0x407473
mov ecx, esi
call fcn.00404bf0
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp al, 0x40
jne 0x407485
mov ecx, esi
call fcn.004050d0
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0x5215
mov ecx, esi
mov ebx, eax
call fcn.00402e90
push eax
push esi
call fcn.00402ed0
mov eax, dword [esi + 0x11c]
add esp, 8
shl eax, 5
mov eax, dword [eax + 0x4216e8]
and eax, 0x7f8000
cmp eax, 0xc8000
je 0x407529
cmp eax, 0xe0000
je 0x407529
cmp eax, 0x1a8000
jb 0x4074df
mov ecx, esi
call fcn.004073f0
jmp 0x407530
cmp eax, 0x168000
je 0x407520
cmp eax, 0x170000
je 0x407520
cmp eax, 0x178000
je 0x407520
cmp eax, 0x180000
je 0x407520
cmp eax, 0x188000
je 0x407520
cmp eax, 0x190000
je 0x407520
cmp eax, 0x198000
je 0x407520
cmp eax, 0x1a0000
je 0x407520
mov ecx, esi
call fcn.004059c0
jmp 0x407530
mov ecx, esi
call fcn.00406390
jmp 0x407530
mov ecx, esi
call fcn.004051e0
test eax, eax
jne 0x4075ca
call edi
sub eax, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
sub esp, 8
fild qword [esp + 0x14]
fmul dword [0x42a8a0]
fstp qword [esp]
push 0x43587c
push esi
call fcn.00402ed0
fild dword [esi + 0x118]
fild dword [esi + 0xf8]
add esp, 8
mov ecx, esi
fld st(1)
fsub st(1)
sub esp, 8
fdiv st(1)
fmul dword [0x42a890]
fstp qword [esp + 8]
fstp st(0)
fmul qword [0x42a898]
fstp qword [esp]
push 0x5217
call fcn.00402e90
push eax
push esi
call fcn.00402ed0
fild dword [esi + 0xf8]
fild dword [esi + 0x118]
add esp, 0x18
mov byte [esi + 0x37], 1
fsub st(1)
fdiv st(1)
fmul dword [0x42a890]
fstp dword [esi + 0x1e0]
fstp st(0)
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x411980
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov esi, dword [ebp + 0x194]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [esp + 0x14], 0
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x18]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x411a38
cmp dword [esp + 0x14], esi
jne 0x411a38
cmp byte [ebx + 1], 0x46
jne 0x411a38
cmp byte [ebx + 2], 0xb9
jne 0x411a38
cmp byte [ebx + 3], 0x68
jne 0x411a38
mov al, byte [ebx + 4]
test al, al
jne 0x411a38
xor edx, edx
push 3
mov dl, byte [ebx + 5]
mov ecx, ebp
mov esi, edx
sub esi, 6
lea eax, [esi + 3]
push eax
push ebx
call fcn.00403060
mov dl, byte [esi + ebx + 6]
xor ecx, ecx
mov cl, ah
cmp dl, cl
jne 0x411a38
cmp byte [esi + ebx + 7], al
jne 0x411a38
cmp byte [esi + ebx + 8], 0x16
jne 0x411a38
mov edi, dword [esp + 0x1c]
mov ecx, esi
mov edx, ecx
mov dword [esp + 0x10], esi
lea esi, [ebx + 6]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x14]
add esp, 4
mov dword [ebp + 0x1cc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x411a60
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [ecx + 0x198]
push edi
push esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_operatornew
mov edi, eax
push pe_nt_image_headers32
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov ebp, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov ebx, dword [esp + 0x2c]
and ecx, 3
mov esi, dword [esp + 0x30]
rep stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
mov edi, ebp
add esp, 8
rep stosd dword es:[edi], eax
mov byte [ebp + 3], al
mov ecx, ebx
mov al, bl
mov edx, ecx
add al, 6
lea edi, [ebp + 5]
shr ecx, 2
mov byte [ebp], 0x46
mov byte [ebp + 1], 0xb9
mov byte [ebp + 2], 0x6a
mov byte [ebp + 4], al
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + 3]
and ecx, 3
push 2
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
push eax
push ebp
call fcn.00403060
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov cl, ah
mov byte [ebx + ebp + 5], cl
mov byte [ebx + ebp + 6], al
mov byte [ebx + ebp + 7], 0x16
lea eax, [edx + 8]
xor ebx, ebx
mov dword [esp + 0x24], eax
test eax, eax
jle 0x411b5f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea esi, [ebx + ebp]
push 0
lea ecx, [eax - 1]
lea edi, [edx + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x20]
push ecx
push eax
mov eax, dword [esp + 0x20]
push edx
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x18]
mov esi, eax
lea eax, [edx - 1]
add ebx, eax
mov eax, dword [esp + 0x24]
cmp ebx, eax
jl 0x411b10
jmp 0x411b63
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x411b90
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x5c
xor eax, eax
push ebx
mov dword [esp + 8], eax
push ebp
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x20], eax
mov ebp, ecx
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x24], eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
stosb byte es:[edi], al
push ecx
mov ecx, dword [ebp + 0x18]
push edx
lea eax, [esp + 0x30]
push 0x41
push eax
push ecx
mov dword [ebp + 0x1cc], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x411c6f
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
je 0x411c0f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, ebp
call fcn.00403950
test al, al
jne 0x411c58
mov al, byte [ebp + 0x23]
test al, al
je 0x411c58
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call esi
test eax, eax
jne 0x411c6f
call ebx
cmp eax, 0x3e4
jne 0x411c6f
push 5
call edi
jmp 0x411c21
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret 4
mov eax, dword [esp + 0x2a]
mov ebx, dword [esp + 0x2b]
mov edi, dword [esp + 0x70]
and eax, 0xff
and ebx, 0xff
mov dword [ebp + 0x1c4], eax
test edi, edi
je 0x411ca4
mov ecx, ebx
lea esi, [esp + 0x2c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [ebp + 0x1cc], ebx
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x5c
ret 4
Function at 0x411cd0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x5c
xor eax, eax
push ebx
mov dword [esp + 8], eax
push ebp
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x20], eax
mov ebp, ecx
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x24], eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x70]
xor edx, edx
stosb byte es:[edi], al
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x74]
mov eax, ecx
mov byte [esp + 0x2e], cl
shr eax, 0x10
mov dl, ah
mov byte [esp + 0x2c], al
xor eax, eax
mov byte [esp + 0x29], 0x5a
mov al, ch
mov ecx, dword [esp + 0x78]
test cl, cl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], cl
jbe 0x411d65
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x411d65
and ecx, 0xff
lea edi, [esp + 0x30]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [esp + 0x2c]
push 0x40
push eax
mov ecx, ebp
call fcn.00403060
neg al
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
mov byte [esp + 0x68], al
push ecx
mov ecx, dword [ebp + 0x18]
push edx
lea eax, [esp + 0x30]
push 0x41
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
jne 0x411dd2
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
jne 0x411dd2
mov edi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x411dd2
call ebx
cmp eax, 0x3e4
je 0x411db1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10
Function at 0x41dfa0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push edi
mov ecx, 0x40
xor eax, eax
mov edi, 0x43a684
mov dword [esp + 8], eax
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 8]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 8]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x41e02e
test esi, esi
je 0x41e02e
mov al, byte [esi + 0x199]
xor ecx, ecx
mov cl, byte [esi + 0x198]
xor edx, edx
mov dl, byte [esi + 0x197]
push eax
push ecx
xor eax, eax
mov al, byte [esi + 0x196]
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x195]
mov dl, byte [esi + 0x194]
push eax
push ecx
lea eax, [esi + 8]
push edx
push eax
push str.NET__s__02X_02X_02X_02X_02X_02X
push 0x43a684
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0x43a684
pop edi
pop esi
pop ecx
ret

Function at 0x41e150
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
mov cl, 0x4c
test eax, eax
mov byte [esp + 4], cl
mov byte [esp + 3], 0
jbe 0x41e1ed
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
sub edi, esi
mov dword [esp + 0x24], eax
mov al, byte [edi + esi]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x20], al
mov dl, cl
mov ebx, dword [esp + 0x20]
inc dl
and ebx, 0xff
and edx, 0xff
and ebp, 0xff
xor al, cl
mov bl, byte [ebx + 0x42c560]
sub bl, byte [edx + 0x42c660]
xor edx, edx
mov dl, byte [ebp + 0x42c660]
and ebx, 0xff
xor ebx, edx
mov dl, byte [esp + 0x13]
add al, dl
mov bl, byte [ebx + 0x42c560]
mov cl, al
mov eax, dword [esp + 0x24]
mov byte [esi], bl
mov bl, byte [esp + 0x28]
mov byte [esp + 0x14], cl
add dl, bl
inc esi
dec eax
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], eax
jne 0x41e17c
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x41e200
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x18]
mov cl, 0x4c
mov byte [esp + 7], 0
test edi, edi
mov byte [esp + 8], cl
jbe 0x41e27c
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x18]
sub esi, eax
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [esi + eax]
and ebx, 0xff
mov dl, byte [edx + 0x42c660]
xor dl, byte [ebx + 0x42c660]
mov bl, cl
inc bl
and ebx, 0xff
add dl, byte [ebx + 0x42c660]
and edx, 0xff
mov dl, byte [edx + 0x42c660]
mov bl, dl
mov byte [eax], dl
mov dl, byte [esp + 0x24]
xor bl, cl
mov cl, bl
mov bl, byte [esp + 0xf]
add cl, bl
add bl, dl
inc eax
dec edi
mov byte [esp + 0x10], cl
mov byte [esp + 0xf], bl
jne 0x41e223
pop esi
pop ebx
pop edi
add esp, 8
ret
Function at 0x10004377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x10004386
pop dword [ebp - 0x50]
mov eax, 0x1622e6b3
add eax, 0xf9dd5cd3
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xa3992a31
sub dword [ebp - 0x60], 0x5546e4e6
mov dword [ebp - 0x5c], 0xed7d9052
add dword [ebp - 0x5c], 0x44b5bbf3
mov dword [ebp - 0x58], 0xdd618977
sub dword [ebp - 0x58], 0x91154549
mov dword [ebp - 0x54], 0xe9958ba1
sub dword [ebp - 0x54], 0xe9958ba1
lea eax, [ebp - 0x60]
push eax
mov eax, 0x86f20e70
sub eax, 0x76f1be18
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x9bba8efc
add dword [ebp - 0x60], 0xd8b7da5a
mov dword [ebp - 0x5c], 0xb6c19be8
sub dword [ebp - 0x5c], 0x75553a73
mov dword [ebp - 0x58], 0x69883d80
add dword [ebp - 0x58], 0xf9e72eec
mov dword [ebp - 0x54], 0x7f55c625
sub dword [ebp - 0x54], 0x7f55c625
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3a7a8
push 0
call eax
mov ecx, 0x11ce64c0
add ecx, 0xee31f2f8
mov edi, eax
mov ebx, 0x1000a800
add ebx, dword [ebp - 0x50]
mov esi, 0x25e88e5a
xor dword [ebp - 0x1c], ebx
mov edx, dword [ebx]
xor dword [ebp - 0x40], 0x97ab44
add edx, esi
sub dword [ebp - 8], 0xbccee2f3
mov dword [edi], edx
add edi, 0x1e4ed261
add edi, 0xe1b12da3
add ebx, 0x683af1a7
sub ebx, 0x683af1a3
loop 0x10004497
add eax, 0x36163f5
sub eax, 0x3601242
xor ebx, ebx
add ebx, eax
add eax, 0x95a9e0a0
sub eax, 0x95a9e09b
mov ecx, 0x97221caa
add ecx, 0x78dde356
add ecx, dword [ebp - 0x50]
call ebx
leave
ret