joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a880
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41a8f8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x41a8d1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x41a8d1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x41a8e3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x41a89b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x41a910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x41a946
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41a9a4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.0041a880
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x41a9a2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x41a9a6
jmp 0x41a93d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x41a9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [0x1000b040]
mov esp, ebp
pop ebp
ret
Function at 0x41ac30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x46
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x41
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x57
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x46
mov byte [ebp - 6], 0x69
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0x65
mov byte [ebp - 3], 0
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0
lea eax, [ebp - 0x18]
push eax
call fcn.0041aa30
add esp, 4
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.0041aa30
add esp, 4
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x2c]
push edx
call fcn.0041aa30
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
push 0x80
push 4
push 0
push 1
push 0x10000000
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41ad11
xor al, al
jmp 0x41ad36
mov dword [ebp - 0x38], 0
push 0
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [ebp - 0x30]
mov edx, dword [ebp - 0x20]
push edx
call dword [ebp - 0x1c]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x42bac0
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x42bb38
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x42bb11
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x42bb11
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x42bb23
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x42badb
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret
Function at 0x42bb50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x42bb86
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x42bbe4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.0042bac0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x42bbe2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x42bbe6
jmp 0x42bb7d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42bbf0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
push ebx
push ecx
mov ebx, dword fs:[0x30]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
pop ecx
pop ebx
push 0x3777cccb
mov eax, dword [ebp - 0x14]
push eax
call fcn.0042bb50
add esp, 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [ebp - 0x18]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bd70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 0x44
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x72
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x63
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], 0x79
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x24]
push eax
call fcn.0042be80
add esp, 4
mov dword [ebp - 0x10], eax
push 0x1c368da0
call fcn.0042bc70
add esp, 4
mov dword [ebp - 0xc], eax
push 0x104
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x3c]
mov dl, byte [ecx]
mov byte [ebp - 0x41], dl
add dword [ebp - 0x3c], 1
cmp byte [ebp - 0x41], 0
jne 0x42be00
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x48]
mov byte [ecx - 2], 0
push 0x100050f0
mov edx, dword [ebp + 8]
push edx
call fcn.0042bd00
add esp, 8
call dword [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
call fcn.0042ba50
add esp, 0xc
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042bd00
add esp, 8
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042bd00
add esp, 8
mov esp, ebp
pop ebp
ret
Function at 0x42bfe0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x174
push 0x74e3bb2e
call fcn.0042bc70
add esp, 4
mov dword [ebp - 0x16c], eax
push 0x3749ca10
call fcn.0042bc70
add esp, 4
mov dword [ebp - 0x14], eax
push 0x49f43cb7
call fcn.0042bc70
add esp, 4
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x28], 0x23ec5044
mov dword [ebp - 0x24], 0x33af2093
push 0
push 2
call dword [ebp - 0x16c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x158], 0x128
lea eax, [ebp - 0x158]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [ebp - 0x14]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x33
mov byte [ebp - 7], 0x32
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
lea edx, [ebp - 0xc]
push edx
call dword [0x10005040]
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x42c0a7
lea eax, [ebp - 0xc]
push eax
call dword [0x10005038]
mov dword [ebp - 0x168], eax
mov byte [ebp - 0x164], 0x45
mov byte [ebp - 0x163], 0x6e
mov byte [ebp - 0x162], 0x75
mov byte [ebp - 0x161], 0x6d
mov byte [ebp - 0x160], 0x57
mov byte [ebp - 0x15f], 0x69
mov byte [ebp - 0x15e], 0x6e
mov byte [ebp - 0x15d], 0x64
mov byte [ebp - 0x15c], 0x6f
mov byte [ebp - 0x15b], 0x77
mov byte [ebp - 0x15a], 0x73
mov byte [ebp - 0x159], 0
lea ecx, [ebp - 0x164]
push ecx
mov edx, dword [ebp - 0x168]
push edx
call dword [0x10005080]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.0042beb0
add esp, 8
test eax, eax
je 0x42c191
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.0042beb0
add esp, 8
test eax, eax
je 0x42c191
lea ecx, [ebp - 0x134]
push ecx
push 0x100050d0
call dword [0x1000507c]
test eax, eax
je 0x42c191
mov dword [0x10007128], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x174], edx
lea eax, [ebp - 0x174]
push eax
push 0x10001550
call dword [ebp - 0x10]
cmp dword [0x10007128], 0xa
jbe 0x42c18d
mov eax, 1
jmp 0x42c1f3
xor eax, eax
jmp 0x42c1f3
lea ecx, [ebp - 0x158]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0x170]
test eax, eax
jne 0x42c112
mov byte [ebp - 0x20], 0x4d
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x66
mov byte [ebp - 0x18], 0x66
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x20]
push eax
push 0
call dword [0x10005098]
test eax, eax
je 0x42c1f1
mov eax, 1
jmp 0x42c1f3
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42e350
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
push 0x40566d67
call fcn.0042bc70
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10005088]
push 0x100050b0
lea edx, [ebp - 0x110]
push edx
call fcn.0042bd00
add esp, 8
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x1000502c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42e3b0
jmp 0x42e605
cmp dword [ebp - 0x250], 0x10
jne 0x42e41f
movsx edx, byte [ebp - 0x224]
cmp edx, 0x2e
je 0x42e41f
mov byte [ebp - 0x254], 0x5c
mov byte [ebp - 0x253], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [0x10005088]
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x360]
push eax
call fcn.0042bd00
add esp, 8
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x360]
push edx
call fcn.0042bd00
add esp, 8
lea eax, [ebp - 0x360]
push eax
call fcn.0042e350
add esp, 4
push 0x100050b8
lea ecx, [ebp - 0x224]
push ecx
call fcn.0042d900
add esp, 8
test eax, eax
je 0x42e4a5
lea edx, [ebp - 0x224]
push edx
call dword [0x10005084]
movsx eax, byte [ebp + eax - 0x225]
cmp eax, 0x74
jne 0x42e4a5
mov byte [ebp - 0x46c], 0x5c
mov byte [ebp - 0x46b], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [0x10005088]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005028]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10005064]
push 0x100050c0
lea edx, [ebp - 0x224]
push edx
call fcn.0042d900
add esp, 8
test eax, eax
je 0x42e5e2
lea eax, [ebp - 0x224]
push eax
call dword [0x10005084]
movsx ecx, byte [ebp + eax - 0x225]
cmp ecx, 0x65
jne 0x42e5e2
mov byte [ebp - 0x57c], 0x5c
mov byte [ebp - 0x57b], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x578]
push eax
call dword [0x10005088]
lea ecx, [ebp - 0x57c]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.0042bd00
add esp, 8
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x578]
push ecx
call fcn.0042bd00
add esp, 8
push 0
lea edx, [ebp - 0x578]
push edx
call fcn.0042d960
add esp, 8
movzx eax, al
test eax, eax
je 0x42e5e2
push 0x104
lea ecx, [ebp - 0x698]
push ecx
call dword [0x10005024]
mov byte [ebp - 0x58c], 0x5c
mov byte [ebp - 0x58b], 0x5c
mov byte [ebp - 0x58a], 0x73
mov byte [ebp - 0x589], 0x79
mov byte [ebp - 0x588], 0x73
mov byte [ebp - 0x587], 0x74
mov byte [ebp - 0x586], 0x65
mov byte [ebp - 0x585], 0x6d
mov byte [ebp - 0x584], 0x2e
mov byte [ebp - 0x583], 0x65
mov byte [ebp - 0x582], 0x78
mov byte [ebp - 0x581], 0x65
mov byte [ebp - 0x580], 0
lea edx, [ebp - 0x58c]
push edx
lea eax, [ebp - 0x698]
push eax
call dword [0x10005028]
lea ecx, [ebp - 0x698]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.0042d960
add esp, 8
push 0x64
call dword [ebp - 4]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [0x1000503c]
test eax, eax
jne 0x42e3b0
mov edx, dword [ebp - 8]
push edx
call dword [0x1000505c]
mov esp, ebp
pop ebp
ret
Function at 0xb97f8d
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b97f8d
ret
Function at 0x42acb7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x448138]
jne 0x42acc1
repz ret
jmp fcn.004323fa

Function at 0x43b3a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00431be8
xor ebx, ebx
cmp dword [0x44a2f4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43b475
push 0x402f3c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43b3e0
xor eax, eax
jmp 0x43b539
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402f30
push edi
call esi
cmp eax, ebx
je 0x43b3d9
push eax
call fcn.00431b85
mov dword [esp], 0x402f20
push edi
mov dword [0x44a2f4], eax
call esi
push eax
call fcn.00431b85
mov dword [esp], 0x402f0c
push edi
mov dword [0x44a2f8], eax
call esi
push eax
call fcn.00431b85
mov dword [0x44a2fc], eax
lea eax, [ebp - 8]
push eax
call fcn.0042e1ce
test eax, eax
pop ecx
pop ecx
je 0x43b443
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042af84
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43b475
push 0x402ef0
push edi
call esi
push eax
call fcn.00431b85
cmp eax, ebx
pop ecx
mov dword [0x44a304], eax
je 0x43b475
push 0x402ed8
push edi
call esi
push eax
call fcn.00431b85
pop ecx
mov dword [0x44a300], eax
mov eax, dword [0x44a300]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43b4ee
cmp dword [0x44a304], esi
je 0x43b4ee
push eax
call fcn.00431bf1
pop ecx
call eax
cmp eax, ebx
je 0x43b4bb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x44a304]
call fcn.00431bf1
pop ecx
call eax
test eax, eax
je 0x43b4bb
test byte [ebp - 0x18], 1
jne 0x43b4ee
lea eax, [ebp - 0xc]
push eax
call fcn.0042e205
test eax, eax
pop ecx
je 0x43b4d6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042af84
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43b4e5
or dword [ebp + 0x10], 0x200000
jmp 0x43b51f
or dword [ebp + 0x10], 0x40000
jmp 0x43b51f
mov eax, dword [0x44a2f8]
cmp eax, esi
je 0x43b51f
push eax
call fcn.00431bf1
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43b51f
mov eax, dword [0x44a2fc]
cmp eax, esi
je 0x43b51f
push dword [ebp - 4]
push eax
call fcn.00431bf1
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x44a2f4]
call fcn.00431bf1
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45fc58
Capabilities:
Get disk size

Disassembly:
cmp ecx, dword [0x40d1cc]
jne 0x45fc62
repz ret
jmp fcn.00461f02
Function at 0x1000ad60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000adb9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000adb9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000adaa
cmp esi, edx
jae 0x1000adb9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x1000ad98
cmp esi, edx
jae 0x1000adb9
cmp word [esi], 0
je 0x1000adb9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000da00
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x100f5074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, ecx
push 0
push eax
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.1000e670
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x1000da5c
push str.Haokan
jmp 0x1000da61
push str.S_9DAD19F1_152D_4144_AEE5_2B4B4259C8BF
push eax
call edi
push esi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x20c]
push str.LogPopMgr.log.on
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x208
mov dword [0x100f8d88], eax
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push str._popmgr.log
push esi
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
push 0x100cd318
lea eax, [ebp - 0x20c]
push eax
call edi
push esi
lea eax, [ebp - 0x20c]
push eax
call edi
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
pop esi
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000db10
sub eax, edx
lea ecx, [ebx + 0x2c]
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.1000deb0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10010efc
mov esp, ebp
pop ebp
ret
Function at 0x1000ddd0
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x1000de34
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x1000de26
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1000de26
push edx
call fcn.1000d920
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x1000de1f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x1000de33
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.1000deb0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000de9a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x1000de9a
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000de81
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x1000de9a
jg 0x1000de92
cmp dword [ebp - 8], 0x40000000
jbe 0x1000de9a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e210
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x1000e234
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x1000e2a0
push 0
push 0
call fcn.100a4d7d
add esp, 0x18
mov dword [esi + 8], eax
pop esi
ret

Function at 0x1000e670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100f5074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x100f8d64]
push edi
xor edi, edi
test esi, esi
je 0x1000e6fa
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.1009e830
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call esi
push str.HaokanViewer.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, 1
cmovne edi, ecx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10010efc
mov esp, ebp
pop ebp
ret