joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
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
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x8548e1
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2d991be3
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x4063a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [0x42b018]
test eax, eax
jne 0x40640e
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x4063df
cmp eax, 2
jne 0x4063fa
test esi, esi
mov eax, dword [esp]
je 0x406408
test eax, eax
je 0x406403
test al, 1
jne 0x4063fa
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x406408
mov eax, 0xd
pop ecx
ret 8
mov word [esi], 0
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8

Function at 0x4066a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 4], eax
xor eax, eax
lea ecx, [ebp + 0xc]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push ecx
mov eax, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.00410b80
push esi
mov eax, 8
lea ecx, [esp + 0x18]
call fcn.00410b80
add esp, 8
lea esi, [esp + 0x10]
lea edi, [esp + 0xa8]
call fcn.00410c20
mov edx, edi
push edx
mov ecx, ebx
call fcn.00413b10
push 1
push str._04x
mov edi, ebx
call fcn.00408570
add esp, 8
push 2
push 0x42d53c
push ebx
call fcn.00405be0
cmp dword [ebp + 0xc], 0
mov edx, 0x42d544
je 0x40675f
mov edx, 0x42d548
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406764
sub eax, esi
sar eax, 1
push eax
push edx
push ebx
call fcn.00405be0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
call fcn.00406df0
test eax, eax
mov edx, 0x42d544
jne 0x406796
mov edx, 0x42d548
mov eax, edx
lea esi, [eax + 2]
jmp 0x4067a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4067a0
sub eax, esi
sar eax, 1
push eax
push edx
push ebx
call fcn.00405be0
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.00416130
mov esp, ebp
pop ebp
ret 8
Function at 0x4067d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.InterfaceE3DA84BD_9241_4579_9B70_A6E6669E468B
push 0x80000000
mov dword [esp + 0x14], 0
call dword [0x42b020]
test eax, eax
jne 0x406844
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push esi
push edi
lea ecx, [esp + 0xc]
push ecx
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x42d7e0
mov edi, 4
push eax
mov esi, eax
mov dword [esp + 0x24], edi
call dword [0x42b018]
test eax, eax
jne 0x406831
cmp dword [esp + 0x14], edi
je 0x40687e
call dword [0x42b100]
test eax, eax
je 0x406864
call fcn.004014c0
mov edi, eax
jmp 0x406869
call dword [0x42b100]
test eax, eax
je 0x406859
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x406874
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x406889
push esi
call dword [section..rdata]
pop edi
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x4068a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.InterfaceE3DA84BD_9241_4579_9B70_A6E6669E468B
push 0x80000000
mov dword [esp + 0x24], 0
call dword [0x42b014]
test eax, eax
jne 0x406915
mov edx, dword [esp + 0xc]
mov ecx, dword [edx]
mov eax, dword [esp]
push esi
push 4
lea edx, [esp + 0x14]
push edx
push 4
push 0
push 0x42d7e0
push eax
mov esi, eax
mov dword [esp + 0x28], ecx
call dword [0x42b010]
test eax, eax
je 0x40694f
push edi
call dword [0x42b100]
test eax, eax
je 0x406935
call fcn.004014c0
mov edi, eax
jmp 0x40693a
call dword [0x42b100]
test eax, eax
je 0x40692a
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x406945
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x40695a
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4

Function at 0x406a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push str.InterfaceC330C812_D191_42b5_BE55_C4A118B2736C
push 0x80000000
mov dword [esp + 0x14], 0
call dword [0x42b020]
test eax, eax
jne 0x406a74
mov edx, dword [esp + 0xc]
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
push edx
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x42d7e0
push eax
mov esi, eax
mov dword [esp + 0x20], 8
call dword [0x42b018]
test eax, eax
jne 0x406a60
cmp dword [esp + 0x10], 3
je 0x406aae
push edi
call dword [0x42b100]
test eax, eax
je 0x406a94
call fcn.004014c0
mov edi, eax
jmp 0x406a99
call dword [0x42b100]
test eax, eax
je 0x406a89
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x406aa4
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x406ab9
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x406ad0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.InterfaceC330C812_D191_42b5_BE55_C4A118B2736C
push 0x80000000
mov dword [esp + 0x24], 0
call dword [0x42b014]
test eax, eax
jne 0x406b39
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 4]
push 8
push edx
push 3
push eax
push 0x42d7e0
push esi
call dword [0x42b010]
test eax, eax
je 0x406b73
push edi
call dword [0x42b100]
test eax, eax
je 0x406b59
call fcn.004014c0
mov edi, eax
jmp 0x406b5e
call dword [0x42b100]
test eax, eax
je 0x406b4e
call fcn.004014c0
add esp, 8
ret 4
mov eax, 0x80004005
add esp, 8
ret 4
mov edi, 0x80004005
test esi, esi
je 0x406b69
push esi
call dword [section..rdata]
mov eax, edi
pop edi
pop esi
add esp, 8
ret 4
test esi, esi
je 0x406b7e
push esi
call dword [section..rdata]
xor eax, eax
pop esi
add esp, 8
ret 4
Function at 0x4070a0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4299b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x34]
mov eax, dword [0x434b54]
mov edx, dword [eax + 0xc]
mov ecx, 0x434b54
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
xor ebx, ebx
mov dword [esp + 0x2c], ebx
call fcn.00406440
lea esi, [esp + 0x34]
mov ecx, eax
call fcn.004064a0
lea eax, [ebp + 0x20]
push eax
mov dword [esp + 0x18], eax
call dword [0x42b0e8]
mov eax, dword [0x434b54]
mov edx, dword [eax + 0xc]
mov ecx, 0x434b54
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
cmp edi, ebx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x1c], 0x2710
jne 0x407136
xor eax, eax
jmp 0x40714f
mov eax, edi
lea edx, [eax + 2]
jmp 0x407140
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x407140
sub eax, edx
sar eax, 1
mov ebx, eax
push edi
lea eax, [esp + 0x1c]
call fcn.00406120
mov ebx, dword [esp + 0x34]
push ebx
push str.mid_s
lea edi, [esp + 0x20]
call fcn.00408570
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
add esp, 8
lea esi, [ebp + 8]
mov eax, edi
call fcn.004082b0
cmp dword [ebp + 4], 0
jne 0x40719c
push ebp
push 0
push 0x407220
call fcn.004176aa
add esp, 0xc
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x42b0e4]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4071cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x407ee0
Capabilities:
Set registry value

Disassembly:
mov eax, ebx
sub esp, 0x1c
lea edx, [eax + 2]
jmp 0x407ef0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x407ef0
sub eax, edx
sar eax, 1
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
call fcn.00412540
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x407f1a
mov eax, dword [eax + 4]
jmp 0x407f1d
add eax, 4
lea ecx, [esi + esi + 2]
push ecx
push ebx
push 1
push 0x42d680
push eax
push 0x80000002
call dword [0x42b25c]
cmp dword [esp + 0x1c], 8
pop esi
jb 0x407f4b
mov edx, dword [esp + 4]
push edx
call fcn.00415da4
add esp, 4
add esp, 0x1c
ret

Function at 0x409020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x429940
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea edi, [esp + 0x10]
call fcn.0040f850
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0xc], edi
mov byte [esp + 0x38], 1
call fcn.0040def0
mov esi, eax
cmp esi, edi
jge 0x409081
cmp dword [esp + 0x28], 8
jb 0x4090aa
mov eax, dword [esp + 0x14]
push eax
jmp 0x4090a2
call fcn.00409390
cmp ebx, edi
je 0x409096
mov edx, ebx
mov edi, 0x4359a0
call fcn.00406360
cmp dword [esp + 0x28], 8
jb 0x4090aa
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00415da4
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00416130
add esp, 0x30
ret

Function at 0x4092b0
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov ebx, eax
lea eax, [esp + 0x18]
push eax
xor edi, edi
push ebx
mov dword [esp + 0x20], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x409372
push esi
call fcn.00415d9f
add esp, 4
test eax, eax
mov dword [esp + 0x10], eax
je 0x409372
mov ecx, dword [esp + 0x18]
push eax
push esi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x409365
mov eax, dword [ebp]
sub eax, 0x10
mov edx, 1
sub edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x105
or edx, eax
jge 0x409322
mov ecx, 0x105
mov eax, ebp
call fcn.00405c70
mov ecx, dword [ebp]
mov ebx, dword [esp + 0x10]
push ecx
call fcn.00409180
mov edx, dword [ebp]
test edx, edx
jne 0x40933a
xor eax, eax
jmp 0x409351
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409340
sub eax, esi
sar eax, 1
js 0x40937c
cmp eax, dword [edx - 8]
jg 0x40937c
mov dword [edx - 0xc], eax
mov edx, dword [ebp]
mov word [edx + eax*2], di
mov edi, 1
mov eax, dword [esp + 0x10]
push eax
call fcn.004161f8
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0x80070057
call fcn.00405d80
int3
Function at 0x409e90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4294c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x30]
push 0x42d7e0
xor ebx, ebx
mov dword [esp + 0x2c], edi
call fcn.00406120
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x80000001
mov dword [esp + 0x28], edi
call dword [0x42b020]
cmp eax, edi
jne 0x409f91
mov ebp, dword [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x24]
push edx
push edi
push str.Start_Page
push ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], edi
call dword [0x42b018]
test eax, eax
jne 0x409f86
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x409f2e
cmp eax, 2
jne 0x409f86
mov eax, dword [esp + 0x14]
shr eax, 1
mov dword [esp + 0x1c], eax
je 0x409f86
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00415d9f
mov esi, eax
add esp, 4
cmp esi, edi
je 0x409f86
push str.Start_Page
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x24]
call fcn.004063a0
test eax, eax
jne 0x409f7b
mov edi, dword [esp + 0x30]
mov edx, esi
call fcn.00406360
push esi
call fcn.004161f8
add esp, 4
xor edi, edi
cmp ebp, edi
je 0x409f91
push ebp
call dword [section..rdata]
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x40d360
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x40d373
push 0x80004005
call fcn.00405d80
push ebx
mov ebx, dword [0x42b04c]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x40d380
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x42b010]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x40d500
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [0x42b020]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x40d56e
test ecx, ecx
je 0x40d560
push ecx
call dword [section..rdata]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x40d57c
test ecx, ecx
je 0x40d621
push ecx
jmp 0x40d61b
mov esi, dword [0x42b01c]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
jne 0x40d5ee
jmp 0x40d5b0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.0040d500
mov edi, eax
test edi, edi
jne 0x40d63d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], pe_nt_image_headers32
call esi
test eax, eax
je 0x40d5b0
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d605
push eax
call dword [section..rdata]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [0x42b00c]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d621
push eax
call dword [section..rdata]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00416130
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d64c
push eax
call dword [section..rdata]
mov eax, edi
jmp 0x40d623
Function at 0x40ed20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov ebx, ecx
mov word [esp + 0x10], 0
call fcn.004186d0
add esp, 0xc
test ebx, ebx
je 0x40ee20
push esi
push edi
push 1
push 0x23
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [0x42b23c]
test eax, eax
jne 0x40eda8
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [0x42b08c]
test eax, eax
je 0x40ee1e
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ed90
mov ecx, 0xe
mov esi, str.All_UsersApplication_Data
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xc]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40edb0
mov ecx, 7
mov esi, str.KingsoftKIS_
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xc]
movsw word es:[edi], word [esi]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40edd1
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x40ee1e
lea eax, [esp + 0xc]
mov edx, eax
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40edf0
sub eax, edx
add ebx, 0xfffffffe
mov edi, ebx
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x40ee02
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
pop ebx
xor ecx, esp
call fcn.00416130
add esp, 0x20c
ret
Function at 0x40efb0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4293e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], vtable.KRegKey.0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x44], ebx
call fcn.0040f510
cmp eax, ebx
jne 0x40f046
mov edx, dword [edi]
mov ebp, dword [esi]
mov eax, edx
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40f020
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
sar eax, 1
lea eax, [eax + eax + 1]
push eax
push edx
push 1
push ebx
push ebp
push ecx
call dword [0x42b010]
mov edx, dword [0x434b54]
mov eax, dword [edx + 0xc]
mov ecx, 0x434b54
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call fcn.0040ec80
test eax, eax
mov ebp, dword [esp + 0x10]
je 0x40f085
mov eax, dword [edi]
mov ecx, dword [esi]
push ebp
push eax
push ecx
push 0x42e6b0
call dword [0x42b094]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov esi, dword [section..rdata]
je 0x40f09a
push eax
call esi
mov dword [esp + 0x18], ebx
lea eax, [ebp - 0x10]
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f0ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.KRegKey.0
je 0x40f0d1
push eax
call esi
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x34], 8
jb 0x40f0e5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00415da4
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00416130
add esp, 0x38
ret

Function at 0x40f590
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
mov eax, dword [eax + 4]
push esi
push edi
mov esi, edx
lea edx, [esp + 8]
push edx
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x14]
push edx
push 0
push ecx
push eax
mov dword [esp + 0x20], 0x208
call dword [0x42b018]
mov edi, eax
test edi, edi
jne 0x40f5fc
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f5e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00401130
mov eax, edi
mov ecx, dword [esp + 0x218]
pop edi
pop esi
xor ecx, esp
call fcn.00416130
add esp, 0x214
ret 4
Function at 0x410d50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x5c], eax
push 0x58
lea eax, [esp + 4]
push 0
push eax
call fcn.004186d0
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00410dd0
add esp, 0x10
mov edx, esi
lea ecx, [esp]
call fcn.00410e70
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00416130
add esp, 0x60
ret

Function at 0x411e20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x42936b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x433060]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x433060]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
cmp dword [edi + 8], 1
jne 0x411e6b
xor eax, eax
cmp dword [edi], eax
setne al
jmp 0x411f74
xor ebx, ebx
mov dword [edi + 8], 1
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
push 0x206
lea eax, [esp + 0x2e]
push ebx
mov dword [esp + 0x244], ebx
push eax
mov word [esp + 0x34], bx
call fcn.004186d0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [0x42b0ac]
cmp eax, ebx
je 0x411ee5
lea eax, [esp + 0x28]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411ec0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x2c]
push edx
lea esi, [esp + 0x14]
call fcn.00401130
mov ecx, esi
call fcn.00412160
push 0xd
push str.kispublic.dll
lea ecx, [esp + 0x14]
call fcn.00403ea0
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x411f08
lea eax, [esp + 0x10]
push eax
call dword [0x42b270]
test eax, eax
jne 0x411f2a
cmp dword [esp + 0x24], esi
jb 0x411f26
mov eax, dword [esp + 0x10]
push eax
call fcn.00415da4
add esp, 4
xor eax, eax
jmp 0x411f74
cmp dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
jae 0x411f38
lea eax, [esp + 0x10]
push eax
call dword [0x42b0a0]
cmp eax, ebx
mov dword [edi], eax
jne 0x411f5c
cmp dword [esp + 0x24], esi
jb 0x411f26
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00415da4
add esp, 4
xor eax, eax
jmp 0x411f74
cmp dword [esp + 0x24], esi
jb 0x411f6f
mov edx, dword [esp + 0x10]
push edx
call fcn.00415da4
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00416130
add esp, 0x234
ret