joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411ca6
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x411cb6
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x411cb1
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x411c9b
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x411ca3
cmp edx, ebx
jne 0x411df1
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x411c72
add eax, dword [eax + 4]
jmp 0x411c5f
mov dword [ebp + 0xc], ebx
jmp 0x411cc1
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x411cd9
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x411cf7
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x411d55
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x411d3c
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x411d45
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x411d4f
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x411d31
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x411cbb
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x411da2
dec eax
je 0x411d99
sub eax, 3
je 0x411d90
mov dword [ebp - 4], 0x40
jmp 0x411dbf
mov dword [ebp - 4], 4
jmp 0x411da5
mov dword [ebp - 4], 0x20
jmp 0x411da5
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x411df1
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x411d71
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00411602
ljmp 0x1475
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x412f8f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.004115c7
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x4136a8
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x41317d
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
Function at 0x418496
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45aeb8]
jne 0x4184a0
repz ret
jmp fcn.0041debb

Function at 0x42efd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004214bc
and dword [ebp - 4], 0
cmp dword [0x45ef30], 0
mov ebx, eax
jne 0x42f089
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42f13a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42f13a
push eax
call fcn.0042144a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45ef30], eax
call esi
push eax
call fcn.0042144a
mov dword [esp], 0x44a0c8
push edi
mov dword [0x45ef34], eax
call esi
push eax
call fcn.0042144a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45ef38], eax
call esi
push eax
call fcn.0042144a
pop ecx
mov dword [0x45ef40], eax
test eax, eax
je 0x42f089
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042144a
pop ecx
mov dword [0x45ef3c], eax
mov eax, dword [0x45ef3c]
cmp eax, ebx
je 0x42f0e1
cmp dword [0x45ef40], ebx
je 0x42f0e1
push eax
call fcn.004214c5
push dword [0x45ef40]
mov esi, eax
call fcn.004214c5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42f0e1
test edi, edi
je 0x42f0e1
call esi
test eax, eax
je 0x42f0d8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42f0d8
test byte [ebp - 0xc], 1
jne 0x42f0e1
or dword [ebp + 0x10], 0x200000
jmp 0x42f11a
mov eax, dword [0x45ef34]
cmp eax, ebx
je 0x42f11a
push eax
call fcn.004214c5
pop ecx
test eax, eax
je 0x42f11a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42f11a
mov eax, dword [0x45ef38]
cmp eax, ebx
je 0x42f11a
push eax
call fcn.004214c5
pop ecx
test eax, eax
je 0x42f11a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45ef30]
call fcn.004214c5
pop ecx
test eax, eax
je 0x42f13a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42f13c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4365e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x436620
cmp dword [ebp - 0x118], 0
jne 0x436620
mov al, 1
jmp 0x436622
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret

Function at 0x436630
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x436670
cmp dword [ebp - 0x118], 0
jbe 0x436670
mov al, 1
jmp 0x436672
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret
Function at 0x436720
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00419450
add esp, 0xc
push 0
push 0x23
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436796
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403540
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
jmp 0x4367b5
push 0x44cd28
mov ecx, dword [ebp + 8]
call fcn.00403540
mov edx, dword [ebp - 0x214]
or edx, 1
mov dword [ebp - 0x214], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret
Function at 0x4367d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4432c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x45aeb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
call fcn.00401ca0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xb7
jne 0x43685d
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
push str.dwErr__ERROR_ALREADY_EXISTS
lea ecx, [ebp - 0x1c]
call fcn.00403540
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1c]
push edx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402cd0
jmp 0x43698a
cmp dword [ebp - 0x14], 0
jne 0x43689d
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
push str.hUiMutex__NULL
lea ecx, [ebp - 0x20]
call fcn.00403540
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
push ecx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402cd0
jmp 0x43698a
cmp dword [ebp - 0x10], 5
jne 0x43698a
mov ecx, dword [ebp + 8]
call fcn.00401ca0
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436900
mov edx, dword [ebp + 0xc]
mov byte [edx], 1
push str.OpenMutex_SYNCHRONIZE
lea ecx, [ebp - 0x24]
call fcn.00403540
mov dword [ebp - 4], 2
lea eax, [ebp - 0x24]
push eax
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00402cd0
jmp 0x43698a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
jne 0x436946
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
push str.support_win_8
lea ecx, [ebp - 0x28]
call fcn.00403540
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402cd0
jmp 0x43698a
push 0x44ccb8
lea ecx, [ebp - 0x18]
call fcn.00403540
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x10]
push eax
push str._Other_Error_OpenMutex_err_d
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402ca0
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402cd0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4369e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4432eb
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45aeb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.00401ca0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x436b7d
mov dword [ebp - 0x50], 0
push 0x38
push 0
lea eax, [ebp - 0x4c]
push eax
call fcn.00419450
add esp, 0xc
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
call fcn.00436630
movzx ecx, al
test ecx, ecx
jne 0x436a67
call fcn.004365e0
movzx edx, al
test edx, edx
je 0x436a70
mov dword [ebp - 0x44], 0x44b974
jmp 0x436ab7
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x436ab0
push str.ExecuteApplication_runas
lea ecx, [ebp - 0x54]
call fcn.00403540
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x54]
push ecx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00402cd0
mov dword [ebp - 0x44], str.runas
jmp 0x436ab7
mov dword [ebp - 0x44], 0x44b9c8
mov ecx, dword [ebp + 8]
call fcn.00401ca0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
call fcn.00401ca0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x1c]
call fcn.00403070
test eax, eax
jne 0x436ae2
mov dword [ebp - 0x38], 0
jmp 0x436aed
mov ecx, dword [ebp + 0x1c]
call fcn.00401ca0
mov dword [ebp - 0x38], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x436b0f
jmp 0x436b3e
push str.ExecuteApplication_failed
lea ecx, [ebp - 0x58]
call fcn.00403540
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x58]
push ecx
call fcn.004366a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402cd0
cmp dword [ebp + 0x10], 0
jne 0x436b60
push 0xffffffffffffffff
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x436b6e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
jmp 0x436b82
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x436c00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44330e
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x45aeb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x20], 0
push 0x44b534
lea ecx, [ebp - 0x18]
call fcn.00403540
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00401ca0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
add eax, 1
push eax
call fcn.0040e757
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00401ca0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x436d29
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x44b538
mov eax, dword [ebp - 0x24]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436d29
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
shr edx, 0x10
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0xff
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
shr eax, 0x10
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
and edx, 0xff
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x44b53c
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402ca0
add esp, 0x18
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0040e762
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00402920
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00402cd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x437850
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44335f
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x45aeb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
add eax, 4
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043dec0
mov byte [ebp - 4], 1
push str.log
lea ecx, [ebp - 0x78]
call fcn.00407960
lea ecx, [ebp - 0x78]
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4378da
mov ecx, dword [ebp - 0xb0]
add ecx, 4
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0043de60
lea ecx, [ebp - 0x58]
call fcn.0043ddb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0043ddb0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x58]
push eax
sub esp, 0x24
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0043dec0
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb0]
call fcn.004373e0
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xa0]
call fcn.0043dec0
mov byte [ebp - 4], 4
push 0x44d508
lea ecx, [ebp - 0x9c]
call fcn.00407960
mov ecx, dword [ebp - 0xb0]
add ecx, 0x28
je 0x43795e
mov edx, dword [ebp - 0xb0]
add edx, 0x2c
mov dword [ebp - 0xb8], edx
jmp 0x437968
mov dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00407940
lea ecx, [ebp - 0x58]
test ecx, ecx
je 0x43798f
lea edx, [ebp - 0x58]
add edx, 4
mov dword [ebp - 0xbc], edx
jmp 0x437999
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00407940
push 0x44d50c
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebp + 0x30]
call fcn.00402960
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xc4]
call fcn.00401ca0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00407960
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa8]
call fcn.00402cd0
push 0x44d51c
lea ecx, [ebp - 0x9c]
call fcn.00407960
lea eax, [ebp - 0x34]
test eax, eax
je 0x437a20
lea ecx, [ebp - 0x34]
add ecx, 4
mov dword [ebp - 0xc8], ecx
jmp 0x437a2a
mov dword [ebp - 0xc8], 0
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00407940
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
call fcn.0043dec0
mov ecx, dword [ebp - 0xac]
or ecx, 1
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.0043db70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0043db70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x7c]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0043db70
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00418496
mov esp, ebp
pop ebp
ret 0x30
Function at 0x437ed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
push str.QueryServerState::
call fcn.00419610
add esp, 8
test eax, eax
jne 0x437f09
push str.threadID::AnswerQueryServerState::OK
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x44e3cc
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004194ca
add esp, 8
jmp 0x437fac
mov edx, dword [ebp + 8]
push edx
push str.SwitchDatacard::
call fcn.00419610
add esp, 8
test eax, eax
jne 0x437f46
push str.threadID::SwitchDatacard::Start
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [0x45f178], 1
push str.SwitchDatacard::Start
mov eax, dword [ebp + 0xc]
push eax
call fcn.004194ca
add esp, 8
jmp 0x437fac
mov ecx, dword [ebp + 8]
push ecx
push str.ZDWorker_answer_from_Client
call fcn.00419610
add esp, 8
test eax, eax
jne 0x437f8a
push str.threadID::Send_ZDWorker_answer_from_server
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp + 8]
push edx
push 0x44e530
call fcn.004196a3
add esp, 8
push 0x44e538
mov eax, dword [ebp + 0xc]
push eax
call fcn.004194ca
add esp, 8
jmp 0x437fac
mov ecx, dword [ebp + 8]
push ecx
push 0x44e570
call fcn.004196a3
add esp, 8
push str.GetAnswerToRequest:Other
mov edx, dword [ebp + 0xc]
push edx
call fcn.004194ca
add esp, 8
push str.threadID::GetAnswerToRequest:Other
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [eax + eax + 2]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
pop ebp
ret

Function at 0x438540
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x442b12
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x45aeb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CZDServWorker.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004363e0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00435fc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00403c20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404090
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00404090
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00403c20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.00404090
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x438610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4430f1
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x45aeb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 4], 1
push str.DashBoardSetup
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 8]
call fcn.0043e750
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 4], 2
push 0x44f890
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0xf8]
call fcn.0043e750
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x100], eax
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x2c]
push ecx
lea edx, [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x100]
call fcn.0043e130
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x108]
push ecx
mov ecx, dword [ebp + 0x50]
call fcn.0043de60
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x7c]
call fcn.0043db70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0043db70
mov ecx, dword [ebp + 0x50]
add ecx, 4
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43880b
push 0x44f894
lea edx, [ebp - 0xa0]
push edx
lea ecx, [ebp + 8]
call fcn.0043e750
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 5
push 0x44f8c4
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.0043e750
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 6
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.0043e130
mov dword [ebp - 0x11c], eax
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x120], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp + 0x50]
call fcn.0043de60
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.0043db70
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc4]
call fcn.0043db70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.0043db70
mov ecx, dword [ebp + 0x50]
add ecx, 4
call fcn.00403bd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43880b
mov byte [ebp - 0xe9], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c]
call fcn.0043db70
mov al, byte [ebp - 0xe9]
jmp 0x438833
mov byte [ebp - 0xea], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0043db70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x2c]
call fcn.0043db70
mov al, byte [ebp - 0xea]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x4c