joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1029c8f9
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102b2de4], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1029c984
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1029c9fd
jmp 0x1029ca35
mov eax, dword [ebp - 0x18]
add esp, 0x30
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x1029c9cf
jmp 0x1029ca35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dx, word [eax + ecx*2 - 0x14]
mov word [ebp - 0x1e], dx
mov ax, word [ebp - 0x1e]
cmp ax, 0x64
je 0x1029c92f
jmp 0x1029ca35
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
je 0x1029c94f
mov dword [0x102b2de4], 0x9f6
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x29], cl
mov al, byte [ebp - 0x29]
test al, 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], edx
jne 0x1029c984
jmp 0x1029c94f
mov dword [0x102b2de4], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1029ca35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1029c966
jmp 0x1029ca35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1029ca35
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x30], ecx
mov eax, 1
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x6c
mov dword [ebp - 0x18], eax
je 0x1029c947
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x1029c947
Function at 0x1029ca3f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1029e4c3]
mov dl, byte [eax + 0x1029e494]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1029ca56
lea eax, [ebp - 0x20]
mov dword [0x102b2de4], 0x1372
mov dword [ebp - 0x30], eax
call fcn.1029d15b
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1029bed2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, 0
je 0x1029cb6f
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102b2de4]
add ecx, 0xffffdbc9
mov dword [0x102b2de4], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1029c05f
mov eax, dword [0x102b2de4]
add eax, 0xffffe005
mov dword [0x102b2de8], eax
mov eax, dword [ebp - 0x38]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], eax
mov dword [0x102b2de4], 0x19c4
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x34], eax
cmp eax, 0
sete dl
mov byte [ebp - 0x39], dl
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x215a
mov dl, byte [ebp - 0x39]
test dl, 1
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
jne 0x1029cb67
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop ebp
ret
xor eax, eax
add esp, 0x54
pop ebp
ret
Function at 0x1029cc90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x102b2dec], 0
mov dword [0x102b2df0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x102b2dfc], 0
mov ecx, dword [0x102b2de8]
add ecx, 0xfffff338
mov dword [0x102b2de4], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x1029ce13
jmp 0x1029cd18
mov eax, dword [0x102b2dec]
mov ecx, dword [0x102b2df0]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x102b2de4], 0x20d1
mov dword [0x102b2de8], 0x7e7
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102b2dec], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x102b2df0], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x102b2df4], cl
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x102b2df4]
mov edx, dword [0x102b2df0]
mov byte [edi + edx], cl
mov dword [0x102b2de8], 0x2664
mov edx, dword [0x102b2dec]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102b2df0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102b2dfc], ebx
mov dword [0x102b2de4], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x102b2e01], ch
mov byte [0x102b2e02], cl
xor ch, cl
mov byte [0x102b2e00], ch
mov dword [0x102b2de4], 0x251f
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov dword [0x102b2de8], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
jne 0x1029cd01
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029cf4f
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x102b2de4], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1029c2e3
lea ecx, [0x1029c8a1]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], edx
mov dword [esp + 0x44], 0x13ca00
mov edx, dword [0x102b2dd0]
mov dword [esp + 0x38], edx
mov edx, dword [0x102b2dd4]
mov dword [esp + 0x84], edx
mov edx, dword [0x102b2dd8]
mov dword [esp + 0x80], edx
mov edx, dword [0x102b2ddc]
mov dword [esp + 0x74], edx
mov edx, dword [0x102b2de0]
mov dword [esp + 0x5c], edx
mov dword [0x102b2de8], 0x4bf
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x1029d082
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x1029d04c
jmp 0x1029d030
lea eax, [esp + 0x38]
mov dword [0x102b2de8], 0x341
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1029ca3f
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
jmp 0x1029d082
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov dword [0x102b2de8], 0xe73
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x3c], edx
call fcn.1029c8f9
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x1029cff4
jmp 0x1029d028
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
je 0x1029cfde
jmp 0x1029d030
Function at 0x522e60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xcf000]
push edi
jmp 0x522e7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x522e81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522e70
mov eax, 1
add ebx, ebx
jne 0x522e93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x522ea4
jne 0x522ec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522ec3
dec eax
add ebx, ebx
jne 0x522eb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x522e88
add ebx, ebx
jne 0x522ebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x522f15
xor ecx, ecx
sub eax, 3
jb 0x522edb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x522f4a
sar eax, 1
mov ebp, eax
jmp 0x522ee6
add ebx, ebx
jne 0x522ee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522eb4
inc ecx
add ebx, ebx
jne 0x522ef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x522eb4
add ebx, ebx
jne 0x522f01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x522ef6
jne 0x522f12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x522ef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x522f34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x522f26
jmp 0x522e76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x522f34
add edi, ecx
jmp 0x522e76
pop esi
mov edi, esi
mov ecx, 0x226b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x522f52
cmp byte [edi], 0x12
jne 0x522f52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x522f57
lea edi, [esi + 0x120000]
mov eax, dword [edi]
or eax, eax
je 0x522fc6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x171174]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x171268]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x522f84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x171270]
or eax, eax
je 0x522fc0
mov dword [ebx], eax
add ebx, 4
jmp 0x522fa1
call dword [esi + 0x17126c]
mov ebp, dword [esi + 0x171274]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x522ffa
sub esp, 0xffffff80
jmp 0x4b07ac
Function at 0x51e050
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc7000]
push edi
jmp 0x51e06a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51e071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51e060
mov eax, 1
add ebx, ebx
jne 0x51e083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51e094
jne 0x51e0b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51e0b3
dec eax
add ebx, ebx
jne 0x51e0a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51e078
add ebx, ebx
jne 0x51e0af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51e105
xor ecx, ecx
sub eax, 3
jb 0x51e0cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51e13a
sar eax, 1
mov ebp, eax
jmp 0x51e0d6
add ebx, ebx
jne 0x51e0d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51e0a4
inc ecx
add ebx, ebx
jne 0x51e0e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51e0a4
add ebx, ebx
jne 0x51e0f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51e0e6
jne 0x51e102
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51e0e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51e124
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51e116
jmp 0x51e066
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51e124
add edi, ecx
jmp 0x51e066
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51e142
cmp byte [edi], 0x11
jne 0x51e142
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51e147
lea edi, [esi + 0x117000]
mov eax, dword [edi]
or eax, eax
je 0x51e1bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16334c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1634c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51e174
mov ecx, edi
jns 0x51e1a3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1634cc]
or eax, eax
je 0x51e1b9
mov dword [ebx], eax
add ebx, 4
jmp 0x51e191
call dword [esi + 0x1634dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51e1f0
cmp al, 0xef
ja 0x51e1e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51e1c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51e1d2
mov ebp, dword [esi + 0x1634d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51e224
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x58b2d5
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x4997a9
call fcn.00601205
mov dword [ebp - 0x20], edx
mov eax, ecx
mov dword [ebp - 0x1c], eax
xor ebx, ebx
mov dword [ebp - 0x24], ebx
call fcn.00589b08
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], 1
test eax, eax
je 0x58b446
push 3
pop esi
mov ecx, dword [ebp - 0x20]
dec eax
mov dword [ebp + 8], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp - 0x20], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x58b39a
mov esi, dword [ebp - 0x1c]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
movzx eax, byte [ebp + edi - 0x18]
mov ecx, 0x4be24c
push eax
call fcn.0058b5f9
mov ecx, esi
movzx eax, byte [eax]
push eax
call fcn.0058b5e8
inc edi
cmp edi, 4
jl 0x58b36b
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x58b30d
mov dword [ebp + 8], edi
test edi, edi
je 0x58b446
mov eax, edi
cmp edi, esi
jge 0x58b3d0
cmp eax, esi
jae 0x58b44f
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x58b3b8
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x58b433
mov esi, dword [ebp - 0x1c]
mov edi, eax
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, 0x4be24c
push eax
call fcn.0058b5f9
mov ecx, esi
movzx eax, byte [eax]
push eax
call fcn.0058b5e8
inc ebx
cmp ebx, edi
jl 0x58b40d
mov edi, dword [ebp + 8]
push 3
pop esi
cmp edi, esi
jge 0x58b446
sub esi, edi
mov ecx, dword [ebp - 0x1c]
push 0x3d
call fcn.0058b5e8
dec esi
jne 0x58b439
mov eax, dword [ebp - 0x1c]
call fcn.006011d3
ret
call fcn.005fefd3
int3
Function at 0x59f15f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea edx, [ebp - 1]
push edi
push 1
mov eax, dword [esi + 0x640]
dec eax
cmp dword [esi + 0x644], eax
jne 0x59f186
mov byte [ebp - 1], 0x86
call fcn.0059f0a4
jmp 0x59f1ad
mov byte [ebp - 1], 6
mov byte [ebp - 2], 0x80
call fcn.0059f0a4
mov eax, dword [esi + 0x640]
lea edx, [ebp - 2]
dec eax
mov ecx, esi
push 1
mov dword [esi + 0x644], eax
call fcn.0059f0a4
pop ecx
xor edi, edi
pop ecx
cmp dword [esi + 0x640], edi
jbe 0x59f1d8
mov eax, dword [esi + 0x648]
lea edx, [edi + esi]
mov ecx, dword [esi + 0x640]
xor eax, edi
inc edi
mov al, byte [eax + esi]
mov byte [edx + ecx], al
cmp edi, dword [esi + 0x640]
jb 0x59f1b8
mov eax, dword [esi + 0x640]
pop edi
add eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5a7a58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 8]
mov eax, edx
push edi
mov edi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 4], eax
test edi, edi
jle 0x5a7a8a
push ebx
mov ebx, dword [ecx]
mov al, byte [edx + eax]
xor byte [ebx + esi], al
inc esi
xor eax, eax
cmp esi, dword [ecx + 4]
cmovge esi, eax
mov eax, dword [ebp - 4]
inc edx
cmp edx, edi
jl 0x5a7a72
pop ebx
add dword [ecx + 0xc], edi
pop edi
mov dword [ecx + 8], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x5b9341
Capabilities:
Terminate process

Disassembly:
push esi
push edx
push 0x35
pop edx
mov esi, ecx
call fcn.005b917e
mov eax, dword [esi + 0xc]
pop ecx
mov byte [eax + 0x13], 0
mov eax, dword [esi + 0xc]
pop esi
and dword [eax + 0x1c], 0
ret

Function at 0x5c36a5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005a3d13

Function at 0x5c69a5
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 4], ebx
push edi
mov ecx, dword [ebx]
mov dword [ebp - 8], ecx
test edx, edx
je 0x5c6a8a
test dword [edx + 4], 0x200
movzx eax, byte [edx]
jne 0x5c6a87
cmp eax, 0x25
je 0x5c6a7c
cmp eax, 0x9c
je 0x5c6a7c
cmp eax, 0x5e
je 0x5c6ac9
cmp eax, 0x9d
jne 0x5c6a00
cmp byte [edx + 0x26], 0x5e
je 0x5c6ac9
cmp eax, 0x9a
je 0x5c6a1a
cmp eax, 0x98
je 0x5c6a1a
cmp eax, 0x9d
je 0x5c6a1a
cmp eax, 0x3d
jne 0x5c6a23
cmp dword [edx + 0x2c], esi
jne 0x5c6aa3
test dword [edx + 4], 0x100
je 0x5c6a87
mov eax, dword [edx + 0xc]
test eax, eax
je 0x5c6a40
test dword [eax + 4], 0x100
je 0x5c6a40
mov edx, eax
jmp 0x5c6a7f
mov ecx, dword [edx + 0x14]
mov ebx, dword [edx + 0x10]
test ecx, ecx
je 0x5c6a78
test dword [edx + 4], 0x800
jne 0x5c6a78
mov edx, esi
cmp dword [ecx], edx
jle 0x5c6a78
lea edi, [ecx + 8]
mov eax, dword [edi]
test dword [eax + 4], 0x100
jne 0x5c6a71
inc edx
add edi, 0x18
cmp edx, dword [ecx]
jl 0x5c6a5c
jmp 0x5c6a78
imul eax, edx, 0x18
mov ebx, dword [eax + ecx + 8]
mov edx, ebx
jmp 0x5c6a7f
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x5c69c2
mov ebx, dword [ebp - 4]
mov edx, esi
mov ecx, ebx
call fcn.005d1ed2
xor ecx, ecx
test eax, eax
pop edi
cmovne esi, ecx
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx edi, word [edx + 0x20]
test edi, edi
js 0x5c6a87
mov eax, dword [edx + 0x2c]
add edi, edi
mov ecx, dword [ebp - 8]
push esi
mov eax, dword [eax + 4]
mov dl, byte [ecx + 0x42]
push dword [eax + edi*8 + 8]
call fcn.005d1f8c
pop ecx
pop ecx
mov esi, eax
jmp 0x5c6a87
mov eax, dword [ebp - 8]
push dword [edx + 8]
mov ebx, dword [ebp - 4]
mov ecx, ebx
push esi
mov dl, byte [eax + 0x42]
call fcn.005d1e46
pop ecx
pop ecx
mov esi, eax
jmp 0x5c6a8a

Function at 0x5c829e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push 0
push 0x38
pop edx
call fcn.005b9192
push edi
push 0x25
pop edx
mov ecx, ebx
call fcn.005b917e
add esp, 0xc
mov ecx, ebx
mov esi, eax
push dword [ebp + 8]
push 0
push edi
push 0x60
pop edx
call fcn.005b910e
add esp, 0xc
mov edx, 0x80
mov ecx, ebx
call fcn.005b962b
mov edx, esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.005b9643
Function at 0x5cd1b5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x24], 0
mov ebx, dword [esi]
jne 0x5cd2d5
push 0x20
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.005fab50
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x2c], esi
call fcn.005cccfa
test eax, eax
jne 0x5cd2d5
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.005cccfa
test eax, eax
jne 0x5cd2d5
mov edx, dword [ebp + 0x18]
lea ecx, [ebp - 0x2c]
call fcn.005cccfa
test eax, eax
jne 0x5cd2d5
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x5cd249
cmp byte [eax], 0x61
jne 0x5cd22e
mov eax, dword [eax + 8]
jmp 0x5cd230
xor eax, eax
push 0
push 0
push eax
mov edx, edi
mov ecx, esi
call fcn.005cd74f
add esp, 0xc
test eax, eax
jne 0x5cd2d5
mov ecx, esi
call fcn.005ddf3f
push 4
pop edx
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.005cb45d
mov edx, dword [ebp + 0x10]
mov edi, eax
push edi
mov ecx, esi
call fcn.005ca4a0
mov edx, dword [ebp + 0x14]
pop ecx
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.005ca4a0
mov edx, dword [ebp + 0x18]
lea eax, [edi + 2]
pop ecx
push eax
mov ecx, esi
call fcn.005ca4a0
cmp dword [ebp - 8], 0
pop ecx
je 0x5cd2d5
mov esi, dword [ebp + 8]
lea eax, [edi + 3]
push 0xfffffffffffffff8
push esi
push eax
movsx eax, byte [esi]
mov edx, 0xa2
sub edi, eax
add edi, 3
push edi
mov edi, dword [ebp - 8]
mov ecx, edi
push 0
call fcn.005b9258
movzx edx, byte [esi]
add esp, 0x14
mov ecx, edi
call fcn.005b962b
xor eax, eax
mov edx, 0x97
cmp dword [ebp - 0xc], 0x18
sete al
push eax
call fcn.005b917e
pop ecx
mov edx, dword [ebp + 0x10]
mov ecx, ebx
call fcn.005c74e2
mov edx, dword [ebp + 0x14]
mov ecx, ebx
call fcn.005c74e2
mov edx, dword [ebp + 0x18]
mov ecx, ebx
call fcn.005c74e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ddf4e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp dword [edi + 0xc], 0
jne 0x5de04f
call fcn.005c96be
cmp dword [edi + 0x38], 0
je 0x5de04f
inc dword [ebx + 0x2c]
mov ecx, ebx
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 4], eax
mov dword [edi + 0xc], eax
call fcn.005ddf3f
mov ecx, dword [edi + 0x38]
lea edx, [ebp - 0xc]
mov esi, eax
mov dword [ebp - 8], esi
call fcn.005c80dc
push dword [ebp - 4]
test eax, eax
je 0x5ddfe1
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
push esi
push 0x38
pop edx
call fcn.005b9192
pop ecx
pop ecx
test esi, esi
jne 0x5ddfc0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005b91a7
jmp 0x5de00c
js 0x5de00c
mov eax, esi
cdq
push edx
push eax
call fcn.005a5577
pop ecx
pop ecx
cmp word [edi + 6], ax
jle 0x5de00c
or dword [edi + 8], 0x4000
mov word [edi + 6], ax
jmp 0x5de00c
mov edx, dword [edi + 0x38]
mov ecx, ebx
call fcn.005ca4a0
pop ecx
push dword [ebp - 4]
mov ecx, esi
push 0x11
pop edx
call fcn.005b917e
pop ecx
push dword [ebp + 8]
mov ecx, esi
push dword [ebp - 4]
push 0x16
pop edx
call fcn.005b9192
pop ecx
pop ecx
cmp dword [edi + 0x3c], 0
je 0x5de04f
inc dword [ebx + 0x2c]
mov ecx, ebx
mov esi, dword [ebx + 0x2c]
mov dword [edi + 0x10], esi
inc dword [ebx + 0x2c]
mov edx, dword [edi + 0x3c]
push esi
call fcn.005ca4a0
pop ecx
mov ecx, dword [ebp - 8]
push esi
push 0x11
pop edx
call fcn.005b917e
pop ecx
mov ecx, dword [ebp - 8]
lea eax, [esi + 1]
push esi
push eax
push dword [ebp - 4]
mov edx, 0x93
call fcn.005b910e
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5de056
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, edx
mov edx, dword [edi + 0x30]
test edx, edx
je 0x5de073
push esi
call fcn.005de056
pop ecx
jmp 0x5de075
xor eax, eax
test eax, eax
jne 0x5de091
mov ecx, dword [edi]
cmp esi, dword [ecx]
jge 0x5de091
imul edx, esi, 0x18
mov edx, dword [edx + ecx + 8]
mov ecx, ebx
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.005c69a5
pop edi
pop esi
pop ebx
pop ebp
ret