joyce8/EMBER2024-capa huggingface dataset:
Function at 0xc57ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b8498
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
push edi
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00c58630
lea edx, [esp + 0x18]
push eax
push edx
call dword [fcn.004bb514]
mov eax, dword [esp + 0x18]
xor edi, edi
xor ecx, ecx
cmp eax, edi
setl cl
dec ecx
xor edx, edx
and ecx, eax
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x18], ecx
setl dl
dec edx
and edx, eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x20], edx
call dword [fcn.004bb59c]
test eax, eax
je 0xc57b59
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00c57740
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call dword [fcn.004bb568]
push edi
lea ecx, [esp + 0x4c]
call fcn.00ca64ff
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.00c662d0
mov edx, dword [esp + 0x5c]
add esp, 0xc
lea ecx, [esp + 0x18]
push 2
push ecx
push edx
call dword [fcn.004bb04c]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x38]
push eax
push ecx
call dword [fcn.004bb5c4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
call dword [fcn.004bb548]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, esi
mov dword [esp + 0x64], 0xffffffff
mov dword [edx], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x48]
call fcn.00ca6571
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x60
ret 0x14
Function at 0xc58090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b84c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00c55c90
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0xc580e9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00c530c0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00c530b0
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00c57740
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [fcn.004bb5c4]
push 0
lea ecx, [esp + 0x4c]
call fcn.00ca64ff
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00c662d0
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00c556f0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [fcn.004bb050]
mov ecx, ebx
call fcn.00c53030
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0xc581b4
push edi
mov ecx, esi
call fcn.00c55800
push eax
push ebp
mov ecx, esi
call fcn.00c559c0
cmp eax, dword [esp + 0x40]
jg 0xc581b0
inc edi
mov ebp, eax
cmp edi, ebx
jl 0xc5818e
mov eax, ebx
jmp 0xc581ba
cmp edi, ebx
jl 0xc581b8
mov eax, ebx
jmp 0xc581ba
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0xc581cb
mov dword [esp + 0x30], eax
jmp 0xc581d6
cmp edi, ebx
jl 0xc581d1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00c52ff0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0xc5821d
push edi
mov ecx, esi
call fcn.00c55720
push eax
push ebx
mov ecx, esi
call fcn.00c55af0
cmp eax, dword [esp + 0x44]
jg 0xc58215
inc edi
mov ebx, eax
cmp edi, ebp
jl 0xc581ef
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xc58227
cmp edi, ebp
jl 0xc58221
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xc58227
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0xc58230
mov ecx, eax
jmp 0xc58239
cmp edi, ebp
jl 0xc58236
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00c55710
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00ca6571
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0xc5e170
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b8978
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0xc5e1a9
inc eax
mov dword [esi + 0x10], eax
jmp 0xc5e2bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0xc5e1bd
mov eax, 0xffffffc7
jmp 0xc5e2be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0xc5e1ce
cmp dword [esi + 8], eax
jne 0xc5e1bd
cmp dword [esi + 8], eax
jne 0xc5e1e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0xc5e1e7
mov eax, 0xffffffc7
jmp 0xc5e2be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0xc5e1fb
push eax
mov ecx, ebx
call fcn.00c5d9a0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00c2a930
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0xc5e22c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00c2a950
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00c5d110
test eax, eax
mov dword [esp + 0x38], eax
je 0xc5e25f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb73890
call fcn.00c2ab30
mov eax, dword [esp + 0x38]
jmp 0xc5e2be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00c5dfd0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0xc5e2a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00c5dff0
mov esi, eax
test esi, esi
jne 0xc5e2d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00c5dfd0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0xc5e275
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb73890
call fcn.00c2ab30
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0xb73890
call fcn.00c2ab30
mov eax, esi
jmp 0xc5e2be
Function at 0xc66930
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b8fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [fcn.004bb5c4]
push 0
lea ecx, [esp + 0x20]
call fcn.00ca64ff
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00c662d0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00ca642d
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00ca2c16
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00ca2c16
push 1
push 0
push 0
mov ecx, esi
call fcn.00ca2bbe
push 1
push 0
push 1
mov ecx, esi
call fcn.00ca2bbe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00ca6571
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0xc66ab0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b8fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00ca64ff
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00c662d0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00ca642d
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [fcn.004bb5c4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0xc66b74
cmp dword [esp + 0x40], 1
jne 0xc66b72
cmp ecx, eax
jge 0xc66b74
mov eax, ecx
cmp eax, 0xc8
jge 0xc66b80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00c66930
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [fcn.004bb5c0]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00ca6571
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0xc672f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4b9033
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00ca102f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0xb79750
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0xb76e00
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [fcn.004bb0ec]
push eax
mov ecx, edi
call fcn.00ca67a7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00ca7cff
test eax, eax
je 0xc6740c
mov ecx, dword [esp + 0x3c]
call fcn.00ca67d4
mov ecx, dword [esi + 0x1c]
mov ebp, dword [fcn.004bb5e4]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0xc673d0
push edi
mov ecx, esi
call fcn.00ca3d91
mov ecx, esi
call fcn.00c67570
cmp dword [esp + 0x38], 1
jne 0xc67405
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00ca3efb
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0xc69e20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0xc69e53
push esi
call fcn.00c6cf10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0xc69e4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0xc69ed9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0xc69ec2
mov eax, dword [esi + 8]
test eax, eax
je 0xc69e77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0xc69ebe
cmp eax, 2
je 0xc69ec2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0xc69e6a
cmp eax, 3
je 0xc69e9d
cmp eax, 1
jne 0xc69e6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0xc69e6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0xc69e6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00c69f00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0xc69ee8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00c69f00
add esp, 4
pop esi
ret
Function at 0xdf605f
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00df60de
jae 0xdf606b
xor ecx, ecx
call fcn.00df60de
jae 0xdf6095
xor eax, eax
call fcn.00df60de
jae 0xdf60a6
mov al, 0x10
call fcn.00df60de
adc al, al
jae 0xdf6087
jne 0xdf60d3
stosb byte es:[edi], al
jmp 0xdf606c
call fcn.00df60ea
dec ecx
loop 0xdf60b2
mov eax, ebp
call fcn.00df60e8
jmp 0xdf60d4
lodsb al, byte [esi]
shr eax, 1
je 0xdf60fa
adc ecx, 2
mov ebp, eax
jmp 0xdf60d4
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00df60e8
cmp eax, 0x7d00
jae 0xdf60d2
cmp eax, 0x500
jae 0xdf60d3
cmp eax, 0x7f
ja 0xdf60d4
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xdf606c
pop ebp
ret 8

Function at 0xf7323a
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00f732b9
jae 0xf73246
xor ecx, ecx
call fcn.00f732b9
jae 0xf73270
xor eax, eax
call fcn.00f732b9
jae 0xf73281
mov al, 0x10
call fcn.00f732b9
adc al, al
jae 0xf73262
jne 0xf732ae
stosb byte es:[edi], al
jmp 0xf73247
call fcn.00f732c5
dec ecx
loop 0xf7328d
mov eax, ebp
call fcn.00f732c3
jmp 0xf732af
lodsb al, byte [esi]
shr eax, 1
je 0xf732d5
adc ecx, 2
mov ebp, eax
jmp 0xf732af
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00f732c3
cmp eax, 0x7d00
jae 0xf732ad
cmp eax, 0x500
jae 0xf732ae
cmp eax, 0x7f
ja 0xf732af
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf73247
pop ebp
ret 8
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea ecx, [esp + 4]
mov dword [esp + 8], 0x10
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoftIMEJP8.1WindowDicTool
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [esp], eax
jne 0x401067
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push 0
push 0x437040
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
mov dword [esp], eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
sub edx, eax
mov dword [esi], eax
mov eax, dword [esp + 0x24]
mov dword [ebx], ecx
sub eax, ecx
push edi
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0
mov dword [edi], edx
push 0x30
mov dword [ebp], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
cmp dword [edi], 0
jg 0x4010b4
mov dword [edi], 0x258
cmp dword [ebp], 0
jg 0x4010c1
mov dword [ebp], 0x1f4
cmp dword [esi], 0
jge 0x4010cc
mov dword [esi], 0
cmp dword [ebx], 0
jge 0x4010d7
mov dword [ebx], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, ecx
sub eax, edx
cmp eax, dword [edi]
jge 0x4010ed
mov dword [edi], eax
mov dword [esi], edx
jmp 0x401101
cmp dword [esi], edx
jge 0x4010f3
mov dword [esi], edx
mov edi, dword [edi]
mov edx, dword [esi]
add edx, edi
cmp ecx, edx
jge 0x401101
sub ecx, edi
mov dword [esi], ecx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov esi, dword [ebp]
mov ecx, eax
sub ecx, edx
cmp ecx, esi
jge 0x401125
mov eax, dword [esp + 0x10]
pop edi
mov dword [ebp], ecx
pop esi
mov dword [ebx], edx
pop ebp
pop ebx
add esp, 0x2c
ret
cmp dword [ebx], edx
jge 0x40112b
mov dword [ebx], edx
mov ecx, dword [ebp]
mov edx, dword [ebx]
add edx, ecx
cmp edx, eax
jle 0x40113a
sub eax, ecx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x401150
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftIMEJP8.1WindowDicTool
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x401182
or eax, 0xffffffff
add esp, 0x14
ret
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], eax
add eax, edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp]
add ecx, eax
mov dword [esp + 0x10], ecx
lea ecx, [esp + 4]
push 0x10
push ecx
push 3
push 0
push 0x437040
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x14
ret
Function at 0x403440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x431918
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, ecx
xor edx, edx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov ecx, dword [esp + 0x28]
xor eax, eax
mov dword [esi + 0x1c], ecx
mov ecx, 0xa
lea edi, [esi + 0x34]
mov dword [esi], 0x4334b0
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x30], edx
mov dword [esp + 0x18], edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x2c], 1
cmp ecx, edx
mov dword [esi + 0x5c], edx
je 0x4034b3
push ebx
push esi
call fcn.004023e0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x407416
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x28], edi
je 0x407431
pop edi
mov eax, 0xfffffffb
pop esi
add esp, 0x208
ret 4
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x407444
push eax
call fcn.00428418
add esp, 4
mov dword [esi + 0x24], edi
mov eax, dword [esp + 0x214]
cmp eax, edi
je 0x407454
mov dword [esi + 0x20], edi
jmp 0x40748b
lea eax, [esp + 8]
mov dword [esi + 0x20], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push edi
push 0x4372ac
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x10c]
push eax
call fcn.00428533
add esp, 4
cmp eax, edi
mov dword [esi + 0x24], eax
jne 0x4074ab
pop edi
mov eax, 0xfffffff8
pop esi
add esp, 0x208
ret 4
push edi
push 0x100
push 2
push edi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x28], eax
jne 0x4074f0
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], edi
cmp eax, edi
je 0x4074e0
push eax
call fcn.00428418
add esp, 4
mov dword [esi + 0x24], edi
pop edi
mov eax, 0xfffffffc
pop esi
add esp, 0x208
ret 4
pop edi
xor eax, eax
pop esi
add esp, 0x208
ret 4
Function at 0x407500
Capabilities:
Delete file

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0x28]
cmp eax, edi
je 0x407518
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x28], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x40753a
cmp dword [esi + 0x20], edi
je 0x40752b
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x24]
push eax
call fcn.00428418
add esp, 4
mov dword [esi + 0x24], edi
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, edx
cmp eax, edx
je 0x40755a
mov edi, dword [eax]
add eax, 8
mov dword [ecx], edi
mov edi, dword [eax - 4]
mov dword [ecx + 4], edi
add ecx, 8
cmp eax, edx
jne 0x407546
mov edx, dword [esi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 8], edx
mov edx, dword [esi + 0x18]
mov eax, edx
cmp eax, edx
je 0x40757e
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x407570
mov eax, dword [esi + 0x18]
mov dword [esi + 0x18], ecx
mov dword [esp + 8], eax
pop edi
xor eax, eax
pop esi
pop ecx
ret