joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408400
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x510
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x50c], eax
push ebp
mov ebp, dword [esp + 0x518]
push 0x497030
push 0x400
lea eax, [esp + 0x118]
push eax
push str.trigoff
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
test eax, eax
jne 0x4084b4
push 0x497030
push str._s_has_trigoff_section_is_unavailable_so_ini_checking_cancelled__
lea ecx, [esp + 0x14]
push 0x104
push ecx
call fcn.0043e0b0
push 0x4878c0
lea edx, [esp + 0x1c]
push str.c:zvDPREP.log
push edx
call fcn.0043ec90
add esp, 0x1c
test eax, eax
jne 0x40849c
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.0043ed30
mov edx, dword [esp + 0x10]
push edx
push 0x4878d4
call fcn.0043ed30
mov eax, dword [esp + 0x18]
push eax
call fcn.0043efd0
add esp, 0x14
xor al, al
pop ebp
mov ecx, dword [esp + 0x50c]
xor ecx, esp
call fcn.00439cd0
add esp, 0x510
ret
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x497030
push 0x104
lea ecx, [esp + 0x124]
push ecx
push str.sam
push str.count
push str.trigoff
call edi
lea edx, [esp + 0x10]
xor ebx, ebx
push edx
mov byte [esp + eax + 0x120], bl
lea eax, [esp + 0x120]
push 0x4897b8
push eax
mov dword [esp + 0x1c], ebx
call fcn.00440c00
add esp, 0xc
xor esi, esi
cmp dword [esp + 0x10], ebx
jle 0x4085a5
inc esi
push esi
push 0x4897b8
lea ecx, [esp + 0x20]
push 0x104
push ecx
call fcn.0043e0b0
push 0x486f97
lea edx, [esp + 0x130]
push 0x104
push edx
call fcn.0043dc50
add esp, 0x1c
push 0x497030
push 0x104
lea eax, [esp + 0x124]
push eax
push str.sam
lea ecx, [esp + 0x28]
push ecx
push str.trigoff
call edi
lea edx, [esp + 0x11c]
push str.sam
push edx
mov byte [esp + eax + 0x124], bl
call fcn.0044fd00
add esp, 8
test eax, eax
je 0x40859b
lea eax, [esp + 0x11c]
push ebp
push eax
call fcn.0044fd00
add esp, 8
test eax, eax
je 0x4085c0
cmp esi, dword [esp + 0x10]
jl 0x408513
xor al, al
mov ecx, dword [esp + 0x51c]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.00439cd0
add esp, 0x510
ret
mov al, 1
jmp 0x4085a7
Function at 0x4085d0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
push esi
push edi
push 0x103
push eax
lea eax, [esp + 0x120]
push 0x104
push eax
call fcn.00440540
add esp, 0x10
push 0x4967f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x40867c
push 0x4878c0
lea ecx, [esp + 0x10]
push str.c:zvDPREP.log
push ecx
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x408710
mov edx, dword [esp + 0xc]
push edx
push str.Load_Library_failed_for_NPVCAPI.DLL
call fcn.0043ed30
mov eax, dword [esp + 0x14]
push eax
push 0x4878d4
call fcn.0043ed30
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043efd0
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00439cd0
add esp, 0x21c
ret
push str.SendCrReportWithType
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x49529c], eax
test eax, eax
je 0x408709
push 0x103
lea edx, [esp + 0x15]
push 0
push edx
mov byte [esp + 0x1c], 0
call fcn.00444930
add esp, 0xc
push 0
push 0x23
lea eax, [esp + 0x18]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
cmp byte [esp + 0x10], 0
je 0x4086dc
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4086c7
mov ecx, 6
mov esi, str.Net_ProtectorDPREP.ini
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea esi, [esp + 0x10]
call fcn.00408db0
test eax, eax
jne 0x408709
lea ecx, [esp + 0x118]
push ecx
push str.AdminConsole_UploadVShadowReports.aspx
push str.www.adminconsole.net
call dword [0x49529c]
add esp, 0xc
call fcn.00408eb0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00439cd0
add esp, 0x21c
ret
Function at 0x408db0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xec
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0xe4], eax
push 0x63
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.00444930
add esp, 0xc
push esi
push 0x64
lea ecx, [esp + 0x18]
push ecx
push str.FALSE
push str.LastSendCrReportTypeDate
push str.SendCrReportType
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x10]
push str.FALSE
push edx
call fcn.0044fd00
add esp, 8
test eax, eax
jne 0x408e22
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00439cd0
add esp, 0xec
ret
xor eax, eax
lea ecx, [esp]
push ecx
mov word [esp + 4], ax
mov dword [esp + 6], eax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov word [esp + 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x63
lea edx, [esp + 0x7d]
push 0
push edx
mov byte [esp + 0x84], 0
call fcn.00444930
movzx eax, word [esp + 0xc]
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 0x12]
push eax
push ecx
push edx
lea eax, [esp + 0x90]
push str._02d__02d__d
push eax
call fcn.0043df30
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.0044fd00
mov ecx, dword [esp + 0x10c]
add esp, 0x28
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00439cd0
add esp, 0xec
ret

Function at 0x408f30
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x471eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebp
push esi
push edi
mov eax, dword [0x491050]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.00411540
push 0x207
lea eax, [esp + 0x39]
push 0
mov dword [esp + 0x250], 0
push eax
mov byte [esp + 0x40], 0
call fcn.00444930
push esi
push str._s.
lea edx, [esp + 0x48]
call fcn.0040cdc0
add esp, 0x14
push 0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
call fcn.004116f0
test eax, eax
je 0x40903a
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x1c]
call fcn.00411d20
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00411c80
test eax, eax
jne 0x409033
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00411f20
mov eax, dword [eax]
push eax
call ebp
mov esi, dword [esp + 0x18]
add esi, 0xfffffff0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jne 0x40901d
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40901d
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x409033
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
cmp dword [esp + 0x14], 0
jne 0x408fc2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x248], 0xffffffff
call fcn.004115d0
xor eax, eax
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00439cd0
add esp, 0x23c
ret
Function at 0x4096c0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x9f8
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x9f0], eax
push esi
push 0x495f48
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.0043dc50
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str._s.tmp
lea edx, [esp + 0x120]
push 0x104
push edx
call fcn.0043e0b0
push 0x488190
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043ec90
add esp, 0x1c
test eax, eax
je 0x4097aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push edx
push str._s_Opening_failed_for_Read_mode____Error_d
lea edx, [esp + 0x22c]
call fcn.0040cde0
add esp, 0xc
push 0x4878c0
lea eax, [esp + 0xc]
push str.c:zvDPREP.log
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40991f
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x224]
push edx
call fcn.0043ed30
mov eax, dword [esp + 0x10]
push eax
push 0x4878d4
call fcn.0043ed30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043efd0
add esp, 0x14
pop esi
mov ecx, dword [esp + 0x9f0]
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f8
ret
push 0x4881b8
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
je 0x40981e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x11c]
push ecx
push str._s_Opening_failed_for_Read_mode____Error_d
lea edx, [esp + 0x22c]
call fcn.0040cde0
lea edx, [esp + 0x22c]
add esp, 0xc
push edx
call fcn.00402250
mov eax, dword [esp + 8]
add esp, 4
push eax
call fcn.0043efd0
add esp, 4
pop esi
mov ecx, dword [esp + 0x9f0]
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f8
ret
mov ecx, dword [esp + 4]
push ecx
lea edx, [esp + 0x224]
push 0x3e8
push edx
call fcn.0043f8c0
add esp, 0xc
test eax, eax
je 0x4098e5
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
jmp 0x409850
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x60c]
push 0x3e8
push ecx
call fcn.0043dc50
add esp, 0xc
push 0x488238
lea edx, [esp + 0x60c]
push edx
call esi
test eax, eax
je 0x4098c3
mov byte [eax], 0
lea eax, [esp + 0x608]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409890
sub eax, edx
cmp eax, 0x16
jne 0x4098c3
lea ecx, [esp + 0x608]
call fcn.00409940
cmp al, 1
je 0x4098c3
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x224]
push ecx
call fcn.0043ed30
add esp, 8
mov edx, dword [esp + 4]
push edx
lea eax, [esp + 0x224]
push 0x3e8
push eax
call fcn.0043f8c0
add esp, 0xc
test eax, eax
jne 0x409850
mov ecx, dword [esp + 4]
push ecx
call fcn.0043efd0
mov edx, dword [esp + 0x10]
add esp, 4
push edx
call fcn.0043efd0
add esp, 4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x9f4]
pop esi
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f8
ret
Function at 0x40a2a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x497030
push 0x104
lea eax, [esp + 0x18]
push eax
push str.sam
push str.count
xor esi, esi
push str.trigAdd
mov dword [esp + 0x24], esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x486f97
lea ecx, [esp + 0x14]
push ecx
call ebx
test eax, eax
je 0x40a392
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push 0x4897b8
push eax
call fcn.00440c00
add esp, 0xc
cmp dword [esp + 0xc], esi
jle 0x40a392
lea ebx, [ebx]
inc esi
push esi
push 0x4897b8
lea edx, [esp + 0x11c]
call fcn.0040cda0
push 0x486f97
lea ecx, [esp + 0x1c]
push 0x104
push ecx
call fcn.0043dc50
add esp, 0x14
push 0x497030
push 0x104
lea edx, [esp + 0x18]
push edx
push str.sam
lea eax, [esp + 0x124]
push eax
push str.trigAdd
call edi
push 0x486f97
lea ecx, [esp + 0x14]
push ecx
call ebx
test eax, eax
je 0x40a38c
lea edx, [esp + 0x10]
push edx
mov ecx, 0x497ca8
call fcn.004103a0
cmp esi, dword [esp + 0xc]
jl 0x40a320
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00439cd0
add esp, 0x210
ret
Function at 0x40abe0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x4889c0
lea eax, [esp + 4]
push 0x104
push eax
call fcn.0043dc50
add esp, 0xc
push 0x497450
push 0x104
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
push str.data
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x104]
push 0x487798
push eax
call fcn.0044fd00
add esp, 8
test eax, eax
jne 0x40ac5e
mov al, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00439cd0
add esp, 0x20c
ret
push 0x497450
push 0x487798
push esi
push str.data
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor al, al
call fcn.00439cd0
add esp, 0x20c
ret

Function at 0x40b080
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x4889c0
lea eax, [esp + 4]
push 0x104
push eax
call fcn.0043dc50
add esp, 0xc
push 0x494f88
push 0x104
lea ecx, [esp + 0x10c]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
push str.data
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x104]
push 0x487798
push eax
call fcn.0044fd00
add esp, 8
test eax, eax
jne 0x40b0fe
mov al, 1
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00439cd0
add esp, 0x20c
ret
push 0x494f88
push 0x487798
push esi
push str.data
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x208]
xor ecx, esp
xor al, al
call fcn.00439cd0
add esp, 0x20c
ret
Function at 0x40b1a0
Capabilities:
Create directory
Move file

Disassembly:
sub esp, 0x414
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x410], eax
cmp byte [0x495916], 1
jne 0x40b255
push 0x4975c0
lea eax, [esp + 4]
push 0x104
push eax
call fcn.0043dc50
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push str.doneEmlSvcMon
lea edx, [esp + 4]
push 0x104
push edx
call fcn.0043e110
add esp, 0xc
push 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x497c9c]
push ecx
lea edx, [esp + 4]
push edx
push str._s_s.Log
lea edx, [esp + 0x214]
call fcn.0040cda0
add esp, 0xc
lea eax, [esp + 0x208]
push eax
push 0x4975c0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov byte [0x495916], 0
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00439cd0
add esp, 0x414
ret
cmp byte [0x495915], 1
jne 0x40b2bc
push 0
push 0x497348
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [0x497c9c]
push ecx
push 0x497348
push str._s_s.log
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.0043e0b0
add esp, 0x14
push 3
lea eax, [esp + 4]
push eax
push 0x497240
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [0x495915], 0
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00439cd0
add esp, 0x414
ret
cmp byte [0x494f80], 1
jne 0x40b357
push 0x495198
push str._s_firwalldone
lea ecx, [esp + 0x10c]
push 0x104
push ecx
call fcn.0043e0b0
add esp, 0x10
push 0
lea edx, [esp + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
lea eax, [esp + 4]
push 0x104
push eax
call fcn.0043dc50
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.0043f1e0
add esp, 0x14
test eax, eax
je 0x40b31c
inc eax
push eax
lea edx, [esp + 0x108]
push edx
push str._s_s
lea eax, [esp + 0x318]
push 0x104
push eax
call fcn.0043e0b0
add esp, 0x14
push 1
lea ecx, [esp + 0x310]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [0x494f80], 0
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00439cd0
add esp, 0x414
ret

Function at 0x40b370
Capabilities:
Delete file

Disassembly:
push esi
push 0x488190
push str.C:zvdprep.log
call fcn.0043ec70
mov esi, eax
add esp, 8
test esi, esi
je 0x40b3d0
push edi
push 2
push 0
push esi
call fcn.00441180
push esi
call fcn.004413d0
push 0
push 0
push esi
mov edi, eax
call fcn.00441180
add esp, 0x1c
cmp edi, 0x400000
pop edi
push esi
jbe 0x40b3c8
call fcn.0043efd0
add esp, 4
push str.C:zvdprep.log
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
call fcn.0043efd0
add esp, 4
pop esi
ret
Function at 0x40b450
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x9f4
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x9f0], eax
mov eax, dword [esp + 0x9f8]
push esi
push eax
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.0043dc50
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push str._s.tmp
lea edx, [esp + 0x120]
push 0x104
push edx
call fcn.0043e0b0
push 0x488190
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043ec90
add esp, 0x1c
test eax, eax
je 0x40b53d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push edx
push str._s_Opening_failed_for_Read_mode____Error_d
lea edx, [esp + 0x22c]
call fcn.0040cde0
add esp, 0xc
push 0x4878c0
lea eax, [esp + 0xc]
push str.c:zvDPREP.log
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
jne 0x40b690
mov ecx, dword [esp + 8]
push ecx
lea edx, [esp + 0x224]
push edx
call fcn.0043ed30
mov eax, dword [esp + 0x10]
push eax
push 0x4878d4
call fcn.0043ed30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043efd0
add esp, 0x14
pop esi
mov ecx, dword [esp + 0x9f0]
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f4
ret
push 0x4881b8
lea edx, [esp + 0x11c]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.0043ec90
add esp, 0xc
test eax, eax
je 0x40b5b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x11c]
push ecx
push str._s_Opening_failed_for_Read_mode____Error_d
lea edx, [esp + 0x22c]
call fcn.0040cde0
lea edx, [esp + 0x22c]
add esp, 0xc
push edx
call fcn.00402250
mov eax, dword [esp + 8]
add esp, 4
push eax
call fcn.0043efd0
add esp, 4
pop esi
mov ecx, dword [esp + 0x9f0]
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f4
ret
mov ecx, dword [esp + 4]
push ecx
lea edx, [esp + 0x224]
push 0x3e8
push edx
call fcn.0043f8c0
add esp, 0xc
test eax, eax
je 0x40b656
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
lea esp, [esp]
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x60c]
push 0x3e8
push ecx
call fcn.0043dc50
add esp, 0xc
push 0x488238
lea edx, [esp + 0x60c]
push edx
call esi
test eax, eax
je 0x40b638
lea ecx, [esp + 0x608]
mov byte [eax], 0
call fcn.0040b6b0
cmp al, 1
je 0x40b638
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x224]
push ecx
call fcn.0043ed30
add esp, 8
mov edx, dword [esp + 4]
push edx
lea eax, [esp + 0x224]
push 0x3e8
push eax
call fcn.0043f8c0
add esp, 0xc
test eax, eax
jne 0x40b5e0
mov ecx, dword [esp + 4]
push ecx
call fcn.0043efd0
mov edx, dword [esp + 0x10]
add esp, 4
push edx
call fcn.0043efd0
add esp, 4
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, dword [esp + 0x9f4]
pop esi
xor ecx, esp
call fcn.00439cd0
add esp, 0x9f4
ret
Function at 0x40bd40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x104], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00444930
add esp, 0xc
push 0x497850
push 0x400
lea ecx, [esp + 8]
push ecx
push str.FALSE
push str.BetaVer
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp]
push str.TRUE
push edx
call fcn.0043f630
mov ecx, dword [esp + 0x10c]
add esp, 8
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00439cd0
add esp, 0x108
ret

