joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001db0
Capabilities:
Check os version

Disassembly:
sub esp, 0xb8
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0xb4], eax
push 0x98
lea eax, [esp + 0xc]
push 0
push eax
call fcn.10010490
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
push str.IsWow64Process
push str.kernel32
mov dword [esp + 8], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100294e4], eax
test eax, eax
je 0x10001e24
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [0x100294e4]
xor eax, eax
mov word [esp + 0xa0], ax
mov dword [esp + 0xa2], eax
mov dword [esp + 0xa6], eax
mov dword [esp + 0xaa], eax
mov dword [esp + 0xae], eax
mov word [esp + 0xb2], ax
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x10001e73
cmp dword [esp + 0xc], 1
jne 0x10001ead
push 0x10024754
push 0xa
lea ecx, [esp + 0xa8]
push ecx
jmp 0x10001ea5
cmp eax, 6
jne 0x10001ead
cmp dword [esp + 0xc], 1
jne 0x10001ead
cmp dword [esp], 0
jne 0x10001e96
push 0x1002475c
push 0xa
lea edx, [esp + 0xa8]
push edx
jmp 0x10001ea5
push 0x10024764
push 0xa
lea eax, [esp + 0xa8]
push eax
call fcn.10009610
add esp, 0xc
lea ecx, [esp + 0xa0]
push ecx
push str.http:__hao.rising.cn__b71c1_ss0000
push 0x104
push esi
call fcn.1000950f
mov ecx, dword [esp + 0xc4]
add esp, 0x10
xor ecx, esp
mov eax, 1
call fcn.100090c2
add esp, 0xb8
ret

