joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4672c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b965d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00402280
nop
lea ecx, [ebp - 0x44]
call fcn.00401cd0
nop
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00402280
nop
lea ecx, [ebp - 0x2c]
call fcn.00401cd0
nop
mov byte [ebp - 4], 3
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0046ab30
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467354
lea ecx, [ebp - 0x44]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp - 0x2c]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467377
lea ecx, [ebp - 0x2c]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea ecx, [ebp - 0x5c]
call fcn.00401aa0
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.0046a580
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4673b6
lea ecx, [ebp - 0x5c]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00401940
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401940
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401940
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46c300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea ecx, [ebp - 0x2c]
call fcn.00401aa0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0046bab0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46c369
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401940
nop
mov eax, dword [ebp - 0x10]
jmp 0x46c38b
lea edx, [ebp - 0x2c]
push edx
call fcn.0046c1a0
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401940
nop
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x46c3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 4], 0
lea eax, [ebp - 0x70]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
call fcn.00402280
nop
lea ecx, [ebp - 0x70]
call fcn.00401cd0
nop
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00402280
nop
lea ecx, [ebp - 0x58]
call fcn.00401cd0
nop
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp - 0x18]
call fcn.00402280
nop
lea ecx, [ebp - 0x40]
call fcn.00401cd0
nop
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0046a840
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0046bab0
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c489
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401940
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00401940
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401940
nop
mov eax, dword [ebp - 0x1c]
jmp 0x46c54f
lea ecx, [ebp - 0x58]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c4d2
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401940
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00401940
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401940
nop
mov eax, dword [ebp - 0x20]
jmp 0x46c54f
lea ecx, [ebp - 0x40]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46c51b
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401940
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00401940
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401940
nop
mov eax, dword [ebp - 0x24]
jmp 0x46c54f
mov dword [ebp - 0x28], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00401940
nop
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00401940
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401940
nop
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x470720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x470733
xor eax, eax
jmp 0x470808
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ffff
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4707fa
cmp dword [ebp - 4], 0
je 0x4707f1
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x14]
call fcn.00410690
mov ecx, dword [ebp + 0x14]
call fcn.00404580
mov dword [ebp - 0x14], eax
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0x1ffff
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4707e4
cmp dword [ebp + 0x18], 0
je 0x4707cd
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 4]
mov dword [edx], eax
cmp dword [ebp + 0x1c], 0
je 0x4707db
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov dword [ebp - 0xc], 1
jmp 0x4707ef
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
jmp 0x4707f8
mov dword [ebp - 0xc], 1
jmp 0x470805
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x470b90
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b917e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp + 8]
call fcn.00404740
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
or eax, 1
mov dword [ebp - 0x10], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x470c2f
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x470c27
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401ac0
nop
mov eax, dword [ebp + 8]
jmp 0x470d56
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x470c79
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x470c71
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401ac0
nop
mov eax, dword [ebp + 8]
jmp 0x470d56
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x24]
ja 0x470c9f
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0040f750
nop
jmp 0x470cb1
push 0
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp + 8]
call fcn.00410df0
nop
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404580
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp dword [ebp - 0x1c], 0
je 0x470ce5
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x470cf2
push 0
mov ecx, dword [ebp + 8]
call fcn.0040f750
nop
jmp 0x470d30
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x28]
ja 0x470d1e
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040f750
nop
jmp 0x470d30
push 0
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00410df0
nop
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x470d53
and dword [ebp - 0x10], 0xfffffffe
mov ecx, dword [ebp + 8]
call fcn.00401ac0
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x471020
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9e5d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp dword [ebp + 8], 0
je 0x471059
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x471059
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x471060
xor al, al
jmp 0x4710ee
mov eax, dword [ebp + 8]
push eax
call fcn.00471100
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00422780
mov dword [ebp - 4], 0
push 1
lea edx, [ebp - 0x2c]
push edx
call fcn.00461c20
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401940
nop
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 8], 0
je 0x4710ce
mov ecx, dword [ebp + 8]
movzx edx, word [ecx]
test edx, edx
je 0x4710ce
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4710ce
mov dword [ebp - 0x10], 1
jmp 0x4710d5
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x4710e4
mov dword [ebp - 0x14], 1
jmp 0x4710eb
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x471180
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x4711ab
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4711ab
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4711b2
xor al, al
jmp 0x47123b
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471240
add esp, 0x14
movzx edx, al
test edx, edx
je 0x471216
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00471540
add esp, 0x14
movzx edx, al
test edx, edx
jne 0x47120f
jmp 0x471216
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], 0
je 0x471228
mov eax, dword [ebp - 8]
push eax
call fcn.00483903
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x471234
mov byte [ebp - 1], 1
jmp 0x471238
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x4714a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
call fcn.00401910
test eax, eax
je 0x471538
mov ecx, dword [ebp + 8]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x471538
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471538
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00470b90
add esp, 8
mov edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 2
jbe 0x47152f
push 0
lea ecx, [ebp - 0x20]
call fcn.0040da60
movsx eax, byte [eax]
cmp eax, 0x4d
jne 0x47152f
push 1
lea ecx, [ebp - 0x20]
call fcn.0040da60
movsx ecx, byte [eax]
cmp ecx, 0x5a
jne 0x47152f
mov byte [ebp - 1], 1
lea ecx, [ebp - 0x20]
call fcn.00401ac0
nop
mov al, byte [ebp - 1]
jmp 0x47153a
lea ecx, [ebp - 0x20]
call fcn.00401ac0
nop
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x472070
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba3d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov ecx, dword [ebp + 8]
call fcn.00401910
test eax, eax
je 0x4721d1
mov ecx, dword [ebp + 8]
call fcn.00401910
movzx eax, word [eax]
test eax, eax
je 0x4721d1
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4721d1
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00402280
nop
lea ecx, [ebp - 0x38]
call fcn.00404e40
nop
mov dword [ebp - 4], 2
lea edx, [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x1c]
call fcn.00402280
nop
lea ecx, [ebp - 0x50]
call fcn.00404e40
nop
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.00401910
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00470b90
add esp, 8
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0040db40
lea ecx, [ebp - 0x68]
call fcn.00401ac0
nop
cmp dword [ebp - 0x28], 0
jne 0x472143
mov dword [ebp - 0x14], 1
jmp 0x47214a
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x4721b4
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.00471fd0
add esp, 8
cmp dword [ebp + 0xc], 0
je 0x47217b
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004227d0
nop
cmp dword [ebp + 0x10], 0
je 0x47218e
lea ecx, [ebp - 0x50]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004227d0
nop
mov byte [ebp - 0xe], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00401ac0
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ac0
nop
mov al, byte [ebp - 0xe]
jmp 0x4721d3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00401ac0
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ac0
nop
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x474070
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax + 0x10], 0
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0x67452301
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0xefcdab89
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x98badcfe
mov eax, 4
imul ecx, eax, 3
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x10325476
pop ebp
ret

Function at 0x4742c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba4a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
cmp dword [ebp + 8], 0
je 0x4742fc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4742fc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x474303
xor eax, eax
jmp 0x4743d6
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.00470b90
add esp, 8
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x474329
mov dword [ebp - 0x14], 1
jmp 0x474330
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 0xd], dl
movzx eax, byte [ebp - 0xd]
test eax, eax
jne 0x4743bc
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x474356
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.00471fd0
add esp, 8
lea ecx, [ebp - 0xb0]
call fcn.004ab780
mov byte [ebp - 4], 1
push 1
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0xb0]
call fcn.004adf50
movzx eax, al
cmp eax, 1
jne 0x47438b
mov dword [ebp - 0x18], 1
jmp 0x474392
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
call fcn.004351c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ac0
nop
mov eax, dword [ebp - 0x1c]
jmp 0x4743d6
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401ac0
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x474e80
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba603
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00404740
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00404740
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00404740
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004753f0
nop
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x475890
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x4770d0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
jmp 0x4770e6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 8
jge 0x477105
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x4e7520]
mov dword [edx + ecx*4 + 0x88], eax
jmp 0x4770dd
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
Function at 0x477710
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
cmp dword [ebp + 0x10], 0x40
jne 0x47772b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x40
jmp 0x4777a3
cmp dword [ebp + 0x10], 0x40
jbe 0x477754
mov dword [ebp - 8], 0x20
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00476f20
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0xc], ecx
jmp 0x477760
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, 0x40
sub ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x36
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x2a0]
push edx
call fcn.0047a2a0
add esp, 0xc
mov eax, dword [ebp - 0x10]
push eax
push 0x5c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x2e0]
push eax
call fcn.0047a2a0
add esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4777b5
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jge 0x4777ef
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x36
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2a0], cl
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, 0x5c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
mov byte [edx + 0x2e0], cl
jmp 0x4777ac
mov eax, dword [ebp + 8]
push eax
call fcn.004770d0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00477550
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0xa8
push eax
call fcn.004770d0
add esp, 4
push 0x40
mov ecx, dword [ebp + 8]
add ecx, 0x2e0
push ecx
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
call fcn.00477550
add esp, 0xc
push 0xa8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x150
push ecx
call fcn.00479d20
add esp, 0xc
push 0xa8
mov edx, dword [ebp + 8]
add edx, 0xa8
push edx
mov eax, dword [ebp + 8]
add eax, 0x1f8
push eax
call fcn.00479d20
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x477d90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba6cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.004635b0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
jne 0x477ddc
mov dword [ebp - 0x14], 1
jmp 0x477de3
mov dword [ebp - 0x14], 0
mov al, byte [ebp - 0x14]
mov byte [ebp - 0xd], al
movzx ecx, byte [ebp - 0xd]
test ecx, ecx
je 0x477e01
push str.CJHLogIni::Output____CJHString::FormatStr___failed:invalid_log_r_n
lea ecx, [ebp - 0x38]
call fcn.00401b60
nop
jmp 0x477e0d
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
je 0x477e25
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
mov edx, dword [ebp + 0xc]
and edx, 2
je 0x477e3e
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
call fcn.00477ed0
add esp, 4
mov eax, dword [ebp + 0xc]
and eax, 4
je 0x477e5c
lea ecx, [ebp - 0x38]
call fcn.00401910
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00477ab0
nop
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401940
nop
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x478040
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0xa0000000
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x478076
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8