joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41435c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
or esi, 0xffffffff
test edi, edi
jne 0x414382
cmp dword [0x6288f8], edi
je 0x414473
push 2
pop esi
jmp 0x41439b
cmp edi, 1
jne 0x414473
push ebx
call fcn.00413e1e
test al, al
je 0x414473
xor esi, esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 0xc], esi
call fcn.0041308d
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
push eax
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
or eax, esi
jmp 0x414422
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4143d0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call fcn.00413e48
push dword [ebp - 4]
test eax, eax
je 0x41443b
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x628bf0
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x6064d0], esi
call fcn.00413d15
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
mov dword [ebp - 4], esi
or eax, dword [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebx + 0xc]
call fcn.00413197
mov esi, eax
test esi, esi
je 0x4143bc
jmp 0x41446b
call fcn.00414934
test esi, esi
jne 0x41446b
movzx ecx, word [ebx + 0x10]
mov eax, ecx
and eax, 0xf
cmp dword [ebp - 0x10], eax
je 0x414488
cmp dword [ebp - 0x10], 3
jne 0x414468
mov eax, dword [ebp + 0x14]
cmp dword [eax], 4
jne 0x414468
and cl, 0xf
cmp cl, 4
je 0x414488
push 2
pop esi
lea ecx, [ebp + 0xb]
call fcn.004130ae
inc edi
cmp edi, 2
jl 0x41436a
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp + 0xb]
mov dword [eax], 1
call fcn.004130ae
xor eax, eax
jmp 0x41447f
Function at 0x414ab1
Capabilities:
Delete registry key

Disassembly:
push 4
mov eax, 0x5542bd
call fcn.0050b5a6
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
test byte [eax + 6], 0xf
je 0x414ad3
mov eax, 0xa0
jmp 0x414b84
xor ebx, ebx
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x10], ebx
call fcn.0041308d
movzx eax, word [esi + 0x10]
shr eax, 1
push ebx
and eax, 0x10
mov dword [ebp - 4], ebx
push eax
push ebx
jmp 0x414b4f
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x10]
push dword [eax]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push edi
call fcn.00413e48
push ebx
test eax, eax
je 0x414b66
mov eax, dword [esi + 0xc]
xor edi, edi
mov ecx, 0x628bf0
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x6064d0], edi
call fcn.00413d15
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x10], edi
call fcn.004130ae
lea ecx, [ebp + 0xb]
call fcn.0041308d
movzx eax, word [esi + 0x10]
shr eax, 1
push edi
and eax, 0x10
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0xc]
push dword [eax + 8]
call fcn.00413197
mov edi, eax
test edi, edi
je 0x414af1
jmp 0x414b7a
call fcn.00414934
push 0
push dword [esi + 0xc]
mov ecx, 0x628bf0
call fcn.00413cb6
lea ecx, [ebp + 0xb]
call fcn.004130ae
mov eax, edi
call fcn.0050b577
ret 4

Function at 0x414b8c
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x5542e0
call fcn.0050b5a6
xor edi, edi
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call fcn.0041308d
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edi
push edi
jmp 0x414c18
cmp dword [ebx], 0
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
jne 0x414bc6
test eax, eax
jne 0x414bc2
mov eax, dword [edi]
push 0
jmp 0x414bce
test eax, eax
jne 0x414bcc
mov eax, dword [edi]
push dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
push esi
call fcn.00413e48
push edi
test eax, eax
je 0x414c3e
mov eax, dword [ebx + 0xc]
xor esi, esi
mov ecx, 0x628bf0
movzx eax, word [eax + 6]
and eax, 0xf
imul eax, eax, 0xc
mov dword [eax + 0x6064d0], esi
call fcn.00413d15
lea ecx, [ebp - 0xd]
mov dword [ebp - 0x14], esi
call fcn.004130ae
lea ecx, [ebp - 0xd]
call fcn.0041308d
mov dword [ebp - 4], esi
push esi
movzx eax, word [ebx + 0x10]
shr eax, 1
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0xc]
call fcn.00413197
mov esi, eax
test esi, esi
je 0x414bb1
jmp 0x414c43
call fcn.00414934
lea ecx, [ebp - 0xd]
call fcn.004130ae
mov eax, esi
call fcn.0050b577
ret 4
Function at 0x415105
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xc
mov eax, 0x554316
call fcn.0050b611
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.00414a0f
test eax, eax
jne 0x415126
push 2
pop eax
jmp 0x415198
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0041532e
mov esi, eax
test esi, esi
je 0x415153
cmp dword [ebp - 0x14], 0
je 0x41514f
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x415198
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
test esi, esi
je 0x41517f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x415198
call fcn.0050b577
ret 0x20

Function at 0x4151a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xc
mov eax, 0x554331
call fcn.0050b611
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.00414a0f
test eax, eax
jne 0x4151c1
push 2
pop eax
jmp 0x415233
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call fcn.0041532e
mov esi, eax
test esi, esi
je 0x4151ee
cmp dword [ebp - 0x14], 0
je 0x4151ea
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x415233
push dword [ebp + 0x24]
mov esi, dword [ebp - 0x14]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test esi, esi
je 0x41521a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x415233
call fcn.0050b577
ret 0x20

Function at 0x416d07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x416d4f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x416d4f
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x416d4f
cmp word [eax + 2], 0
je 0x416d4f
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x416d4f
add eax, 0x30
jmp 0x416d54
mov eax, 0x57c748
pop esi
pop ebp
ret

Function at 0x417a65
Capabilities:
Inspect section memory permissions

Disassembly:
call fcn.00417a4a
dec eax
cmp eax, 9
ja case.default.0x417a70
jmp dword [eax*4 + 0x417ab7]
mov eax, 0x10000000
jmp 0x417ab4
mov eax, 0x20000000
jmp 0x417ab4
mov eax, 0x30000000
jmp 0x417ab4
mov eax, 0x40000000
jmp 0x417ab4
mov eax, SysReAllocString
jmp 0x417ab4
xor edx, edx
xor eax, eax
inc edx
ret
push 2
xor eax, eax
pop edx
ret
push 4
jmp 0x417aa2
push 8
jmp 0x417aa2
push 0x10
jmp 0x417aa2
xor eax, eax
xor edx, edx
ret
Function at 0x417adf
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.0050e5e3
add esp, 0xc
mov dword [ebp - 0x44], 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x417b1e
push 0x8d339f
call fcn.004114d9
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3c]
xor ecx, ebp
mov edx, dword [ebp - 0x38]
call fcn.0050b568
mov esp, ebp
pop ebp
ret
Function at 0x41a963
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov dword [esi], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
test edi, edi
jne 0x41a985
push 0x323658
jmp 0x41a9a0
cmp dword [esi + 4], 6
jae 0x41a995
push 0x323659
call fcn.004114d9
cmp dword [esi + 0x10], 2
je 0x41a9a5
push 0x32365a
call fcn.004114d9
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x41a9f6
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push edi
xor edi, edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [esi], edi
mov dword [ebp + 8], edi
call sub.Secur32.dll_GetUserNameExW
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x41aa51
mov eax, dword [ebp + 8]
mov ecx, esi
add eax, eax
push eax
call fcn.0041a7db
test al, al
je 0x41aa51
lea eax, [ebp + 8]
push eax
push dword [esi]
push dword [ebp + 0xc]
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x41aa51
mov eax, dword [esi]
test eax, eax
je 0x41aa51
push eax
mov dword [esi], edi
call fcn.0053b830
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x41ae3b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x408], eax
test esi, esi
jne 0x41ae84
xor eax, eax
jmp 0x41afe9
and dword [esi], 0
push ebx
push edi
xor edi, edi
inc edi
push edi
push eax
push ecx
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.0041c4ab
mov edx, dword [ebp - 0x408]
mov ecx, eax
mov eax, edx
mov dword [ebp - 0x418], ecx
shr eax, 0x1a
xor ebx, ebx
and dword [ebp - 0x41c], ebx
not eax
and eax, edi
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x41aeeb
mov eax, edx
shr eax, 0x17
push ecx
and eax, edi
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov edx, dword [ebp - 0x408]
mov dword [esi], eax
mov eax, dword [ebp - 0x414]
cmp dword [esi], ebx
jne 0x41af8e
test eax, eax
je 0x41af8e
xor eax, eax
push edi
lea eax, [ebp - 0x40c]
push eax
push edx
call fcn.0041c1e8
test eax, eax
je 0x41af7e
mov eax, dword [ebp - 0x408]
push dword [ebp - 0x418]
shr eax, 0x19
and eax, edi
push eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x40c]
push edi
push eax
push dword [ebp - 0x408]
call fcn.0041c395
mov eax, dword [ebp - 0x410]
cmp eax, 5
jne 0x41af80
cmp dword [ebp - 0x41c], ebx
jne 0x41af80
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
mov edx, dword [ebp - 0x408]
mov dword [ebp - 0x41c], edi
jmp 0x41aec5
mov eax, ebx
cmp dword [esi], ebx
je 0x41af8e
xor ebx, ebx
cmp eax, 0xb7
setne bl
cmp dword [esi], 0
je 0x41af98
cmp dword [esi], 0xffffffff
jne 0x41afb2
cmp dword [ebp - 0x414], 0
je 0x41afab
push 0x1631e1
call fcn.004114d9
and dword [esi], 0
xor ebx, ebx
xor edi, edi
mov edx, dword [ebp - 0x420]
test edx, edx
je 0x41afd9
mov ecx, dword [ebp - 0x418]
mov eax, 0x5872ea
test ecx, ecx
cmovne eax, ecx
push eax
push dword [ebp + 0x14]
push edx
call fcn.0053894f
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x41afe5
mov dword [eax], ebx
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0050b568
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x41c045
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x62485c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x54], esi
push edi
test ebx, ebx
jne 0x41c071
push 0x15b3c8
jmp 0x41c0a9
cmp dword [0x62929c], esi
je 0x41c088
mov eax, dword [0x61d1dc]
xor edi, edi
mov dword [ebx], eax
inc edi
jmp 0x41c1b4
lea eax, [ebp - 0x50]
mov dword [ebx], esi
push eax
push 0x20008
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x41c0b5
push 0x15b3c9
call fcn.004114d9
mov edi, esi
jmp 0x41c1b4
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 2
push dword [ebp - 0x50]
call edi
test eax, eax
je 0x41c0d3
push 0x15b3ca
jmp 0x41c0a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x41c0e5
push 0x15b3cb
jmp 0x41c0a9
push dword [ebp - 0x54]
lea ecx, [ebp - 0x4c]
call fcn.0041a7db
mov esi, dword [ebp - 0x4c]
test al, al
jne 0x41c108
push 0x15b3cc
call fcn.004114d9
xor edi, edi
jmp 0x41c1a7
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
push esi
push 2
push dword [ebp - 0x50]
call edi
test eax, eax
jne 0x41c122
push 0x15b3cd
jmp 0x41c0fc
push 0x44
pop edi
push edi
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.0050e5e3
add esp, 0xc
mov dword [ebp - 0x5c], edi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0xb
call dword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x41c154
push 0x15b3ce
jmp 0x41c0fc
xor ecx, ecx
mov dword [ebp - 0x58], ecx
test esi, esi
je 0x41c1da
lea eax, [esi + 4]
xor edi, edi
mov dword [ebp - 0x4c], eax
inc edi
cmp ecx, dword [esi]
jae 0x41c19a
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x41c189
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41c198
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x58], ecx
add eax, 8
jmp 0x41c160
mov dword [ebx], edi
mov dword [0x62929c], edi
mov eax, dword [ebx]
mov dword [0x61d1dc], eax
test esi, esi
je 0x41c1b2
push esi
call fcn.0053b830
pop ecx
xor esi, esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x41c1c5
push eax
mov dword [ebp - 0x50], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050b568
mov esp, ebp
pop ebp
ret 4
xor ecx, ecx
mov dword [0], 1
int 0x29
Function at 0x450792
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5601e5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x62485c]
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 edx, ecx
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov dword [edx], 0x5a18a4
and dword [edx + 8], 0
and dword [edx + 0xc], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x20], eax
and dword [edx + 0x24], 0
and dword [edx + 0x28], 0
push ecx
lea ecx, [edx + 0x24]
call fcn.004275c8
mov eax, dword [ebp - 0x24]
push esi
and dword [eax + 0x2c], 0
lea ecx, [eax + 0x2c]
and dword [eax + 0x30], 0
call fcn.004275c8
mov esi, dword [ebp - 0x24]
push edi
and dword [esi + 0x34], 0
lea ecx, [esi + 0x34]
and dword [esi + 0x38], 0
call fcn.004275c8
and dword [esi + 0x3c], 0
lea ecx, [esi + 0x3c]
and dword [esi + 0x40], 0
push ebx
call fcn.004275c8
push dword [ebp - 0x28]
lea edi, [esi + 0x44]
xor ebx, ebx
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.004275c8
mov ecx, dword [esi + 0x24]
mov byte [esi + 0x4c], bl
test ecx, ecx
jne 0x45085e
xor ecx, ecx
mov dword [0], 1
int 0x29
cmp dword [esi + 0x2c], ebx
je 0x450850
cmp dword [esi + 0x34], ebx
je 0x450850
cmp dword [esi + 0x3c], ebx
je 0x450850
cmp dword [edi], ebx
je 0x450850
mov eax, dword [ecx]
lea edx, [ebp - 0x2c]
push edx
call dword [eax + 0x30]
mov ecx, eax
mov eax, dword [ecx]
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x14], eax
mov eax, dword [ecx]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 4]
mov ecx, esi
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.00450fd3
cmp byte [ebp - 0x20], bl
je 0x4508ae
mov ecx, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0xc], ecx
mov eax, esi
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.0050b568
mov esp, ebp
pop ebp
ret 0x18
Function at 0x45e063
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, 1
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x45e1c6
mov edx, 0x10000000
cmp eax, 0x7c
je 0x45e1c6
cmp eax, 0x29
jne 0x45e09d
cmp dword [esi + 0x10], 0
jne 0x45e1c6
test dword [esi + 0x50], edx
je 0x45e1cb
cmp eax, 0x2e
jne 0x45e0b8
push 5
lea ecx, [esi + 0x24]
call fcn.0045fac9
mov ecx, esi
call fcn.0045fb0a
jmp 0x45e1ae
cmp eax, 0x5c
jne 0x45e115
mov ecx, esi
call fcn.0045fb0a
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x45e0eb
cmp word [esi + 0x48], 0x62
jne 0x45e0eb
push 4
lea ecx, [esi + 0x24]
call fcn.0045fac9
mov ecx, esi
call fcn.0045fb0a
jmp 0x45e1b5
test eax, eax
je 0x45e109
cmp word [esi + 0x48], 0x42
jne 0x45e109
push 4
lea ecx, [esi + 0x24]
call fcn.0045fac9
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x45e0df
mov ecx, esi
call fcn.0045e1d3
jmp 0x45e1ae
cmp eax, 0x5b
jne 0x45e139
mov ecx, esi
call fcn.0045fb0a
mov ecx, esi
call fcn.0045e5f3
cmp dword [esi + 0x4c], 0x5d
je 0x45e0ac
push 4
jmp 0x45e1cd
cmp eax, 0x28
jne 0x45e156
mov ecx, esi
call fcn.0045fb0a
mov ecx, esi
call fcn.00460369
cmp dword [esi + 0x4c], 0x29
mov bl, al
je 0x45e1a3
jmp 0x45e1cb
cmp eax, 0x5e
jne 0x45e162
push 2
jmp 0x45e0d7
cmp eax, 0x24
jne 0x45e16e
push 3
jmp 0x45e0d7
cmp eax, 0x2a
je 0x45e1c2
cmp eax, 0x2b
je 0x45e1c2
cmp eax, 0x3f
je 0x45e1c2
cmp eax, 0x7b
je 0x45e1c2
cmp eax, 0x7d
jne 0x45e18c
test dword [esi + 0x50], edx
je 0x45e1be
cmp eax, 0x5d
jne 0x45e196
test dword [esi + 0x50], edx
je 0x45e132
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0045dac8
mov ecx, esi
call fcn.0045fb0a
test bl, bl
je 0x45e1b5
mov ecx, esi
call fcn.0045fb35
mov cl, 1
mov bl, cl
jmp 0x45e06b
push 6
jmp 0x45e1cd
push 0xa
jmp 0x45e1cd
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00507df1
int3

Function at 0x47c70c
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov eax, ecx
mov dword [ecx + 0xc], 0x67452301
mov dword [ecx + 0x10], 0xefcdab89
mov dword [ecx + 0x14], 0x98badcfe
mov dword [ecx + 0x18], 0x10325476
mov dword [ecx + 0x1c], 0xc3d2e1f0
ret
Function at 0x47d237
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
push 0x10
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0x20]
mov ecx, ebx
pop edx
mov eax, dword [ecx]
bswap eax
mov dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x47d24d
push 0x40
lea ecx, [esi + 0x28]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x47d261
mov eax, dword [esi + 0xc]
mov ecx, eax
mov edx, dword [esi + 0x1c]
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x18]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], 0x14
jmp 0x47d2a8
mov eax, dword [ebp - 4]
mov edx, ecx
mov ecx, esi
not ecx
rol edx, 5
and ecx, eax
mov eax, edi
and eax, esi
or ecx, eax
mov eax, dword [ebp - 8]
add edx, ecx
mov ecx, dword [ebp - 4]
add edx, dword [ebx]
lea ebx, [ebx + 4]
add eax, edx
mov dword [ebp - 8], ecx
mov edx, edi
mov edi, esi
mov esi, dword [ebp - 0xc]
rol edi, 0x1e
sub dword [ebp - 0x18], 1
lea ecx, [eax + 0x5a827999]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
jne 0x47d2a5
mov eax, dword [ebp - 0x10]
mov ebx, esi
add eax, 0x70
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0x14
mov esi, eax
mov eax, ecx
mov ecx, edx
xor ecx, edi
rol eax, 5
add eax, dword [ebp - 8]
xor ecx, ebx
add ecx, 0x6ed9eba1
mov dword [ebp - 8], edx
mov edx, edi
add ecx, eax
add ecx, dword [esi]
mov edi, ebx
mov ebx, dword [ebp - 0xc]
lea esi, [esi + 4]
rol edi, 0x1e
sub dword [ebp - 0x18], 1
mov dword [ebp - 0xc], ecx
jne 0x47d2fb
mov eax, dword [ebp - 0x10]
mov esi, edx
add eax, 0xc0
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x14
mov edx, ecx
mov eax, edi
mov ecx, edi
rol edx, 5
add edx, dword [ebp - 8]
or ecx, ebx
and ecx, esi
mov dword [ebp - 8], esi
and eax, ebx
mov esi, edi
or ecx, eax
mov edi, ebx
mov eax, dword [ebp - 0x14]
add ecx, 0x8f1bbcdc
add dword [ebp - 0x14], 4
mov ebx, dword [ebp - 0xc]
rol edi, 0x1e
add ecx, dword [eax]
add ecx, edx
sub dword [ebp - 0x18], 1
mov dword [ebp - 0xc], ecx
jne 0x47d343
mov eax, dword [ebp - 0x10]
mov edx, esi
add eax, 0x110
mov dword [ebp - 4], esi
push 0x14
mov dword [ebp - 0x14], eax
pop esi
mov eax, edx
rol ecx, 5
mov edx, dword [ebp - 0x14]
xor eax, edi
add dword [ebp - 0x14], 4
xor eax, ebx
add ecx, 0xca62c1d6
add ecx, dword [ebp - 8]
add eax, dword [edx]
mov edx, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 8], edx
mov ecx, eax
mov edx, edi
mov edi, ebx
mov ebx, dword [ebp - 0xc]
rol edi, 0x1e
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], eax
sub esi, 1
jne 0x47d391
mov esi, dword [ebp - 0x10]
add eax, dword [ebp - 0x1c]
add dword [esi + 0x10], ebx
add dword [esi + 0x14], edi
add dword [esi + 0x18], edx
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
add dword [esi + 0x1c], eax
add dword [esi], 0x200
pop edi
adc dword [esi + 4], 0
and dword [esi + 8], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret