joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000401c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x100044d5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100044e3
or eax, eax
ret

Function at 0x1000defb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100cf5f8
call fcn.100ce110
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1001812f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
xor ebx, ebx
push 0x3c
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov ax, word [edi]
mov word [esi + 0x10], ax
mov ax, word [edi + 2]
mov word [esi + 0x12], ax
mov eax, dword [edi + 4]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov eax, dword [edi + 8]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x20], eax
mov ax, word [edi + 0x18]
mov word [esi + 0x14], ax
movzx eax, word [edi + 0x1a]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x44], eax
lea eax, [edi + 0x28]
push eax
lea eax, [esi + 0x4c]
push eax
call sub.MSVCRT.dll_memcpy
mov ax, word [esi + 0x10]
add esp, 0xc
and ax, 0xf000
cmp ax, 0x8000
jne 0x100181b1
mov eax, dword [edi + 0x6c]
or dword [esi + 0x18], ebx
or dword [esi + 0x1c], eax
movzx eax, word [edi + 0x74]
or dword [esi + 0x38], ebx
cdq
or dword [esi + 0x3c], eax
mov ax, word [edi + 0x78]
shl ax, 0x10
or word [esi + 0x12], ax
mov ax, word [edi + 0x7a]
shl ax, 0x10
or word [esi + 0x14], ax
mov eax, dword [esp + 0x14]
mov cx, word [eax + 0x48]
mov eax, 0x80
cmp cx, ax
jbe 0x10018227
mov dx, word [edi + 0x80]
movzx ebx, dx
add ebx, eax
movzx eax, cx
cmp ebx, eax
jle 0x100181fd
xor al, al
jmp 0x10018229
cmp dx, 0x1c
jb 0x10018227
mov eax, dword [edi + 0x88]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x8c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x90]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x94]
mov dword [esi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
ret 8
Function at 0x1001ad74
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d01d0
call fcn.100ce110
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d99fc
mov dword [esi + 4], 0x100dbea4
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b8c7
push 0x1001aef0
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.100ce3f3
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe70
mov dword [esi + 4], 0x100dbe54
mov dword [esi + 8], 0x100dbe44
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100247b5
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x100247e4
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100247c4
pop edi
pop esi
ret 4

Function at 0x10028f35
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1065
call fcn.100ce110
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d99fc
mov dword [esi + 4], 0x100d9c74
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.100024ea
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd618
mov dword [esi + 4], 0x100dd608
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1002d353
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x100d1441
call fcn.100ce110
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0x18]
mov dword [ebx], eax
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
lea eax, [esi + 0x18]
push eax
call fcn.1002d44a
and dword [ebp - 4], 0
lea eax, [esi + 0x24]
push eax
lea ecx, [ebx + 0x24]
call fcn.1002d512
lea eax, [esi + 0x30]
lea ecx, [ebx + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.100760ec
mov eax, dword [ebp + 8]
push 8
add esi, 0x40
lea edi, [ebx + 0x40]
pop ecx
add eax, 0x60
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x60]
mov byte [ebp - 4], 2
call fcn.100167ab
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1003626b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x14
pop eax
cmp edx, eax
jb case.0x10036376.8
mov esi, dword [ebp + 8]
mov di, word [esi]
mov word [ecx], di
mov di, word [esi + 2]
mov bx, word [ecx]
mov word [ecx + 2], di
mov di, word [esi + 4]
mov word [ecx + 4], di
mov di, word [esi + 6]
mov word [ecx + 6], di
xor edi, edi
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x18], edi
cmp bx, 2
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x1c], edi
je 0x100363cf
cmp bx, 9
je 0x100363c9
cmp bx, 1
jne 0x100362f7
cmp edx, 0x20
jb case.0x10036376.8
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
movzx eax, word [esi + 0x18]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
movzx eax, word [esi + 0x1a]
mov dword [ecx + 0xc], eax
pop eax
jmp 0x10036447
cmp bx, 8
jne 0x10036360
push 0x28
pop eax
cmp edx, eax
jb case.0x10036376.8
mov edx, dword [esi + 0x14]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], edi
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edi
movzx edx, word [esi + 0x20]
movzx ebx, word [esi + 0x22]
cmp edx, edi
mov dword [ecx + 0xc], ebx
jbe 0x10036447
lea ecx, [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
ja case.0x10036376.8
mov ecx, dword [eax + esi + 8]
lea eax, [eax + ecx + 0xd]
cmp eax, dword [ebp + 0xc]
ja case.0x10036376.8
cmp ecx, 0x400
ja case.0x10036376.8
inc edi
cmp edi, edx
jb 0x1003632d
jmp 0x10036447
movzx edx, bx
add edx, 0xfffffffd
cmp edx, 0xb
ja case.0x10036376.8
movzx edx, byte [edx + 0x1003645e]
jmp dword [edx*4 + 0x1003644e]
cmp dword [ebp + 0xc], 0x18
jb case.0x10036376.8
mov esi, dword [esi + 0x14]
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], edi
lea eax, [esi + 0x18]
cmp dword [ebp + 0xc], eax
jb case.0x10036376.8
cmp esi, 0x40000000
jbe case.0x10036376.6
jmp case.0x10036376.8
push 0x18
pop eax
cmp dword [ebp + 0xc], eax
jb case.0x10036376.8
cmp bx, 8
jb 0x10036447
add eax, 4
cmp dword [ebp + 0xc], eax
jb case.0x10036376.8
jmp 0x10036447
cmp bx, 2
jne 0x100363f6
cmp edx, 0x20
jb case.0x10036376.8
mov eax, dword [esi + 0x10]
push 0x20
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edi
mov eax, dword [esi + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edi
jmp 0x10036421
cmp edx, 0x38
jb case.0x10036376.8
mov eax, dword [esi + 0x10]
push 0x38
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0xc], eax
pop esi
push dword [ebp + 0x10]
call fcn.10036223
push edi
push 4
push edx
push eax
call fcn.100ce2a0
xor ecx, ecx
add eax, esi
adc edx, ecx
cmp edx, ecx
ja case.0x10036376.8
jb 0x10036447
cmp eax, dword [ebp + 0xc]
jbe 0x10036447
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x1003663e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1e5f
call fcn.100ce110
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100dee38
mov dword [esi + 4], 0x100dee28
lea ecx, [esi + 0x160]
mov dword [ebp - 4], 0x10
call fcn.100c8cf0
mov eax, dword [esi + 0x864]
test eax, eax
je 0x1003667e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x858]
call fcn.10003419
mov eax, dword [esi + 0x15c]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xe
je 0x1003669e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x154]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x100366b2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100366c6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100366da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x128]
call fcn.10003419
push dword [esi + 0x11c]
call fcn.10003419
push dword [esi + 0x110]
call fcn.10003419
mov eax, dword [esi + 0xf8]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 7
je 0x10036712
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.10003419
pop ecx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x5c]
call fcn.10036763
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.10036763
push dword [esi + 0x30]
call fcn.10003419
push dword [esi + 0x24]
call fcn.10003419
push dword [esi + 0x18]
call fcn.10003419
push dword [esi + 0xc]
call fcn.10003419
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x1003bc93
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2284
call fcn.100ce110
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov al, byte [edi + 0x29]
mov byte [esi + 0x29], al
mov al, byte [edi + 0x2a]
mov byte [esi + 0x2a], al
mov al, byte [edi + 0x2b]
mov byte [esi + 0x2b], al
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1003cfe7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d23f8
call fcn.100ce110
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d99fc
mov dword [esi + 4], 0x100d97c0
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 3
call fcn.100024ea
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x40], al
mov dword [esi], 0x100dfbe8
mov dword [esi + 4], 0x100dfbd8
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1003d07d
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x100d242e
call fcn.100ce110
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [esi + 0x30]
mov dword [ebp - 4], 2
call fcn.10003419
pop ecx
lea ecx, [esi + 0x24]
call fcn.1001d9f3
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.1003d1f3
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.1003d166
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100417f6
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x100d28e1
call fcn.100ce110
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov byte [esi], al
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
mov byte [esi + 4], al
mov byte [esi + 5], al
mov byte [esi + 6], al
mov byte [esi + 7], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10041582
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10042246
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d29e6
call fcn.100ce110
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001d48
xor ebx, ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.10001d48
mov dword [esi + 0x18], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
call fcn.10001d48
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.10001d48
or dword [esi + 0x7c], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x64], bl
mov byte [esi + 0x65], bl
mov byte [esi + 0x66], bl
mov byte [esi + 0x67], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100437a3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2b86
call fcn.100ce110
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
push esi
mov dword [ebp - 0x10], ebx
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [ebx + 0xc]
call fcn.10001da4
mov eax, dword [esi + 0x18]
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x48]
mov dword [ebx + 0x48], eax
lea eax, [esi + 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.10001da4
lea eax, [esi + 0x58]
lea ecx, [ebx + 0x58]
push eax
mov byte [ebp - 4], 2
call fcn.10001da4
mov al, byte [esi + 0x64]
push 5
mov byte [ebx + 0x64], al
mov al, byte [esi + 0x65]
mov byte [ebx + 0x65], al
mov al, byte [esi + 0x66]
mov byte [ebx + 0x66], al
mov al, byte [esi + 0x67]
mov byte [ebx + 0x67], al
mov eax, dword [ebp + 8]
add esi, 0x68
lea edi, [ebx + 0x68]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x7c], eax
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1004f7f3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d3bc0
call fcn.100ce110
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1004f9ef
xor edi, edi
mov dword [ebp - 4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
lea eax, [esi + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 2
call fcn.100584d4
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x78]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 7
call fcn.100584d4
lea eax, [esi + 0x90]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 9
call fcn.100584d4
lea eax, [esi + 0xa8]
mov dword [ebp - 0x14], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0xb
call fcn.100584d4
lea ebx, [esi + 0xc0]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.100584d4
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xd
call fcn.100584d4
lea ebx, [esi + 0xd8]
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.100584d4
lea ecx, [ebx + 0xc]
mov byte [ebp - 4], 0xf
call fcn.100584d4
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xf0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x100544c1
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x200
jb 0x1005451d
cmp word [ecx], 0x5a4d
jne 0x1005451d
mov eax, dword [ecx + 0x3c]
cmp eax, 0x1000
jae 0x1005451d
push esi
lea esi, [eax + 0x200]
cmp esi, edx
pop esi
ja 0x1005451d
test al, 7
jne 0x1005451d
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1005451d
movzx ecx, word [eax + 4]
add eax, 4
sub ecx, 0x14c
je 0x10054537
sub ecx, 0x74
je 0x10054530
dec ecx
dec ecx
je 0x10054530
dec ecx
dec ecx
je 0x10054529
sub ecx, 0x3c
je 0x10054522
sub ecx, 0x8464
je 0x10054537
xor eax, eax
ret 4
mov ecx, 0x3030401
jmp 0x1005453c
mov ecx, 0x3030701
jmp 0x1005453c
mov ecx, 0x3030501
jmp 0x1005453c
mov ecx, 0x3030103
cmp word [eax + 0x10], 0x400
ja 0x1005451d
movzx eax, word [eax + 0x14]
cmp eax, 0x10b
je 0x10054556
cmp eax, 0x20b
jne 0x1005451d
mov eax, dword [esp + 4]
push 1
mov dword [eax], ecx
pop eax
jmp 0x1005451f
Function at 0x10058977
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
xor eax, eax
cmp esi, 8
jb 0x10058996
push edi
shr edx, 3
mov edi, dword [ecx + 4]
sub esi, 8
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
dec edx
jne 0x10058985
pop edi
cmp esi, 4
jb 0x100589a0
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x100589b1
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x100589bd
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
test esi, esi
pop esi
jbe 0x100589c7
movzx ecx, byte [ecx]
xor eax, ecx
ret

Function at 0x10064da5
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [ecx + 0x3c]
cmp edx, 2
jge 0x10064dbe
cmp byte [ecx + 0x42], 0
mov eax, dword [esp + 4]
je 0x10064e23
cmp eax, 0x3f
jb 0x10064e23
jmp 0x10064e12
mov eax, dword [esp + 4]
cmp eax, 0x2c
jb 0x10064e23
cmp edx, 3
jl 0x10064dd6
cmp eax, 0x2c
jne 0x10064dd5
push 0x48
jmp 0x10064e22
dec eax
cmp edx, 4
jl 0x10064de5
cmp eax, 0x2c
jne 0x10064de4
push 0x49
jmp 0x10064e22
dec eax
cmp eax, 0x3a
jb 0x10064e23
cmp byte [ecx + 0x14], 0
je 0x10064e04
cmp eax, 0x3a
jne 0x10064df9
push 0x44
jmp 0x10064e22
cmp eax, 0x3b
jne 0x10064e02
push 0x45
jmp 0x10064e22
dec eax
dec eax
cmp eax, 0x3f
jb 0x10064e1b
cmp byte [ecx + 0x42], 0
je 0x10064e1b
cmp eax, 0x3f
jne 0x10064e18
push 0x46
jmp 0x10064e22
dec eax
jmp 0x10064e23
cmp eax, 0x44
jne 0x10064e23
push 0x47
pop eax
ret 4

Function at 0x10066248
Capabilities:
Parse pe header

Disassembly:
cmp edx, 2
jb 0x1006628c
cmp byte [ecx], 0x4d
jne 0x1006628c
cmp byte [ecx + 1], 0x5a
jne 0x1006628c
cmp edx, 0x40
jb 0x1006628c
mov eax, dword [ecx + 0x3c]
cmp eax, 0x40
jb 0x1006628c
cmp eax, 0x1000
ja 0x1006628c
test al, 7
jne 0x1006628c
push esi
lea esi, [eax + 0x18]
cmp esi, edx
pop esi
ja 0x1006628c
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1006628c
cmp word [ecx + 0x14], 0x60
sbb eax, eax
inc eax
ret
xor al, al
ret

Function at 0x100663cf
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x100d4e17
call fcn.100ce110
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov byte [esi], 1
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001d48
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.100024ea
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret