joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e30a
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x5c], edi
jne 0x40e389
cmp edi, 4
jle 0x40e31b
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.00453d90
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.00450930
push dword [esi + 4]
lea eax, [esi + 0x14]
push 0x40
push 1
push eax
mov dword [esi + 0x54], edi
call fcn.00453b80
and dword [esi + 0x5c], 0
add esp, 0x28
test eax, eax
mov dword [esi + 0x58], eax
jne 0x40e389
push dword [esi + 4]
call fcn.00453367
test eax, eax
pop ecx
jne 0x40e384
push dword [esi + 4]
call fcn.00453396
test eax, eax
pop ecx
jne 0x40e384
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 0x40e996
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 0x40e9dc
mov byte [0x4795c3], 1
call dword [0x4672bc]
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.00454864
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 0x40ea0a
push 0xffffffffffffffff
push esi
mov byte [0x4795c3], bl
call dword [0x4672c4]
push esi
call dword [0x4672e0]
cmp byte [0x4795c2], 1
jne 0x40ea18
or eax, 0xffffffff
jmp 0x40ea1a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x410219
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.00454383
pop ecx
push eax
call fcn.0045428c
cmp dword [esi + 8], 0xb
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x410266
push edi
mov ecx, esi
call fcn.00412f2c
push eax
push 1
mov eax, esi
call fcn.00412fcc
push eax
call fcn.00453774
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x4102a1
call fcn.00412f67
push eax
or eax, 0xffffffff
call fcn.0041087c
push eax
push 0x46d1e8
push edi
mov dword [ebp - 0xc], eax
call fcn.004543b0
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.00450571
add esp, 0x14
test bl, bl
je 0x4102a1
call fcn.00412f67
push eax
call dword [0x46716c]
push edi
call fcn.0045467d
cmp dword [ebp - 4], 0xffffffff
pop ecx
pop esi
pop ebx
jne 0x4102b7
push 0x4000
jmp 0x4102ba
push dword [ebp - 4]
push edi
call fcn.00454383
pop ecx
push eax
call fcn.0045428c
mov eax, dword [ebp - 8]
pop ecx
pop ecx
leave
ret
Function at 0x414c10
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 0x414c21
pop edi
mov dword [0x478078], esi
mov dword [0x489ff0], esi
pop esi
ret

Function at 0x414c4f
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 0x414c6f
push 0
call fcn.00454a61
pop ecx
call fcn.00414c10
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 0x414c8e
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 0x414cc4
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 0x414d1e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x478078]
jne 0x414d2b
call fcn.00414c4f
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 0x414d62
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x478078]
jne 0x414d70
call fcn.00414c4f
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 0x414db6
fadd qword [str.WIN_2000]
fmul qword [0x4726a0]
pop ecx
ret
Function at 0x414f61
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [esi + 0x14], 1
jne 0x414f83
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00450930
add esp, 0xc
jmp 0x414f96
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.00453b80
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 str.notrayicon
push eax
mov byte [ebp - 4], 0
call fcn.00453190
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
leave
ret 4

Function at 0x41506a
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x464]
test eax, eax
mov ecx, 0x10000
je 0x41507d
cmp eax, ecx
jne 0x415098
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x45c]
call fcn.00453b80
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 0x4150af
Capabilities:
Write file on windows

Disassembly:
cmp dword [esi + 0x18], 1
mov eax, dword [esi + 0x444]
push edi
je 0x415166
cmp eax, dword [esi + 0x43c]
jae 0x415132
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 0x41511a
push dword [esi + 0x20]
push edi
push 1
push dword [esi + 0x458]
call fcn.00453774
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 0x4150ce
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 0x41513b
jmp 0x415132
Function at 0x415170
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 0x4152d0
mov ebp, 0xff
push 1
mov eax, esi
call fcn.00415300
cmp eax, 1
mov eax, esi
jne 0x4151cc
push 8
call fcn.00415300
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 0x41526b
push 0xf
call fcn.00415300
mov ebx, eax
push 2
mov eax, esi
xor edi, edi
call fcn.00415300
cmp eax, 3
jne 0x41522b
push eax
pop edi
push eax
mov eax, esi
call fcn.00415300
cmp eax, 7
jne 0x41522b
push 0xa
pop edi
push 5
mov eax, esi
call fcn.00415300
cmp eax, 0x1f
jne 0x41522b
push 0x29
pop edi
push 8
mov eax, esi
call fcn.00415300
cmp eax, ebp
jne 0x41522b
mov edi, 0x128
jmp 0x41521e
add edi, ebp
push 8
mov eax, esi
call fcn.00415300
cmp eax, ebp
je 0x41521c
lea edi, [eax + edi + 3]
mov eax, dword [esi + 0x43c]
sub eax, ebx
jmp 0x415267
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 0x415239
call fcn.004150af
cmp dword [0x48b8c0], 0x1000
jbe 0x4152b1
mov edi, dword [esi + 0x454]
and dword [0x48b8c0], 0
test edi, edi
je 0x4152b7
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 0x4152b7
mov byte [esi + 0x448], 1
jmp 0x4152b7
inc dword [0x48b8c0]
cmp byte [esi + 0x448], 0
jne 0x4152fb
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x43c], eax
jb 0x41518f
lea edi, [esi + 0x460]
mov eax, dword [edi]
test eax, eax
je 0x4152f3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x458]
call fcn.00453774
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 0x4152f5

Function at 0x415390
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00452320
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 0x415d75
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.0041087c
pop ecx
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00452b90
push esi
call fcn.00450571
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00415390
lea eax, [esp + 0xa8]
push eax
call fcn.00452b00
pop ecx
mov ebx, eax
call fcn.00415390
lea eax, [esp + 0xa8]
push eax
mov eax, ebx
call fcn.004153bd
mov eax, esi
call fcn.00415454
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 0x415de9
push 0x46cf3c
push dword [ebp + 8]
mov dword [edi + 8], eax
call fcn.0045348b
test eax, eax
pop ecx
pop ecx
mov dword [edi], eax
jne 0x415e10
inc eax
jmp 0x415e6c
mov esi, edi
call fcn.00415e74
push dword [edi]
mov esi, eax
test esi, esi
je 0x415e28
call fcn.00453868
mov eax, esi
jmp 0x415e6b
push ebx
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00453b80
add esp, 0x10
push 0x99f2
push ebx
lea eax, [esp + 0x10]
push eax
call fcn.00415f6f
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 0x415e4f
push dword [edi]
mov dword [edi + 8], ecx
call fcn.00454c43
mov dword [edi + 4], eax
xor eax, eax
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415e74
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10020
call fcn.004559f0
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 0x415e83
push ebx
push edi
lea eax, [ebp - 8]
push 0x46d568
push eax
call fcn.00452b90
push 4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00450930
add esp, 0x14
xor edi, edi
push dword [esi]
lea eax, [ebp - 0x10020]
push 0x10000
push 1
push eax
call fcn.00453b80
add esp, 0x10
cmp eax, 0x18
mov dword [ebp - 0xc], eax
jl 0x415f6a
lea edx, [eax - 0x14]
xor ecx, ecx
test edx, edx
jle 0x415f16
xor edx, edx
lea eax, [ebp + ecx - 0x10020]
mov bl, byte [ebp + edx - 0x20]
cmp bl, byte [eax + edx]
jne 0x415f06
inc edx
cmp edx, 0x14
jl 0x415ef7
cmp edx, 0x14
je 0x415f2a
mov eax, dword [ebp - 0xc]
inc ecx
lea edx, [eax - 0x14]
cmp ecx, edx
jl 0x415eee
push 1
push 0xffffffffffffffec
push dword [esi]
lea edi, [edi + eax - 0x14]
call fcn.00453525
add esp, 0xc
jmp 0x415ec1
push 0
lea eax, [edi + ecx + 0x14]
push eax
push dword [esi]
call fcn.00453525
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push 4
push 1
push eax
call fcn.00453b80
lea eax, [ebp - 8]
push str.notrayicon
push eax
mov byte [ebp - 4], 0
call fcn.00453190
add esp, 0x18
neg eax
sbb eax, eax
and eax, 4
pop edi
pop ebx
leave
ret
push 3
pop eax
jmp 0x415f66
Function at 0x415f6f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push esi
push edi
lea eax, [ebp - 0xdc]
call fcn.00415bd6
push dword [ebp + 0x10]
lea esi, [ebp - 0xdc]
call fcn.00415d16
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x415fb4
mov eax, dword [ebp + 8]
lea esi, [edi + eax]
lea eax, [ebp - 0xdc]
push eax
call fcn.00415ce8
xor byte [esi], al
inc edi
cmp edi, dword [ebp + 0xc]
jb 0x415f9a
pop edi
pop esi
leave
ret 0xc
Function at 0x4162a7
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.00414e12
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.00453525
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
push 0x46ca60
call fcn.00416417
test eax, eax
je 0x4162f2
push 6
pop eax
jmp 0x416410
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.00453b80
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00453b80
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.00453b80
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.00453b80
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.00453525
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.00452a36
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.00452a36
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.00453b80
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.00415f6f
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.00414dbe
cmp ebx, dword [ebp - 0xc]
je 0x4163b8
push dword [ebp + 0xc]
call fcn.00452c88
pop ecx
push esi
call fcn.00452c88
pop ecx
push 0xa
jmp 0x4162ec
cmp byte [ebp - 1], 1
jne 0x4163fa
lea eax, [ebp - 0x478]
call fcn.00414e12
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.00414e40
push esi
call fcn.00452c88
jmp 0x416405
push dword [ebp + 0xc]
call fcn.00452c88
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 0x416417
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.00453b80
add esp, 0x10
push 0x18ee
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00415f6f
lea eax, [ebp - 0x14]
push 0x46d580
push eax
mov byte [ebp - 0x10], 0
call fcn.00453190
test eax, eax
pop ecx
pop ecx
jne 0x41656c
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00453b80
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.00453b80
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00415f6f
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0045048d
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00453b80
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.00453b80
add esp, 0x28
add edi, 0xf479
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00415f6f
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
push dword [ebp + 0xc]
call fcn.0045048d
push dword [ebp + 8]
lea eax, [ebp - 0x438]
push eax
call fcn.0045250a
add esp, 0x10
test eax, eax
je 0x416583
xor edi, edi
inc edi
push edi
push edi
push dword [esi]
call fcn.00453525
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.00453b80
xor dword [ebp - 8], 0x87bc
mov eax, dword [ebp - 8]
push edi
add eax, 0x18
push eax
push dword [esi]
call fcn.00453525
add esp, 0x1c
jmp 0x416570
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 1
je 0x416426
push 6
pop eax
pop edi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x41657d
Function at 0x41e4ae
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 0x41e514
push 0x60
call fcn.00450507
test eax, eax
pop ecx
je 0x41e4d5
call fcn.0040dc04
mov ebx, eax
jmp 0x41e4d7
xor ebx, ebx
mov eax, dword [edi + 4]
mov esi, dword [eax]
call fcn.00412f67
push eax
xor eax, eax
inc eax
mov ecx, ebx
call fcn.0040dc14
test al, al
jne 0x41e551
test ebx, ebx
je 0x41e502
mov esi, ebx
call fcn.0040dde6
push ebx
call fcn.00450571
pop ecx
mov esi, dword [ebp + 8]
push 0
call fcn.00413545
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
call fcn.00413062
mov ecx, eax
dec ecx
js 0x41e502
mov eax, dword [edi + 4]
mov eax, dword [eax]
call fcn.004142e2
test al, al
je 0x41e502
cmp ecx, dword [esi + 0x374]
jge 0x41e502
mov eax, dword [esi + 0x370]
mov ecx, dword [eax + ecx*4]
cmp dword [ecx], 0
je 0x41e502
mov ecx, dword [ecx]
cmp dword [ecx], 0
jne 0x41e502
mov ebx, dword [ecx + 4]
test byte [ebx], 3
je 0x41e502
mov eax, dword [edi + 4]
mov eax, dword [eax + 4]
cmp dword [eax + 8], 0xb
je 0x41e5d1
test byte [ebx], 0x10
jne 0x41e5d1
mov esi, eax
call fcn.00412f67
mov ecx, eax
mov esi, ebx
call fcn.0040dea8
cmp byte [ebp + 0xc], 0
je 0x41e608
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00412f67
push eax
call fcn.0045239a
test eax, eax
pop ecx
je 0x41e5c3
mov ecx, dword [edi + 4]
mov esi, dword [ecx + 4]
lea eax, [eax + eax - 2]
mov dword [ebp + 0xc], eax
call fcn.00412f67
mov ecx, dword [ebp + 0xc]
cmp word [eax + ecx], 0xd
je 0x41e608
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
call fcn.00412f67
mov ecx, dword [ebp + 0xc]
cmp word [eax + ecx], 0xa
je 0x41e608
mov ecx, 0x46d1e0
mov esi, ebx
call fcn.0040dea8
jmp 0x41e608
call fcn.00412fcc
push dword [ebx + 4]
mov edx, eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
call fcn.00412f2c
push eax
push 1
push edx
call fcn.00453774
push dword [ebx + 4]
call fcn.00453396
add esp, 0x14
test eax, eax
je 0x41e608
mov esi, dword [ebp + 8]
push 0
call fcn.00413545
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp dword [eax + 8], 4
jne 0x41e50c
mov esi, ebx
call fcn.0040dde6
call fcn.0040dde6
push ebx
call fcn.00450571
pop ecx
jmp 0x41e50c
Function at 0x446ee8
Capabilities:
Parse credit card information

