joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406f58
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x406f81
call fcn.004066ae
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x406fa4
push eax
push dword [esi + 4]
call fcn.00406ee3
push esi
push eax
mov ecx, 0x528cb8
call fcn.00406bb6
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x408b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x408b86
call fcn.004066ae
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x408b86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x408bc9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x408bb2
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x408bb2
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x408bc6
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x40a09b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x40a0bb
cmp dword [edi + 0x54], 0
jne 0x40a0bb
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004066ae
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040a062
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x411cda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x411d1d
call fcn.004066ae
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x411d1d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x411d38
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00411894
test ebx, ebx
mov esi, eax
je 0x411d36
test edi, edi
je 0x411d36
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x412643
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 0x412671
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41268f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004125ad
jmp 0x41268f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41268f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004125ad
test edi, edi
mov eax, edi
jne 0x412679
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x52a940]
test ecx, ecx
je 0x412752
jmp 0x412642
ret 8

Function at 0x413d6c
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x413d75
xor eax, eax
jmp 0x413dde
cmp dword [esp + 8], 0
jne 0x413d81
call fcn.00405a2b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00425b6b
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x413dbc
push dword [esi + 0x10]
call fcn.00427436
test eax, eax
pop ecx
jne 0x413dbc
mov esi, dword [esi + 0xc]
call fcn.004262e6
push esi
push dword [eax]
push 1
call fcn.0041ead9
push dword [esi + 0x10]
call fcn.00427465
test eax, eax
pop ecx
je 0x413ddb
push dword [esi + 0x10]
call fcn.0042738a
push eax
call fcn.004029b0
pop ecx
pop ecx
jmp 0x413daa
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x413de7
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x413df1
call fcn.00405a2b
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00423739
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x413e1e
mov esi, dword [esi + 0xc]
call fcn.004262e6
push esi
push dword [eax]
push 1
call fcn.0041ead9
pop esi
ret 8

Function at 0x4218a9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4696e0]
jne 0x4218b3
repz ret
jmp fcn.0042944f
Function at 0x4341f5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00428e36
xor ebx, ebx
cmp dword [0x52b754], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x4342ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x434235
xor eax, eax
jmp 0x43438e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43422e
push eax
call fcn.00428dd3
mov dword [esp], 0x459588
push edi
mov dword [0x52b754], eax
call esi
push eax
call fcn.00428dd3
mov dword [esp], 0x459574
push edi
mov dword [0x52b758], eax
call esi
push eax
call fcn.00428dd3
mov dword [0x52b75c], eax
lea eax, [ebp - 8]
push eax
call fcn.0042395e
test eax, eax
pop ecx
pop ecx
je 0x434298
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004246f3
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x4342ca
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00428dd3
cmp eax, ebx
pop ecx
mov dword [0x52b764], eax
je 0x4342ca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00428dd3
pop ecx
mov dword [0x52b760], eax
mov eax, dword [0x52b760]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x434343
cmp dword [0x52b764], esi
je 0x434343
push eax
call fcn.00428e3f
pop ecx
call eax
cmp eax, ebx
je 0x434310
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x52b764]
call fcn.00428e3f
pop ecx
call eax
test eax, eax
je 0x434310
test byte [ebp - 0x18], 1
jne 0x434343
lea eax, [ebp - 0xc]
push eax
call fcn.00423995
test eax, eax
pop ecx
je 0x43432b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004246f3
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43433a
or dword [ebp + 0x10], 0x200000
jmp 0x434374
or dword [ebp + 0x10], 0x40000
jmp 0x434374
mov eax, dword [0x52b758]
cmp eax, esi
je 0x434374
push eax
call fcn.00428e3f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x434374
mov eax, dword [0x52b75c]
cmp eax, esi
je 0x434374
push dword [ebp - 4]
push eax
call fcn.00428e3f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x52b754]
call fcn.00428e3f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a62a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4696e0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043a5bf
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00423bf0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43a679
cmp dword [ebp - 0x1c], 5
jb 0x43a691
jmp 0x43a68d
cmp dword [ebp - 0x10], 1
jne 0x43a691
cmp dword [ebp - 0x1c], 4
ja 0x43a68d
jne 0x43a691
cmp dword [ebp - 0x18], 0
jbe 0x43a691
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x45aec8
call fcn.0043a493
test eax, eax
jge 0x43a6b2
mov byte [0x52b918], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004218a9
add ebp, 0x78
leave
ret

