joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2dac
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x574468
call fcn.00566548
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
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 + 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
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
call fcn.004c2d63
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4c532a
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x574641
call fcn.00566548
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov al, byte [esi]
mov byte [edi], al
mov al, byte [esi + 1]
mov byte [edi + 1], al
mov al, byte [esi + 2]
mov byte [edi + 2], al
mov al, byte [esi + 3]
mov byte [edi + 3], al
mov al, byte [esi + 4]
mov byte [edi + 4], al
mov al, byte [esi + 5]
mov byte [edi + 5], al
mov al, byte [esi + 6]
mov byte [edi + 6], al
mov al, byte [esi + 7]
mov byte [edi + 7], al
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], ecx
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x50], eax
lea eax, [esi + 0x58]
mov dword [edi + 0x54], ecx
lea ecx, [edi + 0x58]
push eax
call fcn.0040231e
and dword [ebp - 4], 0
lea eax, [esi + 0x64]
push eax
lea ecx, [edi + 0x64]
call fcn.0040231e
lea eax, [esi + 0x70]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x70]
call fcn.0040231e
lea eax, [esi + 0x7c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x7c]
call fcn.0040231e
lea eax, [esi + 0x88]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x88]
call fcn.0040231e
lea eax, [esi + 0x94]
mov byte [ebp - 4], 4
push eax
lea ecx, [edi + 0x94]
call fcn.0040231e
mov eax, dword [esi + 0xa0]
mov ecx, dword [esi + 0xa4]
mov dword [edi + 0xa0], eax
lea eax, [esi + 0xa8]
mov dword [edi + 0xa4], ecx
lea ecx, [edi + 0xa8]
push eax
mov byte [ebp - 4], 5
call fcn.004c52a4
lea eax, [esi + 0xc4]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0xc4]
call fcn.004c52a4
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4c54a3
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov eax, 0x574641
call fcn.00566548
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x58]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call fcn.0040238d
lea ecx, [esi + 0x64]
mov dword [ebp - 4], ebx
call fcn.0040238d
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 1
call fcn.0040238d
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.0040238d
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 3
call fcn.0040238d
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 4
call fcn.0040238d
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 5
call fcn.004c52f1
lea ecx, [esi + 0xc4]
mov byte [ebp - 4], 6
call fcn.004c52f1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4cc3ca
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x574b7c
call fcn.00566548
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov word [esi + 0x1c], 0x100
mov dword [esi + 0x20], 1
call fcn.0040260e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], 0x40000000
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4d6038
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x574b7c
call fcn.00566548
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov dword [ebp - 0x10], edi
call fcn.004d5e88
and dword [ebp - 4], 0
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.004d5edf
mov al, byte [esi + 0x18]
lea ecx, [edi + 0x24]
mov byte [edi + 0x18], al
mov al, byte [esi + 0x19]
mov byte [edi + 0x19], al
mov al, byte [esi + 0x1a]
mov byte [edi + 0x1a], al
mov al, byte [esi + 0x1b]
mov byte [edi + 0x1b], al
mov al, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
mov al, byte [esi + 0x1d]
mov byte [edi + 0x1d], al
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x24]
push eax
mov byte [ebp - 4], 1
call fcn.00402516
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], eax
mov eax, edi
mov dword [edi + 0x34], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4d7744
Capabilities:
Parse pe header

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov edx, ecx
push edi
mov edi, 0x200
mov dword [esp + 0x10], ebx
cmp ebx, edi
jb 0x4d78ab
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x4d78ab
mov ecx, dword [edx + 0x3c]
cmp ecx, 0x1000
jae 0x4d78ab
lea eax, [ecx + 0x200]
cmp eax, ebx
ja 0x4d78ab
test cl, 7
jne 0x4d78ab
lea esi, [ecx + edx]
cmp dword [esi], 0x4550
jne 0x4d78ab
movzx ecx, word [esi + 4]
cmp ecx, edi
ja 0x4d77e0
je 0x4d77d9
mov eax, ecx
sub eax, 0x14c
je 0x4d7804
sub eax, 0x74
je 0x4d77d2
dec eax
sub eax, 1
je 0x4d77d2
dec eax
sub eax, 1
jne 0x4d78ab
mov edi, 0x3030701
jmp 0x4d780e
mov edi, 0x3030501
jmp 0x4d780e
mov edi, 0x3030401
jmp 0x4d780e
mov eax, ecx
sub eax, 0x5032
je 0x4d780b
sub eax, 0x32
je 0x4d780b
sub eax, 0x3600
je 0x4d7804
sub eax, 0x2400
jne 0x4d78ab
push 0xa
jmp 0x4d780d
mov edi, 0x3030103
jmp 0x4d780e
push 0xb
pop edi
movzx ebx, word [esi + 0x14]
movzx ebp, word [esi + 6]
mov dword [esp + 0x14], ebp
cmp ebx, 0x400
ja 0x4d78ab
add esi, 0x18
mov dword [esp + 0x18], 0x10b
movzx eax, word [esi]
cmp ax, word [esp + 0x18]
je 0x4d784a
mov dword [esp + 0x18], 0x20b
cmp ax, word [esp + 0x18]
jne 0x4d78ab
mov eax, ebx
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x10]
ja 0x4d78a0
add esi, ebx
cmp ebp, 0x40
ja 0x4d78a0
cmp ecx, 0x8664
jne 0x4d78a0
xor ebp, ebp
cmp dword [esp + 0x14], ebp
jbe 0x4d78a0
mov ebx, esi
sub ebx, edx
add ebx, 0x28
cmp ebx, dword [esp + 0x10]
ja 0x4d78a0
push 8
push str..a64xrm
push esi
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4d789d
inc ebp
add esi, 0x28
add ebx, 0x28
cmp ebp, dword [esp + 0x14]
jb 0x4d7874
jmp 0x4d78a0
push 0xa
pop edi
mov eax, dword [esp + 0x20]
mov dword [eax], edi
xor eax, eax
inc eax
jmp 0x4d78ad
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x4da070
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor edi, edi
mov esi, ecx
cmp edx, 0x10
jb 0x4da099
add edx, 0xfffffff0
add edx, esi
mov eax, dword [esi + 0xc]
xor eax, dword [esi + 8]
xor eax, dword [esi + 4]
xor eax, dword [esi]
add esi, 0x10
xor edi, eax
cmp esi, edx
jbe 0x4da080
sub edx, esi
add edx, 0x10
cmp edx, 8
jb 0x4da0ab
mov eax, dword [esi + 4]
xor eax, dword [esi]
add esi, 8
xor edi, eax
sub edx, 8
cmp edx, 4
jb 0x4da0b5
xor edi, dword [esi]
add esi, 4
and edx, 3
je 0x4da0d8
cmp edx, 2
jb 0x4da0d3
jbe 0x4da0ca
movzx eax, byte [esi]
shl eax, 0x10
xor edi, eax
inc esi
movzx ecx, byte [esi]
shl ecx, 8
xor edi, ecx
inc esi
movzx ecx, byte [esi]
xor edi, ecx
mov eax, edi
pop edi
pop esi
ret
Function at 0x4e68e3
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x56b500
call fcn.00566548
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi], 0x100
mov word [esi + 4], bx
mov byte [esi + 6], 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.0040238d
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.0040260e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4e79bb
Capabilities:
Parse credit card information

Disassembly:
cmp dword [ecx + 0x50], 2
mov edx, dword [esp + 4]
jge 0x4e79db
cmp byte [ecx + 0x56], 0
je 0x4e7a43
cmp edx, 0x3f
jb 0x4e7a43
je 0x4e79d7
lea eax, [edx - 1]
jmp 0x4e7a45
push 0x46
jmp 0x4e79ed
cmp edx, 0x2c
jb 0x4e7a43
cmp dword [ecx + 0x50], 3
jl 0x4e79f1
cmp edx, 0x2c
jne 0x4e79f0
push 0x48
pop eax
jmp 0x4e7a45
dec edx
cmp dword [ecx + 0x50], 4
jl 0x4e7a01
cmp edx, 0x2c
jne 0x4e7a00
push 0x49
jmp 0x4e79ed
dec edx
cmp edx, 0x3a
jb 0x4e7a43
cmp byte [ecx + 0x28], 0
je 0x4e7a21
cmp edx, 0x3a
jne 0x4e7a15
push 0x44
jmp 0x4e79ed
cmp edx, 0x3b
jne 0x4e7a1e
push 0x45
jmp 0x4e79ed
sub edx, 2
cmp edx, 0x3f
jb 0x4e7a3a
cmp byte [ecx + 0x56], 0
je 0x4e7a3a
push 0x46
cmp edx, 0x3f
lea eax, [edx - 1]
pop ecx
cmove eax, ecx
jmp 0x4e7a45
cmp edx, 0x44
jne 0x4e7a43
push 0x47
jmp 0x4e79ed
mov eax, edx
ret 4

