joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402e35
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x2c
push 1
mov ebx, 0x1bc
call fcn.00409c10
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402e81
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x402e92
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetNativeSystemInfo]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x402eb9
push 0x36
push 0x4010032
push 6
call fcn.004090a9
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push 0x80000005
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402ede
mov eax, 0x42980f
push eax
push 3
mov ebx, 0x19c
call fcn.00409a70
add esp, 0x28
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp ecx, 0x80000101
jne 0x402f12
and eax, 0xff
jmp 0x402f67
cmp ecx, 0x80000201
jne 0x402f1d
cwde
jmp 0x402f67
cmp ecx, 0x80000301
je 0x402f67
cmp ecx, 0x80000401
je 0x402f67
mov dword [ebp - 0x1c], eax
cmp ecx, 0x80000501
je 0x402f57
cmp ecx, 0x80000601
je 0x402f5c
push 0x69
push 0x4010032
push 2
call fcn.004090a9
add esp, 0xc
fld dword [ebp - 0x1c]
jmp 0x402f62
mov dword [ebp - 0x18], edx
fld qword [ebp - 0x1c]
call fcn.00402beb
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 6
je 0x402f82
cmp dword [ebp - 8], 9
je 0x402f82
xor eax, eax
jmp 0x402f87
mov eax, 1
jmp 0x402f8c
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402f9d
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x40340d
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x184
call fcn.00409e30
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403452
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x403469
mov eax, 0x4292f0
push eax
push 1
mov ebx, 0x130
call fcn.00409dd0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetComputerNameA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x4034af
push 0x73
push 0x4010131
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4034dd
mov eax, dword [ebp - 4]
test eax, eax
je 0x4034d8
push eax
mov ebx, eax
call fcn.00401020
inc eax
push eax
call fcn.004090bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4034e7
mov eax, 0x4292f0
jmp 0x4034e7
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4034f8
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4046f6
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push 0xf0000000
push 0x18
push 0x4292f0
push 0x4292f0
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40474e
push 0x24
push 0x4010142
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4047b3
mov dword [ebp - 0xc], esp
push 0
push 0x18
push 0x4292f0
push 0x4292f0
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40479c
push 0x7d
push 0x4010142
push 6
call fcn.004090a9
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4047b3
mov eax, 0x42980f
jmp 0x40482c
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.00404844
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4047d8
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40480d
push 0x120
push 0x4010142
push 6
call fcn.004090a9
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x404827
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004090bb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40482c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40483d
push ebx
call fcn.0040909d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4097b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x409842
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x409834
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x40982c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4097f5
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x40a660
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x40a6c9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00409380
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret
Function at 0x40aa60
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x40aa6d
xor eax, eax
pop esi
ret
push esi
call dword [0x4515d4]
add esp, 4
test eax, eax
jne 0x40aa7d
pop esi
ret
cmp eax, 1
jne 0x40aa8b
cmp byte [esi], 0x5c
jne 0x40aa8b
xor eax, eax
pop esi
ret
push esi
call fcn.0040a810
add esp, 4
test eax, eax
je 0x40aa9f
push esi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
pop esi
ret

Function at 0x40aac0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x40ab01.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x40ab01.2
jmp dword [eax*4 + 0x40ab8c]
mov word [esp + 0x48], di
jmp 0x40ab3a
mov word [esp + 0x48], 2
jmp 0x40ab3a
mov word [esp + 0x48], 3
jmp 0x40ab3a
mov word [esp + 0x48], 4
jmp 0x40ab3a
mov word [esp + 0x48], 7
jmp 0x40ab3a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x40ab84
cmp dword [esp + 0x70], edi
je 0x40ab70
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret

Function at 0x40bbf0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x40bc56
mov ebx, dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x40bc56
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x40bc37
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x40bfe0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x40c018
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x40cd50
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x40cd99
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x40d210
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x423940
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0040cdc0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0040ce40
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0040ce40
lea ecx, [esi + 0xc]
call fcn.0041d3c0
lea ecx, [esi + 0x10]
call fcn.0041d3c0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0040e3d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0040e3d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0040e3d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0041d435
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041d435
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422aa5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x422ad3
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x422af1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00422a0b
jmp 0x422af1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x422af1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00422a0b
test edi, edi
mov eax, edi
jne 0x422adb
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10006790
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100067e9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100067e9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100067da
cmp esi, edx
jae 0x100067e9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100067c8
cmp esi, edx
jae 0x100067e9
cmp word [esi], 0
je 0x100067e9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10006d50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10006d67
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [ebp + 0x14], 0
je 0x10006e50
push edi
push 0x1418
call fcn.10055e2d
mov edi, eax
add esp, 4
test edi, edi
je 0x10006de0
mov ecx, dword [ebp + 8]
push esi
push 0x1000
lea esi, [edi + 4]
mov dword [edi], ecx
push 0
push esi
mov dword [edi + 0x1414], 1
call fcn.100609f0
push 0x800
push ebx
push esi
call fcn.1006e8d3
push 0x410
lea esi, [edi + 0x1004]
push 0
push esi
call fcn.100609f0
mov eax, dword [ebp + 0x10]
add esp, 0x24
test eax, eax
je 0x10006ddd
push 0x208
push eax
push esi
call fcn.1006e8d3
add esp, 0xc
pop esi
jmp 0x10006de2
xor edi, edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], vtable.CSimpleThread.0
push eax
push 0
push edi
push 0x10006e70
push 0
push 0
mov dword [ebp - 8], 0x10006e70
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call fcn.1006ea6a
add esp, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], vtable.CSimpleThread.0
pop edi
test eax, eax
je 0x10006e44
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
call fcn.100070b0
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x10007070
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x10007095
test byte [ebp - 4], 7
je 0x10007095
mov eax, 1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x100070b0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100bb758]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10007162
cmp word [esi], 0
je 0x10007162
test eax, eax
je 0x1000710d
cmp word [eax], 0
je 0x1000710d
push 0
push 0
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x10007162
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100561dc
mov esp, ebp
pop ebp
ret 8
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100609f0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x10007162
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100561dc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.100561dc
mov esp, ebp
pop ebp
ret 8

Function at 0x100096b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100861db
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100bb758]
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 - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.100609f0
lea eax, [ebp - 0x21c]
push 1
push eax
call fcn.10050740
add esp, 0x14
push dword [eax]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x1008e5a8
push str.act_time
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000974a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10006430
mov ecx, eax
test ecx, ecx
je 0x100097ca
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x10009780
movzx eax, ax
mov ecx, esi
push eax
call fcn.10009df0
jmp 0x100097ae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009790
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10006650
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.100561dc
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100060c0
int3
Function at 0x100097e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.10056260
mov eax, dword [0x100bb758]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.100609f0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x100098d7
test edi, edi
je 0x100098d7
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x100098d7
cmp eax, 0x3fff
ja 0x100098d7
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100098d7
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x1008e8d8
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100098d7
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.100609f0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
push esi
lea eax, [esi - 1]
push eax
push edi
call fcn.1000c3d0
add esp, 0x2c
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100561dc
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100561dc
mov esp, ebp
pop ebp
ret
Function at 0x1000eb20
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086080
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100bb758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0xd0]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000eb66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x88]
call fcn.1003d220
lea eax, [esi + 0x70]
mov dword [esi + 0x6c], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea ecx, [esi + 0x64]
call fcn.10027d30
mov edx, dword [esi + 0x60]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1000eba2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x54]
call fcn.1000ea50
lea ecx, [esi + 0x48]
call fcn.1000ea50
lea ecx, [esi + 0x3c]
call fcn.1000ea50
lea ecx, [esi + 0x30]
call fcn.1000ea50
lea ecx, [esi + 0x24]
call fcn.1000ea50
lea ecx, [esi + 0x18]
call fcn.1000ea50
lea ecx, [esi + 0xc]
call fcn.1000ea50
mov ecx, esi
call fcn.1000ea50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000f590
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push str.__hwnd
push dword [ebp + 8]
call fcn.10060cb0
mov esi, eax
add esp, 8
test esi, esi
je 0x1000f609
push edi
push 0x10
add esi, 0xe
push 0
push esi
call fcn.10070707
add esp, 0xc
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000f608
push ebx
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
push 1
push 0x1008f6c4
push esi
push 0
call ebx
cmp eax, 1
jne 0x1000f607
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x1008f6c4
push esi
push 0
call ebx
cmp eax, 1
je 0x1000f5e0
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x10010060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
test eax, eax
je 0x1001009f
mov ebx, dword [ecx + edi*4]
test ebx, ebx
je 0x1001008f
mov ecx, ebx
call fcn.10021880
push 0x20
push ebx
call fcn.10055e5d
add esp, 8
mov eax, dword [esi + 8]
inc edi
mov ecx, dword [esi + 4]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x10010076
mov dword [esi + 8], ecx
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x2c], 0
call fcn.10010690
lea ecx, [esi + 0x10]
call fcn.10010690
lea ecx, [esi + 0x18]
call fcn.10010690
lea ecx, [esi + 0x1c]
call fcn.10010690
lea ecx, [esi + 0x40]
call fcn.10010690
lea ecx, [esi + 0x4c]
mov dword [esi + 0x44], 1
mov dword [esi + 0x48], 0
mov dword [esi + 0x74], 0x65
mov dword [esi + 0x78], 0x65
call fcn.10010690
lea ecx, [esi + 0x3c]
call fcn.10010690
lea ecx, [esi + 0x38]
call fcn.10010690
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov ebx, dword [esi + 0x80]
mov edi, dword [esi + 0x7c]
cmp edi, ebx
je 0x10010159
mov eax, dword [edi]
or ecx, 0xffffffff
sub eax, 0x10
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001014f
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
add edi, 4
cmp edi, ebx
jne 0x10010135
mov edi, dword [esi + 0x7c]
lea ecx, [esi + 0x50]
mov dword [esi + 0x80], edi
call fcn.10010690
lea ecx, [esi + 0x54]
call fcn.10010690
push 0
push 0x1008e754
lea ecx, [esi + 0x58]
call fcn.1000afb0
pop edi
lea ecx, [esi + 0x70]
pop esi
pop ebx
jmp fcn.10010690