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

Disassembly:
push 0xffffffffffffffff
push 0x425281
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x4c]
mov ecx, dword [eax]
lea esi, [edi + 0x48]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x28], 2
call fcn.00404870
mov eax, dword [esi + 4]
push eax
call fcn.004190d8
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
add esp, 4
lea esi, [edi + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.00404870
mov edx, dword [esi + 4]
push edx
call fcn.004190d8
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 0x30]
add esp, 4
cmp eax, ebx
je 0x4057c0
push eax
call fcn.004190d8
add esp, 4
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
cmp dword [edi + 0x28], 8
jb 0x4057db
mov eax, dword [edi + 0x14]
push eax
call fcn.004190d8
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], 7
mov word [edi + 0x14], bx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4058d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4252b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov dword [esi + 0x28], 7
mov dword [esi + 0x24], ebp
push edi
mov dword [esp + 0xc], esi
mov word [esi + 0x14], bp
mov dword [esp + 0x18], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.004038a0
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x48]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.004038a0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
pop edi
mov dword [esi], 0xffffffff
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407db0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4309b0]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
push eax
push ecx
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00407c30
mov ecx, dword [esp + 0x68]
lea eax, [esp]
push eax
push ecx
call fcn.00407cf0
mov ecx, dword [esp + 0x58]
call fcn.00418dae
add esp, 0x5c
ret 0xc

Function at 0x407f70
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x425436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4309b0]
push ebx
xor ebx, ebx
mov dword [esp + 0x218], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edx
mov dword [esp + 0x234], ebx
call dword [0x4270b4]
cmp eax, ebx
jne 0x407fe9
mov eax, dword [esp + 4]
cmp eax, ebx
mov dword [esp + 0x224], 0xffffffff
je 0x407fdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x4080da
push esi
lea edx, [esp + 8]
push edx
push 0x42afd0
push 1
push ebx
push 0x42afe0
call dword [0x427354]
mov esi, eax
cmp esi, ebx
jl 0x4080be
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x40802b
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4282ac
push eax
call dword [ecx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x230], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x40805c
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x40808c
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x408071
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x4080d7
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x4080d7
mov esi, dword [esp + 0x238]
push esi
call dword [0x4270b0]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x4080be
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x4080d7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop ebx
call fcn.00418dae
add esp, 0x224
ret
Function at 0x408100
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x425436
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4309b0]
push ebx
xor ebx, ebx
mov dword [esp + 0x218], eax
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x22c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x104
push edx
mov dword [esp + 0x234], ebx
call dword [0x4270b4]
cmp eax, ebx
jne 0x408179
mov eax, dword [esp + 4]
cmp eax, ebx
mov dword [esp + 0x224], 0xffffffff
je 0x40816f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x40829f
push esi
lea edx, [esp + 8]
push edx
push 0x42afd0
push 1
push ebx
push 0x42afe0
call dword [0x427354]
mov esi, eax
cmp esi, ebx
jl 0x408283
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0xc], ebx
je 0x4081bb
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push 0x4282ac
push eax
call dword [ecx]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x230], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jl 0x408221
mov edx, dword [esp + 0x23c]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
cmp esi, ebx
jl 0x408221
mov edx, dword [esp + 0x234]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jl 0x408221
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x44]
mov esi, eax
cmp esi, ebx
jge 0x408251
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x408236
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x40829c
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x40829c
mov esi, dword [esp + 0x238]
push esi
call dword [0x4270b0]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 1
push esi
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x228], bl
je 0x408283
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp eax, ebx
mov dword [esp + 0x228], 0xffffffff
je 0x40829c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop ebx
call fcn.00418dae
add esp, 0x224
ret
Function at 0x4088e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x425488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00403af0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004034f0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x408972
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x409be0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
shl eax, 1
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [0x427010]
test eax, eax
jne 0x409c4d
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x409c25
cmp eax, 2
jne 0x409c3d
test esi, esi
mov eax, dword [esp + 0x14]
je 0x409c47
test al, 1
jne 0x409c3d
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x409c47
pop edi
mov eax, 0xd
pop esi
ret 0xc
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x409eb0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x409eeb
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [ecx], 0x5a4d
jne 0x409eeb
cmp dword [eax], 0x4550
jne 0x409eeb
mov eax, dword [eax + 0xa8]
test eax, eax
je 0x409eeb
cmp dword [eax + ecx + 0xc], 2
jne 0x409eeb
mov eax, dword [eax + ecx + 0x14]
add eax, ecx
cmp dword [eax], 0x53445352
je 0x409eed
xor eax, eax
ret

