joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cd64
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi]
test al, 3
je 0x46cde4
push ebx
xor ebx, ebx
inc ebx
test bl, al
je 0x46cd8d
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call fcn.004b25aa
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
pop ecx
pop ecx
jne 0x46cde3
mov eax, dword [esi]
test al, 0x20
je 0x46cda8
push dword [esi + 4]
push 2
push ebx
push 0x46cf30
call fcn.004b2774
mov dword [esi + 0xc], ebx
jmp 0x46cde0
test al, 0x40
je 0x46cdc5
push dword [esi + 4]
push 2
push ebx
push 0x46cf34
call fcn.004b2774
mov dword [esi + 0xc], 2
jmp 0x46cde0
test al, al
jns 0x46cde3
push dword [esi + 4]
push 3
push ebx
push 0x46cf38
call fcn.004b2774
mov dword [esi + 0xc], 4
add esp, 0x10
pop ebx
leave
ret

Function at 0x46ce18
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and dword [esi + 0xc], 0
push edi
push 0x46cf3c
push dword [ebp + 8]
mov byte [esi + 8], 0
call fcn.004b248b
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x46cea3
push ebx
push edi
push 3
lea eax, [ebp + 8]
push 1
push eax
call fcn.004b2b80
push edi
mov ebx, eax
call fcn.004b2868
add esp, 0x14
push 2
pop eax
cmp ebx, eax
jb 0x46ce80
cmp byte [ebp + 8], 0xff
jne 0x46ce6f
cmp byte [ebp + 9], 0xfe
jne 0x46ce80
mov dword [esi + 0xc], 1
jmp 0x46ce9e
cmp byte [ebp + 8], 0xfe
jne 0x46ce80
cmp byte [ebp + 9], 0xff
jne 0x46ce80
mov dword [esi + 0xc], eax
jmp 0x46ce9e
cmp ebx, 3
jb 0x46cea2
cmp byte [ebp + 8], 0xef
jne 0x46cea2
cmp byte [ebp + 9], 0xbb
jne 0x46cea2
cmp byte [ebp + 0xa], 0xbf
jne 0x46cea2
mov dword [esi + 0xc], 4
mov byte [esi + 8], 1
pop ebx
pop edi
pop ebp
ret 4

Function at 0x46ce1c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and dword [esi + 0xc], 0
push edi
push 0x46cf3c
push dword [ebp + 8]
mov byte [esi + 8], 0
call fcn.004b248b
mov edi, eax
test edi, edi
pop ecx
pop ecx
je 0x46cea3
push ebx
push edi
push 3
lea eax, [ebp + 8]
push 1
push eax
call fcn.004b2b80
push edi
mov ebx, eax
call fcn.004b2868
add esp, 0x14
push 2
pop eax
cmp ebx, eax
jb 0x46ce80
cmp byte [ebp + 8], 0xff
jne 0x46ce6f
cmp byte [ebp + 9], 0xfe
jne 0x46ce80
mov dword [esi + 0xc], 1
jmp 0x46ce9e
cmp byte [ebp + 8], 0xfe
jne 0x46ce80
cmp byte [ebp + 9], 0xff
jne 0x46ce80
mov dword [esi + 0xc], eax
jmp 0x46ce9e
cmp ebx, 3
jb 0x46cea2
cmp byte [ebp + 8], 0xef
jne 0x46cea2
cmp byte [ebp + 9], 0xbb
jne 0x46cea2
cmp byte [ebp + 0xa], 0xbf
jne 0x46cea2
mov dword [esi + 0xc], 4
mov byte [esi + 8], 1
pop ebx
pop edi
pop ebp
ret 4

Function at 0x46cf63
Capabilities:
Read file on windows

Disassembly:
test byte [esi], 4
push ebx
je 0x46cf93
mov ebx, dword [edi]
push 0
push edi
push ebx
push dword [esp + 0x14]
push dword [esi + 4]
call dword [0x467130]
test eax, eax
jne 0x46cfb9
and dword [edi], eax
push 1
push eax
push ebx
push dword [esi + 4]
call dword [fcn.00467134]
xor al, al
jmp 0x46cfbb
push dword [esi + 4]
push dword [edi]
push 1
push dword [esp + 0x14]
call fcn.004b2b80
mov dword [edi], eax
push dword [esi + 4]
call fcn.004b2396
add esp, 0x14
test eax, eax
je 0x46cfb9
and dword [edi], 0
jmp 0x46cf8f
mov al, 1
pop ebx
ret 4
Function at 0x46cf94
Capabilities:
Read file on windows

Disassembly:
test byte [esi], 4
push ebx
je 0x46cf93
mov ebx, dword [edi]
push 0
push edi
push ebx
push dword [esp + 0x14]
push dword [esi + 4]
call dword [0x467130]
test eax, eax
jne 0x46cfb9
and dword [edi], eax
push 1
push eax
push ebx
push dword [esi + 4]
call dword [fcn.00467134]
xor al, al
jmp 0x46cfbb
push dword [esi + 4]
push dword [edi]
push 1
push dword [esp + 0x14]
call fcn.004b2b80
mov dword [edi], eax
push dword [esi + 4]
call fcn.004b2396
add esp, 0x14
test eax, eax
je 0x46cfb9
and dword [edi], 0
jmp 0x46cf8f
mov al, 1
pop ebx
ret 4

Function at 0x46d30a
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x5c], edi
jne 0x46d389
cmp edi, 4
jle 0x46d31b
push 4
pop edi
push 4
pop eax
sub eax, edi
push eax
lea eax, [edi + esi + 0x10]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004b2d90
mov eax, dword [esi + 0x58]
sub eax, edi
lea eax, [eax + esi + 0x14]
push edi
push eax
mov eax, esi
sub eax, edi
add eax, 0x14
push eax
call fcn.004af930
push dword [esi + 4]
lea eax, [esi + 0x14]
push 0x40
push 1
push eax
mov dword [esi + 0x54], edi
call fcn.004b2b80
and dword [esi + 0x5c], 0
add esp, 0x28
test eax, eax
mov dword [esi + 0x58], eax
jne 0x46d389
push dword [esi + 4]
call fcn.004b2367
test eax, eax
pop ecx
jne 0x46d384
push dword [esi + 4]
call fcn.004b2396
test eax, eax
pop ecx
jne 0x46d384
pop edi
ret
or eax, 0xffffffff
pop edi
ret
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
pop edi
ret

Function at 0x46d996
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor ebx, ebx
mov edi, eax
xor esi, esi
cmp edi, ebx
mov byte [0x4795c2], bl
je 0x46d9dc
mov byte [0x4795c3], 1
call dword [fcn.004672bc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x40de1f
push ebx
push ebx
mov dword [ebp - 8], edi
call fcn.004b3864
add esp, 0x18
mov esi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x4675cc]
cmp esi, ebx
mov edi, eax
je 0x46da0a
push 0xffffffffffffffff
push esi
mov byte [0x4795c3], bl
call dword [fcn.004672c4]
push esi
call dword [fcn.004672e0]
cmp byte [0x4795c2], 1
jne 0x46da18
or eax, 0xffffffff
jmp 0x46da1a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f219
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov bl, byte [0x4795bb]
push esi
push 0x8000
push edi
mov esi, eax
call fcn.004b3383
pop ecx
push eax
call fcn.004b328c
cmp dword [esi + 8], 0xb
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x46f266
push edi
mov ecx, esi
call fcn.00471f2c
push eax
push 1
mov eax, esi
call fcn.00471fcc
push eax
call fcn.004b2774
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x46f2a1
call fcn.00471f67
push eax
or eax, 0xffffffff
call fcn.0046f87c
push eax
push 0x46d1e8
push edi
mov dword [ebp - 0xc], eax
call fcn.004b33b0
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.004af571
add esp, 0x14
test bl, bl
je 0x46f2a1
call fcn.00471f67
push eax
call dword [0x46716c]
push edi
call fcn.004b367d
cmp dword [ebp - 4], 0xffffffff
pop ecx
pop esi
pop ebx
jne 0x46f2b7
push 0x4000
jmp 0x46f2ba
push dword [ebp - 4]
push edi
call fcn.004b3383
pop ecx
push eax
call fcn.004b328c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
leave
ret

Function at 0x473c10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x489620], eax
push edi
mov edx, esi
mov eax, 0x489620
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x489fdc
jl 0x473c21
pop edi
mov dword [0x478078], esi
mov dword [0x489ff0], esi
pop esi
ret

Function at 0x473c4f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x489ff0], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x489620
jne 0x473c6f
push 0
call fcn.004b3a61
pop ecx
call fcn.00473c10
mov dword [0x478078], 0x270
mov dword [0x48961c], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x473c8e
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x473cc4
mov edx, dword [0x489620]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x473d1e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x478078]
jne 0x473d2b
call fcn.00473c4f
mov eax, dword [0x48961c]
mov ecx, dword [eax]
add dword [0x48961c], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x473d62
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x478078]
jne 0x473d70
call fcn.00473c4f
mov eax, dword [0x48961c]
mov eax, dword [eax]
add dword [0x48961c], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x473db6
fadd qword [0x4726a8]
fmul qword [0x4726a0]
pop ecx
ret

Function at 0x473f61
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x473f83
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.004af930
add esp, 0xc
jmp 0x473f96
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004b2b80
add esp, 0x10
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 3]
add dword [esi + 0xc], 8
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [ebp - 1]
shl eax, 8
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
lea eax, [ebp - 8]
push 0x46d558
push eax
mov byte [ebp - 4], 0
call fcn.004b2190
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4

Function at 0x47406a
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x464]
test eax, eax
mov ecx, 0x10000
je 0x47407d
cmp eax, ecx
jne 0x474098
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x45c]
call fcn.004b2b80
add esp, 0x10
and dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov eax, dword [esi + 0x45c]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x464], ecx
ret
Function at 0x4740af
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 0x444]
push edi
je 0x474166
cmp eax, dword [esi + 0x43c]
jae 0x474132
mov edi, 0x10000
push ebx
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov ebx, dword [esi + 0x460]
mov edx, dword [esi + 0x458]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + ebx], al
inc dword [esi + 0x460]
cmp dword [esi + 0x460], edi
jne 0x47411a
push dword [esi + 0x20]
push edi
push 1
push dword [esi + 0x458]
call fcn.004b2774
add esp, 0x10
and dword [esi + 0x460], 0
inc dword [esi + 0x444]
inc dword [esi + 8]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x4740ce
pop ebx
and dword [esi + 0x440], 0
pop edi
ret
mov eax, dword [esi + 0x444]
mov ecx, dword [esi + 0x438]
mov edi, dword [esi + 8]
mov edx, dword [esi]
and eax, 0x1ffff
mov al, byte [eax + ecx]
mov byte [edx + edi], al
inc dword [esi + 8]
inc dword [esi + 0x444]
mov eax, dword [esi + 0x444]
cmp eax, dword [esi + 0x43c]
jb 0x47413b
jmp 0x474132

Function at 0x474170
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x43c], eax
push edi
mov dword [esp + 0x10], eax
jae 0x4742d0
mov ebp, 0xff
push 1
mov eax, esi
call fcn.00474300
cmp eax, 1
mov eax, esi
jne 0x4741cc
push 8
call fcn.00474300
mov ecx, dword [esi + 0x43c]
mov edx, dword [esi + 0x438]
and ecx, 0x1ffff
mov byte [ecx + edx], al
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
jmp 0x47426b
push 0xf
call fcn.00474300
mov ebx, eax
push 2
mov eax, esi
xor edi, edi
call fcn.00474300
cmp eax, 3
jne 0x47422b
push eax
pop edi
push eax
mov eax, esi
call fcn.00474300
cmp eax, 7
jne 0x47422b
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00474300
cmp eax, 0x1f
jne 0x47422b
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00474300
cmp eax, ebp
jne 0x47422b
mov edi, 0x128
jmp 0x47421e
add edi, ebp
push 8
mov eax, esi
call fcn.00474300
cmp eax, ebp
je 0x47421c
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, ebx
jmp 0x474267
mov ebx, dword [esi + 0x43c]
mov ecx, dword [esi + 0x438]
mov edx, eax
and edx, 0x1ffff
mov dl, byte [edx + ecx]
and ebx, 0x1ffff
dec edi
mov byte [ebx + ecx], dl
inc eax
inc dword [esi + 0x43c]
inc dword [esi + 0x440]
test edi, edi
jne 0x474239
call fcn.004740af
cmp dword [0x48b8c0], 0x1000
jbe 0x4742b1
mov edi, dword [esi + 0x454]
and dword [0x48b8c0], 0
test edi, edi
je 0x4742b7
mov ecx, dword [esi + 8]
mov eax, ecx
imul eax, eax, 0x64
xor edx, edx
div dword [esi + 0x10]
push eax
push ecx
push dword [esi + 0xc]
call edi
add esp, 0xc
test eax, eax
jne 0x4742b7
mov byte [esi + 0x448], 1
jmp 0x4742b7
inc dword [0x48b8c0]
cmp byte [esi + 0x448], 0
jne 0x4742fb
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x43c], eax
jb 0x47418f
lea edi, [esi + 0x460]
mov eax, dword [edi]
test eax, eax
je 0x4742f3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.004b2774
add esp, 0x10
and dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
pop eax
jmp 0x4742f5
Function at 0x474390
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004b1320
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x474d75
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
push 0x46bf80
or eax, 0xffffffff
call fcn.0046f87c
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.004b1b90
push esi
call fcn.004af571
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00474390
lea eax, [esp + 0xa8]
push eax
call fcn.004b1b00
pop ecx
mov ebx, eax
call fcn.00474390
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.004743bd
mov eax, esi
call fcn.00474454
and dword [edi + 8], 0
push 0x10
xor ecx, ecx
xor eax, eax
pop ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
inc ecx
cmp ecx, ebx
jl 0x474de9
push 0x46cf3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.004b248b
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x474e10
inc eax
jmp 0x474e6c
mov esi, edi
call fcn.00474e74
push dword [edi]
mov esi, eax
test esi, esi
je 0x474e28
call fcn.004b2868
mov eax, esi
jmp 0x474e6b
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004b2b80
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00474f6f
xor ecx, ecx
mov dword [edi + 8], ecx
xor eax, eax
movzx edx, byte [esp + eax + 8]
imul ecx, edx
inc eax
cmp eax, ebx
jl 0x474e4f
push dword [edi]
mov dword [edi + 8], ecx
call fcn.004b3c43
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x474e74
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004b49f0
xor eax, eax
mov cl, byte [eax + 0x478030]
mov byte [ebp + eax - 0x20], cl
mov cl, byte [eax + 0x478028]
mov byte [ebp + eax - 0x18], cl
inc eax
cmp eax, 8
jl 0x474e83
push ebx
push edi
lea eax, [ebp - 8]
push 0x46d568
push eax
call fcn.004b1b90
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004af930
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.004b2b80
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x474f6a
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x474f16
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x474f06
inc edx
cmp edx, 0x14
jl 0x474ef7
cmp edx, 0x14
je 0x474f2a
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x474eee
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.004b2525
add esp, 0xc
jmp 0x474ec1
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.004b2525
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.004b2b80
lea eax, [ebp - 8]
push 0x46d558
push eax
mov byte [ebp - 4], 0
call fcn.004b2190
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x474f66
Function at 0x474f6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00474bd6
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.00474d16
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x474fb4
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.00474ce8
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x474f9a
pop edi
pop esi
leave
ret 0xc
Function at 0x4752a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x478]
call fcn.00473e12
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.004b2525
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push 0x46ca60
call fcn.00475417
test eax, eax
je 0x4752f2
push 6
pop eax
jmp 0x475410
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.004b2b80
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.004b2b80
push dword [esi]
mov edi, dword [ebp - 8]
push 1
lea eax, [ebp - 8]
push 4
mov ebx, 0x87bc
push eax
xor edi, ebx
call fcn.004b2b80
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor eax, ebx
push 1
mov dword [ecx], eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.004b2b80
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.004b2525
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.004b1a36
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.004b1a36
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.004b2b80
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.00474f6f
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.00473dbe
cmp ebx, dword [ebp - 0xc]
je 0x4753b8
push dword [ebp + 0xc]
call fcn.004b1c88
pop ecx
push esi
call fcn.004b1c88
pop ecx
push 0xa
jmp 0x4752ec
cmp byte [ebp - 1], 1
jne 0x4753fa
lea eax, [ebp - 0x478]
call fcn.00473e12
xor eax, eax
inc eax
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x478], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x474], esi
call fcn.00473e40
push esi
call fcn.004b1c88
jmp 0x475405
push dword [ebp + 0xc]
call fcn.004b1c88
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x475417
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push ebx
push edi
mov byte [ebp - 1], 1
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push 1
push eax
call fcn.004b2b80
add esp, 0x10
push 0x18ee
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00474f6f
lea eax, [ebp - 0x14]
push 0x46d580
push eax
mov byte [ebp - 0x10], 0
call fcn.004b2190
test eax, eax
pop ecx
pop ecx
jne 0x47556c
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.004b2b80
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.004b2b80
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00474f6f
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.004af48d
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.004b2b80
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.004b2b80
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00474f6f
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0xc]
call fcn.004af48d
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
call fcn.004b150a
add esp, 0x10
test eax, eax
je 0x475583
xor edi, edi
inc edi
push edi
push edi
push dword [esi]
call fcn.004b2525
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.004b2b80
xor dword [ebp - 8], 0x87bc
mov eax, dword [ebp - 8]
push edi
add eax, 0x18
push eax
push dword [esi]
call fcn.004b2525
add esp, 0x1c
jmp 0x475570
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 1
je 0x475426
push 6
pop eax
pop edi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x47557d
Function at 0x47d4ae
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp dword [eax + 8], 4
jne 0x47d514
push 0x60
call fcn.004af507
test eax, eax
pop ecx
je 0x47d4d5
call fcn.0046cc04
mov ebx, eax
jmp 0x47d4d7
xor ebx, ebx
mov eax, dword [edi + 4]
mov esi, dword [eax]
call fcn.00471f67
push eax
xor eax, eax
inc eax
mov ecx, ebx
call fcn.0046cc14
test al, al
jne 0x47d551
test ebx, ebx
je 0x47d502
mov esi, ebx
call fcn.0046cde6
push ebx
call fcn.004af571
pop ecx
mov esi, dword [ebp + 8]
push 0
call fcn.00472545
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
call fcn.00472062
mov ecx, eax
dec ecx
js 0x47d502
mov eax, dword [edi + 4]
mov eax, dword [eax]
call fcn.004732e2
test al, al
je 0x47d502
cmp ecx, dword [esi + 0x374]
jge 0x47d502
mov eax, dword [esi + 0x370]
mov ecx, dword [eax + ecx*4]
cmp dword [ecx], 0
je 0x47d502
mov ecx, dword [ecx]
cmp dword [ecx], 0
jne 0x47d502
mov ebx, dword [ecx + 4]
test byte [ebx], 3
je 0x47d502
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0xb
je 0x47d5d1
test byte [ebx], 0x10
jne 0x47d5d1
mov esi, eax
call fcn.00471f67
mov ecx, eax
mov esi, ebx
call fcn.0046cea8
cmp byte [ebp + 0xc], 0
je 0x47d608
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00471f67
push eax
call fcn.004b139a
test eax, eax
pop ecx
je 0x47d5c3
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 4]
lea eax, [eax + eax - 2]
mov dword [ebp + 0xc], eax
call fcn.00471f67
mov ecx, dword [ebp + 0xc]
cmp word [eax + ecx], 0xd
je 0x47d608
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00471f67
mov ecx, dword [ebp + 0xc]
cmp word [eax + ecx], 0xa
je 0x47d608
mov ecx, 0x46d1e0
mov esi, ebx
call fcn.0046cea8
jmp 0x47d608
call fcn.00471fcc
push dword [ebx + 4]
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
call fcn.00471f2c
push eax
push 1
push edx
call fcn.004b2774
push dword [ebx + 4]
call fcn.004b2396
add esp, 0x14
test eax, eax
je 0x47d608
mov esi, dword [ebp + 8]
push 0
call fcn.00472545
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp dword [eax + 8], 4
jne 0x47d50c
mov esi, ebx
call fcn.0046cde6
call fcn.0046cde6
push ebx
call fcn.004af571
pop ecx
jmp 0x47d50c
Function at 0x4a5ee8
Capabilities:
Parse credit card information

Disassembly:
jmp 0x4a5f81
cmp ecx, 0x4f
jne 0x4a5eff
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x4a5f7f
cmp ecx, 0x5e
jne 0x4a5f1b
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x4a5f8e
movzx ecx, byte [0x46861e]
jmp 0x4a5f7f
cmp ecx, 0x38
jl 0x4a5f48
cmp ecx, 0x3d
jle 0x4a5f39
cmp ecx, 0x40
jle 0x4a5f34
cmp ecx, 0x43
jle 0x4a5f39
cmp ecx, 0x44
jne 0x4a5f48
mov dl, byte [eax + 3]
jmp 0x4a5f3c
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x4a5f46
cmp dl, 0xe
jne 0x4a5f48
inc eax
inc eax
movzx edx, byte [ecx + 0x4685c0]
add eax, edx
cmp dword [esp + 4], 0
je 0x4a5f81
cmp ecx, 0x1b
jl 0x4a5f81
cmp ecx, 0x1c
jle 0x4a5f6c
cmp ecx, 0x1d
jle 0x4a5f81
cmp ecx, 0x2a
jg 0x4a5f81
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x4a5f81
and ecx, 0x3f
movzx ecx, byte [ecx + 0x468680]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x4a5eed
xor eax, eax
ret