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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047d1aa
and dword [ebp - 4], 0
cmp dword [0x4be0a4], 0
mov ebx, eax
jne 0x4896e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x489797
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x49fee4
push edi
call esi
test eax, eax
je 0x489797
push eax
call fcn.0047d138
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4be0a4], eax
call esi
push eax
call fcn.0047d138
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4be0a8], eax
call esi
push eax
call fcn.0047d138
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4be0ac], eax
call esi
push eax
call fcn.0047d138
pop ecx
mov dword [0x4be0b4], eax
test eax, eax
je 0x4896e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047d138
pop ecx
mov dword [0x4be0b0], eax
mov eax, dword [0x4be0b0]
cmp eax, ebx
je 0x48973e
cmp dword [0x4be0b4], ebx
je 0x48973e
push eax
call fcn.0047d1b3
push dword [0x4be0b4]
mov esi, eax
call fcn.0047d1b3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x48973e
test edi, edi
je 0x48973e
call esi
test eax, eax
je 0x489735
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x489735
test byte [ebp - 0xc], 1
jne 0x48973e
or dword [ebp + 0x10], 0x200000
jmp 0x489777
mov eax, dword [0x4be0a8]
cmp eax, ebx
je 0x489777
push eax
call fcn.0047d1b3
pop ecx
test eax, eax
je 0x489777
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x489777
mov eax, dword [0x4be0ac]
cmp eax, ebx
je 0x489777
push eax
call fcn.0047d1b3
pop ecx
test eax, eax
je 0x489777
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4be0a4]
call fcn.0047d1b3
pop ecx
test eax, eax
je 0x489797
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x489799
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x6a417a3e
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x48f915c6
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401669
Capabilities:
Check if file exists
Get common file path
Read .ini file

Disassembly:
push 0x230
mov eax, 0x565c17
call fcn.0053da79
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x230], 0
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x234], eax
call fcn.004013f5
push str.DCEX.Model
lea ecx, [ebp - 0x220]
call fcn.0040235d
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004018e7
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x21c]
push eax
mov ecx, ebx
call fcn.0040143c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
push 1
push 0x23
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, 0x598e20
test eax, eax
je 0x40183b
push ebx
lea ecx, [ebp - 0x238]
call fcn.0040235d
push dword [ebp - 0x228]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004018e7
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040235d
push str.epsonEpson_Scan_2ModelsES
push eax
lea eax, [ebp - 0x23c]
push eax
mov byte [ebp - 4], 6
call fcn.0040193e
push dword [ebp - 0x228]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004018e7
push str.DCP.ini
push eax
lea eax, [ebp - 0x220]
push eax
mov byte [ebp - 4], 8
call fcn.0040193e
add esp, 0x24
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x23c]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x220]
call edi
test eax, eax
je 0x40181b
push dword [ebp - 0x220]
push 0
push str.DataVersion
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x40181b
js 0x40181b
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040143c
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00402722
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
push ebx
lea ecx, [ebp - 0x22c]
call fcn.0040235d
push dword [ebp - 0x228]
mov dword [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.004018e7
add esp, 0xc
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x22c]
add ecx, 0xfffffff0
call fcn.00402722
mov ebx, dword [ebp - 0x234]
push dword [ebx]
call edi
test eax, eax
je 0x4018b3
push dword [ebx]
push 0
push str.DataVersion
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4018b3
cmp eax, dword [ebp - 0x230]
jl 0x4018b3
lea eax, [ebp - 0x224]
push eax
mov ecx, ebx
call fcn.0040143c
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.0053dafc
ret 8
Function at 0x40279e
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push 0xac
mov eax, 0x565b81
call fcn.0053da79
push 0xf0000000
xor ebx, ebx
push 0x18
push ebx
push ebx
lea eax, [ebp - 0xb8]
push eax
mov esi, ecx
mov byte [ebp - 0xb1], bl
mov dword [ebp - 0xb8], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40284b
push 0x2f
mov esi, str...COMMONHash256.cpp
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x4027ee
push 0x2f
jmp 0x4027fe
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x402809
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
inc eax
jmp 0x40280b
mov eax, esi
push 4
push 0x12
push eax
lea esi, [ebp - 0x60]
call fcn.00404b01
mov esi, eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_in_AcquireContext_0x_08x__n
push ebx
mov ecx, esi
call fcn.00404bdf
mov edi, eax
call fcn.00402776
pop ecx
pop ecx
lea ecx, [ebp - 0x60]
or dword [ebp - 4], 0xffffffff
call fcn.00404b6d
jmp 0x4028da
push esi
push 0x10
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4028d3
push 0x2f
mov esi, str...COMMONHash256.cpp
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x402875
push 0x2f
jmp 0x402885
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
test eax, eax
je 0x402890
push 0x5c
push esi
call fcn.005392c0
pop ecx
pop ecx
inc eax
jmp 0x402892
mov eax, esi
push 4
push 0x18
push eax
lea esi, [ebp - 0xb0]
call fcn.00404b01
mov esi, eax
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._Error_in_CryptGenRandom_0x_08x__n
push ebx
mov ecx, esi
call fcn.00404bdf
mov edi, eax
call fcn.00402776
pop ecx
pop ecx
lea ecx, [ebp - 0xb0]
jmp 0x40283d
mov byte [ebp - 0xb1], 1
cmp dword [ebp - 0xb8], ebx
je 0x4028ef
push ebx
push dword [ebp - 0xb8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 0xb1]
call fcn.0053dafc
ret
Function at 0x402eba
Capabilities:
Enumerate files on windows

Disassembly:
push 0x348
mov eax, 0x568f7a
call fcn.0053da79
mov eax, dword [ebp + 8]
mov ebx, ecx
lea esi, [ebx + 0xd0]
mov edi, edx
mov dword [ebp - 0x27c], eax
call fcn.004034cc
push edi
lea ecx, [ebp - 0x26c]
call fcn.0040235d
and dword [ebp - 4], 0
push 0x598ffc
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.0040193e
add esp, 0xc
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 1
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x284], 0
mov dword [ebp - 0x270], eax
call fcn.00403557
mov esi, eax
mov dword [esi], esi
mov dword [ebp - 0x288], esi
mov dword [esi + 4], esi
cmp dword [ebp - 0x270], 0xffffffff
mov byte [ebp - 4], 2
je 0x403018
push 0x59901c
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040193e
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 3
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x278]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x354]
push dword [ebp - 0x27c]
push dword [ebp - 0x268]
call fcn.0040bf7b
lea eax, [ebp - 0x354]
push eax
lea edi, [ebp - 0x288]
mov byte [ebp - 4], 6
call fcn.00403490
lea ecx, [ebp - 0x354]
call fcn.0040ba2e
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x268]
add ecx, 0xfffffff0
call fcn.00402722
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402f53
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x288]
xor eax, eax
mov dword [ebp - 0x268], eax
cmp dword [ebp + 0xc], eax
jle 0x40306a
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
jle 0x403058
mov eax, dword [esi]
jmp 0x40303a
cmp dword [eax + 0x24], ecx
je 0x403040
mov eax, dword [eax]
cmp eax, esi
jne 0x403033
jmp 0x403058
cmp dword [ebx + 0xd4], 0x1e
jae 0x403058
add eax, 8
push eax
lea edi, [ebx + 0xd0]
call fcn.00403490
mov eax, dword [ebp - 0x268]
inc eax
mov dword [ebp - 0x268], eax
cmp eax, dword [ebp + 0xc]
jl 0x403025
mov ebx, dword [ebx + 0xd4]
lea esi, [ebp - 0x288]
call fcn.004034cc
push dword [ebp - 0x288]
call fcn.004385e0
pop ecx
mov ecx, dword [ebp - 0x274]
add ecx, 0xfffffff0
call fcn.00402722
mov ecx, dword [ebp - 0x26c]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, ebx
call fcn.0053dafc
ret 0xc
Function at 0x4042ab
Capabilities:
Get file version info

Disassembly:
push 0x54
mov eax, 0x563c3a
call fcn.0053daaf
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov dword [ebp - 0x54], edi
mov byte [edi], bl
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], ecx
cmp eax, ebx
je 0x4043af
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ecx
call fcn.00403b3e
pop ecx
pop ecx
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 0x10
mov eax, dword [ebp - 0x30]
jae 0x404300
lea eax, [ebp - 0x30]
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
push esi
call fcn.004385d5
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
pop ecx
jae 0x404320
lea eax, [ebp - 0x30]
push dword [ebp - 0x50]
push esi
push ebx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x404390
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x58]
push eax
push 0x59932c
push dword [ebp - 0x50]
call dword [sym.imp.VERSION.dll_VerQueryValueA]
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x30]
jae 0x404352
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x58]
movzx edx, word [eax + 0xc]
push edx
movzx edx, word [eax + 0xe]
push edx
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push edx
push eax
push ecx
push str._nFile_information_n_____s_Ver__d._d._d._d
lea ecx, [ebp - 0x4c]
call fcn.00403df6
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 3
call fcn.00401ab3
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401afd
push dword [ebp - 0x50]
call fcn.004385e0
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00401afd
jmp 0x4043af
mov eax, edi
call fcn.0053db0b
ret

Function at 0x40447c
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
lea esi, [edi + 8]
mov ecx, esi
call fcn.00401dbd
mov eax, dword [edi + 0x18]
test eax, eax
je 0x4044d3
mov edx, dword [esi + 0x10]
dec eax
cmp edx, eax
ja 0x4044aa
push str.invalid_string_position
call fcn.00556952
push ebx
mov ebx, dword [esi + 0x14]
cmp ebx, 0x10
jb 0x4044b7
mov ecx, dword [esi]
jmp 0x4044b9
mov ecx, esi
cmp byte [ecx + eax], 0x5c
jne 0x4044d2
cmp edx, eax
jbe 0x4044a0
cmp ebx, 0x10
jb 0x4044cc
mov ecx, dword [esi]
jmp 0x4044ce
mov ecx, esi
mov byte [ecx + eax], 0
pop ebx
cmp dword [edi + 4], 0
jle 0x404506
cmp dword [esi + 0x14], 0x10
jb 0x4044e3
mov eax, dword [esi]
jmp 0x4044e5
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4044f5
test al, 0x10
jne 0x404506
cmp dword [esi + 0x14], 0x10
jb 0x4044fd
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
pop ebp
ret 4
Function at 0x404fda
Capabilities:
Read .ini file

Disassembly:
push 0x68
mov eax, 0x56597d
call fcn.0053da79
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x5ca9b4
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], eax
mov esi, edx
call fcn.00403a08
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x64]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00403b3e
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00403be7
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00401afd
cmp dword [esi + 0x14], 0x10
jb 0x405039
mov ecx, dword [esi]
jmp 0x40503b
mov ecx, esi
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x405047
lea eax, [ebp - 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push ecx
push ebx
push str.Period
push eax
call edi
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x70], eax
jb 0x405062
mov esi, dword [esi]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x40506e
lea eax, [ebp - 0x2c]
push esi
push ebx
push str.LogLevel
push eax
call edi
mov esi, eax
call fcn.00402750
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
call fcn.00402750
mov ecx, dword [ebp - 0x70]
mov dword [eax + 0x64], ecx
call fcn.00402750
push dword [ebp - 0x6c]
mov dword [eax + 4], esi
call fcn.00402750
mov edi, eax
call fcn.0040447c
call fcn.00402750
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [eax + 0x24]
call fcn.00401dbd
call fcn.00402750
lea edx, [ebp - 0x48]
mov ecx, eax
call fcn.0040450b
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00401afd
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401afd
mov esi, dword [ebp - 0x68]
cmp esi, ebx
je 0x4050fa
mov eax, dword [esi]
cmp eax, ebx
je 0x4050f3
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.004385e0
pop ecx
call fcn.0053dafc
ret
Function at 0x406141
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x563233
call fcn.0053da79
mov ebx, ecx
cmp dword [ebx + 0x44], 0
mov dword [ebp - 0x34], ebx
je 0x406231
cmp byte [ebx + 0x49], 0
je 0x406231
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x406179
xor al, al
jmp 0x406233
push 0
push 8
pop edi
lea esi, [ebp - 0x2c]
call fcn.00405edf
and dword [ebp - 4], 0
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4061d0
lea eax, [ebp - 0x2c]
mov edx, eax
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
push eax
push edx
push dword [ebp - 0x38]
call dword [esi + 0x18]
xor edi, edi
sub eax, edi
je 0x4061d5
dec eax
je 0x4061d9
dec eax
dec eax
je 0x40622d
xor bl, bl
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401afd
mov al, bl
jmp 0x406233
mov edx, dword [ebp - 0x2c]
jmp 0x40619e
mov byte [ebx + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4061e5
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x40620b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4061f8
lea eax, [ebp - 0x2c]
push dword [ebx + 0x54]
push esi
push 1
push eax
call fcn.0053a3a1
add esp, 0x10
cmp esi, eax
jne 0x4061bf
cmp byte [ebx + 0x49], 0
je 0x40622d
cmp esi, edi
jne 0x406190
push edi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.00401d66
mov ebx, dword [ebp - 0x34]
jmp 0x406190
mov bl, 1
jmp 0x4061c1
mov al, 1
call fcn.0053dafc
ret
Function at 0x4079f5
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, eax
mov ecx, dword [esi + 0x40]
xor al, al
push edi
mov bl, 1
cmp ecx, 0xffffffff
je 0x407b89
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x407b89
cmp ecx, 0x29
jne 0x407a39
cmp dword [esi + 0x10], 0
jne 0x407b89
test dword [esi + 0x44], edi
jne 0x407a39
push 5
call fcn.00556fbc
pop ecx
jmp 0x407b72
cmp ecx, 0x2e
jne 0x407a55
push 5
lea eax, [esi + 0x18]
push eax
call fcn.00407c6e
mov eax, esi
call fcn.004079cd
jmp 0x407b72
cmp ecx, 0x5c
jne 0x407ab2
mov eax, esi
call fcn.004079cd
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x407a88
cmp byte [esi + 0x3e], 0x62
jne 0x407a88
push 4
lea eax, [esi + 0x18]
push eax
call fcn.00407c6e
mov eax, esi
call fcn.004079cd
jmp 0x407b79
test eax, eax
je 0x407aa6
cmp byte [esi + 0x3e], 0x42
jne 0x407aa6
push 4
lea eax, [esi + 0x18]
push eax
call fcn.00407c6e
mov eax, dword [esi + 0x1c]
xor dword [eax + 8], 1
jmp 0x407a7c
mov eax, esi
call fcn.004085d7
jmp 0x407b72
cmp ecx, 0x5b
jne 0x407adc
mov eax, esi
call fcn.004079cd
mov eax, esi
call fcn.0040858e
cmp dword [esi + 0x40], 0x5d
je 0x407a49
push 4
call fcn.00556fbc
pop ecx
jmp 0x407a49
cmp ecx, 0x28
jne 0x407b06
mov eax, esi
call fcn.004079cd
call fcn.004086a9
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x407afd
push 5
call fcn.00556fbc
pop ecx
mov eax, esi
call fcn.004079cd
jmp 0x407b6e
cmp ecx, 0x5e
jne 0x407b12
push 2
jmp 0x407a73
cmp ecx, 0x24
jne 0x407b1e
push 3
jmp 0x407a73
cmp ecx, 0x2a
je 0x407b66
cmp ecx, 0x2b
je 0x407b66
cmp ecx, 0x3f
je 0x407b66
cmp ecx, 0x7b
je 0x407b66
cmp ecx, 0x7d
jne 0x407b43
test dword [esi + 0x44], edi
jne 0x407b43
push 6
jmp 0x407a2e
cmp ecx, 0x5d
jne 0x407b54
test dword [esi + 0x44], edi
jne 0x407b54
push 4
jmp 0x407a2e
movzx eax, byte [esi + 0x3e]
push eax
lea eax, [esi + 0x18]
call fcn.0040888b
jmp 0x407a49
push 0xa
call fcn.00556fbc
pop ecx
test bl, bl
je 0x407b79
mov eax, esi
call fcn.0040879f
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x407a0f
pop edi
pop esi
pop ebx
ret

Function at 0x409e4e
Capabilities:
Read .ini file

Disassembly:
push 0x8c
mov eax, 0x56593d
call fcn.0053da79
and dword [ebp - 0x98], 0
lea ecx, [ebp - 0x98]
call fcn.004127e0
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x94]
mov esi, 0x599648
push 0
push str.KeywordLock
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x409f02
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
call fcn.00539100
add esp, 0xc
push dword [ebp - 0x94]
lea eax, [ebp - 0x90]
push 0x40
push eax
push 0x5990a0
push str.Keyword
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x90]
push eax
mov ecx, ebx
call fcn.0040235d
jmp 0x409f0f
call fcn.00438647
push eax
mov ecx, ebx
call fcn.0042a80d
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffff0
call fcn.00402722
mov eax, ebx
call fcn.0053dafc
ret
Function at 0x409f25
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
lea ecx, [ebp - 0x14]
call fcn.004127e0
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040193e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x10]
push 0
push str.GroupEnabled
push 0x599648
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
neg eax
sbb esi, esi
add ecx, 0xfffffff0
neg esi
call fcn.00402722
mov eax, esi
call fcn.0053dae8
ret

