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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da3cd
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x40], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x360], ecx
push 0x400000
lea eax, [ebp - 0x254]
push eax
call fcn.004ca7d0
add esp, 8
mov dword [ebp - 0x364], eax
mov ecx, dword [ebp - 0x364]
mov dword [ebp - 0x368], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x368]
push edx
mov ecx, dword [ebp - 0x360]
add ecx, 0x24
call fcn.00401090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00401070
push 0x4fa08c
mov ecx, dword [ebp - 0x360]
add ecx, 0x24
call fcn.00401150
mov dword [ebp - 0x38], 0x4fa0a8
mov dword [ebp - 0x34], 0x4fa0ac
mov dword [ebp - 0x30], 0x4fa0bc
mov dword [ebp - 0x2c], 0x4fa0c4
mov dword [ebp - 0x28], 0x4fa0cc
mov dword [ebp - 0x24], 0x4fa0d8
mov dword [ebp - 0x20], 0x4fa0e8
mov dword [ebp - 0x1c], 0x4fa0f0
mov dword [ebp - 0x18], 0x4fa0fc
mov dword [ebp - 0x14], 0x4fa104
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0x3c], 0
jmp 0x4c89f7
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x10]
jge 0x4c8ae9
mov word [ebp - 0x24c], 0
push 0x206
push 0
lea edx, [ebp - 0x24a]
push edx
call fcn.0047d050
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp + eax*4 - 0x38]
push ecx
lea ecx, [ebp - 0x358]
call fcn.004088a0
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x360]
add ecx, 0x24
call fcn.00401aa0
push eax
push 0x104
lea edx, [ebp - 0x24c]
push edx
push 0x4fa10c
push 0x4fa110
mov ecx, dword [ebp - 0x36c]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x358]
call fcn.004291d0
push 0
lea eax, [ebp - 0x250]
push eax
call fcn.004b64d0
add esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
push ecx
lea ecx, [ebp - 0x250]
call fcn.00401170
test eax, eax
je 0x4c8ad2
push ecx
mov ecx, esp
mov dword [ebp - 0x35c], esp
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + edx*4 - 0x38]
push eax
call fcn.00408100
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x360]
call fcn.004c8750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.00401070
jmp 0x4c89ee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret
Function at 0x4c8fa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da793
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], ecx
mov word [ebp - 0x21c], 0
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0047d050
add esp, 0xc
push 0x400000
lea ecx, [ebp - 0x228]
push ecx
call fcn.004ca7d0
add esp, 8
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x238], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00401090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.00401070
push str.reportLog.ini
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00401150
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00401aa0
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x4fba40
push 0x4fba44
push 0x4fba5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.004b64d0
add esp, 8
mov dword [ebp - 4], 1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00401170
test eax, eax
je 0x4c9149
mov ecx, dword [ebp - 0x230]
call fcn.004c8e90
push ecx
mov ecx, esp
mov dword [ebp - 0x22c], esp
push 0x4fba74
call fcn.00408750
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x230]
call fcn.004c8c30
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x4c9149
mov ecx, dword [ebp - 0x230]
call fcn.004c8b60
push 0
lea ecx, [ebp - 0x224]
push ecx
call fcn.004b64d0
add esp, 8
mov ecx, dword [ebp - 0x230]
add ecx, 4
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x224]
call fcn.00401aa0
push eax
push str.RepeatDate
push 0x4fbaa4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x224]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret
Function at 0x4c91a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00401560
push 0
push 0
push 3
push 0
push 1
push connect
mov ecx, dword [ebp - 0x14]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4c9201
mov dword [ebp - 8], 0
push 0
push 0x504c44
push 0x504c4c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x4c9279
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
push ecx
call fcn.0047cf83
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.0047d050
add esp, 0xc
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004010d0
mov eax, dword [ebp - 4]
push eax
call fcn.0047d0ca
add esp, 4
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4cb550
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db6e3
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.00401560
push 0
push 0
push 3
push 0
push 1
push connect
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4cb6a6
mov dword [ebp - 0x14], 0
push 0
push 0x4f559c
push 0x4f55a4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.004a9e70
movzx eax, al
test eax, eax
je 0x4cb67e
call fcn.004a9740
cmp eax, 3
jg 0x4cb67e
push 3
push 0x63
push 0x4f55b4
lea ecx, [ebp - 0xb0]
call fcn.004aa4b0
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xb4]
or edx, 1
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0xb8]
add ecx, 4
call fcn.00401aa0
push eax
push 0x4f54ec
mov ecx, dword [ebp - 0xc0]
call fcn.004177b0
push eax
call fcn.00428780
add esp, 8
mov ecx, eax
call fcn.00401610
push eax
lea ecx, [ebp - 0x1d]
call fcn.0041ffe0
mov ecx, eax
call fcn.0042bb10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
and eax, 1
je 0x4cb6a2
and dword [ebp - 0xb4], 0xfffffffe
lea ecx, [ebp - 0xb0]
call fcn.004aa2b0
xor eax, eax
jmp 0x4cb721
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.0047cf83
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0047d050
add esp, 0xc
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xb8]
add ecx, 8
call fcn.004010d0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0047d0ca
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4cd760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8174
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0xffffffff
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea ecx, [ebp + 0xc]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4cd7cc
lea ecx, [ebp + 8]
call fcn.0040be80
movzx eax, al
test eax, eax
je 0x4cd7f3
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
mov eax, dword [ebp - 0x1c]
jmp 0x4cd84e
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 8]
call fcn.00408bb0
push eax
lea ecx, [ebp + 8]
call fcn.00408710
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00417a20
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ce310
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db74d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
push 0
push 0
push 3
push 0
push 1
push connect
lea ecx, [ebp + 0xc]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4ce4d2
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp + 0xc]
call fcn.00401aa0
push eax
push 0x4f6614
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
call fcn.004a9e70
movzx eax, al
test eax, eax
je 0x4ce469
call fcn.004a9740
cmp eax, 3
jg 0x4ce469
lea ecx, [ebp - 0xb0]
call fcn.00401030
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xbc]
or edx, 1
mov dword [ebp - 0xbc], edx
push 3
push 0x16a
push str..KSemDataReport.cpp
lea ecx, [ebp - 0xac]
call fcn.004aa4b0
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0xbc]
or ecx, 2
mov dword [ebp - 0xbc], ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x4f6650
mov eax, dword [ebp - 0xc4]
push eax
call fcn.00401000
add esp, 0xc
mov ecx, eax
call fcn.00401aa0
push eax
mov ecx, dword [ebp - 0xcc]
call fcn.004177b0
mov ecx, eax
call fcn.00401610
push eax
lea ecx, [ebp - 0x19]
call fcn.0041ffe0
mov ecx, eax
call fcn.0042bb10
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xbc]
and ecx, 2
je 0x4ce48d
and dword [ebp - 0xbc], 0xfffffffd
lea ecx, [ebp - 0xac]
call fcn.004aa2b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xbc]
and edx, 1
je 0x4ce4b1
and dword [ebp - 0xbc], 0xfffffffe
lea ecx, [ebp - 0xb0]
call fcn.0042ddc0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
mov eax, dword [ebp - 0xb4]
jmp 0x4ce54f
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
push ecx
call fcn.0047cf83
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
add eax, 1
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.0047d050
add esp, 0xc
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xb8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4d06d0
Capabilities:
Copy file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcfc3
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x24], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
call fcn.00401050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401050
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
push str._s.csv
lea edx, [ebp - 0x20]
push edx
call fcn.0040a8f0
add esp, 0xc
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4d0830
push 0x4f6420
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4d078f
push 0x4f6428
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4d0794
jmp 0x4d0817
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401090
push 0x4f642c
lea ecx, [ebp - 0x1c]
call fcn.00402e60
lea ecx, [ebp - 0x248]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401150
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401090
push 0x4f6430
lea ecx, [ebp - 0x10]
call fcn.00402e60
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401150
push 0
lea ecx, [ebp - 0x10]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
push ecx
call fcn.004d0560
add esp, 4
test eax, eax
je 0x4d0817
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d0763
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00401070
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret
Function at 0x4d0890
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcffb
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00401050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401050
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401090
push 0x4f61e8
lea ecx, [ebp - 0x1c]
call fcn.00402e60
lea ecx, [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4d09c6
push 0x4f61f8
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4d0945
push 0x4f6200
lea eax, [ebp - 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4d0947
jmp 0x4d09ad
push 0x4f6204
lea ecx, [ebp - 0x248]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4d095f
jmp 0x4d09ad
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
call fcn.00401090
push 0x4f6214
lea ecx, [ebp - 0x10]
call fcn.00402e60
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401150
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
lea ecx, [ebp - 0x10]
push ecx
call fcn.004d0560
add esp, 4
test eax, eax
je 0x4d09ad
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4d0919
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x278], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0x278]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret
Function at 0x4d1290
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd1a1
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x6264e4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00401050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401050
mov byte [ebp - 4], 3
mov dword [ebp - 0xc4], 0
xor eax, eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0x9c], 0
push 0x7f
push 0
lea ecx, [ebp - 0x9b]
push ecx
call fcn.0047d050
add esp, 0xc
push 0
push 0x4f65a8
lea ecx, [ebp + 0xc]
call fcn.004011a0
cmp eax, 0xffffffff
jne 0x4d139b
push 0
push 0
push 0x4f65ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
jmp 0x4d14f7
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0xb0]
push ecx
push 0x4f65d8
lea ecx, [ebp + 0xc]
call fcn.0041ed70
push eax
call fcn.0047f938
add esp, 0x14
mov edx, dword [ebp - 0xb0]
sub edx, 0x76c
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb4]
sub eax, 1
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xc4]
push ecx
call fcn.0047f881
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
add edx, 0x15181
mov eax, dword [ebp - 0x10]
adc eax, 0
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.0047f5aa
add esp, 4
mov ecx, 9
mov esi, eax
lea edi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xb4]
add eax, 1
push eax
mov ecx, dword [ebp - 0xb0]
add ecx, 0x76c
push ecx
push 0x4f65ec
lea edx, [ebp - 0xa0]
push edx
call fcn.0040a8f0
add esp, 0x14
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x4f6608
lea edx, [ebp - 0xc8]
push edx
call fcn.0040a8f0
add esp, 0x10
lea ecx, [ebp - 0xc8]
call fcn.00401aa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 0x10
jne 0x4d14af
lea eax, [ebp - 0xc8]
push eax
call fcn.004d0db0
add esp, 4
jmp 0x4d14b1
jmp 0x4d14be
mov ecx, 1
test ecx, ecx
jne 0x4d13fc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0047d9e4
mov esp, ebp
pop ebp
ret
Function at 0x4d6800
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da415
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
fldz
fstp dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.00401050
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x40]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004b64d0
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x24]
call fcn.00408180
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00401070
push str.SELECT_SUM_cpsamount__FROM_t_data_new_WHERE_datedaystartday_AND_is_valid1
lea ecx, [ebp - 0x28]
call fcn.00408100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call fcn.00401aa0
push eax
push str.startday
lea ecx, [ebp - 0x28]
call fcn.004082f0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004bd3a0
mov ecx, eax
call fcn.004bd3e0
mov eax, dword [ebp - 0x20]
push eax
call fcn.00432a90
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.004343f0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4d6901
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
push eax
call fcn.0047ddf7
add esp, 4
fstp dword [ebp - 0x10]
mov ecx, dword [ebp - 0x34]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0x2c
call fcn.0040c060
fld dword [ebp - 0x10]
fstp dword [eax]
mov edx, dword [ebp - 0x20]
push edx
call fcn.004317e0
fld dword [ebp - 0x10]
fstp dword [ebp - 0x30]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401070
fld dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret