joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c3f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12e4
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x44c5df
cmp dword [edi], 0
jne 0x44c5da
push esi
push ebx
call fcn.00410b9b
mov dword [edi], eax
pop ecx
test eax, eax
je 0x44c48a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QueryFilesEx2
push eax
call esi
push str.QueryFileCreate
push dword [edi]
mov dword [edi + 0xc], eax
call esi
push str.QueryFileClose
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.SmartNetQueryEx2
push dword [edi]
mov dword [edi + 0x14], eax
call esi
push str.SmartCacheCreate
push dword [edi]
mov dword [edi + 0x18], eax
call esi
push str.SmartCacheClose
push dword [edi]
mov dword [edi + 0x1c], eax
call esi
push str.SmartNetQueryCancel
push dword [edi]
mov dword [edi + 0x20], eax
call esi
mov dword [edi + 0x24], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
push str..._speedmem2.hg
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, 0xab8
lea eax, [ebp - 0xcc4]
push esi
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0xa3c], 0
lea eax, [ebp - 0xab8]
add esp, 0xc
mov dword [ebp - 0xcc4], esi
mov ebx, str.dump
mov dword [ebp - 0xa40], 0x1400000
mov dword [ebp - 0x420], 0xea60
push ebx
push 0x3c
push eax
call fcn.00410c3c
mov esi, str.solution
lea eax, [ebp - 0xa7c]
push esi
push 0x3c
push eax
call fcn.00410c3c
lea eax, [ebp - 0x20c]
push eax
push 0x208
lea eax, [ebp - 0xcc0]
push eax
call fcn.00410c3c
lea eax, [ebp - 0xcc4]
mov ecx, edi
push eax
call fcn.0044c370
push 0x10d0
mov dword [edi + 4], eax
lea eax, [ebp - 0x12dc]
push 0
push eax
call sub.msvcrt.dll_memset
and dword [ebp - 0x12e4], 0
lea eax, [ebp - 0x12dc]
add esp, 0xc
mov dword [ebp - 0x12e0], 0x10d4
push ebx
push 0x3c
push eax
call fcn.00410c3c
push esi
push 0x3c
lea eax, [ebp - 0x12a0]
push eax
call fcn.00410c3c
lea eax, [ebp - 0x20c]
push eax
push 0x208
lea eax, [ebp - 0x125c]
push eax
call fcn.00410c3c
lea eax, [ebp - 0x12e4]
mov dword [ebp - 0x1264], 0x1400000
push eax
lea eax, [ebp - 0x12e0]
mov dword [ebp - 0x424], 0x1388
push eax
mov ecx, edi
mov dword [ebp - 0x420], 1
call fcn.0044c60f
cmp dword [edi + 4], 0
mov dword [edi + 8], eax
pop esi
je 0x44c5df
test eax, eax
je 0x44c5df
xor eax, eax
inc eax
jmp 0x44c5e1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 4

Function at 0x44c6f2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push str.fromplantask
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44c71d
xor eax, eax
push eax
push eax
push eax
push fcn.00414a73
push eax
push eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
jmp 0x44c734
push str.pagetype:
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x44c734
call fcn.004daaae
xor eax, eax
pop ebp
ret 4
Function at 0x44d9f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x44da62
xor eax, eax
cmp word [edi], ax
je 0x44da62
push ebx
push esi
push edi
call sub.msvcrt.dll_wcslen
xor ecx, ecx
push 2
pop edx
lea esi, [eax + 1]
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
push edi
mov ebx, eax
push esi
push ebx
call fcn.00516cf0
add esp, 0x14
push ebx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x44da4e
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44da4e
push ebx
call fcn.0044d9f0
pop ecx
push ebx
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
pop ebx
jmp 0x44da64
xor eax, eax
pop edi
pop ebp
ret
Function at 0x44df34
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x82c
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x12c]
test edi, edi
je 0x44df5d
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebx + 0xec]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x44e071
push 0x527fb4
lea ecx, [ebp - 0x828]
call fcn.00402af5
lea esi, [ebx + 0xbc]
push 0x2f
push dword [esi]
call sub.msvcrt.dll_wcsrchr
pop ecx
pop ecx
test eax, eax
je 0x44e047
mov ecx, dword [esi]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x44e047
lea edx, [eax + 1]
mov eax, dword [ecx - 0xc]
sub eax, edx
mov ecx, esi
push eax
push edx
lea eax, [ebp - 0x82c]
push eax
call fcn.004216b7
lea eax, [ebp - 0x82c]
push eax
lea ecx, [ebp - 0x828]
call fcn.00402bd6
mov ecx, dword [ebp - 0x82c]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push 0x410
lea eax, [ebp - 0x414]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [ebp - 0x828]
lea eax, [ebp - 0x414]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add ebx, 0xa8
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x414]
mov ecx, ebx
push eax
call fcn.00404550
lea ecx, [esi - 0x10]
call fcn.004042e9
jmp 0x44e07f
mov ecx, dword [ebp - 0x828]
lea ecx, [ecx - 0x10]
call fcn.004042e9
test edi, edi
je 0x44e060
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
add ebx, 0xa8
push ecx
mov ecx, ebx
call fcn.00402bd6
test edi, edi
je 0x44e08a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x527fb4
push dword [ebx]
call sub.msvcrt.dll_wcscmp
pop ecx
pop ecx
test eax, eax
je 0x44e060
push 0x410
lea eax, [ebp - 0x824]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x824]
push dword [ebx]
push 0x208
push eax
call fcn.00418e21
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44e0f1
lea eax, [ebp - 0x824]
push eax
call fcn.0044d9f0
pop ecx
xor eax, eax
inc eax
jmp 0x44e062
Function at 0x44e2a7
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
push 0
push dword [ebx + 0x148]
push 0x77a
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4a9
push dword [ebx + 4]
call edi
push 0x40
push 0x14
push 0x280
push 0xd0
push 0x1e
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x43e
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call esi
push 0x43e
push dword [ebx + 4]
call edi
push 5
push eax
call esi
push 0
push 0x3e9
push dword [ebx + 4]
lea ecx, [ebx + 0x20]
call fcn.004b542f
push 0x4e3
push dword [ebx + 4]
call edi
push 5
push eax
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x44e391
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x148c
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov edi, 0x527fb4
push edi
lea ecx, [ebp - 0x1464]
mov dword [ebp - 0x145c], esi
xor ebx, ebx
call fcn.00402af5
push edi
lea ecx, [ebp - 0x1458]
call fcn.00402af5
lea ecx, [ebp - 0x148c]
call fcn.0044d74b
mov ecx, esi
call fcn.0044df34
test eax, eax
je 0x44e591
lea eax, [esi + 0xa8]
push str..P2P
push eax
lea eax, [ebp - 0x1460]
push eax
call fcn.00413428
add esp, 0xc
lea ecx, [ebp - 0x1458]
push eax
call fcn.00402bd6
mov ecx, dword [ebp - 0x1460]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov edi, dword [ebp - 0x1458]
push edi
call fcn.0041505c
pop ecx
test eax, eax
je 0x44e438
push edi
call fcn.0041420e
mov eax, dword [ebp - 0x145c]
push ecx
mov esi, esp
mov eax, dword [eax + 0x144]
sub eax, 0x10
push eax
call fcn.00402f5d
pop ecx
push 1
push 1
add eax, 0x10
lea ecx, [ebp - 0x1474]
push ebx
mov dword [esi], eax
call fcn.0044d706
mov esi, dword [ebp - 0x145c]
lea eax, [ebp - 0x1474]
push ebx
push eax
push 0x78c
push dword [esi + 0x10c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1468]
lea ecx, [ecx - 0x10]
call fcn.004042e9
cmp dword [0x574bac], ebx
jne 0x44e597
mov ecx, esi
call fcn.0044e5cc
test eax, eax
je 0x44e4d3
push ebx
push ebx
push esi
push 0x44f1d2
push ebx
push ebx
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44e58c
mov ecx, esi
call fcn.0044e334
test eax, eax
je 0x44e597
lea ecx, [esi + 0x30]
call fcn.00467bbb
push 0x1450
lea eax, [ebp - 0x1454]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
add esi, 0x12c
je 0x44e50e
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp - 0x145c]
push dword [eax + 0xbc]
lea eax, [ebp - 0x1454]
push str.PDown:___sh330
push 0xa28
push eax
call fcn.004329e6
add esp, 0x10
test esi, esi
je 0x44e53e
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebp - 0x1454]
push eax
lea ecx, [ebp - 0x1458]
call fcn.00402af5
mov esi, dword [ebp - 0x145c]
push esi
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x1458]
push eax
lea ecx, [esi + 0x30]
call fcn.00467b14
mov ecx, dword [ebp - 0x1458]
mov dword [esi + 0x110], eax
lea ecx, [ecx - 0x10]
test eax, eax
jne 0x44e587
call fcn.004042e9
jmp 0x44e597
call fcn.004042e9
xor ebx, ebx
inc ebx
jmp 0x44e597
mov edi, dword [ebp - 0x1458]
mov ecx, dword [ebp - 0x1480]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x1464]
add ecx, 0xfffffff0
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret
Function at 0x44eb6c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
inc esi
lea ecx, [ebp - 0x224]
push esi
push 9
push esi
push dword [ebx + 4]
call fcn.00419f27
push esi
push esi
push 0
mov esi, 0x43c
push esi
push dword [ebx + 4]
call fcn.0041c6a2
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 0x14
push esi
push dword [ebx + 4]
call edi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebx + 0x128]
call fcn.00404550
push 0x43e
push dword [ebx + 4]
lea esi, [ebx + 0xac]
call edi
push 0x2710
xor edi, edi
mov dword [esi], eax
push edi
mov ecx, esi
call fcn.00429fde
push edi
push edi
push 0x43e
push dword [ebx + 4]
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.004b523a
push 1
push 0x533a78
mov edi, 0x3e9
mov ecx, esi
push edi
call fcn.004b535f
push 0
push edi
push dword [ebx + 4]
mov ecx, esi
call fcn.004b542f
mov ecx, dword [ebp - 0x210]
add ecx, 0xfffffff0
mov dword [0x574bb0], ebx
call fcn.004042e9
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8