Function at 0x10001ef0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.softwaremicrosoftinternet_explorer
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001ffa
push edi
push 0x206
lea edx, [esp + 0x2a]
xor ecx, ecx
push esi
mov edi, 1
push edx
mov dword [esp + 0x2c], edi
mov word [esp + 0x30], cx
call fcn.10010490
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push str.Version
push eax
mov dword [esp + 0x34], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001fee
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push str._d._d._d._d
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
call fcn.1000959d
mov eax, dword [esp + 0x2c]
lea ecx, [eax - 8]
add esp, 0x18
cmp ecx, 2
ja 0x10001fee
cmp eax, 8
jne 0x10001fec
mov eax, dword [esp + 0x18]
cmp eax, esi
ja 0x10001fe6
jne 0x10001fec
mov eax, dword [esp + 0xc]
cmp eax, 0x1771
ja 0x10001fe6
jne 0x10001fec
cmp dword [esp + 0x10], 0x49f0
jb 0x10001fec
mov dword [0x100294f4], edi
mov esi, edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [esp + 0x228]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100090c2
add esp, 0x228
ret
Function at 0x10002800
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSIDCAA2D3B2_4BB5_4a45_A17A_122773379D99
push SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10002869
mov edx, dword [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
push ecx
push eax
push eax
push eax
push eax
push edx
mov dword [esp + 0x24], esi
call edi
test eax, eax
jne 0x10002868
mov esi, dword [esp + 0xc]
cmp esi, 0x104
ja 0x10002868
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push ecx
push 0
push 0
push 0
push edx
call edi
pop edi
mov eax, dword [esp + 4]
test eax, eax
je 0x10002878
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 8
ret 4

Function at 0x10002db0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [0x1002132c]
push esi
push edi
mov esi, edx
mov dword [esi], eax
mov edi, ecx
mov ecx, dword [0x10021330]
mov dword [esi + 4], ecx
mov edx, dword [0x10021334]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
mov dword [esi + 8], edx
mov eax, dword [0x10021338]
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocString
mov dword [esi + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002e7d
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x22]
push eax
mov word [esp + 0x24], dx
call fcn.10010490
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x10]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10002e72
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, 0x26
jne 0x10002e72
lea edi, [esp + 0x18]
call fcn.10002c70
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.100090c2
add esp, 0x224
ret
Function at 0x10002ea0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x234]
push ebx
mov ebx, dword [esp + 0x234]
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov esi, dword [esp + 0x238]
push edi
mov edi, dword [esp + 0x238]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov dword [esp + 0x2c], eax
mov word [esp + 0x30], cx
call fcn.10010490
mov eax, dword [esp + 0x2c]
mov ecx, eax
mov edx, eax
shr ecx, 0x18
push ecx
shr edx, 0x10
movzx ecx, dl
push ecx
mov edx, eax
shr edx, 8
movzx ecx, dl
push ecx
movzx edx, al
push edx
mov eax, ebx
shr eax, 0x18
push eax
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
push edx
mov eax, ebx
shr eax, 8
movzx ecx, al
push ecx
movzx edx, bl
push edx
mov eax, esi
shr eax, 0x10
push eax
movzx ecx, si
push ecx
push edi
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x60]
push 0x104
push edx
call fcn.10009958
add esp, 0x44
lea eax, [esp + 0x10]
push eax
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10002f8a
lea ecx, [esp + 0x10]
push ecx
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x10002f8a
xor eax, eax
jmp 0x10002fd5
lea eax, [esp + 0x24]
mov esi, 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10002f96
mov ecx, dword [ebp + 0x10]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10002fc8
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100090c2
add esp, 0x220
ret 0x14
Function at 0x100042a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
mov ebp, dword [esp + 0x228]
push esi
push edi
xor ecx, ecx
mov word [ebx], cx
mov ecx, 8
mov esi, str.SOFTWARERising_
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x1e8
push eax
lea edx, [esp + 0x46]
push edx
mov dword [esp + 0x20], 0x104
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
movsw word es:[edi], word [esi]
call fcn.10010490
lea eax, [esp + 0x28]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004301
sub eax, edx
sar eax, 1
mov edx, eax
lea eax, [esp + 0x1c]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004320
mov ecx, 0x20a
sub ecx, edx
sub eax, esi
push ecx
sar eax, 1
push ebp
lea edx, [esp + eax*2 + 0x24]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpynW]
lea eax, [esp + 0xc]
push eax
mov esi, 1
push esi
push 0
lea ecx, [esp + 0x28]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100043f6
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
lea eax, [esp + 0x20]
push eax
push 0
push str.installpath
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100043cd
push 0x5c
push ebx
call fcn.10009ab9
add esp, 8
test eax, eax
je 0x100043d1
cmp word [eax + 2], 0
jne 0x100043d1
xor edx, edx
mov word [eax], dx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.100090c2
add esp, 0x220
ret
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.100090c2
add esp, 0x220
ret
mov ecx, dword [esp + 0x228]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.100090c2
add esp, 0x220
ret
Function at 0x10004420
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.10010490
add esp, 0xc
push 0x208
lea edx, [esp + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jbe 0x1000447b
lea eax, [esp]
push 0x5c
push eax
call fcn.10009ab9
add esp, 8
test eax, eax
je 0x1000447b
xor ecx, ecx
mov word [eax], cx
push edi
push str.NetConfig.ini
mov edx, 0x104
lea edi, [esp + 8]
call fcn.10001050
mov edx, edi
push edx
push 0x104
push esi
push 0x10024c0c
push 0x10024c6c
push str.SETTING
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
mov edi, eax
test edi, edi
jne 0x100044c9
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.100090c2
add esp, 0x20c
ret
push 0x2e
push esi
call fcn.10009cab
add esp, 8
test eax, eax
je 0x100044dd
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [esp + 0x20c]
mov eax, edi
pop edi
xor ecx, esp
call fcn.100090c2
add esp, 0x20c
ret
Function at 0x10006b60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x20
lea ecx, [esp]
xor eax, eax
push ecx
push str.SOFTWARERISINGlockie
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10006c65
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.always
push ecx
call esi
test eax, eax
jne 0x10006be2
cmp dword [esp + 8], 1
je 0x10006c39
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx ecx, word [esp + 0x1a]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x14]
push str.lasttime
push ecx
call esi
test eax, eax
jne 0x10006c4e
mov edx, dword [esp + 8]
cmp edx, dword [esp + 0xc]
je 0x10006c53
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.lasttime
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 0x20
ret
cmp eax, 2
je 0x10006c1e
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 0x20
ret
xor eax, eax
add esp, 0x20
ret

Function at 0x10006c70
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push edi
lea eax, [esp + 4]
push eax
push ebx
mov dword [esp + 0xc], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
ja 0x10006c94
xor eax, eax
pop edi
add esp, 0xc
ret
push esi
push edi
call fcn.100093d9
mov esi, eax
add esp, 4
test esi, esi
je 0x10006cf3
push edi
push 0
push esi
call fcn.10010490
mov ecx, dword [esp + 0x14]
add esp, 0xc
push esi
push edi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10006cea
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x10024f14
push esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10006cfb
push esi
call fcn.100092fc
add esp, 4
pop esi
xor eax, eax
pop edi
add esp, 0xc
ret
mov eax, dword [esp + 0xc]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
mov edi, dword [esp + 0x18]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._u._u._u._u
mov eax, 0x104
call fcn.10007020
push esi
call fcn.100092fc
add esp, 0x18
pop esi
mov eax, 1
pop edi
add esp, 0xc
ret
Function at 0x10006d40
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x24], eax
xor eax, eax
push esi
push str.GetNativeSystemInfo
push str.kernel32.dll
xor esi, esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10006d9b
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x10006da6
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 4]
cmp ax, 9
je 0x10006db6
cmp ax, 6
jne 0x10006dcb
mov eax, 1
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100090c2
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
xor ecx, esp
call fcn.100090c2
add esp, 0x28
ret

Function at 0x10006de0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10027070]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.10010490
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
jne 0x10006e33
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100090c2
add esp, 0x118
ret
mov eax, dword [esp + 4]
mov dword [0x10028614], 0x63
cmp eax, 5
jne 0x10006e5d
cmp dword [esp + 8], 1
jne 0x10006eb2
call fcn.10006d40
test eax, eax
jne 0x10006eb2
mov dword [0x10028614], eax
jmp 0x10006eb2
cmp eax, 6
jne 0x10006e93
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x10006e79
call fcn.10006d40
neg eax
sbb eax, eax
neg eax
inc eax
jmp 0x10006ead
cmp eax, 2
je 0x10006e83
cmp eax, 3
jne 0x10006eb2
call fcn.10006d40
neg eax
sbb eax, eax
neg eax
add eax, 3
jmp 0x10006ead
cmp eax, 0xa
jne 0x10006eb2
cmp dword [esp + 8], 0
jne 0x10006eb2
call fcn.10006d40
neg eax
sbb eax, eax
neg eax
add eax, 5
mov dword [0x10028614], eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
mov eax, 1
call fcn.100090c2
add esp, 0x118
ret
Function at 0x100090c2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10027070]
jne 0x100090cc
repz ret
jmp fcn.1000a9e2

Function at 0x10014703
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.1000b624
and dword [ebp - 4], 0
cmp dword [0x1002911c], 0
mov ebx, eax
jne 0x100147b4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10014865
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10014865
push eax
call fcn.1000b5b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002911c], eax
call esi
push eax
call fcn.1000b5b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10029120], eax
call esi
push eax
call fcn.1000b5b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10029124], eax
call esi
push eax
call fcn.1000b5b2
pop ecx
mov dword [0x1002912c], eax
test eax, eax
je 0x100147b4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000b5b2
pop ecx
mov dword [0x10029128], eax
mov eax, dword [0x10029128]
cmp eax, ebx
je 0x1001480c
cmp dword [0x1002912c], ebx
je 0x1001480c
push eax
call fcn.1000b62d
push dword [0x1002912c]
mov esi, eax
call fcn.1000b62d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001480c
test edi, edi
je 0x1001480c
call esi
test eax, eax
je 0x10014803
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10014803
test byte [ebp - 0xc], 1
jne 0x1001480c
or dword [ebp + 0x10], 0x200000
jmp 0x10014845
mov eax, dword [0x10029120]
cmp eax, ebx
je 0x10014845
push eax
call fcn.1000b62d
pop ecx
test eax, eax
je 0x10014845
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10014845
mov eax, dword [0x10029124]
cmp eax, ebx
je 0x10014845
push eax
call fcn.1000b62d
pop ecx
test eax, eax
je 0x10014845
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002911c]
call fcn.1000b62d
pop ecx
test eax, eax
je 0x10014865
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10014867
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10018640
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10029238]
mov dword [ebp - 4], eax
jmp 0x10018659
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10018676
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
jmp 0x10018650
mov esp, ebp
pop ebp
ret
Function at 0x10018680
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x10029248], eax
je 0x1001869e
mov eax, 0x10dd
jmp 0x1001877f
mov eax, dword [0x10029258]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1001871c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100186fa
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100186fa
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.100187f0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.10009504
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x100186a6
mov dword [0x10029258], 0
call fcn.10018790
mov ecx, dword [0x10029254]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x10018769
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10009504
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x10018734
mov dword [0x10029254], 0
mov dword [0x10029248], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10018cf0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x10018d05
xor eax, eax
jmp 0x10018d7a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x10018d32
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x10018d75
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x10018d73
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x10018d6f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x10018d73
xor eax, eax
jmp 0x10018d7a
jmp 0x10018d29
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10018e20
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1002924c], 0
je 0x10018e39
mov eax, dword [0x1002924c]
jmp 0x10018ed9
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x10018e4b
xor eax, eax
jmp 0x10018ed9
push 8
call fcn.10009839
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10018ea1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x10018e8a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.10009504
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x1002924c], eax
mov dword [0x10029250], 0
mov eax, dword [ebp - 4]
jmp 0x10018ed9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x10018ebb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
jmp 0x10018e6b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x10029254]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x10029254], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4