Function at 0x409f88
Capabilities:
Read .ini file

Disassembly:
push 8
mov eax, 0x564898
call fcn.0053da10
lea ecx, [ebp - 0x14]
call fcn.004127e0
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040193e
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
push dword [ebp - 0x10]
push 0
push str.GroupNumber
push 0x599648
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402722
mov eax, esi
call fcn.0053dae8
ret

Function at 0x409fe7
Capabilities:
Read .ini file

Disassembly:
push 0x21c
mov eax, 0x5658ff
call fcn.0053da79
and dword [ebp - 4], 0
and dword [ebp - 0x220], 0
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x228], edi
call fcn.004127e0
push str.NSMInfo.ini
push eax
xor esi, esi
lea eax, [ebp - 0x21c]
inc esi
push eax
mov dword [ebp - 4], esi
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.00438647
push eax
mov ecx, edi
call fcn.0042a80d
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5990a0
push str.Name
push 0x599648
mov dword [ebp - 0x220], esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
push 0x5996a0
push edi
call fcn.0040a7c3
mov ecx, dword [ebp - 0x21c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
mov eax, edi
call fcn.0053dafc
ret

Function at 0x40a23a
Capabilities:
Read .ini file

Disassembly:
push 0x218
mov eax, 0x56589f
call fcn.0053da79
lea ecx, [ebp - 0x224]
call fcn.004127e0
and dword [ebp - 4], 0
push str.NSMInfo.ini
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040193e
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.00438647
push eax
lea ecx, [ebp - 0x220]
call fcn.0042a80d
mov byte [ebp - 4], 3
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x5990a0
push str.Name
push 0x599648
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push 0x5996a0
push eax
call fcn.0040a7c3
mov eax, dword [ebp - 0x220]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x40a2e7
lea ecx, [eax - 0x10]
jmp 0x40a307
push ecx
lea esi, [eax - 0x10]
mov dword [ebp - 0x224], esp
mov edi, esp
push esi
call fcn.00402431
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.0040a358
pop ecx
mov ecx, esi
call fcn.00402722
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.00402722
call fcn.0053dafc
ret