joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100362a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
cmp byte [ecx + 8], 0
jne 0x1003637a
cmp dword [0x1024e4e4], 0
je 0x10036373
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x10036373
cmp dword [eax + 0x58], 3
jb 0x10036373
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
push 0x31
push 0x1020abb0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.100045d0
push 0x87
push str.RC::RCAnalyzeJsonBase::AnalyzeUnicodeString
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcanalyzejsonbase.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
push 3
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10036364
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
xor al, al
jmp 0x10036499
lea eax, [ebp - 0x58]
push eax
call fcn.100fa210
mov dword [ebp - 4], 1
cmp dword [ebp - 0x48], 0
jne 0x10036397
mov bl, 1
jmp 0x10036488
push 0x101fb074
lea ecx, [ebp - 0x40]
call fcn.10004520
mov byte [ebp - 4], 2
lea edx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
mov ebx, dword [ebp - 0x58]
cmovae edx, ebx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100363b8
sub edx, ecx
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push eax
cmovae ecx, ebx
call fcn.100d0880
add esp, 4
test al, al
jne 0x10036460
push 3
mov ecx, 0x1024e4e0
call fcn.1002ab90
mov esi, eax
test esi, esi
je 0x1003645c
lea ecx, [ebp - 0x28]
call fcn.100074e0
push 0x1e
push 0x1020aa60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.100045d0
push 0x96
push str.RC::RCAnalyzeJsonBase::AnalyzeUnicodeString
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcanalyzejsonbase.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
push 3
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, 1
jbe 0x10036450
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100044e0
xor bl, bl
jmp 0x1003647c
lea eax, [ebp - 0x40]
cmp esi, eax
je 0x1003647a
cmp dword [ebp - 0x2c], 8
mov ecx, esi
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.100045d0
mov bl, 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.100044e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.10008020
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret
Function at 0x1003ad90
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dbfc9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1024e014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.10007d30
lea eax, [esi + 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0x18]
call fcn.10007d30
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
lea eax, [esi + 0x34]
push eax
call fcn.10007d30
lea eax, [esi + 0x4c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x4c]
call fcn.10007d30
lea eax, [esi + 0x64]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x64]
call fcn.10007d30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10042ff0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dd358
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
lea esi, [edi + 4]
jne 0x100431f2
push str.ProtectApi.dll
lea ecx, [ebp - 0x28]
call fcn.10004520
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
call fcn.10056db0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.100c3900
add esp, 4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.100044e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.100044e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1004313a
mov eax, dword [edi + 8]
test eax, eax
je 0x1004309d
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [edi + 8], ebx
test ebx, ebx
je 0x100430b2
push 0x1020c0e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x100430b4
xor eax, eax
push esi
push 0x1020c0f8
call eax
mov ecx, dword [esi]
add esp, 8
test ecx, ecx
je 0x100430e3
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
test al, al
je 0x100430e3
mov ecx, dword [esi]
push edi
push 0x1020c108
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x100431e3
cmp dword [0x1024e4e4], 0
je 0x100431e3
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x100431e3
cmp dword [eax + 0x58], 4
jb 0x100431e3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
push 0x23
push str.m_protectSdkApiV1_Initialize_Failed
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.100045d0
push 0x119
jmp 0x10043199
cmp dword [0x1024e4e4], 0
je 0x100431e3
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x100431e3
cmp dword [eax + 0x58], 4
jb 0x100431e3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push str.Load_ProtectApi.dll_Failed__fullPath_is__s
push eax
call fcn.100c4740
add esp, 0xc
push 0x110
push str.RC::RCProctectSDKHelperImplIner::Initialize
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_src_rcprotectsdkhelper.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
push 4
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x100431d7
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.100044e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret
Function at 0x10046970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dda8e
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x102550a0]
test al, 1
jne 0x100469ce
or eax, 1
mov dword [0x102550a0], eax
mov dword [ebp - 4], 0
call fcn.100d1870
push 0x101f9430
call fcn.101d2cc9
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, 0x10209fa8
mov ecx, 0x10255088
call fcn.100c41f0
mov edx, 0x10209fac
mov ecx, 0x10255088
call fcn.100c4280
lea ecx, [ebp - 0x40]
call fcn.100074e0
lea ecx, [ebx + 8]
mov dword [ebp - 4], 1
mov edi, dword [ecx + 0x14]
mov esi, ecx
cmp edi, 8
jb 0x10046a0a
mov esi, dword [ecx]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x10046a25
mov eax, esi
cmp word [eax], 0x3f
je 0x10046b70
add eax, 2
sub edx, 1
jne 0x10046a13
cmp dword [0x1025509c], 8
mov eax, 0x10255088
cmovae eax, dword [0x10255088]
cmp edi, 8
jb 0x10046a3f
mov ecx, dword [ecx]
push eax
push ecx
push str._s_urlid_s
lea eax, [ebp - 0x40]
push eax
call fcn.100c4740
add esp, 0x10
lea ecx, [ebp - 0x58]
push 0x101fb074
call fcn.10004520
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10004520
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
mov ecx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1004cef0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.100044e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.100044e0
cmp dword [0x1024e4e4], 0
je 0x10046b45
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x10046b45
cmp dword [eax + 0x58], 3
jb 0x10046b45
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push str.slow:RCOpenPageCmd::DoCommand_url:_s
push eax
call fcn.100c4740
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push 0x2d
push str.RC::RCOpenPageCmd::DoCommand
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_srcwebcmd_rcopenpagecmd.cpp
push eax
push 3
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x10046b39
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100044e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10046a25
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x10046a25
cmp dword [0x1025509c], 8
mov eax, 0x10255088
cmovae eax, dword [0x10255088]
cmp edi, 8
jb 0x10046b9f
mov ecx, dword [ecx]
push eax
push ecx
push str._surlid_s
jmp 0x10046a46
Function at 0x1004ccf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d9940
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
lea eax, [edi + 0x20]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x2c]
push eax
push 0x1024fa68
call fcn.10042c40
add esp, 8
movzx eax, ax
mov ecx, edi
push eax
push ebx
push 4
push 0x40000000
push 0
push 0
push esi
call fcn.10042b40
mov esi, eax
test esi, esi
jne 0x1004ce03
cmp dword [0x1024e4e4], eax
je 0x1004cdfc
push eax
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1004cdfc
cmp dword [eax + 0x58], 2
jb 0x1004cdfc
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push 0x1020c718
push eax
call fcn.100c4740
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push 0x3f
push str.RC::RCWebBrowser::Create
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_srcweb_rcwebbrowser.cpp
push eax
push 2
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004cded
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
xor eax, eax
jmp 0x1004cec8
cmp dword [0x1024e4e4], 0
je 0x1004cea3
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1004cea3
cmp dword [eax + 0x58], 4
jb 0x1004cea3
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
push esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x1020c760
push eax
call fcn.100c4740
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push 0x43
push str.RC::RCWebBrowser::Create
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_srcweb_rcwebbrowser.cpp
push eax
push 4
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004ce94
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
push ecx
mov ecx, edi
mov dword [edi + 0x9c], 0xfffefc
call fcn.1004d9e0
test al, al
jne 0x1004cec6
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
jmp 0x1004cec8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004d180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dcf18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1004d1c5
cmp dword [esi + 0x58], 0
je 0x1004d1c5
cmp dword [esi + 0x5c], 0
je 0x1004d1c5
mov al, 1
jmp 0x1004d273
cmp dword [0x1024e4e4], 0
je 0x1004d271
push 0
mov ecx, 0x1024e4e0
call fcn.1002a240
mov eax, dword [0x1024e4e4]
cmp byte [eax + 0x54], 0
je 0x1004d271
cmp dword [eax + 0x58], 3
jb 0x1004d271
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100074e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [esi + 4]
push str.slow:
push eax
call fcn.100c4740
add esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push 0xb7
push str.RC::RCWebBrowser::CheckBrowserWindows
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_src_softmgrshare_srcweb_rcwebbrowser.cpp
push eax
push 3
call fcn.1002abd0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bl, bl
je 0x1004d262
lea eax, [ebp - 0x28]
mov ecx, 0x1024e4e0
push eax
call fcn.1002aef0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100044e0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret
Function at 0x100523d0
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101de75d
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.101d38c0
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1144], esi
mov dword [ebp - 0x1140], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
push 1
mov dword [ebp - 0x1140], 1
mov dword [ebp - 0x1018], eax
call fcn.101d286a
add esp, 4
mov dword [ebp - 0x1018], eax
mov byte [eax], 0
lea eax, [ebp - 0x1138]
push 0x118
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x113c], 0x11c
lea eax, [ebp - 0x113c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10052496
cmp dword [ebp - 0x1138], 6
mov eax, dword [ebp - 0x1018]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1018]
call fcn.100dbe30
push 0x1000
lea eax, [ebp - 0x1014]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1014]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100524fe
lea ecx, [ebp - 0x1014]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100524e0
sub ecx, edx
lea eax, [ebp - 0x1014]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100045d0
lea ecx, [ebp - 0x1018]
call fcn.100dc150
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1018]
call fcn.100db6b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret 4
Function at 0x10056c30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101deb79
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x3c], esi
xorps xmm0, xmm0
push eax
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x34], 0x10
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x30]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10056ca0
sub ecx, edx
lea eax, [ebp - 0x30]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100045d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret 4
Function at 0x10060160
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e00d7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1024e014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x18
mov byte [edi], 0
call fcn.101d286a
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebp - 4], 0
lea esi, [edi + 8]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10062290
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [edi + 0x10]
push 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10062290
mov dword [esi], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov word [edi + 0x20], ax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x38]
call fcn.100135e0
mov byte [ebp - 4], 8
lea eax, [edi + 0xb8]
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], cl
mov byte [ebp - 4], 0xa
xor eax, eax
mov dword [edi + 0x100], ecx
mov dword [edi + 0x104], 7
mov word [edi + 0xf0], ax
mov byte [ebp - 4], 0xb
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 0xf
mov byte [edi + 0x108], al
mov byte [ebp - 4], 0xc
mov dword [edi + 0x130], eax
mov dword [edi + 0x134], 0xf
mov byte [edi + 0x120], al
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006ea00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x10254ae0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x102547e0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x102549e0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x102548e0], al
inc esi
cmp esi, 0x100
jl 0x1006eb10
pop esi
add esp, 0x80
ret
Function at 0x10071c50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e29e8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1024e014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov ecx, dword [esi]
add esp, 4
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
test ecx, ecx
je 0x10071d28
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x1c], edx
call fcn.10061ea0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x10071d19
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
push 0
cmovae eax, dword [ebp - 0x38]
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10071d19
test esi, esi
je 0x10071d19
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 8
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10004570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101d284b
mov esp, ebp
pop ebp
ret 4