joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ddada
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4ddb3a
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x4ddb39
cmp eax, 0x29
jne 0x4ddb3e
cmp dword [esi + 0x10], 0
jne 0x4ddb39
test dword [esi + 0x50], edx
je 0x4ddc39
cmp eax, 0x5d
jne 0x4ddb14
test dword [esi + 0x50], edx
je 0x4ddc2d
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004dd40a
mov ecx, esi
call fcn.004df854
mov ecx, esi
call fcn.004df893
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4ddae8
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x4ddb4f
push 5
lea ecx, [esi + 0x24]
call fcn.004df816
jmp 0x4ddb21
cmp eax, 0x5c
jne 0x4ddb9e
mov ecx, esi
call fcn.004df854
test byte [esi + 0x50], 0x80
je 0x4ddb95
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x4ddb7d
push 4
lea ecx, [esi + 0x24]
call fcn.004df816
mov ecx, esi
call fcn.004df854
jmp 0x4ddb2f
cmp eax, 0x42
jne 0x4ddb95
push 4
lea ecx, [esi + 0x24]
call fcn.004df816
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4ddb74
mov ecx, esi
call fcn.004ddc43
jmp 0x4ddb28
cmp eax, 0x5b
jne 0x4ddbc1
mov ecx, esi
call fcn.004df854
mov ecx, esi
call fcn.004de1cb
push 4
push 0x5d
mov ecx, esi
call fcn.004deffd
jmp 0x4ddb28
cmp eax, 0x28
jne 0x4ddbee
mov ecx, esi
call fcn.004df854
mov ecx, esi
call fcn.004dfbba
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.004deffd
test bl, bl
je 0x4ddb2f
jmp 0x4ddb28
cmp eax, 0x5e
jne 0x4ddbfa
push 2
jmp 0x4ddb6c
cmp eax, 0x24
jne 0x4ddc06
push 3
jmp 0x4ddb6c
cmp eax, 0x2a
je 0x4ddc31
cmp eax, 0x2b
je 0x4ddc31
cmp eax, 0x3f
je 0x4ddc31
cmp eax, 0x7b
je 0x4ddc31
cmp eax, 0x7d
jne 0x4ddb06
test dword [esi + 0x50], edx
je 0x4ddc35
jmp 0x4ddb14
push 4
jmp 0x4ddc3b
push 0xa
jmp 0x4ddc3b
push 6
jmp 0x4ddc3b
push 5
mov ecx, esi
call fcn.004defb7
int3
Function at 0x4f9a2b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x118
xor esi, esi
lea eax, [ebp - 0x11c]
push esi
push eax
call fcn.00719250
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
jne 0x4f9a86
cmp dword [ebp - 0x118], 2
jae 0x4f9a88
cmp dword [ebp - 0x11c], 6
jbe 0x4f9ab3
push 0xfffffffffffffffc
call fcn.004f99e3
pop ecx
test eax, eax
jne 0x4f9aa0
push 0xfffffffffffffffd
call fcn.004f99e3
pop ecx
test eax, eax
je 0x4f9aa5
xor esi, esi
inc esi
jmp 0x4f9ab8
push 2
call fcn.004f9998
mov esi, eax
pop ecx
test esi, esi
jne 0x4f9ab8
call fcn.004f9963
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00700c25
leave
ret
Function at 0x5018f4
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x501967
push edi
push 2
xor esi, esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x501967
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
jmp 0x501950
cmp dword [ebp - 0x228], edi
je 0x501956
lea eax, [ebp - 0x230]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x50193b
jmp 0x50195c
mov esi, dword [ebp - 0x218]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x501969
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00700c25
leave
ret
Function at 0x50421c
Capabilities:
Create process on windows
Get explorer pid
Impersonate user

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00503634
pop ecx
test eax, eax
jne 0x504235
leave
ret
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor esi, esi
push 0x44
push esi
mov dword [ebp - 8], esi
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00719250
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetShellWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0xc]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x504315
lea eax, [ebp - 8]
mov ebx, 0x2000000
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x504315
lea eax, [ebp - 4]
push eax
push 1
push 1
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x5042c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DuplicateTokenEx_err_d
call fcn.0050496b
pop ecx
pop ecx
jmp 0x50432a
mov dword [ebp - 0x60], 0x44
call fcn.0050360e
test eax, eax
mov edx, 0x1000000
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x60]
cmovne ecx, edx
push eax
push esi
push esi
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
test eax, eax
jne 0x504308
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcessWithTokenW_err_d
jmp 0x5042ba
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov eax, dword [ebp - 0x14]
inc esi
mov dword [ecx], eax
jmp 0x50432a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.OpenProcessToken_fail_process__d__err_d
call fcn.0050496b
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x504339
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
je 0x504348
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x504353
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x50d073
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x791936
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.00700fc0
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x1034], edi
mov dword [ebp - 0x1030], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x1000
lea eax, [ebp - 0x1010]
mov dword [ebp - 4], ebx
push ebx
push eax
mov dword [ebp - 0x1030], 1
mov dword [ebp - 0x102c], ebx
call fcn.00719250
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x50d0fa
mov eax, dword [esi]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x50d18c
cmp dword [esi + 0x14], 8
jb 0x50d111
mov esi, dword [esi]
lea eax, [ebp - 0x1010]
push eax
push 0x800
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x50d18c
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x102c]
push eax
push 0x807364
lea eax, [ebp - 0x1010]
push eax
call sub.VERSION.dll_VerQueryValueW
mov ecx, dword [ebp - 0x102c]
test ecx, ecx
je 0x50d18c
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ebp - 0x1028]
push 0x80b98c
push eax
call fcn.004fa9b3
add esp, 0x18
mov ecx, edi
push eax
call fcn.004c3974
lea ecx, [ebp - 0x1028]
call fcn.004c0931
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00700c25
leave
ret
Function at 0x50e921
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.00719250
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x50e964
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x50e96c
mov esi, dword [esi]
lea eax, [ebp - 0x210]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x210]
mov ecx, ebx
push eax
call fcn.004c01bc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00700c25
leave
ret

Function at 0x50e99c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.00719250
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004c01bc
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00700c25
leave
ret

Function at 0x50fabe
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0053bcf2
Function at 0x515f10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
or ebx, 0xffffffff
push edi
mov edi, ecx
cmp dword [ebp + 8], ebx
jne 0x515f33
xor eax, eax
jmp 0x516009
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x515f62
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [esi + ecx]
cmp ecx, eax
jae 0x515f62
mov eax, dword [ebp + 8]
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], al
jmp 0x516008
cmp dword [edi + 0x4c], 0
je 0x516006
mov ecx, edi
call fcn.00515ab0
mov eax, dword [edi + 0x38]
mov cl, byte [ebp + 8]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x515f93
push dword [edi + 0x4c]
push ecx
call fcn.00507922
test al, al
pop ecx
cmovne ebx, dword [ebp + 8]
pop ecx
jmp 0x516006
mov byte [ebp - 0x28], cl
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x7f07dc]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x516006
cmp eax, 1
jle 0x515fda
cmp eax, 3
jne 0x516006
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x515f84
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x515ff7
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.00722353
add esp, 0x10
cmp esi, eax
jne 0x516006
lea eax, [ebp - 0x28]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
jne 0x516008
mov eax, ebx
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00700c25
leave
ret 4
Function at 0x516710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x516735
jl 0x51672c
test edi, edi
jne 0x516735
xor eax, eax
xor edx, edx
jmp 0x5167f6
cmp dword [esi + 0x38], 0
je 0x51674a
push eax
push edi
push dword [ebp + 8]
call fcn.00438910
jmp 0x5167f6
mov eax, dword [esi + 0x1c]
push ebx
mov ebx, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x51678d
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x51678d
cmp dword [eax], edi
mov esi, edi
mov ebx, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push ecx
push ebx
call fcn.00718720
mov ecx, dword [ebp - 8]
add ebx, esi
mov dword [ebp - 4], ebx
add esp, 0xc
mov ebx, edi
sub ebx, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x516793
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x4c], 0
mov ecx, ebx
je 0x5167eb
mov ecx, esi
call fcn.00515ab0
mov edx, dword [ebp - 4]
mov ecx, ebx
jmp 0x5167cb
push dword [esi + 0x4c]
push eax
push 1
push edx
call fcn.00721ff9
mov edx, dword [ebp - 4]
sub ebx, eax
add edx, eax
add esp, 0x10
mov dword [ebp - 4], edx
mov ecx, ebx
cmp eax, 0xfff
jne 0x5167fc
mov eax, 0xfff
cmp ebx, eax
ja 0x5167a9
test ecx, ecx
je 0x5167eb
push dword [esi + 0x4c]
push ebx
push 1
push edx
call fcn.00721ff9
mov ecx, ebx
add esp, 0x10
sub ecx, eax
sub edi, ecx
mov edx, dword [ebp + 0x10]
mov eax, edi
sbb edx, 0
pop ebx
pop edi
pop esi
leave
ret 0xc
sub edi, ebx
jmp 0x5167ed

Function at 0x516d6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x28
mov eax, 0x792f8c
call fcn.00700ca1
mov esi, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp + 0xc]
xor eax, eax
mov ebx, dword [ebp + 0x10]
movzx ecx, word [ebp + 0x14]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, 0xffff
mov dword [ebp - 4], edx
mov dword [ebp - 0x2c], 1
cmp cx, ax
jne 0x516db8
call fcn.00516c8a
movzx ecx, ax
test ebx, ebx
mov eax, edi
push ecx
cmove ebx, dword [0x8ea700]
sar eax, 4
inc eax
movzx eax, ax
push eax
push 6
push ebx
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
jne 0x516df1
push 0x409
push dword [ebp - 0x30]
push 6
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x516e3d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x516e3d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
test ecx, ecx
je 0x516e3d
and edi, 0xf
jbe 0x516e1d
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub edi, 1
jne 0x516e0f
movzx eax, word [ecx]
push eax
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x28]
call fcn.00516bcc
push eax
mov ecx, esi
call fcn.004c3974
lea ecx, [ebp - 0x28]
call fcn.004c0931
mov eax, esi
call fcn.00700c4b
ret
Function at 0x518870
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
jne 0x51888e
push str.gpc__iniFile__lpszIniFile_is_NULL
jmp 0x5189e1
cmp ebx, 1
ja 0x5189dc
cmp dword [edi + 0x24], 0
je 0x5188aa
push dword [edi + 0x24]
call fcn.00700fb3
and dword [edi + 0x24], 0
pop ecx
lea esi, [edi + 0x28]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x5188cf
lea ecx, [eax + 0x28]
call fcn.00519f5b
lea ecx, [ebp - 8]
call fcn.004c03a3
mov eax, dword [ebp - 8]
cmp eax, dword [esi]
jne 0x5188b8
mov ecx, esi
call fcn.00519f3d
push dword [ebp + 8]
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.004c097f
mov dword [edi + 8], ebx
mov eax, esi
mov dword [edi + 0x34], 1
test ebx, ebx
jne 0x518903
cmp dword [esi + 0x14], 8
jb 0x5188fb
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push 3
jmp 0x518911
cmp dword [esi + 0x14], 8
jb 0x51890b
mov eax, dword [esi]
xor ecx, ecx
push ecx
push ecx
push 4
push ecx
push 7
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5189e7
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp eax, 0x100000
jbe 0x518957
cmp dword [esi + 0x14], 8
jb 0x518946
mov esi, dword [esi]
push esi
push str.gpc__iniFile__ini_file_is_too_large__file___s
call fcn.0050496b
pop ecx
jmp 0x5189e6
lea esi, [eax + 2]
push 0x8442b4
push esi
call fcn.00701108
mov dword [edi + 0x24], eax
pop ecx
pop ecx
test eax, eax
jne 0x518975
push str.gpc__iniFile__failed_to_alloc_memory
jmp 0x5189e1
test esi, esi
je 0x518982
mov byte [eax], 0
inc eax
sub esi, 1
jne 0x518979
xor eax, eax
push eax
push eax
push eax
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push dword [edi + 0x24]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 0x24]
cmp byte [edx], 0xff
jne 0x5189cc
cmp byte [edx + 1], 0xfe
jne 0x5189cc
mov ecx, dword [ebp - 4]
xor eax, eax
shr ecx, 1
inc eax
xor esi, esi
mov dword [edi + 0x30], eax
mov word [edx + ecx*2], si
jmp 0x5189e9
mov eax, dword [ebp - 4]
and dword [edi + 0x30], 0
mov byte [edx + eax], 0
xor eax, eax
inc eax
jmp 0x5189e9
push str.gpc__iniFile__eParseMode_is_Invalid
call fcn.0050496b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x51b5b8
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x51b618
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x51b617
cmp eax, 0x29
jne 0x51b61c
cmp dword [esi + 0x10], 0
jne 0x51b617
test dword [esi + 0x50], edx
je 0x51b714
cmp eax, 0x5d
jne 0x51b5f2
test dword [esi + 0x50], edx
je 0x51b708
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0051af44
mov ecx, esi
call fcn.0051ca7a
mov ecx, esi
call fcn.0051cab8
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x51b5c6
pop ebx
mov al, cl
pop esi
ret
cmp eax, 0x2e
jne 0x51b62d
push 5
lea ecx, [esi + 0x24]
call fcn.004df816
jmp 0x51b5ff
cmp eax, 0x5c
jne 0x51b679
mov ecx, esi
call fcn.0051ca7a
test byte [esi + 0x50], 0x80
je 0x51b670
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x51b659
push 4
lea ecx, [esi + 0x24]
call fcn.004df816
mov ecx, esi
call fcn.0051ca7a
jmp 0x51b60d
cmp al, 0x42
jne 0x51b670
push 4
lea ecx, [esi + 0x24]
call fcn.004df816
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x51b650
mov ecx, esi
call fcn.0051b71e
jmp 0x51b606
cmp eax, 0x5b
jne 0x51b69c
mov ecx, esi
call fcn.0051ca7a
mov ecx, esi
call fcn.0051b906
push 4
push 0x5d
mov ecx, esi
call fcn.0051c4b3
jmp 0x51b606
cmp eax, 0x28
jne 0x51b6c9
mov ecx, esi
call fcn.0051ca7a
mov ecx, esi
call fcn.0051ccc2
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0051c4b3
test bl, bl
je 0x51b60d
jmp 0x51b606
cmp eax, 0x5e
jne 0x51b6d5
push 2
jmp 0x51b648
cmp eax, 0x24
jne 0x51b6e1
push 3
jmp 0x51b648
cmp eax, 0x2a
je 0x51b70c
cmp eax, 0x2b
je 0x51b70c
cmp eax, 0x3f
je 0x51b70c
cmp eax, 0x7b
je 0x51b70c
cmp eax, 0x7d
jne 0x51b5e4
test dword [esi + 0x50], edx
je 0x51b710
jmp 0x51b5f2
push 4
jmp 0x51b716
push 0xa
jmp 0x51b716
push 6
jmp 0x51b716
push 5
mov ecx, esi
call fcn.004defb7
int3

Function at 0x51fce0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0051cfa3
Function at 0x530f5b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x43c
mov eax, 0x796068
call fcn.00700ca1
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x420]
xor ebx, ebx
push 0x410
push ebx
push eax
mov dword [ebp - 0x43c], ebx
call fcn.00719250
add esp, 0xc
mov dword [ebp - 0x440], 0x208
lea eax, [ebp - 0x43c]
mov esi, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionProfileList
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5310bc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x420]
push eax
push ebx
jmp 0x53109c
xor eax, eax
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
lea ecx, [ebp - 0x438]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], 7
push eax
call fcn.004c097f
push ebx
push str.S_1_5_21
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], ebx
call fcn.004cccc1
cmp eax, 0xffffffff
je 0x531025
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.005252a8
or dword [ebp - 4], 0xffffffff
inc esi
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x440], 0x208
cmp eax, 8
jb 0x531089
mov ecx, dword [ebp - 0x438]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], ecx
cmp eax, 0x1000
jb 0x531080
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x448]
push eax
call fcn.004343f0
mov eax, dword [ebp - 0x444]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x448]
push eax
push ecx
call fcn.007009b8
pop ecx
pop ecx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x530fd3
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00700c4b
ret 4
Function at 0x53eade
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
mov dword [ebp - 8], ecx
cmp dword [ecx + 0x50], edi
je 0x53eaf6
xor eax, eax
inc eax
jmp 0x53ecaf
push ebx
lea ebx, [ecx + 4]
cmp dword [ebx + 0x14], 8
mov eax, ebx
push esi
jb 0x53eb05
mov eax, dword [ebx]
push eax
push edi
mov esi, 0xf001f
push esi
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 4], eax
test eax, eax
je 0x53eb4a
push edi
push edi
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x53ec06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.jmtLog__init_shared_memory_failed_err_d
call fcn.0050496b
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
jmp 0x53ec95
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x53ec9e
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x53eb63
mov eax, dword [ebx]
push eax
push 0x8011c
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 4], eax
test eax, eax
je 0x53ecab
push edi
push edi
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x53eb2f
xor ecx, ecx
mov dword [esi + 8], 0x80000
mov eax, 0x11c
mov dword [esi + 0x114], edi
inc ecx
mov dword [esi], eax
mov dword [esi + 0x110], eax
mov eax, ebx
mov dword [esi + 0x118], ecx
mov dword [esi + 4], ecx
cmp dword [ebx + 0x14], 8
jb 0x53ebc1
mov eax, dword [ebx]
push eax
push str._s_1
lea eax, [esi + 0x90]
push 0x80
push eax
call fcn.00514679
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x53ebe3
mov ebx, dword [ebx]
push ebx
push str._s_2
lea eax, [esi + 0x10]
push 0x80
push eax
call fcn.00514679
mov ebx, dword [ebp - 8]
add esp, 0x10
mov dword [ebx + 0x68], 1
jmp 0x53ec09
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, 0x11c
cmp dword [esi], eax
jb 0x53ec6f
mov dword [ebx + 0x54], esi
mov eax, dword [esi + 0x110]
add eax, esi
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x58], eax
lea ecx, [ebx + 0x1c]
mov eax, dword [esi + 8]
mov dword [ebx + 0x64], eax
lea eax, [esi + 0x90]
push eax
call fcn.004c097f
lea eax, [esi + 0x10]
push eax
lea ecx, [ebx + 0x34]
call fcn.004c097f
cmp dword [ebx + 0x68], edi
jne 0x53ec6a
mov eax, 0x11c
cmp dword [esi], eax
je 0x53ec6a
push dword [esi + 4]
push 1
push dword [esi]
push eax
push str.jmtLog__compatible_mode_cbSize_d__d_version_d__d
call fcn.00504985
add esp, 0x14
xor edi, edi
inc edi
jmp 0x53ecab
push dword [esi]
push eax
push str.jmtLog__init_shared_memory_incompatible_expected_d_but_d
call fcn.0050496b
mov ebx, dword [ebp - 4]
add esp, 0xc
mov ecx, ebx
test esi, esi
je 0x53ec91
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, ebx
test ecx, ecx
je 0x53ecab
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53ecab
push eax
push str.jmtLog__init_shared_memory_failed_err_d
call fcn.0050496b
pop ecx
pop ecx
pop esi
mov eax, edi
pop ebx
pop edi
leave
ret