Function at 0x44ec93
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x574bac], 0
push esi
mov esi, ecx
mov dword [ebp - 8], esi
jne 0x44edc8
call fcn.00403a64
push eax
lea ecx, [ebp - 4]
call fcn.00402a6b
cmp dword [esi + 0x120], 0
lea eax, [ebp - 4]
push dword [esi + 0x144]
jne 0x44ecd2
push 0x533ad8
jmp 0x44ecd7
push str._._size11_boldtrue___._
push eax
call fcn.00415254
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push 0x4a9
push dword [esi + 4]
call ebx
mov edi, dword [ebp - 4]
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 1
push 0x3e9
push dword [esi + 4]
lea ecx, [esi + 0x20]
call fcn.004b542f
push 0x4e3
push dword [esi + 4]
call ebx
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
mov eax, dword [ebp - 8]
push 0x43e
push dword [eax + 4]
call ebx
push 0
push eax
call esi
mov eax, dword [ebp - 8]
push 0x4a9
push dword [eax + 4]
call ebx
push 0
push 0x32
push 0x280
push 0xa5
push 0xf0
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [ebp - 8]
lea esi, [ebx + 0x12c]
test esi, esi
je 0x44ed73
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 8], eax
test esi, esi
je 0x44ed87
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebx + 0x28]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebx + 0x20]
cmp eax, ecx
je 0x44edbe
cmp dword [ebp - 8], 0
je 0x44edbe
xor esi, esi
push esi
push 1
push 0x797
push dword [ebx + 0x10c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x28]
push esi
push esi
push 0x33
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [edi - 0x10]
call fcn.004042e9
pop edi
pop ebx
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x44efd6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x31
call fcn.004044d6
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
pop ecx
test eax, eax
je 0x44eff8
lea ecx, [ebp - 4]
push ecx
push esi
push edi
call eax
jmp 0x44f004
lea eax, [ebp - 4]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, 2
jne 0x44f036
push 0x35
call fcn.004044d6
pop ecx
test eax, eax
je 0x44f01f
lea ecx, [ebp - 4]
push ecx
push esi
push edi
call eax
jmp 0x44f02b
lea eax, [ebp - 4]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
jmp 0x44f039
xor eax, eax
inc eax
test eax, eax
je 0x44f078
mov esi, dword [ebp - 4]
push 0x45
call fcn.004044d6
pop ecx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push esi
test eax, eax
je 0x44f05f
call eax
jmp 0x44f065
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call fcn.00402f04
test esi, esi
jne 0x44f078
xor eax, eax
inc eax
jmp 0x44f07a
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4504cf
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00403a64
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
call fcn.00402a6b
mov eax, dword [ebp + 0xc]
xor edi, edi
cmp dword [eax - 0xc], edi
jle 0x4505ea
push ebx
push edi
lea ecx, [ebp + 0xc]
call fcn.00450281
mov bl, al
mov byte [ebp - 4], bl
cmp bl, 0x24
je 0x4505b8
cmp bl, 0x26
je 0x4505b8
cmp bl, 0x2b
je 0x4505b8
cmp bl, 0x2c
je 0x4505b8
cmp bl, 0x2f
je 0x4505b8
cmp bl, 0x3a
je 0x4505b8
cmp bl, 0x3b
je 0x4505b8
cmp bl, 0x3d
je 0x4505b8
cmp bl, 0x3f
je 0x4505b8
cmp bl, 0x40
je 0x4505b8
cmp bl, 0x20
jne 0x450568
mov ebx, 0x533f44
push ebx
call sub.msvcrt.dll_strlen
pop ecx
push eax
push ebx
mov ecx, esi
call fcn.0044fe34
jmp 0x4505dc
movzx eax, bl
push eax
mov dword [ebp + 8], eax
call sub.msvcrt.dll_isalpha
pop ecx
test eax, eax
jne 0x4505d2
push dword [ebp + 8]
call sub.msvcrt.dll_isdigit
pop ecx
test eax, eax
jne 0x4505d2
cmp bl, 0x2d
je 0x4505d2
cmp bl, 0x5f
je 0x4505d2
cmp bl, 0x2e
je 0x4505d2
cmp bl, 0x21
je 0x4505d2
cmp bl, 0x7e
je 0x4505d2
cmp bl, 0x2a
je 0x4505d2
cmp bl, 0x27
je 0x4505d2
cmp bl, 0x28
je 0x4505d2
cmp bl, 0x29
je 0x4505d2
push dword [ebp + 8]
jmp 0x4505c2
cmp dword [ebp + 0x10], 0
je 0x4505d2
movzx eax, bl
push eax
push str.___2X
push esi
call fcn.0044fee8
add esp, 0xc
jmp 0x4505dc
push dword [ebp - 4]
mov ecx, esi
call fcn.0044febd
mov eax, dword [ebp + 0xc]
inc edi
cmp edi, dword [eax - 0xc]
jl 0x4504f4
pop ebx
lea ecx, [eax - 0x10]
call fcn.004042e9
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x450dc8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450df8
push dword [ebp + 8]
call fcn.004c10aa
pop ecx
test eax, eax
jne 0x450df3
push dword [ebp + 8]
call fcn.004c10c8
pop ecx
test eax, eax
je 0x450df8
xor esi, esi
inc esi
jmp 0x450dfa
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x450fce
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
test edi, edi
jne 0x450fe7
xor eax, eax
jmp 0x4511e2
lea eax, [edi + 8]
xor esi, esi
push eax
lea ecx, [ebx + 0xa0]
mov dword [ebx + 0x88], esi
mov dword [ebx + 0xa4], esi
mov dword [ebp - 0xc], eax
call fcn.00402bd6
cmp dword [edi + 0x20], esi
je 0x4510be
push 0x5340c4
lea eax, [ebp - 4]
mov ecx, ebx
push eax
call fcn.004511e9
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00413428
mov ecx, dword [ebp - 4]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004042e9
mov edi, dword [ebp - 0xc]
push ecx
mov esi, esp
lea eax, [edi - 0x10]
push eax
call fcn.00402f5d
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00450dc8
test eax, eax
je 0x4510b1
push str._funname
lea ecx, [ebp - 4]
call fcn.00402af5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x24]
lea ecx, [ebp - 4]
push dword [eax - 0xc]
push eax
call fcn.00402d75
mov esi, dword [ebp - 4]
push 1
push 0
push esi
push edi
push str.open
push 0
call fcn.0041bccc
add esp, 0x18
xor eax, eax
inc eax
mov ecx, ebx
mov dword [ebx + 0x88], eax
mov dword [ebx + 0xa4], eax
push 0
push 4
call fcn.00451b4d
lea ecx, [esi - 0x10]
call fcn.004042e9
lea ecx, [edi - 0x10]
call fcn.004042e9
jmp 0x4511c8
push dword [ebx + 0x90]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
push dword [ebx + 0x94]
call esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 8], eax
lea esi, [ebx + 0x9c]
lea eax, [ebx + 0x98]
push eax
push esi
lea ecx, [edi + 0x18]
push ecx
lea ecx, [edi + 0x14]
push ecx
push dword [ebx + 4]
lea eax, [edi + 0x10]
push eax
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 8]
push eax
push dword [edi + 4]
call fcn.0043d974
test eax, eax
je 0x4511c8
mov eax, dword [ebx + 0x90]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 4], eax
jmp 0x451154
cmp eax, 1
je 0x451184
call dword [sym.imp.KERNEL32.dll_GetTickCount]
imul ecx, dword [edi + 0x1c], 0x3e8
sub eax, dword [ebp + 8]
cmp eax, ecx
ja 0x45117b
push 0
push dword [ebx + 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45116d
push 0x3e8
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x451126
jmp 0x4511c8
push dword [ebx + 0x90]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4511c8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0xc]
jmp 0x4511c8
mov eax, dword [esi]
test eax, eax
jne 0x451199
push esi
push dword [ebp - 0xc]
call fcn.0043b806
mov eax, dword [esi]
test eax, eax
je 0x4511c8
xor edx, edx
mov dword [ebp - 0x18], 0x3042
push edx
push 0x1388
lea ecx, [ebp + 8]
mov dword [ebp + 8], edx
push 1
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x18]
push ecx
push edx
push 0x4a
push eax
mov dword [ebp - 0x14], 4
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [ebx + 0xa4], 0
jne 0x4511dc
push 0
push 3
mov ecx, ebx
call fcn.00451b4d
mov eax, dword [ebx + 0x88]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4513e6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x218], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x21c], esi
push edi
mov edi, dword [ebp + 8]
test eax, eax
je 0x4515ba
test edi, edi
je 0x4515ba
xor ebx, ebx
cmp word [edi], bx
je 0x4515ba
call fcn.00403a64
push eax
lea ecx, [ebp - 0x214]
call fcn.00402a6b
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
je 0x4514cd
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004511e9
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [eax]
lea eax, [ebp - 0x20c]
push eax
call esi
mov ecx, dword [ebp - 0x210]
lea ecx, [ecx - 0x10]
call fcn.004042e9
push str.Config_advtools_
lea eax, [ebp - 0x20c]
push eax
call esi
push edi
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4515a8
lea eax, [ebp - 0x20c]
push eax
call sub.msvcrt.dll_wcslen
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00404550
mov esi, dword [ebp - 0x21c]
jmp 0x4514e8
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4515a8
push edi
lea ecx, [ebp - 0x214]
call fcn.00404527
lea eax, [ebp - 0x214]
push eax
lea ecx, [esi + 0x30]
call fcn.00402bd6
mov eax, dword [ebp - 0x218]
mov ecx, esi
mov dword [eax + 8], ebx
call fcn.0045169a
test eax, eax
je 0x4515a8
mov eax, dword [esi + 0x44]
sub eax, 0x10
push eax
call fcn.00402f5d
pop ecx
mov edi, 0x534114
lea ecx, [ebp - 0x220]
push edi
lea esi, [eax + 0x10]
mov dword [ebp - 0x210], esi
call fcn.00402af5
push ebx
push edi
lea ecx, [ebp - 0x210]
call fcn.0040386a
mov edi, dword [ebp - 0x220]
test eax, eax
js 0x451565
mov ecx, dword [edi - 0xc]
add ecx, eax
push ecx
push ebx
lea ecx, [ebp - 0x210]
call fcn.00403457
mov esi, dword [ebp - 0x210]
lea ecx, [edi - 0x10]
call fcn.004042e9
mov ebx, dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push eax
mov ecx, ebx
call fcn.00402bd6
mov edi, dword [ebp - 0x21c]
lea ecx, [ebx + 4]
lea eax, [edi + 0x50]
push eax
call fcn.00402bd6
mov ecx, edi
call fcn.00450e0c
lea ecx, [esi - 0x10]
mov dword [ebx + 8], eax
call fcn.004042e9
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x214]
add ecx, 0xfffffff0
call fcn.004042e9
mov eax, ebx
jmp 0x4515bc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8
Function at 0x452b42
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2218
call fcn.00522d80
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2210]
push str.somkernl.dll
call fcn.00402af5
push 0x2000
xor esi, esi
lea eax, [ebp - 0x220c]
push esi
push eax
call sub.msvcrt.dll_memset
push 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ebx, dword [ebp - 0x2210]
add ebx, 0xfffffff0
push ebx
call fcn.00402f5d
pop ecx
lea esi, [eax + 0x10]
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x220c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220c]
add esi, 0xfffffff0
push eax
mov dword [ebp - 0x2214], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x452c0c
lea eax, [ebp - 0x220c]
mov ecx, edi
push eax
call fcn.00402af5
mov ecx, esi
jmp 0x452c76
lea eax, [ebp - 0x2210]
push eax
lea eax, [ebp - 0x2218]
push str..SoftMgr_
push eax
call fcn.0041346d
mov esi, dword [ebp - 0x2218]
lea eax, [ebp - 0x20c]
add esp, 0xc
push esi
push eax
lea eax, [ebp - 0x220c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, edi
test eax, eax
je 0x452c5e
lea eax, [ebp - 0x220c]
push eax
jmp 0x452c63
push 0x527fb4
call fcn.00402af5
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x2214]
call fcn.004042e9
mov ecx, ebx
call fcn.004042e9
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret