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

Disassembly:
push 0xffffffffffffffff
push 0x46e24f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x47f380]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov edi, dword [ecx]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 1
test ecx, ecx
mov dword [esp + 0x14], edi
je 0x44c1bb
lea edx, [esp + 0x18]
or eax, 0x20019
push edx
push eax
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44c1bd
mov esi, edi
test esi, esi
je 0x44c287
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
push 0
push ecx
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c27c
mov eax, dword [esp + 0x38]
cmp eax, 1
je 0x44c1ff
cmp eax, 2
je 0x44c1ff
cmp eax, 6
je 0x44c1ff
cmp eax, 7
jne 0x44c27c
mov edx, dword [esp + 0x34]
add edx, 2
push edx
call fcn.004537b9
mov ebp, eax
mov eax, dword [esp + 0x38]
mov edi, ebp
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x34]
push eax
push ebp
push 0
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebp
jne 0x44c262
lea ecx, [esp + 0x14]
call fcn.004582b7
cmp esi, dword [esp + 0x14]
je 0x44c257
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.004537e2
add esp, 4
jmp 0x44c299
call fcn.004537e2
add esp, 4
lea ecx, [esp + 0x10]
push 0x471b40
call fcn.004582b7
mov edi, dword [esp + 0x14]
cmp esi, edi
je 0x44c287
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44c299
push eax
lea ecx, [esp + 0x14]
call fcn.004582b7
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00457ea3
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.0045812e
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x44c3e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x44c417
mov edx, dword [ebp + 0x14]
lea ecx, [ebp + 0xc]
or edx, 0x20019
push ecx
push edx
push 0
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44c41a
mov esi, dword [ebp + 8]
test esi, esi
je 0x44c5cb
call fcn.0044e9c0
test eax, eax
je 0x44c504
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x44c43b
mov dword [ebp + 0x10], eax
jmp 0x44c46e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0040e760
mov ecx, dword [ebp + 0x10]
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push ecx
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp + 0x10], ebx
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x14]
push 0
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44c5bf
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x44c4a8
cmp eax, 2
je 0x44c4a8
cmp eax, 6
je 0x44c4a8
cmp eax, 7
jne 0x44c5bf
mov edx, dword [ebp + 0xc]
add edx, 2
push edx
call fcn.004537b9
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push ebx
jne 0x44c5aa
mov ecx, dword [ebp + 0x18]
call fcn.0043d510
cmp esi, dword [ebp + 8]
je 0x44c594
jmp 0x44c58d
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 0x14]
push 0
push eax
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44c5bf
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x44c53e
cmp eax, 2
je 0x44c53e
cmp eax, 6
je 0x44c53e
cmp eax, 7
jne 0x44c5bf
mov edx, dword [ebp + 0xc]
add edx, 2
push edx
call fcn.004537b9
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edi, ebx
add esp, 4
lea ecx, [eax + 2]
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push ebx
push 0
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push ebx
jne 0x44c5aa
mov ecx, dword [ebp + 0x18]
call fcn.0043d5e0
cmp esi, dword [ebp + 8]
je 0x44c594
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.004537e2
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.004537e2
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x471b40
call fcn.0043d5e0
cmp esi, dword [ebp + 8]
je 0x44c5cb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44d010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e318
push eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], esp
push ebx
push esi
test eax, eax
push edi
je 0x44d066
lea ecx, [ebp + 0x14]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
or ecx, 0x20006
push 0
push ecx
push 0
push 0
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
mov eax, dword [ebp + 0xc]
neg esi
sbb esi, esi
not esi
and esi, eax
jmp 0x44d069
mov esi, dword [ebp + 8]
test esi, esi
je 0x44d14f
call fcn.0044e9c0
test eax, eax
je 0x44d0ea
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x44d085
xor ebx, ebx
jmp 0x44d0b5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.0040e760
mov eax, dword [ebp + 0x10]
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push eax
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [ebp + 0x18]
push edi
call fcn.0040d3fe
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
push edi
push 1
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44d143
cmp esi, dword [ebp + 8]
je 0x44d0e3
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x44d151
mov edx, dword [ebp + 0x18]
lea ecx, [ebp + 0x18]
push edx
call fcn.004370b0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [ebp + 0x10]
push 1
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44d134
cmp esi, dword [ebp + 8]
je 0x44d11e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004378c0
mov eax, 1
jmp 0x44d151
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.004378c0
cmp esi, dword [ebp + 8]
je 0x44d14f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44de00
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp]
push ebx
push ebp
push esi
push edi
push 0
push 0
mov ebx, dword [esp + 0x24]
push 0
push 0
push 0
push 0
push eax
push ecx
push 0
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x44df78
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44df57
mov eax, dword [esp + 0x1c]
cmp eax, 0x104
jae 0x44de56
mov eax, 0x104
mov dword [esp + 0x1c], eax
inc eax
push eax
call fcn.004537b9
mov esi, eax
add esp, 4
test esi, esi
je 0x44df78
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x44df6f
mov ebp, dword [esp + 0x20]
mov eax, ebp
or eax, 0x2001f
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x20]
push ecx
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44df6f
mov edi, dword [esp + 0x20]
test edi, edi
je 0x44df6f
push ebp
push edi
call fcn.0044de00
add esp, 8
test eax, eax
je 0x44df64
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x487044]
test eax, eax
je 0x44df01
test ebp, ebp
je 0x44df01
push 0
push ebp
push esi
push ebx
call eax
test eax, eax
jne 0x44df6f
jmp 0x44df0d
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x44df6f
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
je 0x44df4e
mov edx, dword [esp + 0x1c]
xor eax, eax
mov edi, esi
lea ecx, [edx + 1]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
inc eax
push eax
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x44df6f
mov eax, dword [esp + 0x14]
jmp 0x44deaa
push esi
call fcn.004537e2
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
test edi, edi
je 0x44df6f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004537e2
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x45517f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4551b7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004585d5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004585ad
jmp 0x4551c3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x456f81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x456fc3
call fcn.00463dab
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x456fc3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x456fba
xor eax, eax
jmp 0x456fcb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00456fd1
pop edi
pop esi
pop ebx
ret 4
Function at 0x411158
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x41116a
cmp byte [eax + edi - 1], 0x5c
jne 0x411189
lea ecx, [edi]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x41117d
mov byte [eax + edi - 1], 0
mov ecx, edi
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x41118e
cmp eax, 3
jb 0x4111a8
push edi
call fcn.00411494
add esp, 4
cmp eax, 0
je 0x4111aa
jmp 0x4111d8
lea eax, [ebp - 0x100]
push eax
push edi
call fcn.00411253
lea eax, [ebp - 0x100]
push eax
call fcn.00411158
push edi
push dword [0x41fef4]
call fcn.0041168d
push edi
call sub.CRTDLL.DLL__mkdir
add esp, 0x18
pop edi
leave
ret

Function at 0x411b14
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
cmp byte [edi], 0x22
jne 0x411b48
push 0x22
mov eax, edi
inc eax
push eax
call sub.CRTDLL.DLL_strchr
add esp, 8
mov dword [ebp - 4], eax
or eax, eax
je 0x411b63
mov edi, eax
inc edi
jmp 0x411b40
inc edi
cmp byte [edi], 0x20
je 0x411b3f
jmp 0x411b63
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x411b54
cmp eax, 0x20
jne 0x411b47
jmp 0x411b57
inc edi
movsx eax, byte [edi]
or eax, eax
je 0x411b63
cmp eax, 0x20
je 0x411b56
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
push 1
push edi
push 0
push eax
call fcn.00409db0
pop edi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x24b86773
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4a5a577e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x4ef000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x79000
lea edi, [esi - 0x98000]
push edi
jmp 0x4ef01a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ef021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ef010
mov eax, 1
add ebx, ebx
jne 0x4ef033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ef044
jne 0x4ef063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ef063
dec eax
add ebx, ebx
jne 0x4ef050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ef028
add ebx, ebx
jne 0x4ef05f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ef0b5
xor ecx, ecx
sub eax, 3
jb 0x4ef07b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ef0ea
sar eax, 1
mov ebp, eax
jmp 0x4ef086
add ebx, ebx
jne 0x4ef086
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ef054
inc ecx
add ebx, ebx
jne 0x4ef094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ef054
add ebx, ebx
jne 0x4ef0a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ef096
jne 0x4ef0b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ef096
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ef0d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ef0c6
jmp 0x4ef016
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ef0d4
add edi, ecx
jmp 0x4ef016
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ef0f2
cmp byte [edi], 0x11
jne 0x4ef0f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ef0f7
lea edi, [esi + 0xe8000]
mov eax, dword [edi]
or eax, eax
je 0x4ef16f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x104e88]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x105004]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ef124
mov ecx, edi
jns 0x4ef153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x105008]
or eax, eax
je 0x4ef169
mov dword [ebx], eax
add ebx, 4
jmp 0x4ef141
call dword [esi + 0x105018]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4ef1a0
cmp al, 0xef
ja 0x4ef193
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4ef175
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4ef182
mov ebp, dword [esi + 0x10500c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ef1d4
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x401381
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 0x3eb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [esi + 0x24]
push eax
mov ecx, ebx
call fcn.0040ede0
mov edi, dword [esi + 0x48]
mov ecx, esi
mov ecx, dword [ecx + 0x12c]
call fcn.004025da
push eax
mov eax, esi
lea ecx, [esi + 0x48]
push dword [eax + 4]
call dword [edi]
push 0x3d3d3d
mov ecx, ebx
call fcn.0040edd3
push 0
push 0xe
push 0xb4
push 0x134
push 0x11
mov eax, esi
push 1
push dword [eax + 0x28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
mov ecx, ebx
call fcn.0040ed86
push 0x3ea
mov ebx, esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebx + 0xa0]
push eax
call fcn.0040ede0
mov ecx, dword [ebx + 0x12c]
lea esi, [ebx + 0xc4]
mov edi, dword [esi]
call fcn.004025da
push eax
push dword [ebx + 4]
mov ecx, esi
call dword [edi]
call fcn.0040fd05
lea esi, [ebx + 0xa0]
mov ecx, esi
test eax, eax
je 0x401452
push 0x17
push 0x3c76
push str.Microsoft_YaHei
jmp 0x40145e
push 0x12
push 0x3c76
push str.Simsun
call fcn.0040d84a
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x32
push 0xa2
push 0xe2
push 0x90
push 1
push dword [ebx + 0xa4]
call edi
push 0x43d658
push 0x3ea
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [0x44c068]
lea ecx, [ebp - 0x1c]
call fcn.00401081
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x24], 0x4018ba
mov dword [ebp - 0x28], ebx
call fcn.0040d9db
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
push 0x3ec
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
lea ecx, [ebx + 0x130]
call fcn.0040ede0
push 0
push 9
push 9
push 0xd
push 0x1ad
mov eax, ebx
push 1
push dword [eax + 0x134]
call edi
mov eax, ebx
mov ecx, dword [eax + 0x12c]
lea esi, [eax + 0x154]
mov edi, dword [esi]
call fcn.004025da
push eax
mov eax, ebx
mov ecx, esi
push dword [eax + 4]
call dword [edi]
push dword [0x44c068]
lea ecx, [ebp - 0x1c]
call fcn.00401081
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
mov esi, ebx
push eax
lea ecx, [ebx + 0x130]
mov dword [ebp - 0x24], 0x4018ba
mov dword [ebp - 0x28], esi
call fcn.0040d9db
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040206d
push 0x405
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push 0x12
push 0x15e
push 0xfb
push 0x50
mov dword [esi + 0x1bc], eax
push 1
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push dword [esi + 0x1bc]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00421734
leave
ret
Function at 0x401aa1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.0040e73a
mov edi, eax
test edi, edi
je 0x401add
push 0x43d65a
push str.UIUninstall
push str.yeuninstall_DeleteProfile
call fcn.00410a9f
add esp, 0xc
push edi
call fcn.0040440c
mov ecx, eax
call fcn.0040532d
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x1a4]
call fcn.00405f0e
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1a4]
push dword [ebp - 0x14]
call fcn.00406d14
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00401804
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x1a4]
call fcn.004011d2
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.00421734
leave
ret

Function at 0x4039ad
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x44c5a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x244]
push eax
push 0x10
push 0
mov esi, ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x4039e1
xor eax, eax
jmp 0x403ad1
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.00422240
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x244]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x4039da
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.00401081
push dword [ebp - 0x244]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edi, 0x43e2d4
push edi
call fcn.004024ed
pop ecx
push eax
push edi
lea ecx, [ebp - 0x228]
call fcn.004057ff
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.0040907a
pop ecx
mov edi, eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.00401081
mov ebx, 0x43e1f8
push ebx
call fcn.004024ed
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x240]
call fcn.004057ff
sub esp, 0x18
lea eax, [ebp - 0x240]
mov ecx, esp
push eax
call fcn.004037d2
mov ecx, esi
call fcn.0040413e
push 0
mov esi, eax
push 1
lea ecx, [ebp - 0x240]
and esi, edi
call fcn.0040206d
push 0
push 1
lea ecx, [ebp - 0x228]
call fcn.0040206d
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00421734
leave
ret