Function at 0x40d240
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40d259
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40d294
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40d290
lea ebx, [ebx]
cmp esi, eax
jae 0x40d294
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40d280
cmp esi, eax
jb 0x40d29a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40db20
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x47238b
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x491050]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
push edi
mov eax, dword [0x491050]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov eax, dword [ebx]
mov dword [esp + 0x18], 0x10
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
jge 0x40db7f
push esi
mov ecx, ebx
call fcn.0040d6a0
mov edi, dword [ebx]
push 0xf0000020
push 1
push 0
push 0
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x40dcc3
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x40dcba
mov eax, dword [esp + 0xc]
push 0
push esi
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40dca9
mov eax, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov ecx, 0x497ca4
test eax, eax
je 0x40dc9d
call fcn.0040d4b0
lea ecx, [esp + 0x14]
call fcn.0040d080
mov dword [esp + 0xa8], 0
xor esi, esi
jmp 0x40dc20
movzx ecx, byte [esp + esi + 0x1c]
push ecx
lea edx, [esp + 0x18]
push str._02x
push edx
call fcn.0040cd60
mov edi, dword [esp + 0x20]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, 0x497ca4
call fcn.0040cba0
inc esi
cmp esi, 0x10
jl 0x40dc20
lea esi, [edi - 0x10]
lea edi, [esi + 0xc]
mov dword [esp + 0xa8], 0xffffffff
cmp dword [edi], 0
jne 0x40dc85
push str.nRefs___0
push 0
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_9.0VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.00439d00
add esp, 0x14
cmp eax, 1
jne 0x40dc85
int3
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x40dcd4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x40dcd4
push str.Error_getting_hash_param
call fcn.0040d890
jmp 0x40dcd4
push str.Error_hashing_data
mov ecx, 0x497ca4
call fcn.0040d890
jmp 0x40dcd4
push 0x13
push str.Error_creating_hash
jmp 0x40dcca
push 0x17
push str.Error_acquiring_context
mov ecx, 0x497ca4
call fcn.0040d7e0
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [esp + 0x10]
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40dcff
push ecx
push eax
call fcn.00441790
add esp, 8
push eax
mov ecx, ebx
call fcn.0040d720
mov eax, 0x497ca4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00439cd0
add esp, 0xa0
ret
Function at 0x42c1b0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471698
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x491050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42c208
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x50], 0
jne 0x42c208
push pe_nt_image_headers32
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfcwinocc.cpp
call fcn.00413440
test eax, eax
je 0x42c208
int3
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x50], 0
jne 0x42c22a
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42c28d
lea ecx, [ebp - 0x10]
call fcn.0040d080
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x50]
mov edx, dword [edx]
mov eax, dword [edx + 0x94]
call eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d0e0
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040e4b0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0040d1e0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x439cd0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491050]
jne 0x439cda
repz ret
jmp fcn.004490f0