joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f993
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f9d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f9d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f9d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f9d2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f9d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7cce5aba
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x13502d4c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001a30
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 0x10001a49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10001a5d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001a7e
cmp esi, eax
jae 0x10001a57
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001a70
cmp esi, eax
jae 0x10001a57
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10002e90
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f5fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
push str.CBaidu::ExtraBaiduba
push 0x10052b3c
push 1
mov dword [esp + 0x130], eax
call fcn.1000c170
xor eax, eax
mov byte [esp + 0x24], 0
mov ecx, 0x40
lea edi, [esp + 0x25]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push str._siebarLite.exe
push ecx
mov dword [esp + 0x140], 0
call fcn.10001660
mov edi, dword [esp + 0x1c]
add esp, 8
lea esi, [edi - 0x10]
mov dword [esp + 0x18], esp
mov ebx, esp
push esi
call fcn.10001090
add esp, 4
add eax, 0x10
push 0x2eef
mov dword [ebx], eax
call fcn.10008720
add esp, 8
test eax, eax
push edi
jne 0x10002f84
push str.Failed_Extra__s
push 4
call fcn.1000c170
add esp, 0xc
mov dword [esp + 0x134], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x10002fea
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10002fa0
push 0x151
push str.CBaidu::ExtraBaiduba
push edi
push str._s_is_not_exist___s____d_
jmp 0x10002fc8
push 6
push 0
push 0
push edi
push 0x10052b6c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test eax, eax
jne 0x10002ff8
push 0x159
push str.CBaidu::ExtraBaiduba
push edi
push str.Shell_Execute__s_Failed___s____d_
push 4
call fcn.1000c170
add esp, 0x14
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002ff4
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
xor eax, eax
jmp 0x1000301f
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000301a
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003040
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004f61b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
push str.CBaidu::RunBaiduba
push 0x10052b3c
push 1
mov dword [esp + 0x128], eax
mov ebx, ecx
call fcn.1000c170
xor eax, eax
mov byte [esp + 0x1c], 0
mov ecx, 0x40
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
push 0x26
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push str._sBaiduAddressBarAddressBar.dll
push ecx
mov dword [esp + 0x138], 0
call fcn.10001660
mov esi, dword [esp + 0x18]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10003107
mov ecx, ebx
call fcn.10002e90
push str.CBaidu::RunBaiduba
push str.________s
push 1
call fcn.1000c170
lea eax, [esi - 0x10]
add esp, 0xc
mov dword [esp + 0x12c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003140
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003230
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x10003382
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10003382
mov al, byte [esi]
test al, al
je 0x10003375
push ebx
cmp al, 0xa
jne 0x1000325c
inc esi
mov al, byte [esi + 2]
mov cl, byte [esi]
mov bl, byte [esi + 1]
mov byte [esp + 0xe], al
mov al, byte [esi + 3]
mov byte [esp + 0xf], al
cmp byte [esp + 0xe], 0x3d
mov al, byte [esp + 0xf]
je 0x100032fe
cmp al, 0x3d
je 0x10003323
call fcn.100031f0
mov cl, bl
mov byte [esp + 0xc], al
call fcn.100031f0
mov cl, byte [esi + 2]
mov bl, al
call fcn.100031f0
mov cl, byte [esi + 3]
mov byte [esp + 0xe], al
call fcn.100031f0
mov byte [esp + 0xf], al
mov al, byte [esp + 0xc]
shl al, 2
mov cl, bl
shr cl, 4
and cl, 3
or cl, al
mov al, byte [esp + 0xe]
shr al, 2
and al, 0xf
shl bl, 4
or al, bl
mov byte [esp + 9], al
mov al, byte [esp + 0xf]
mov byte [esp + 0x14], bl
mov bl, byte [esp + 0xe]
shl bl, 6
and al, 0x3f
mov byte [edx], cl
mov cl, byte [esp + 9]
or al, bl
mov byte [edx + 1], cl
mov byte [edx + 2], al
add esi, 4
mov byte [esp + 0x14], bl
add edx, 3
jmp 0x1000336a
cmp al, 0x3d
jne 0x1000336a
call fcn.100031f0
mov cl, byte [esi + 1]
mov bl, al
call fcn.100031f0
shr al, 4
and al, 3
shl bl, 2
or al, bl
mov byte [edx], al
add esi, 4
inc edx
jmp 0x1000336a
call fcn.100031f0
mov cl, byte [esi + 1]
mov bl, al
call fcn.100031f0
mov cl, byte [esi + 2]
mov byte [esp + 0xd], al
call fcn.100031f0
mov cl, byte [esp + 0xd]
shr cl, 4
shl bl, 2
and cl, 3
or cl, bl
mov byte [esp + 0x14], bl
mov bl, byte [esp + 0xd]
shr al, 2
and al, 0xf
shl bl, 4
or al, bl
mov byte [edx], cl
mov byte [edx + 1], al
add esi, 4
add edx, 2
mov al, byte [esi]
test al, al
jne 0x10003257
pop ebx
mov byte [edx], 0
mov eax, 1
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret
Function at 0x10003ec0
Capabilities:
Create thread

Disassembly:
sub esp, 0x1c
xor eax, eax
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esi + 0x2838]
lea ecx, [esi + 0x2830]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 4]
push 0
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push ecx
push 0x10003b60
lea edx, [esi + 0x2834]
mov dword [esp + 0x24], edx
push 0
lea edx, [esi + 0x829]
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x38], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x2ee0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x10003f58
lea edx, [esp + 8]
push edx
push edi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x10003f6a
mov ecx, esi
call fcn.100033c0
pop edi
mov eax, 0x9c43
pop esi
add esp, 0x1c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 8]
cmp eax, 0x9c40
jne 0x10003f8e
mov ecx, esi
call fcn.100038e0
mov ecx, esi
mov edi, eax
call fcn.100033c0
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret
Function at 0x10005170
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20
mov eax, dword [0x10084ca0]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
mov esi, dword [ebp + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push 0xf003f
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x10005295
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 6
push ebx
push str.SoftwareMicrosoftInternet_Explorer
push edx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000528a
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.UserTypedURLs
push edx
mov dword [esp + 0x54], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000527f
mov byte [esp + 0x18], al
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov word [esp + 0x25], ax
mov byte [esp + 0x27], al
cmp esi, dword [ebp + 8]
push edi
mov edi, 1
je 0x10005273
nop
push edi
push str.url_d
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.10005070
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
add esp, 0x10
inc edi
cmp eax, 0x10
jb 0x10005246
mov eax, dword [esi + 4]
jmp 0x10005249
lea eax, [esi + 4]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x20]
push 1
push 0
lea edx, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x10005273
mov eax, dword [ebp + 8]
add esi, 0x1c
cmp esi, eax
mov ebx, 1
jne 0x10005220
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
mov eax, ebx
pop ebx
call fcn.10027973
add esp, 0x20
ret

Function at 0x10006240
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 8]
push ecx
push 0x10062af0
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
push 0
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x14
ret
Function at 0x10006fa0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x1004f93b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x10084ca0]
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xa8]
test eax, eax
jne 0x10007113
push esi
call fcn.1004aad5
mov esi, dword [eax + 4]
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x10006ff6
lea ecx, [esi + 0xa0]
call fcn.1000a390
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xc8]
test eax, eax
push ebx
je 0x1000705f
push ebp
push 0x18
call fcn.1003abdf
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
mov dword [esp + 0x30], 0
je 0x1000704d
mov eax, dword [edi + 0x1c]
mov ebx, dword [esi + 0xac]
mov esi, dword [esi + 0xb4]
push eax
call fcn.1000c090
push eax
push ebx
push esi
mov ecx, ebp
call fcn.10009a60
or esi, 0xffffffff
mov dword [esp + 0x30], esi
mov dword [edi + 0xa8], eax
pop ebp
jmp 0x10007062
xor eax, eax
or esi, 0xffffffff
mov dword [esp + 0x30], esi
mov dword [edi + 0xa8], eax
pop ebp
jmp 0x10007062
or esi, 0xffffffff
mov eax, dword [edi + 0xa8]
test eax, eax
je 0x10007111
lea ecx, [esp + 0x14]
call fcn.1001acb0
lea eax, [esp + 0x14]
push eax
mov ebx, 1
push 8
mov dword [esp + 0x34], ebx
call fcn.100167c0
mov ecx, eax
call fcn.10016750
test eax, eax
jne 0x100070a6
push str.yang__HintEnv_Url_Times_error__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10007104
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.100015b0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov ecx, dword [edi + 0xa8]
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push eax
call dword [edx]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x2c], bl
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
call fcn.10006850
pop ebx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
pop edi
call fcn.10027973
add esp, 0x24
ret
Function at 0x10008720
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1004fa93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x10084ca0]
push esi
mov dword [esp + 0x118], eax
push edi
push 0
push 0x15
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x138], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
call fcn.1004aad5
movzx ecx, word [esp + 0x130]
mov esi, dword [eax + 8]
push 0x100645ac
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x100087bb
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
mov dword [esp + 0x128], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100087b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x100088b4
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x100087ec
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x100087ec
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x10008821
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x138]
add eax, 0xfffffff0
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100088b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x100088b1
lea ecx, [esp + 0xc]
call fcn.1003af06
mov eax, dword [esp + 0x138]
push 0
push 0x1001
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x138], 1
call fcn.1003b19e
test eax, eax
je 0x1000888d
push ebp
push edi
lea ecx, [esp + 0x14]
call fcn.1003ac59
lea ecx, [esp + 0xc]
call fcn.1003aea4
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 0
call fcn.1003af45
lea ecx, [esp + 0x138]
call fcn.10001320
mov eax, 1
jmp 0x100088b3
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 0
call fcn.1003af45
lea ecx, [esp + 0x138]
call fcn.10001320
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x120]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x118]
pop esi
call fcn.10027973
add esp, 0x124
ret
Function at 0x100088e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004faab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x10084ca0]
push esi
push edi
push str.CHintUtil::ExtraZipDll
push 0x10052b3c
push 1
mov dword [esp + 0x128], eax
call fcn.1000c170
xor eax, eax
mov byte [esp + 0x1c], 0
mov ecx, 0x40
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 0xc
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xc]
push str._sunz32dll.dll
push ecx
mov dword [esp + 0x138], 0
call fcn.10001660
mov esi, dword [esp + 0x14]
add esp, 8
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push esi
call fcn.10001090
add esp, 4
add eax, 0x10
push 0x2ee2
mov dword [edi], eax
call fcn.10008720
mov edi, eax
add esp, 8
mov dword [esp + 0x12c], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x100089c9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x11c]
mov eax, edi
call fcn.10027973
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100089f0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x1004facb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x10084ca0]
push esi
mov dword [esp + 0x218], eax
push edi
lea eax, [esp + 0x8c]
push eax
push 0x202
mov dword [esp + 0x10], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push 0x80
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x230], 0
call dword [sym.imp.WS2_32.dll_gethostname]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10008aa4
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x10008aa4
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
test eax, eax
jne 0x10008a8b
xor ecx, ecx
jmp 0x10008a99
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10008a90
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.10001470
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.10001090
mov edi, dword [esp + 0x234]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x228], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10008ae8
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop esi
call fcn.10027973
add esp, 0x224
ret
Function at 0x10009490
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fb6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
mov dword [esp + 0x124], eax
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x40
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push str._sieplugin.dll
xor esi, esi
push ecx
mov dword [esp + 0x140], esi
call fcn.10001660
add esp, 0xc
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [esp + 0x10]
push ecx
mov dword [esp + 0x138], esi
lea esi, [edi - 0x10]
mov dword [esp + 0x18], esp
mov ebx, esp
push esi
call fcn.10001090
add esp, 4
add eax, 0x10
push 0x2f01
mov dword [ebx], eax
call fcn.10008720
add esp, 8
mov ebx, eax
test ebx, ebx
push edi
jne 0x1000956b
push str.Failed_Extra__s
push 4
call fcn.1000c170
add esp, 0xc
jmp 0x1000958c
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100095b2
push 0x2c
push str.CInstallAddressbar::Install
push edi
push str._s_is_not_exist___s____d_
push 4
call fcn.1000c170
add esp, 0x14
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100095ae
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
xor eax, eax
jmp 0x10009601
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100095dd
push 0x100645b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100095d1
call eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, 1
mov dword [esp + 0x134], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100095ff
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x124]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4