Function at 0x43b690
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4532dd
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4696e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x10]
call fcn.00402c80
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00442910
add esp, 4
mov byte [ebp - 4], 1
push 0x45b170
lea ecx, [ebp - 0x14]
call fcn.00402f90
push 0x10
call fcn.004425b0
add esp, 4
add eax, 5
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00442a20
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004051b0
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00402400
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00402c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402c60
mov edx, dword [0x46ad40]
push edx
push 0x46ad48
lea ecx, [ebp - 0x10]
call fcn.00402240
push eax
call fcn.004428a0
add esp, 0xc
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00402240
push eax
push 0x45b174
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402c60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43dde0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4544d1
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4696e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
call fcn.00409b48
push 0
mov ecx, dword [ebp - 0x54]
call fcn.004055c0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x43de80
lea ecx, [ebp - 0x50]
call fcn.00402c80
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x50]
call fcn.00402740
lea ecx, [ebp - 0x50]
call fcn.00405280
movzx eax, al
test eax, eax
jne 0x43de71
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x20]
call fcn.00405590
lea ecx, [ebp - 0x50]
call fcn.00402240
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00405590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00402c60
push 1
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x74]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00405560
push 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x74]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00405560
lea ecx, [ebp - 0x1c]
call fcn.00405620
mov dword [ebp - 0x4c], 0
xor edx, edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
push 0
push 0x80
push 0x40000
mov ecx, dword [ebp - 0x54]
call fcn.0040b812
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00405520
push 1
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00405500
add eax, 0x780
push eax
push 0
mov ecx, dword [ebp - 0x54]
call fcn.0040bac0
push 0
push 0
mov eax, dword [ebp - 0x54]
push eax
push 0x43d980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x43e340
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4696e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0xffffffff
mov word [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
push 0x400
call fcn.004056bf
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x43e3bd
mov dword [ebp - 0x1c], 1
jmp 0x43e4c4
mov word [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xdb8895b4
push 0x50
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x16], ax
push 0x10
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x43e3fc
mov dword [ebp - 0x1c], 1
jmp 0x43e4c4
mov ecx, dword [ebp + 8]
push ecx
push 0x45be80
mov edx, dword [ebp - 0x28]
push edx
call fcn.004218b8
add esp, 0xc
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00421940
add esp, 4
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x43e445
mov dword [ebp - 0x1c], 1
jmp 0x43e4c4
push 0x400
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.00423bf0
add esp, 0xc
push 0
push 0x400
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jg 0x43e481
mov dword [ebp - 0x1c], 1
jmp 0x43e4c4
mov dword [ebp - 0x2c], 0
jmp 0x43e493
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 9
jae 0x43e4c4
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx*4 + 0x46ad1c]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.00404b60
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e4c2
mov dword [ebp - 0x1c], 1
jmp 0x43e4c4
jmp 0x43e48a
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.004056ba
add esp, 4
cmp dword [ebp - 0x24], 0xffffffff
je 0x43e4e6
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004218a9
mov esp, ebp
pop ebp
ret
Function at 0x43f600
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43f620
xor eax, eax
jmp 0x43f630
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx]
mov esp, ebp
pop ebp
ret 4
Function at 0x441fc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x441fff
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x4420e2
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x442080
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x44207b
push 4
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x442054
xor eax, eax
jmp 0x4420e7
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00423bf0
add esp, 0xc
jmp 0x441fed
push 4
push 0x1000
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4420ab
xor eax, eax
jmp 0x4420e7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00423c70
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x441fed
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x442750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4696e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
call fcn.00402b00
mov dword [ebp - 0x10], eax
push 0x45c18c
push str.C:_MyLZCC.cfg
call fcn.0042360c
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44278a
xor eax, eax
jmp 0x442882
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44279f
mov dword [ebp - 0x1c], 0
jmp 0x4427ee
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x4427c1
mov dword [ebp - 0x20], 0
jmp 0x4427e8
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004282c0
mov dword [ebp - 0x24], esp
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
shl eax, 1
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00402a60
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jne 0x442803
mov dword [ebp - 0x28], 0
jmp 0x442852
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x3fffffff
jle 0x442825
mov dword [ebp - 0x2c], 0
jmp 0x44284c
mov eax, dword [ebp - 4]
shl eax, 1
call fcn.004282c0
mov dword [ebp - 0x30], esp
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00402a60
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00421940
add esp, 4
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00423739
add esp, 0x10
mov edx, dword [ebp - 8]
push edx
call fcn.00423839
add esp, 4
mov eax, 1
lea esp, [ebp - 0x30]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004218a9
mov esp, ebp
pop ebp
ret

Function at 0x4428a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00442660
add esp, 8
mov dword [ebp - 8], 0
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x4428e4
jmp 0x442906
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x4502f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4696e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x48], 0
push 0x3e
push 0
lea eax, [ebp - 0x46]
push eax
call fcn.00423bf0
add esp, 0xc
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x4c]
push ecx
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x45033e
cmp dword [ebp - 0x50], 0x6f
je 0x45033e
xor eax, eax
jmp 0x4503db
mov edx, dword [ebp - 0x4c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45035a
xor eax, eax
jmp 0x4503db
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x450379
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x4503db
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp + 8]
push eax
call fcn.004218b8
add esp, 0x20
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004218a9
mov esp, ebp
pop ebp
ret
Function at 0x1001a9d0
Capabilities:
Parse pe header

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