joyce8/EMBER2024-capa huggingface dataset:
Function at 0x491d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5804b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x5fcb00
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
call edx
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x491eba
lea ecx, [ebp - 0x10]
push ecx
push edi
lea edx, [ebp - 0x18]
push edx
push edi
mov edi, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 7
jne 0x491eba
mov edx, dword [ebp - 0x10]
shr edx, 1
inc edx
jns 0x491de5
push 0x80070057
call fcn.00421960
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, edx
or eax, ecx
jge 0x491e02
push edx
lea ecx, [ebp - 0x14]
call fcn.00421da0
mov ebx, dword [ebp - 0x14]
mov edx, dword [esi]
lea eax, [ebp - 0x10]
push eax
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x491eba
mov eax, dword [ebp - 0x10]
shr eax, 1
xor ecx, ecx
mov word [ebx + eax*2], cx
mov esi, ebx
cmp word [ebx], cx
je 0x491e8c
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x491e36
sub eax, edx
sar eax, 1
push esi
lea ecx, [ebp + 8]
mov edi, eax
call fcn.00422540
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 1
call fcn.00444060
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x491e80
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esi + edi*2 + 2], 0
lea esi, [esi + edi*2 + 2]
jne 0x491e31
mov eax, dword [ebx - 8]
push eax
push ebx
call fcn.00534a48
add esp, 8
test eax, eax
js 0x491ddb
cmp eax, dword [ebx - 8]
jg 0x491ddb
xor ecx, ecx
mov dword [ebx - 0xc], eax
mov word [ebx + eax*2], cx
mov dword [ebp - 0x1c], 1
add ebx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x491edd
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x494b90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5808e6
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push str.office6
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004221d0
add esp, 0xc
mov edx, dword [eax]
xor edi, edi
mov ebx, 7
xor ecx, ecx
mov eax, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x494bf3
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x48]
call fcn.00437a20
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 1
call fcn.004616d0
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x494c35
mov eax, dword [ebp - 0x48]
push eax
call int.0042bfd0
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], cx
mov eax, dword [ebp - 0xb4]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x494c67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 0x16
mov word [ebp - 0x2c], cx
push str.Server_ReinstallServer
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call fcn.00437a20
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.00441910
cmp dword [eax + 0x14], esi
jb 0x494ca0
mov eax, dword [eax]
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp - 0x50], esi
jb 0x494cc2
mov ecx, dword [ebp - 0x64]
push ecx
call int.0042bfd0
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], dx
cmp dword [ebp - 0x18], esi
jb 0x494cdf
mov eax, dword [ebp - 0x2c]
push eax
call int.0042bfd0
add esp, 4
xor ecx, ecx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], 0xffffffff
call fcn.004421b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x495480
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58095b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
xor ebx, ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov byte [eax + 0x1c], bl
mov dword [eax + 0x20], ebx
mov dword [eax + 0x24], ebx
mov byte [eax + 0x28], bl
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov byte [eax + 0x34], bl
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push ecx
push eax
mov eax, dword [esi]
push edx
push eax
mov dword [ebp - 4], ebx
call fcn.00494f20
add esp, 0x18
test al, al
mov eax, esi
jne 0x495513
mov dword [esi + 8], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x496680
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580c06
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 4], 0
call fcn.0046f750
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x424]
js 0x49689e
test eax, eax
je 0x4968ae
cmp eax, 0xffffffff
je 0x49689e
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x428]
push ecx
push 0x20008
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
mov eax, dword [ebp - 0x428]
je 0x49687e
test eax, eax
je 0x49688a
cmp eax, 0xffffffff
je 0x49687e
mov edx, dword [ebp - 0x424]
push eax
push edx
call fcn.0046b2f0
add esp, 8
test eax, eax
je 0x4967d3
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00422390
add esi, 4
push esi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
mov eax, dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4967ba
cmp eax, 0xffffffff
je 0x4967ba
push eax
call esi
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4967cc
cmp eax, 0xffffffff
je 0x4967cc
push eax
call esi
xor eax, eax
jmp 0x4968b3
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x49681b
mov eax, dword [ebp - 0x428]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4967fc
cmp eax, 0xffffffff
je 0x4967fc
push eax
call esi
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4968ae
cmp eax, 0xffffffff
je 0x4968ae
push eax
call esi
jmp 0x4968ae
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.005336c0
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea edx, [ebp - 0x420]
push edx
mov ecx, esi
call fcn.00422390
add esi, 4
push esi
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
jne 0x4967e4
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
jmp 0x4967a2
test eax, eax
je 0x49688a
cmp eax, 0xffffffff
je 0x49688a
push eax
call edi
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x4968ae
cmp eax, 0xffffffff
je 0x4968ae
push eax
call edi
jmp 0x4968ae
test eax, eax
je 0x4968ae
cmp eax, 0xffffffff
je 0x4968ae
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x496940
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4969c5
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x68]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x49698b
push 0x1f4
push eax
call edi
test eax, eax
je 0x49697a
mov eax, dword [esi + 0x68]
push 0
push eax
call ebx
mov ecx, dword [esi + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x68], 0
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4969c3
push 0x1f4
push eax
call edi
test eax, eax
je 0x4969ac
mov edx, dword [esi + 0xa0]
push 0
push edx
call ebx
mov eax, dword [esi + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa0], 0
pop edi
pop ebx
pop esi
ret

Function at 0x497b70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x497ba0
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x497940
push 0
push 0
mov dword [ebp - 4], 0
call edi
mov dword [esi + 0x68], eax
cmp dword [esi + 0xa0], 0
jne 0x497bce
cmp dword [esi + 0xa4], 0
je 0x497bce
lea ecx, [ebp - 4]
push ecx
push 0
push esi
push 0x4977d0
push 0
push 0
mov dword [ebp - 4], 0
call edi
mov dword [esi + 0x68], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x498040
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
push edi
mov dword [ebp - 4], 0
neg ecx
or ecx, eax
push ecx
call fcn.00534575
mov edi, eax
mov eax, dword [esi + 4]
add esp, 4
test eax, eax
je 0x498084
mov ecx, dword [esi + 8]
inc ecx
push ecx
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00422540
push edi
call fcn.00534304
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x498fd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580d51
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x274], ebx
cmp dword [edi + 0x80], ebx
jne 0x49917d
push 0x20
xor eax, eax
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], ax
call fcn.00437a20
lea ecx, [ebp - 0x270]
push ecx
push 0x20019
push ebx
push str.SOFTWAREKingsoftOffice6.0Common
push 0x80000001
mov dword [ebp - 4], ebx
mov dword [ebp - 0x270], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x49914c
cmp dword [ebp - 0x270], ebx
je 0x49914c
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push ebx
push eax
mov dword [ebp - 0x274], ebx
mov word [ebp - 0x218], dx
call fcn.005336c0
add esp, 0xc
lea ecx, [ebp - 0x278]
push ecx
mov ecx, dword [ebp - 0x270]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x274]
push eax
push ebx
push str.infoGUID
push ecx
mov dword [ebp - 0x278], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x4990ea
push 0x20
push str.BEE0D90A11F14E609C6B8FFD17FE3F24
lea ecx, [ebp - 0x234]
call fcn.00437a20
jmp 0x49913f
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00437b10
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov byte [ebp - 4], 1
call fcn.00498540
add esp, 8
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call fcn.0042eb10
lea ecx, [ebp - 0x26c]
call fcn.004b2d30
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], bl
call fcn.004b2d30
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x234]
push eax
lea ecx, [edi + 0x70]
call fcn.0042e5c0
cmp dword [ebp - 0x220], 8
mov dword [ebp - 4], 0xffffffff
jb 0x49917d
mov ecx, dword [ebp - 0x234]
push ecx
call int.0042bfd0
add esp, 4
push 0xffffffffffffffff
push ebx
add edi, 0x70
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
push edi
mov ecx, esi
mov word [esi], dx
call fcn.0042e5c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x49b080
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xb4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
xor eax, eax
push 0xa8
push eax
lea ecx, [ebp - 0xae]
push ecx
mov word [ebp - 0xb0], ax
call fcn.005336c0
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add esp, 0xc
push 0x55
lea edx, [ebp - 0xb0]
push edx
push 0x59
push esi
call edi
test eax, eax
je 0x49b133
push 0x5a6aec
lea eax, [ebp - 0xb0]
push 0xffffffffffffffff
push eax
call fcn.00534500
lea eax, [ebp - 0xb0]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49b101
sub eax, edx
sar eax, 1
push 0x55
lea ecx, [ebp + eax*2 - 0xb0]
push ecx
push 0x5a
push esi
call edi
test eax, eax
je 0x49b133
lea edx, [ebp - 0xb0]
push edx
mov ecx, ebx
call fcn.00422540
jmp 0x49b147
mov eax, dword [0x5fcb00]
mov edx, dword [eax + 0xc]
mov ecx, 0x5fcb00
call edx
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005332ca
mov esp, ebp
pop ebp
ret 4
Function at 0x49f7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581450
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5fb61c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx eax, word [ebp + 8]
push 0x5a6b78
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x49f983
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x49f983
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x49f983
push eax
mov ecx, esi
call fcn.0049ecb0
test eax, eax
je 0x49f983
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0049a110
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
mov eax, dword [ebp - 0x10]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49f885
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x49f96a
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0049b080
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0049c010
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00478740
lea edx, [ebp - 0x10]
push edx
mov ecx, esi
call fcn.0049a110
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
lea ecx, [ebp - 0x10]
setne bl
call fcn.00478740
test bl, bl
jne 0x49f96a
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.0049a110
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
lea ecx, [ebp - 0x10]
sete bl
call fcn.00478740
test bl, bl
je 0x49f983
mov edi, dword [esi + 0x2c]
mov eax, dword [edi]
push str.en_US
push edi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0049a0e0
add esp, 0x10
cmp dword [eax], edi
je 0x49f95a
push str.en_US
lea ecx, [ebp + 8]
call fcn.00422540
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0049c010
lea ecx, [ebp + 8]
call fcn.00478740
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 0x2c]
mov eax, dword [edx]
add eax, 8
push eax
mov ecx, esi
call fcn.0049c010
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a09c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581656
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
lea edx, [ebp - 0x224]
push edx
call fcn.004a0900
push str.wpsminisite.ini
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0
call fcn.004221d0
mov eax, dword [eax]
add esp, 0x1c
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.delayshow
push str.minisite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a0a78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0a9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00422540
mov edx, dword [ebp - 0x21c]
push str.never
push edx
call fcn.005347c1
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x21c]
sete cl
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
mov esi, ecx
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4a0aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret
Function at 0x4a0b10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581656
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.005336c0
lea edx, [ebp - 0x224]
push edx
call fcn.004a0900
push str.kbubble_enc.ini
push eax
lea eax, [ebp - 0x220]
push eax
mov dword [ebp - 4], 0
call fcn.004221d0
mov eax, dword [eax]
add esp, 0x1c
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x592368
push str.bEnable
push str.bubble
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a0bc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0bec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.00422540
mov edx, dword [ebp - 0x21c]
push str.false
push edx
call fcn.005347c1
xor ecx, ecx
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x21c]
sete cl
add eax, 0xfffffff0
mov dword [ebp - 4], edi
lea edx, [eax + 0xc]
mov esi, ecx
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4a0c3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret