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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496400
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
call fcn.0040f140
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0040f5f0
mov byte [ebp - 4], 1
push 1
push str.SoftWareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x18]
call fcn.00416100
lea eax, [ebp - 0x24]
push eax
push str.ExeString
lea ecx, [ebp - 0x18]
call fcn.004162f0
lea ecx, [ebp - 0x24]
call fcn.0041cae0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x416a01
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x398], 1
jmp 0x416a0e
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x398], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x398]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004023a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004160d0
mov eax, dword [ebp - 0x2c]
push edx
mov ecx, ebp
push eax
lea edx, [0x416a64]
call fcn.00492e8e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x4170b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497468
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00402310
mov dword [ebp - 4], 0
push str.PCSoftMgrToolsDll.dll
lea ecx, [ebp - 0x18]
call fcn.00402430
lea ecx, [ebp - 0x18]
call fcn.0041cae0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x41721b
lea ecx, [ebp - 0x18]
call fcn.0041cae0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x417192
mov ecx, dword [ebp - 0x18]
push ecx
push str.Load_Library__s__Failed
mov ecx, 0x4ba4f8
call fcn.00458c70
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004023a0
mov eax, dword [ebp - 0x2c]
jmp 0x417233
mov esi, esp
push str.IsOpenUnkownEnabled
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x24], eax
mov esi, esp
call dword [ebp - 0x24]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x417201
mov esi, esp
push str.UnknownOpenRecoverCommand
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x28], eax
mov esi, esp
call dword [ebp - 0x28]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x417201
push str.GetProcessAddress__UnknownOpenRecoverCommand__Failed
mov ecx, 0x4ba4f8
call fcn.00458c70
add esp, 4
mov dword [ebp - 0x10], 0
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004023a0
mov eax, dword [ebp - 0x30]
push edx
mov ecx, ebp
push eax
lea edx, [0x417260]
call fcn.00492e8e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x419440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497438
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x35c
call fcn.004665a0
push eax
lea ecx, [ebp - 0x20]
call fcn.00402310
mov dword [ebp - 4], 0
push 0x4a597c
lea ecx, [ebp - 0x20]
call fcn.00402430
lea ecx, [ebp - 0x20]
call fcn.0041cae0
mov esi, esp
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x41953a
lea ecx, [ebp - 0x20]
call fcn.0041cae0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4194fe
jmp 0x41953a
mov esi, esp
push str.UninstallSoftMgrSrv
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x419521
jmp 0x41953a
mov esi, esp
call dword [ebp - 0x28]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x419533
jmp 0x41953a
mov dword [ebp - 0x14], 1
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, esp
call fcn.00492e6b
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004023a0
mov eax, dword [ebp - 0x2c]
push edx
mov ecx, ebp
push eax
lea edx, [0x419590]
call fcn.00492e8e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x42a2c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x496008
mov eax, dword fs:[0]
push eax
sub esp, 0x664
push esi
push edi
lea edi, [ebp - 0x670]
mov ecx, 0x199
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x66c], 0
lea ecx, [ebp - 0x18]
call fcn.0040f5f0
mov dword [ebp - 4], 0
mov word [ebp - 0x228], 0
cmp dword [ebp + 0xc], 0
je 0x42a346
mov esi, esp
lea eax, [ebp - 0x228]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x42a378
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004022e0
mov edx, dword [ebp - 0x66c]
or edx, 1
mov dword [ebp - 0x66c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004023a0
mov eax, dword [ebp + 8]
jmp 0x42a4fa
mov eax, dword [0x4a48dc]
mov dword [ebp - 0x448], eax
mov cx, word [0x4a48e0]
mov word [ebp - 0x444], cx
mov dword [ebp - 0x450], 0
lea edx, [ebp - 0x228]
mov dword [ebp - 0x454], edx
mov eax, dword [ebp - 0x454]
mov cx, word [eax]
mov word [ebp - 0x448], cx
mov esi, esp
push 0x104
lea edx, [ebp - 0x438]
push edx
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x42a487
push 0xffffffffffffffff
push 0x4a48e4
lea ecx, [ebp - 0x438]
push ecx
call fcn.0042d560
add esp, 0xc
lea edx, [ebp - 0x438]
push edx
call fcn.00472839
add esp, 4
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0x104
jae 0x42a487
mov eax, dword [ebp - 0x458]
push eax
lea ecx, [ebp - 0x438]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00475b3f
add esp, 0xc
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 0x450], eax
je 0x42a487
mov eax, dword [ebp - 0x458]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*2]
mov esi, esp
push edx
lea eax, [ebp - 0x448]
push eax
push 0x4a48e8
push 0x104
lea ecx, [ebp - 0x664]
push ecx
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x14
cmp esi, esp
call fcn.00492e6b
lea edx, [ebp - 0x664]
push edx
lea ecx, [ebp - 0x18]
call fcn.00402400
mov eax, dword [ebp - 0x454]
mov cx, word [eax]
mov word [ebp - 0x66e], cx
mov edx, dword [ebp - 0x454]
add edx, 2
mov dword [ebp - 0x454], edx
movzx eax, word [ebp - 0x66e]
test eax, eax
je 0x42a4b3
jmp 0x42a487
cmp dword [ebp - 0x450], 0
jne 0x42a4cd
mov ecx, dword [ebp - 0x454]
movzx edx, word [ecx]
test edx, edx
jne 0x42a3a7
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004022e0
mov ecx, dword [ebp - 0x66c]
or ecx, 1
mov dword [ebp - 0x66c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004023a0
mov eax, dword [ebp + 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x42a534]
call fcn.00492e8e
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472710
add esp, 0x670
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x436f70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, 0xcccccccc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x436e90
push 0
push 0
call fcn.00475d94
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0xec], eax
push edx
mov ecx, ebp
push eax
lea edx, [0x436fd4]
call fcn.00492e8e
pop eax
pop edx
add esp, 0x10
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x439220
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
push esi
push edi
lea edi, [ebp - 0x878]
mov ecx, 0x21e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.00472c50
add esp, 0xc
mov esi, esp
push 0x104
lea ecx, [ebp - 0x214]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.00492e6b
mov word [ebp - 0x428], 0
push 0x208
push 0
lea edx, [ebp - 0x426]
push edx
call fcn.00472c50
add esp, 0xc
mov word [ebp - 0x63c], 0
push 0x208
push 0
lea eax, [ebp - 0x63a]
push eax
call fcn.00472c50
add esp, 0xc
mov word [ebp - 0x850], 0
push 0x208
push 0
lea ecx, [ebp - 0x84e]
push ecx
call fcn.00472c50
add esp, 0xc
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x63c]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00438c20
add esp, 0x10
mov word [ebp - 0x85c], 1
mov word [ebp - 0x868], 0
mov dword [ebp - 0x874], 0
movzx eax, word [ebp - 0x428]
test eax, eax
je 0x43936f
lea ecx, [ebp - 0x874]
push ecx
lea edx, [ebp - 0x868]
push edx
lea eax, [ebp - 0x85c]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.00439100
add esp, 0x10
test eax, eax
jne 0x43936f
mov word [ebp - 0x85c], 1
mov word [ebp - 0x868], 0
mov dword [ebp - 0x874], 0
push 0xffffffffffffffff
push 0
push 0x804
push 1
push 1
mov edx, dword [ebp - 0x874]
push edx
mov ax, word [ebp - 0x868]
push eax
mov cx, word [ebp - 0x85c]
push ecx
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp esi, esp
call fcn.00492e6b
push eax
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x63c]
push eax
push 0x4a1c34
call fcn.00438120
add esp, 0x30
push 0x4a1c44
push 0x2710
call fcn.00438b30
add esp, 8
call fcn.00438a40
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x439408]
call fcn.00492e8e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472710
add esp, 0x878
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret

Function at 0x439550
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x43956e
cmp dword [ebp + 0x10], 0
jne 0x43957e
lea ecx, [ebp - 0xc]
mov dword [ebp + 0x10], ecx
mov esi, esp
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4395b1
call fcn.00403980
jmp 0x4395b3
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4395d8]
call fcn.00492e8e
pop eax
pop edx
pop esi
add esp, 0x14
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a8d0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
lea edi, [ebp - 0x21c]
mov ecx, 0x87
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.00472c50
add esp, 0xc
mov dword [ebp - 0x21c], 0
mov esi, esp
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push str._ALLUSERSPROFILE_Application_DataTencentSoftMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp esi, esp
call fcn.00492e6b
lea edx, [ebp - 0x214]
push edx
call fcn.0043a9e0
add esp, 4
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x43a969
jmp 0x43a988
push 0x103
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00475c5d
add esp, 0xc
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x43a9bc]
call fcn.00492e8e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472710
add esp, 0x21c
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x43a9e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x648
push esi
push edi
lea edi, [ebp - 0x648]
mov ecx, 0x192
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b62b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov word [ebp - 0x214], 0
push 0x206
push 0
lea eax, [ebp - 0x212]
push eax
call fcn.00472c50
add esp, 0xc
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
lea edx, [ebp - 0x214]
mov dword [ebp - 0x220], edx
mov word [ebp - 0x42c], 0
push 0x206
push 0
lea eax, [ebp - 0x42a]
push eax
call fcn.00472c50
add esp, 0xc
mov dword [ebp - 0x434], 0
mov word [ebp - 0x640], 0
push 0x206
push 0
lea ecx, [ebp - 0x63e]
push ecx
call fcn.00472c50
add esp, 0xc
lea edx, [ebp - 0x214]
mov dword [ebp - 0x648], edx
mov esi, esp
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
cmp esi, esp
call fcn.00492e6b
test eax, eax
je 0x43aabc
jmp 0x43ac4e
mov esi, esp
lea ecx, [ebp - 0x42c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x43aae5
jmp 0x43ac4e
push 0x104
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x214]
push eax
call fcn.00475c5d
add esp, 0xc
push 0x4a0b70
lea ecx, [ebp - 0x214]
push ecx
call fcn.00413ec0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x43ab38
mov dword [ebp - 0x434], 1
lea edx, [ebp - 0x214]
mov dword [ebp - 0x21c], edx
jmp 0x43ab47
mov eax, dword [ebp - 0x21c]
add eax, 4
mov dword [ebp - 0x21c], eax
push 0x4a0b78
mov ecx, dword [ebp - 0x21c]
add ecx, 2
push ecx
call fcn.00413ec0
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x43ac14
mov edx, dword [ebp - 0x21c]
mov word [edx], 0
cmp dword [ebp - 0x434], 0
je 0x43abae
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0x42c]
push ecx
push 0x4a0b7c
push 0x104
lea edx, [ebp - 0x640]
push edx
call fcn.00475487
add esp, 0x14
jmp 0x43abce
mov eax, dword [ebp - 0x220]
push eax
push 0x4a0b88
push 0x104
lea ecx, [ebp - 0x640]
push ecx
call fcn.00475487
add esp, 0x10
mov esi, esp
push 0
lea edx, [ebp - 0x640]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x43ac04
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00492e6b
cmp eax, 0xb7
je 0x43ac04
jmp 0x43ac4e
mov eax, dword [ebp - 0x21c]
mov word [eax], 0x5c
jmp 0x43ab47
mov esi, esp
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp esi, esp
call fcn.00492e6b
test eax, eax
jne 0x43ac47
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.00492e6b
cmp eax, 0xb7
je 0x43ac47
jmp 0x43ac4e
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x43ac80]
call fcn.00492e8e
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472710
add esp, 0x648
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret
Function at 0x43b030
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x43b051
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x43b08a
call fcn.00403980
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x43b08a
mov eax, dword [ebp - 0x18]
jmp 0x43b09a
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x43b0bc]
call fcn.00492e8e
pop eax
pop edx
pop esi
add esp, 0x18
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 4
Function at 0x43b0e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x43b107
xor ecx, ecx
jne 0x43b10b
mov esi, esp
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x1c]
ja 0x43b151
jb 0x43b146
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x20]
jae 0x43b151
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp esi, esp
call fcn.00492e6b
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x43b18d
call fcn.00403980
jmp 0x43b238
cmp dword [ebp + 0xc], 0
jne 0x43b1a7
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xc]
sbb edx, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
mov dword [eax + 4], ecx
jmp 0x43b1b0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [edx + 0x14], ecx
mov esi, esp
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFileEx]
cmp esi, esp
call fcn.00492e6b
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x43b236
call fcn.00403980
mov dword [ebp - 0x18], eax
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.00492e6b
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x18]
jmp 0x43b238
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x43b25c]
call fcn.00492e8e
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 0x18
Function at 0x441ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], 4
mov esi, esp
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x441b33
mov eax, dword [ebp - 8]
jmp 0x441b42
cmp dword [ebp - 0x1c], 4
je 0x441b40
mov eax, 0xd
jmp 0x441b42
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x441b64]
call fcn.00492e8e
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 8

Function at 0x441ba0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
shl ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov esi, esp
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00492e6b
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
cmp dword [ebp - 8], 0
je 0x441c19
mov eax, dword [ebp - 8]
jmp 0x441c2e
cmp dword [ebp - 0x10], 1
je 0x441c2c
cmp dword [ebp - 0x10], 2
je 0x441c2c
mov eax, 0xd
jmp 0x441c2e
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x441c50]
call fcn.00492e8e
pop eax
pop edx
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.00492e6b
mov esp, ebp
pop ebp
ret 0xc