Function at 0x4e8896
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, edx
cmp esi, 2
jb 0x4e88dc
cmp byte [ecx], 0x4d
jne 0x4e88dc
cmp byte [ecx + 1], 0x5a
jne 0x4e88dc
cmp esi, 0x40
jb 0x4e88dc
mov edx, dword [ecx + 0x3c]
lea eax, [edx - 0x40]
cmp eax, 0xfc0
ja 0x4e88dc
test dl, 7
jne 0x4e88dc
lea eax, [edx + 0x18]
cmp eax, esi
ja 0x4e88dc
cmp dword [ecx + edx], 0x4550
jne 0x4e88dc
cmp word [ecx + edx + 0x14], 0x60
pop esi
sbb al, al
inc al
ret
xor al, al
pop esi
ret
Function at 0x4ed640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x575b94
call fcn.00566548
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
lea ecx, [edi + 0x38]
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov ax, word [esi + 0x30]
mov word [edi + 0x30], ax
mov al, byte [esi + 0x32]
mov byte [edi + 0x32], al
mov al, byte [esi + 0x33]
mov byte [edi + 0x33], al
mov al, byte [esi + 0x34]
mov byte [edi + 0x34], al
mov al, byte [esi + 0x35]
mov byte [edi + 0x35], al
mov al, byte [esi + 0x36]
mov byte [edi + 0x36], al
lea eax, [esi + 0x38]
push eax
call fcn.0040231e
and dword [ebp - 4], 0
lea eax, [esi + 0x44]
push eax
lea ecx, [edi + 0x44]
call fcn.00402516
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], ecx
mov eax, dword [esi + 0x60]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x60], eax
mov ax, word [esi + 0x64]
mov word [edi + 0x64], ax
mov ax, word [esi + 0x66]
mov word [edi + 0x66], ax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4f14fa
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x575df4
call fcn.00566548
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
mov dword [esi], 0x58a1dc
mov dword [esi + 4], 0x58a210
mov dword [esi + 8], 0x58a22c
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 4
call fcn.0040260e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x90], ebx
mov word [esi + 0x11], 1
mov dword [esi + 0x94], 1
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4f15d6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x572b2d
call fcn.00566548
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
lea ecx, [edi + 0x10]
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov al, byte [esi + 8]
mov byte [edi + 8], al
mov al, byte [esi + 9]
mov byte [edi + 9], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
lea eax, [esi + 0x10]
push eax
call fcn.0040231e
mov eax, dword [esi + 0x1c]
lea ecx, [edi + 0x34]
and dword [ebp - 4], 0
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [edi + 0x30], eax
lea eax, [esi + 0x34]
push eax
call fcn.00428239
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x4c]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], ecx
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov dword [edi + 0x60], eax
mov eax, edi
mov dword [edi + 0x64], ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4f6c31
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x5760ba
call fcn.00566548
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [edi], eax
mov dword [edi + 4], edx
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x30]
mov al, byte [ebx + 0x18]
mov byte [edi + 0x18], al
mov al, byte [ebx + 0x19]
mov byte [edi + 0x19], al
mov al, byte [ebx + 0x1a]
mov byte [edi + 0x1a], al
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [ebx + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x2c], eax
lea eax, [ebx + 0x30]
push eax
call fcn.0040231e
and dword [ebp - 4], 0
lea eax, [ebx + 0x3c]
push eax
lea ecx, [edi + 0x3c]
call fcn.0040231e
lea eax, [ebx + 0x48]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x48]
call fcn.0040231e
lea eax, [ebx + 0x54]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x54]
call fcn.0040231e
mov eax, dword [ebx + 0x60]
lea esi, [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x60], eax
add edi, 0x68
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x10]
lea eax, [ebx + 0x98]
push eax
mov byte [ebp - 4], 3
lea ecx, [esi + 0x98]
call fcn.004f6ac7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x50399c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x5767d7
call fcn.00566548
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [edi + 0x30], eax
lea eax, [esi + 0x38]
mov dword [edi + 0x34], ecx
lea ecx, [edi + 0x38]
push eax
call fcn.00402516
and dword [ebp - 4], 0
lea eax, [esi + 0x44]
push eax
lea ecx, [edi + 0x44]
call fcn.00402516
mov eax, dword [esi + 0x50]
lea ecx, [edi + 0x60]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov al, byte [esi + 0x58]
mov byte [edi + 0x58], al
mov al, byte [esi + 0x59]
mov byte [edi + 0x59], al
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
lea eax, [esi + 0x60]
push eax
mov byte [ebp - 4], 1
call fcn.005038a0
lea eax, [esi + 0x6c]
mov byte [ebp - 4], 2
push eax
lea ecx, [edi + 0x6c]
call fcn.00428239
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x503a6f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x575b94
call fcn.00566548
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi], 0xffffffff
lea ecx, [esi + 0x38]
or dword [esi + 4], 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.0040260e
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.0040260e
or dword [esi + 0x54], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], ebx
mov word [esi + 0x58], bx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x50a5bd
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x576978
call fcn.00566548
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
or dword [esi + 0x20], 0xffffffff
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.0040260e
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x50b86d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x576a04
call fcn.00566548
mov eax, dword [ebp + 0x14]
sub esp, 0x5c
push esi
mov esi, dword [ebp + 0xc]
mov edx, esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [edi + 0x10], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x69], al
cmp dword [esi], 0x10900
sete al
mov byte [edi + 0x68], al
call fcn.0050c832
test eax, eax
jne 0x50ba21
mov eax, dword [esi + 0x80]
or eax, dword [esi + 0x84]
push ebx
push 1
pop ebx
mov byte [ebp + 0x17], 0
je 0x50b8c5
mov byte [ebp + 0x17], bl
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x68]
call fcn.00500ecb
and dword [ebp - 4], 0
and dword [ebp - 0x1c], 0
cmp dword [edi + 0x24], 0
jbe 0x50ba0e
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 0x14], eax
cmp word [esi + 0x20], bx
jne 0x50b9ed
cmp word [eax + 0x20], bx
jne 0x50b9ed
xor ebx, ebx
lea ecx, [edi + 0x5c]
cmp byte [edi + 0x68], bl
sete bl
add ebx, dword [edi + 0x60]
call fcn.0050a62d
mov edx, ebx
mov dword [ebp + 0xc], eax
mov ecx, eax
call fcn.0050ca34
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
push edi
push esi
push ebx
push dword [ebp + 8]
call fcn.0050d4cd
test eax, eax
jne 0x50ba0a
lea eax, [ebx + 0x2c]
push 0x14
push eax
lea eax, [ebp - 0x30]
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x50b973
cmp byte [esi + 0x2c], 0
je 0x50ba05
lea ecx, [ebx + 0x2c]
call fcn.00502d42
test al, al
je 0x50ba05
mov eax, dword [ebp + 0xc]
and dword [eax + 0x1c], 0
cmp dword [edi + 0x3c], 0
jne 0x50b98e
push dword [ebp + 0x10]
lea ecx, [edi + 0x38]
call fcn.0050a6a9
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
mov ecx, edi
call fcn.0050c3b3
test eax, eax
jne 0x50ba0a
cmp byte [ebp + 0x17], al
je 0x50b9ea
mov eax, dword [esi + 0x78]
cmp eax, dword [ebx + 8]
jne 0x50b9bc
mov eax, dword [esi + 0x7c]
cmp eax, dword [ebx + 0xc]
jne 0x50b9bc
xor ebx, ebx
mov byte [ebp + 0x17], 0
inc ebx
mov cl, bl
jmp 0x50b9c1
xor ebx, ebx
xor cl, cl
inc ebx
cmp byte [esi + 0x2d], 0
je 0x50b9ed
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x24], ebx
jne 0x50b9ed
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
test cl, cl
je 0x50b9df
cmp dword [esi + 0x28], eax
jne 0x50ba16
cmp dword [esi + 0x28], eax
jne 0x50b9ed
test cl, cl
je 0x50ba16
jmp 0x50b9ed
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x10], 0x40
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0x24]
jae 0x50ba0e
mov ecx, dword [ebp - 0x10]
jmp 0x50b8e8
xor ebx, ebx
inc ebx
jmp 0x50ba16
mov ebx, eax
jmp 0x50ba16
cmp byte [ebp + 0x17], 0
jne 0x50ba16
xor ebx, ebx
lea ecx, [ebp - 0x68]
call fcn.005011c3
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10