joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a6fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686a31
mov eax, dword fs:[0]
push eax
mov eax, 0x8034
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x578]
call fcn.0041de9e
push 0x20019
push 0x6b5868
call fcn.00567b83
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43a8a2
xor ecx, ecx
mov dword [ebp - 0x8034], 0x4000
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x8034]
mov ebx, ecx
push eax
lea eax, [ebp - 0x8010]
push eax
push ecx
jmp 0x43a88c
lea eax, [ebp - 0x8010]
inc ebx
push eax
lea ecx, [ebp - 0x802c]
mov dword [ebp - 0x803c], ebx
call fcn.0041d41a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x8040]
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x8028]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
test eax, eax
je 0x43a85e
xor edx, edx
lea ecx, [ebp - 0x8030]
cmp dword [ebp - 0x8014], 8
lea eax, [ebp - 0x8028]
push ecx
cmovae eax, dword [ebp - 0x8028]
push edx
push edx
push edx
push eax
push esi
mov dword [ebp - 0x8030], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a85e
cmp dword [ebp - 0x8030], eax
je 0x43a85e
push dword [ebp - 0x8030]
call fcn.0056e306
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43a858
cmp dword [ebp - 0x8014], 8
lea eax, [ebp - 0x8030]
push eax
push ebx
lea eax, [ebp - 0x8038]
push eax
lea ecx, [ebp - 0x8028]
cmovae ecx, dword [ebp - 0x8028]
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a84e
cmp dword [ebp - 0x8038], 2
je 0x43a846
cmp dword [ebp - 0x8038], 1
jne 0x43a84e
push ebx
mov ecx, edi
call fcn.0042fbd8
push 1
push ebx
call fcn.0056df27
pop ecx
pop ecx
mov ebx, dword [ebp - 0x803c]
mov dword [ebp - 0x8034], 0x4000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x802c]
call fcn.0041786a
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x8034]
push eax
lea eax, [ebp - 0x8010]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43a77a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.00431535
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x43a8c5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686a31
mov eax, dword fs:[0]
push eax
mov eax, 0x8034
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x578]
call fcn.0041de9e
mov eax, dword [edi + 0x1478]
test eax, eax
jne 0x43a91a
push 0x20019
push 0x6b5428
jmp 0x43a92d
cmp eax, 1
jne 0x43aa8c
push 0x20019
push 0x6b54b0
call fcn.00567b83
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aa8c
xor ecx, ecx
mov dword [ebp - 0x8034], 0x4000
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x8034]
mov ebx, ecx
push eax
lea eax, [ebp - 0x8010]
push eax
push ecx
jmp 0x43aa76
lea eax, [ebp - 0x8010]
inc ebx
push eax
lea ecx, [ebp - 0x802c]
mov dword [ebp - 0x803c], ebx
call fcn.0041d41a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x8040]
mov eax, dword [edi]
push ecx
lea ecx, [ebp - 0x8028]
push ecx
mov ecx, edi
call dword [eax + 0xdc]
test eax, eax
je 0x43aa48
xor edx, edx
lea ecx, [ebp - 0x8030]
cmp dword [ebp - 0x8014], 8
lea eax, [ebp - 0x8028]
push ecx
cmovae eax, dword [ebp - 0x8028]
push edx
push edx
push edx
push eax
push esi
mov dword [ebp - 0x8030], edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43aa48
cmp dword [ebp - 0x8030], eax
je 0x43aa48
push dword [ebp - 0x8030]
call fcn.0056e306
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43aa42
cmp dword [ebp - 0x8014], 8
lea eax, [ebp - 0x8030]
push eax
push ebx
lea eax, [ebp - 0x8038]
push eax
lea ecx, [ebp - 0x8028]
cmovae ecx, dword [ebp - 0x8028]
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43aa38
cmp dword [ebp - 0x8038], 2
je 0x43aa30
cmp dword [ebp - 0x8038], 1
jne 0x43aa38
push ebx
mov ecx, edi
call fcn.0042fbd8
push 1
push ebx
call fcn.0056df27
pop ecx
pop ecx
mov ebx, dword [ebp - 0x803c]
mov dword [ebp - 0x8034], 0x4000
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x802c]
call fcn.0041786a
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x8034]
push eax
lea eax, [ebp - 0x8010]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43a964
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
call fcn.00431535
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x43aaaf
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686a7a
mov eax, dword fs:[0]
push eax
mov eax, 0x806c
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x806c], ecx
push fcn.0041786a
push fcn.004173bc
push 2
pop esi
push esi
push 0x1c
lea eax, [ebp - 0x8048]
push eax
call fcn.0056e947
and dword [ebp - 4], 0
lea ecx, [ebp - 0x8048]
push str.HKEY_LOCAL_MACHINE_X86SOFTWAREMicrosoftInternet_ExplorerMAINUrlTemplate
call fcn.004179fb
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREMicrosoftInternet_ExplorerMAINUrlTemplate
lea ecx, [ebp - 0x802c]
call fcn.004179fb
lea ebx, [ebp - 0x8044]
mov dword [ebp - 0x8074], esi
mov dword [ebp - 0x8070], ebx
cmp dword [ebx + 0x14], 8
jb 0x43ab43
mov eax, dword [ebx]
jmp 0x43ab45
mov eax, ebx
push 0xf003f
push eax
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43ac59
xor ecx, ecx
lea eax, [ebp - 0x8068]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [ebp - 0x8010]
mov esi, ecx
push eax
push ecx
jmp 0x43ab9d
lea eax, [ebp - 0x8010]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43ab88
inc esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x8068]
push eax
lea eax, [ebp - 0x8010]
push eax
push esi
push edi
mov dword [ebp - 0x8068], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x43ab75
and dword [ebp - 0x8078], 0
lea ecx, [ebp - 0x8064]
call fcn.004173bc
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x806c]
mov eax, dword [eax + 0x578]
mov esi, dword [eax]
cmp esi, eax
je 0x43ac43
mov ebx, dword [ebp - 0x8078]
push ebx
lea eax, [ebp - 0x8064]
push 0x6b5a44
push eax
call fcn.0041ccda
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0xc]
add esp, 0xc
inc ebx
cmp dword [edx + 0x14], 8
jb 0x43ac04
mov edx, dword [edx]
cmp dword [ebp - 0x804c], 8
lea eax, [eax*2 + 2]
push eax
push edx
push 1
lea ecx, [ebp - 0x8060]
cmovae ecx, dword [ebp - 0x8060]
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x806c]
mov esi, dword [esi]
cmp esi, dword [eax + 0x578]
jne 0x43abe0
mov ebx, dword [ebp - 0x8070]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8064]
call fcn.0041786a
add ebx, 0x1c
sub dword [ebp - 0x8074], 1
mov dword [ebp - 0x8070], ebx
jne 0x43ab39
mov ecx, dword [ebp - 0x806c]
call fcn.00431535
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x8048]
push fcn.0041786a
push 2
push 0x1c
push eax
call fcn.0056e9b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x43acaf
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x686aad
mov eax, dword fs:[0]
push eax
mov eax, 0x8028
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x1478]
xor ebx, ebx
mov dword [ebp - 0x8030], ebx
test eax, eax
jne 0x43ad01
push 0xf003f
push str.HKEY_CURRENT_USERSoftwareMicrosoftInternet_ExplorerTypedURLs
jmp 0x43ad10
cmp eax, 1
jne 0x43ad21
push 0xf003f
push str.HKEY_CURRENT_USERSoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsCurrentVersionAppContainerStoragemicrosoft.microsoftedge_8wekyb3d8bbweMicrosoftEdgeTypedURLs
call fcn.00567b83
mov dword [ebp - 0x8030], eax
pop ecx
pop ecx
test eax, eax
jne 0x43ad46
lea eax, [ebp - 0x8030]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp - 0x8030]
test eax, eax
je 0x43ae3a
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x8034]
mov esi, ebx
push ecx
lea ecx, [ebp - 0x8010]
push ecx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push eax
jmp 0x43ad97
lea eax, [ebp - 0x8010]
push eax
push dword [ebp - 0x8030]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x43ad7c
inc esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x8034]
push eax
lea eax, [ebp - 0x8010]
push eax
push esi
push dword [ebp - 0x8030]
mov dword [ebp - 0x8034], 0x4000
call ebx
test eax, eax
je 0x43ad64
lea ecx, [ebp - 0x802c]
xor ebx, ebx
call fcn.004173bc
and dword [ebp - 4], ebx
mov eax, dword [edi + 0x578]
mov esi, dword [eax]
cmp esi, eax
je 0x43ae1f
push ebx
lea eax, [ebp - 0x802c]
push str.url_u
push eax
call fcn.0041ccda
mov eax, dword [esi + 0x1c]
lea edx, [esi + 0xc]
add esp, 0xc
inc ebx
cmp dword [edx + 0x14], 8
jb 0x43ade7
mov edx, dword [edx]
cmp dword [ebp - 0x8014], 8
lea eax, [eax*2 + 2]
push eax
push edx
push 1
lea ecx, [ebp - 0x8028]
cmovae ecx, dword [ebp - 0x8028]
push 0
push ecx
push dword [ebp - 0x8030]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [esi]
cmp esi, dword [edi + 0x578]
jne 0x43adc3
push dword [ebp - 0x8030]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x802c]
call fcn.0041786a
mov ecx, edi
call fcn.00431535
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x4474dd
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x240
mov eax, 0x6887dc
call fcn.0056e23b
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
inc ebx
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 0x10]
push 0x20019
push eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], ecx
call fcn.00567b83
mov esi, eax
mov dword [ebp - 0x234], esi
pop ecx
pop ecx
test esi, esi
je 0x4476aa
xor eax, eax
mov ecx, dword [edi + 8]
mov dword [ebp - 0x230], eax
test ecx, ecx
je 0x447553
call fcn.004c2c9d
mov ecx, dword [edi + 8]
call fcn.00451480
test eax, eax
jne 0x447695
mov eax, dword [ebp - 0x230]
push 0x100
lea ecx, [ebp - 0x210]
push ecx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x4476aa
push dword [ebp - 0x238]
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.0044ca3c
test eax, eax
je 0x447689
mov ecx, edi
call fcn.0044ca05
push ebx
push ebx
push 3
lea eax, [ebp - 0x210]
mov ecx, edi
push eax
call fcn.00448596
test eax, eax
jne 0x447682
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x22c]
call fcn.0041d41a
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x44760e
lea esi, [eax - 1]
push esi
lea ecx, [ebp - 0x228]
call fcn.00404220
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
cmp word [eax + esi*2], 0x5c
je 0x447608
push 0x6b0d8c
lea ecx, [ebp - 0x22c]
call fcn.00419c79
mov esi, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00419c79
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x248]
push eax
sub esp, 0x18
mov dword [ebp - 0x244], edi
mov ecx, esp
mov dword [ebp - 0x24c], esp
push dword [ebp - 0x240]
call fcn.00409600
mov byte [ebp - 4], bl
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
cmovae eax, dword [ebp - 0x228]
push eax
mov byte [ebp - 4], 0
mov ecx, edi
call fcn.00440fc3
test eax, eax
je 0x447699
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
mov ecx, edi
call fcn.0044c9cb
mov eax, dword [ebp - 0x230]
inc eax
jmp 0x44752b
xor ebx, ebx
jmp 0x4476c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
jmp 0x4476c5
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4476c5
call fcn.004c2c9d
mov ecx, dword [edi + 8]
call fcn.00451480
xor ecx, ecx
test eax, eax
cmovne ebx, ecx
test esi, esi
je 0x4476d0
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
call fcn.0056e1e5
ret 0x10
Function at 0x44bed3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x9913
push esi
mov esi, ecx
jne 0x44bee9
call fcn.0044bab0
jmp 0x44bf3b
mov ecx, 0x9911
cmp dword [ebp + 8], ecx
jne 0x44bf21
mov eax, dword [esi]
push esi
push ecx
mov ecx, esi
call dword [eax + 0x64]
lea ecx, [esi + 0xd38]
call fcn.004c2c38
xor eax, eax
push eax
push eax
push esi
push 0x44d2a3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xd64], eax
jmp 0x44bf3b
mov ecx, 0x9912
cmp dword [ebp + 8], ecx
jne 0x44bf3b
mov eax, dword [esi]
push esi
push ecx
mov ecx, esi
call dword [eax + 0x64]
mov ecx, esi
call fcn.00444b43
pop esi
pop ebp
ret 4
Function at 0x44dc69
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x44ddd5
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x44ddd4
cmp eax, 0x29
jne 0x44dca1
cmp dword [esi + 0x10], 0
jne 0x44ddd4
test dword [esi + 0x50], edx
je 0x44dde1
cmp eax, 0x2e
jne 0x44dcbc
push 5
lea ecx, [esi + 0x24]
call fcn.0044febe
mov ecx, esi
call fcn.0044ff0d
jmp 0x44ddbf
cmp eax, 0x5c
jne 0x44dd19
mov ecx, esi
call fcn.0044ff0d
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x44dcef
cmp word [esi + 0x48], 0x62
jne 0x44dcef
push 4
lea ecx, [esi + 0x24]
call fcn.0044febe
mov ecx, esi
call fcn.0044ff0d
jmp 0x44ddc6
test eax, eax
je 0x44dd0d
cmp word [esi + 0x48], 0x42
jne 0x44dd0d
push 4
lea ecx, [esi + 0x24]
call fcn.0044febe
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x44dce3
mov ecx, esi
call fcn.0044dde9
jmp 0x44ddbf
cmp eax, 0x5b
jne 0x44dd3d
mov ecx, esi
call fcn.0044ff0d
mov ecx, esi
call fcn.0044e49f
cmp dword [esi + 0x4c], 0x5d
je 0x44dcb0
push 4
jmp 0x44dde3
cmp eax, 0x28
jne 0x44dd65
mov ecx, esi
call fcn.0044ff0d
mov ecx, esi
call fcn.00450530
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x44dde1
mov ecx, esi
call fcn.0044ff0d
jmp 0x44ddbb
cmp eax, 0x5e
jne 0x44dd71
push 2
jmp 0x44dcdb
cmp eax, 0x24
jne 0x44dd7d
push 3
jmp 0x44dcdb
cmp eax, 0x2a
je 0x44dddd
cmp eax, 0x2b
je 0x44dddd
cmp eax, 0x3f
je 0x44dddd
cmp eax, 0x7b
je 0x44dddd
cmp eax, 0x7d
jne 0x44dd9b
test dword [esi + 0x50], edx
je 0x44ddd9
cmp eax, 0x5d
jne 0x44dda5
test dword [esi + 0x50], edx
je 0x44dd36
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0044d5cc
mov ecx, esi
call fcn.0044ff0d
mov bl, 1
test bl, bl
je 0x44ddc6
mov ecx, esi
call fcn.0044ff60
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x44dc7b
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x44dde3
push 0xa
jmp 0x44dde3
push 5
call fcn.0056af6e
int3

Function at 0x451484
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, ecx
push esi
mov dword [ebp - 8], eax
xor esi, esi
call fcn.0045143a
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x451518
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xc
jbe 0x45150e
push edi
push ebx
call fcn.0056e306
mov edi, eax
pop ecx
test edi, edi
je 0x45150d
push esi
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push ebx
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x451503
cmp dword [ebp + 8], ebx
jne 0x451503
cmp dword [edi], 2
jne 0x451503
mov ecx, dword [ebp - 8]
lea eax, [ebx - 0xc]
push eax
lea eax, [edi + 0xc]
push eax
call fcn.004515f6
inc esi
push 1
push edi
call fcn.0056df27
pop ecx
pop ecx
pop edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45173f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0xc], esi
cmp dword [esi + 8], edi
je 0x451819
push ebx
mov ebx, dword [esi + 4]
push 0xc
pop eax
mov dword [ebp - 4], eax
mov edx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebx]
cmp eax, ebx
je 0x45177b
add edx, 4
add edx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
jne 0x45176c
mov dword [ebp - 8], edx
push edx
call fcn.0056e306
mov ebx, eax
pop ecx
test ebx, ebx
je 0x451818
mov dword [ebx], 2
mov dword [ebx + 8], edi
mov dword [ebx + 4], edi
mov eax, dword [esi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x4517d7
mov edi, dword [ebp - 0xc]
push 0xc
pop eax
push dword [esi + 0x10]
add eax, ebx
push dword [esi + 0xc]
push eax
call fcn.00643300
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, dword [esi + 0x10]
mov dword [eax + ebx], 0xbabffbab
add eax, 4
inc dword [ebx + 4]
mov esi, dword [esi]
mov dword [ebp - 4], eax
cmp esi, dword [edi + 4]
jne 0x4517a7
xor edi, edi
push edi
push edi
push 2
push edi
push edi
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x45180e
push edi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push dword [ebp - 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push ebx
call fcn.0056df27
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4522ff
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4523e9
xor eax, eax
push 0x400
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x614]
push eax
call fcn.00644240
add esp, 0xc
lea ebx, [ebp - 0x614]
mov eax, ebx
push eax
push 0x1ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
jne 0x45235f
push edi
jmp 0x4523ee
push 4
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.00643300
add esp, 0xc
lea eax, [ebp - 0x214]
push 0x200
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x452359
lea eax, [ebp - 0x214]
push eax
call fcn.00647fd1
mov dword [ebp - 0x618], eax
pop ecx
cmp eax, 0x104
jae 0x4523d1
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.00651cc7
add esp, 0xc
test eax, eax
je 0x4523cb
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4523b7
xor eax, eax
cmp word [ebx], ax
jne 0x45235f
jmp 0x4523f5
mov eax, dword [ebp - 0x618]
lea eax, [edi + eax*2]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x6b74e4
push esi
call fcn.0041ccda
add esp, 0x10
jmp 0x4523f5
push 0x6b74f0
mov ecx, esi
call fcn.004179fb
pop edi
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
pop esi
pop ebx
jb 0x452403
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 8
Function at 0x452949
Capabilities:
Get process image filename

Disassembly:
push 0xc
mov eax, 0x68a50f
call fcn.0056e207
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 0x6b74f4
call fcn.004179fb
push dword [ebp + 8]
push 1
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4529d1
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x18]
push 0x1000
call fcn.0041f109
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
sar eax, 1
push eax
push dword [ebp - 0x18]
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4529be
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathStripPathW]
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004179fb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0041f0e1
lea eax, [esi + 4]
cmp dword [eax + 0x14], 8
jb 0x4529dc
mov eax, dword [eax]
call fcn.0056e1d0
ret 8

Function at 0x452d20
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x68
mov eax, 0x689f17
call fcn.0056e207
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0x453108
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x2c], eax
call fcn.0056606c
mov dword [ebp - 4], edi
xorps xmm0, xmm0
push ecx
push ecx
lea ecx, [ebp - 0x74]
movsd qword [esp], xmm0
call fcn.005660f2
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x452dbd
push edi
lea ecx, [ebp - 0x74]
call fcn.00566268
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
comisd xmm0, xmmword [0x6b0e90]
jbe 0x452dbd
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x32
push dword [ebp - 0x30]
call esi
test eax, eax
jne 0x452d98
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], eax
je 0x452dd8
push dword [ebp - 0x30]
call esi
cmp dword [ebp - 0x2c], 0
je 0x452de3
push dword [ebp - 0x2c]
call esi
mov esi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.005660ab
mov eax, esi
call fcn.0056e1d0
ret 0x10

Function at 0x4536df
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
lea eax, [ecx + 0xa0]
cmp dword [eax + 0x14], 8
jb 0x4536f0
mov eax, dword [eax]
push esi
push eax
call fcn.004d282d
mov esi, dword [ebp + 8]
movzx eax, ax
push eax
push str._c:_s
push esi
call fcn.0041ccda
add esi, 4
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x453717
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x453737
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x453737
call esi
jmp 0x453739
xor eax, eax
pop esi
pop ebp
ret 4