Disassembly:
jmp 0x446f81
cmp ecx, 0x4f
jne 0x446eff
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
jmp 0x446f7f
cmp ecx, 0x5e
jne 0x446f1b
xor ecx, ecx
mov ch, byte [eax + 3]
mov cl, byte [eax + 4]
cmp ecx, dword [esp + 8]
je 0x446f8e
movzx ecx, byte [0x46861e]
jmp 0x446f7f
cmp ecx, 0x38
jl 0x446f48
cmp ecx, 0x3d
jle 0x446f39
cmp ecx, 0x40
jle 0x446f34
cmp ecx, 0x43
jle 0x446f39
cmp ecx, 0x44
jne 0x446f48
mov dl, byte [eax + 3]
jmp 0x446f3c
mov dl, byte [eax + 1]
cmp dl, 0xf
je 0x446f46
cmp dl, 0xe
jne 0x446f48
inc eax
inc eax
movzx edx, byte [ecx + 0x4685c0]
add eax, edx
cmp dword [esp + 4], 0
je 0x446f81
cmp ecx, 0x1b
jl 0x446f81
cmp ecx, 0x1c
jle 0x446f6c
cmp ecx, 0x1d
jle 0x446f81
cmp ecx, 0x2a
jg 0x446f81
movzx ecx, byte [eax - 1]
cmp cl, 0xc0
jb 0x446f81
and ecx, 0x3f
movzx ecx, byte [ecx + 0x468680]
add eax, ecx
movzx ecx, byte [eax]
test ecx, ecx
jne 0x446eed
xor eax, eax
ret
Function at 0x4538e4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x453921
cmp dword [ebp + 0x14], edi
je 0x453921
cmp ecx, edi
jne 0x453928
call fcn.00456b9c
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00456b3d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45393c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x45395d
cmp ebx, 0xffffffff
je 0x45394c
push ebx
push edi
push ecx
call fcn.00452320
add esp, 0xc
cmp esi, edi
je 0x453909
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x453909
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x453979
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x453980
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x453a71
test word [esi + 0xc], 0x10c
je 0x4539d4
mov eax, dword [esi + 4]
test eax, eax
je 0x4539d4
jl 0x453ad2
cmp ebx, eax
mov edi, ebx
jb 0x4539a5
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x453a79
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045cb74
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x453a69
cmp ebx, dword [ebp - 0xc]
jb 0x453a41
cmp dword [ebp - 0xc], 0
je 0x4539fe
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x4539f3
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4539fa
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x453a09
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x453a09
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x453aa5
push eax
push dword [ebp - 8]
push esi
call fcn.00454383
pop ecx
push eax
call fcn.0045ca77
add esp, 0xc
test eax, eax
je 0x453ae4
cmp eax, 0xffffffff
je 0x453ad2
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x453a69
push esi
call fcn.0045c396
cmp eax, 0xffffffff
pop ecx
je 0x453ad6
cmp dword [ebp - 4], 0
je 0x453aa5
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x453988
mov eax, dword [ebp + 0x14]
jmp 0x453923
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x453a90
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00452320
add esp, 0xc
call fcn.00456b9c
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x453919
cmp dword [ebp + 0xc], 0xffffffff
je 0x453abb
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00452320
add esp, 0xc
call fcn.00456b9c
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x453919
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x453923
or dword [esi + 0xc], 0x10
jmp 0x453ad6