Function at 0x409ef0
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [esp + 4]
push ebx
push 1
push 0
push eax
call dword [0x4270f0]
mov ebx, eax
test bl, 1
lea ecx, [ebx - 1]
jne 0x409f0c
mov ecx, ebx
test ebx, ebx
je 0x409f7b
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [ecx], 0x5a4d
jne 0x409f74
cmp dword [eax], 0x4550
jne 0x409f74
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [eax + 8]
mov dword [edx], esi
mov eax, dword [eax + 0x50]
push ecx
mov dword [edx + 4], eax
call fcn.00409eb0
add esp, 4
test eax, eax
je 0x409f65
push edi
lea ecx, [eax + 4]
mov edi, dword [ecx]
lea esi, [edx + 8]
mov dword [esi], edi
mov edi, dword [ecx + 4]
mov dword [esi + 4], edi
mov edi, dword [ecx + 8]
mov dword [esi + 8], edi
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x14]
mov dword [edx + 0x18], eax
pop edi
push ebx
call dword [0x4271f4]
pop esi
mov eax, 1
pop ebx
ret
push ebx
call dword [0x4271f4]
xor eax, eax
pop ebx
ret

Function at 0x409f80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
mov eax, dword [0x4309b0]
push esi
mov dword [esp + 0x8c], eax
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
call dword [section..rdata]
test eax, eax
jne 0x40a01b
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push 0x4287e8
push eax
mov dword [esp + 0x20], 0x80
call dword [0x427010]
test eax, eax
jne 0x40a010
mov ax, word [esp + 0xc]
cmp ax, 0x36
jne 0x409feb
mov esi, 1
jmp 0x40a010
cmp ax, 0x37
jne 0x409ff8
mov esi, 2
jmp 0x40a010
cmp ax, 0x38
jne 0x40a005
mov esi, 3
jmp 0x40a010
cmp ax, 0x39
jne 0x40a010
mov esi, 4
mov ecx, dword [esp + 4]
push ecx
call dword [0x427008]
mov ecx, dword [esp + 0x8c]
mov eax, esi
pop esi
call fcn.00418dae
add esp, 0x8c
ret
Function at 0x40a960
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 0x4286a0
push 0x80000001
mov dword [esp + 0x24], 0
call dword [0x427018]
test eax, eax
jne 0x40aa0b
push ebx
mov ebx, dword [esp + 0x10]
cmp dword [ebx + 0x18], 8
push esi
push edi
jb 0x40a9a8
mov esi, dword [ebx + 4]
jmp 0x40a9ab
lea esi, [ebx + 4]
push esi
call dword [0x4270e4]
mov edi, dword [0x427004]
lea edx, [eax + eax + 2]
push edx
push esi
mov esi, dword [esp + 0x14]
push 1
push 0
push str.DefaultBrowser
push esi
call edi
push 8
lea eax, [ebx + 0x1c]
push eax
push 3
push 0
push str.DefaultBrowserFileTimeStamp
push esi
call edi
push 4
add ebx, 0x24
push ebx
push 3
push 0
push str.DefaultBrowserFlag
push esi
call edi
test esi, esi
je 0x40a9fd
push esi
call dword [0x427008]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 4
mov eax, 1
add esp, 8
ret 4
Function at 0x40c5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4256d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x18], edi
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x2001f
push edi
push edi
push edi
push 0x4286a0
push 0x80000001
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], edi
call dword [0x427018]
cmp eax, edi
jne 0x40c7c5
mov ebx, dword [esp + 0x10]
mov edx, dword [0x4323c4]
mov ecx, 0x4323c4
mov dword [esp + 0x28], ebx
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 4]
mov ecx, 1
sub ecx, eax
mov eax, dword [esi - 8]
sub eax, 0x104
or eax, ecx
mov byte [esp + 0x34], 1
jge 0x40c68f
push 0x104
lea ecx, [esp + 0x14]
call fcn.00401ef0
mov esi, dword [esp + 0x10]
mov ebp, dword [0x427010]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push edi
push str.DefaultBrowser
push ebx
mov dword [esp + 0x2c], 0x208
call ebp
cmp eax, edi
je 0x40c6b9
mov edi, eax
jmp 0x40c6e1
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x40c6c7
cmp eax, 2
jne 0x40c6dc
cmp esi, edi
je 0x40c6e1
mov eax, dword [esp + 0x14]
test al, 1
jne 0x40c6dc
shr eax, 1
cmp word [esi + eax*2 - 2], di
je 0x40c6e1
mov edi, 0xd
test esi, esi
jne 0x40c6e9
xor eax, eax
jmp 0x40c6fa
push esi
call fcn.00419051
add esp, 4
test eax, eax
jl 0x40c7de
cmp eax, dword [esi - 8]
jg 0x40c7de
test edi, edi
mov dword [esi - 0xc], eax
mov word [esi + eax*2], 0
jne 0x40c77c
push esi
call fcn.00419051
mov edi, dword [esp + 0x40]
add esp, 4
push eax
push esi
mov ecx, edi
call fcn.00402390
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0x1c]
push ecx
lea edx, [esp + 0x44]
push edx
push 0
push str.DefaultBrowserFileTimeStamp
push ebx
mov dword [esp + 0x38], 8
call ebp
test eax, eax
jne 0x40c79b
cmp dword [esp + 0x3c], 3
jne 0x40c79b
lea eax, [esp + 0x24]
push eax
add edi, 0x24
push edi
lea ecx, [esp + 0x44]
push ecx
push 0
push str.DefaultBrowserFileTimeStamp
push ebx
mov dword [esp + 0x3c], 4
call ebp
test eax, eax
jne 0x40c77c
cmp dword [esp + 0x3c], 3
je 0x40c793
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40c7b0
mov dword [esp + 0x18], 1
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c7ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
je 0x40c7c5
push ebx
call dword [0x427008]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push 0x80070057
call fcn.00401220
int3
Function at 0x40fd10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x425a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x4309b0]
push str.ntdll.dll
mov dword [esp + 0x5c], eax
call dword [0x427068]
test eax, eax
je 0x40ff23
push edi
push str.NtQuerySystemInformation
push eax
call dword [0x4271f0]
mov edi, eax
test edi, edi
je 0x40ff22
push ebx
push ebp
push esi
mov esi, 0x19000
push esi
push 8
call dword [0x427108]
mov ebx, dword [0x427104]
push eax
call ebx
mov ebp, eax
test ebp, ebp
jne 0x40fd82
xor eax, eax
jmp 0x40ff1f
push 0
push 0x19000
push ebp
push 5
call edi
cmp eax, 0xc0000004
jne 0x40fdc6
push ebp
mov ebp, dword [0x427108]
push 0
call ebp
push eax
call dword [0x427100]
add esi, esi
push esi
push 8
call ebp
push eax
call ebx
mov ebp, eax
test ebp, ebp
je 0x40fd7b
push 0
push esi
push ebp
push 5
call edi
cmp eax, 0xc0000004
je 0x40fd95
mov ebx, dword [esp + 0x7c]
mov edi, ebp
lea esp, [esp]
cmp word [edi + 0x38], 0
je 0x40fef3
mov eax, dword [0x4323c4]
mov ecx, 0x4323c4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x7c], esi
movzx ecx, word [edi + 0x38]
mov eax, dword [esi - 4]
shr ecx, 1
mov edx, 1
sub edx, eax
mov eax, dword [esi - 8]
inc ecx
sub eax, ecx
or eax, edx
mov dword [esp + 0x74], 0
jge 0x40fe22
push ecx
lea ecx, [esp + 0x80]
call fcn.00401ef0
mov esi, dword [esp + 0x7c]
movzx eax, word [edi + 0x38]
mov ecx, dword [edi + 0x3c]
shr eax, 1
inc eax
push eax
push ecx
push esi
call fcn.004195b8
add esp, 0xc
test esi, esi
jne 0x40fe3f
xor eax, eax
jmp 0x40fe50
push esi
call fcn.00419051
add esp, 4
test eax, eax
jl 0x40ff00
cmp eax, dword [esi - 8]
jg 0x40ff00
mov dword [esi - 0xc], eax
lea ecx, [esp + 0x7c]
mov word [esi + eax*2], 0
call fcn.0040b110
lea ecx, [esp + 0x10]
call fcn.004058d0
mov ecx, dword [edi + 0x44]
mov edx, dword [edi + 0x48]
mov esi, dword [esp + 0x7c]
push esi
mov byte [esp + 0x78], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
call fcn.00419051
add esp, 4
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00402390
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], eax
push edx
mov eax, edx
mov dword [esp + 0x20], ecx
push eax
mov ecx, ebx
call fcn.00406110
mov ecx, eax
call fcn.0040f170
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 0
call fcn.00405730
lea eax, [esi - 0x10]
mov dword [esp + 0x74], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fef3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
test eax, eax
je 0x40ff0a
add edi, eax
jmp 0x40fdd0
push 0x80070057
call fcn.00401220
push ebp
push 0
call dword [0x427108]
push eax
call dword [0x427100]
mov eax, 1
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x58]
call fcn.00418dae
add esp, 0x68
ret 4
Function at 0x4105e0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x425ad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0
jmp 0x410610
push 0x1f4
call dword [0x427070]
lea ecx, [esp + 0x18]
call fcn.004062f0
lea eax, [esp + 0x18]
push eax
lea ecx, [ebx + 4]
mov dword [esp + 0x5c], 0
call fcn.0040fd10
mov esi, dword [ebx + 0x38]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
mov dword [esp + 0x18], esp
mov ebp, esp
call dword [edx + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x410669
cmp eax, dword [esi]
jne 0x410669
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x41069d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 2
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x41076f
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
add ecx, ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [ebp], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.0040fa30
mov byte [esp + 0x58], 1
call fcn.00412830
push eax
push str.actEnumWindows_Begin_time_u
push 0x30
call fcn.004126e0
add esp, 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x410370
call dword [0x427270]
call fcn.00412830
push eax
push str.actEnumWindows_End_time_u
push 0x30
call fcn.004126e0
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0040e650
test eax, eax
jne 0x410774
mov eax, dword [ebx + 0x38]
push ecx
sub eax, 0x10
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.004034f0
lea edx, [esp + 0x20]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.0040e0a0
add esp, 8
test eax, eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
je 0x4107ab
call fcn.0040f630
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406380
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x28
mov dword [esp + 0x10], eax
jl 0x410610
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
jmp fcn.004016a0
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], 0
call fcn.0040f630
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406380
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
call fcn.0040f630
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00406380
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret
Function at 0x412400
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
push edi
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 3
mov dword [esp + 0x18], str.open
mov dword [esp + 0x10], 0x140
call dword [0x427260]
mov esi, eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x412456
push eax
call dword [0x427094]
pop edi
mov eax, esi
pop esi
add esp, 0x3c
ret

Function at 0x412ad0
Capabilities:
Initialize iwebbrowser2

Disassembly:
sub esp, 0x14
push edi
push str.using_com_method_to_start_IE
push 0x30
call fcn.004126e0
add esp, 8
xor edi, edi
push edi
call dword [0x42735c]
test eax, eax
jl 0x412b7e
lea eax, [esp + 4]
push eax
push 0x42b000
push 4
push edi
push 0x42aff0
mov dword [esp + 0x18], edi
call dword [0x427354]
cmp dword [esp + 4], edi
je 0x412b78
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [0x427258]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [edx + 0xa4]
mov eax, dword [esp + 0x20]
push eax
call dword [0x427254]
lea edx, [esp + 0xc]
push edx
push edx
push edx
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0x2c]
push eax
push str.act__IWebBrowser2_Navigate___result:__d
push 0x30
call fcn.004126e0
add esp, 0xc
push esi
mov edi, 1
call dword [0x427250]
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
call dword [0x427358]
mov eax, edi
pop edi
add esp, 0x14
ret

Function at 0x412b90
Capabilities:
Delete 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.SoftwareBaiduHao123hao123desk
push 0x80000001
mov dword [esp + 0x24], 0
call dword [0x427018]
test eax, eax
jne 0x412bf8
push esi
mov esi, dword [esp + 4]
push edi
mov edi, dword [0x427014]
push str.BaiduTn
push esi
call edi
push str.NewBaiduTn
push esi
call edi
test esi, esi
je 0x412bed
push esi
call dword [0x427008]
pop edi
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret

Function at 0x412c10
Capabilities:
Delete 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.SoftwareBaiduHao123hao123desk
push 0x80000001
mov dword [esp + 0x24], 0
call dword [0x427018]
test eax, eax
jne 0x412c6c
push esi
mov esi, dword [esp + 4]
push str.TnFromIEHomePage
push esi
call dword [0x427014]
test esi, esi
je 0x412c62
push esi
call dword [0x427008]
mov eax, 1
pop esi
add esp, 8
ret
mov eax, 1
add esp, 8
ret