joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010640
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x140010670
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x1400106f2
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x1400106be
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x1400106c6
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140010665
mov qword [rsp + 8], 0xe3
jmp 0x14001070a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140010791
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x14001075b
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x140010763
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400106fd
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400107e5
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x1400107ed
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140011600
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0x41
mov byte [rsp + 0x30], 0x1d
mov byte [rsp + 0x31], 0x1e
mov byte [rsp + 0x32], 0x1f
mov byte [rsp + 0x33], 0x20
mov byte [rsp + 0x34], 0x21
mov byte [rsp + 0x35], 0x22
mov byte [rsp + 0x36], 0x23
mov byte [rsp + 0x37], 0x24
mov byte [rsp + 0x38], 0x25
mov byte [rsp + 0x39], 0x26
mov byte [rsp + 0x3a], 0x27
mov byte [rsp + 0x3b], 0x28
mov byte [rsp + 0x3c], 0x29
mov byte [rsp + 0x3d], 0x10
mov byte [rsp + 0x3e], 0x11
mov byte [rsp + 0x3f], 0x12
mov byte [rsp + 0x40], 0x13
mov byte [rsp + 0x41], 0x14
mov byte [rsp + 0x42], 0x15
mov byte [rsp + 0x43], 0x16
mov byte [rsp + 0x44], 0x17
mov byte [rsp + 0x45], 0x18
mov byte [rsp + 0x46], 0x19
mov byte [rsp + 0x47], 0x1a
mov byte [rsp + 0x48], 0x1b
mov byte [rsp + 0x49], 0x1c
mov byte [rsp + 0x4a], 0x3d
mov byte [rsp + 0x4b], 0x3e
mov byte [rsp + 0x4c], 0x3f
mov byte [rsp + 0x4d], 0x40
mov byte [rsp + 0x4e], 0x41
mov byte [rsp + 0x4f], 0x42
mov byte [rsp + 0x50], 0x43
mov byte [rsp + 0x51], 0x44
mov byte [rsp + 0x52], 0x45
mov byte [rsp + 0x53], 0x46
mov byte [rsp + 0x54], 0x47
mov byte [rsp + 0x55], 0x48
mov byte [rsp + 0x56], 0x49
mov byte [rsp + 0x57], 0x30
mov byte [rsp + 0x58], 0x31
mov byte [rsp + 0x59], 0x32
mov byte [rsp + 0x5a], 0x33
mov byte [rsp + 0x5b], 0x34
mov byte [rsp + 0x5c], 0x35
mov byte [rsp + 0x5d], 0x36
mov byte [rsp + 0x5e], 0x37
mov byte [rsp + 0x5f], 0x38
mov byte [rsp + 0x60], 0x39
mov byte [rsp + 0x61], 0x3a
mov byte [rsp + 0x62], 0x3b
mov byte [rsp + 0x63], 0x3c
mov byte [rsp + 0x64], 0xff
mov byte [rsp + 0x65], 0
mov byte [rsp + 0x66], 1
mov byte [rsp + 0x67], 2
mov byte [rsp + 0x68], 3
mov byte [rsp + 0x69], 4
mov byte [rsp + 0x6a], 5
mov byte [rsp + 0x6b], 6
mov byte [rsp + 0x6c], 7
mov byte [rsp + 0x6d], 8
mov byte [rsp + 0x6e], 0xfa
mov byte [rsp + 0x6f], 0xfe
mov byte [rsp + 0x70], 0xcf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140025f7c], eax
jle 0x1400117c9
lea rcx, [0x140025f7c]
call fcn.1400182b8
cmp dword [0x140025f7c], 0xffffffff
jne 0x1400117c9
lea rdx, [rsp + 0x30]
lea rcx, [0x140025fc0]
call fcn.14000a1d0
lea rcx, [0x14001b880]
call fcn.140018674
nop
lea rcx, [0x140025f7c]
call fcn.14001824c
lea rax, [0x140025fc0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x98
ret
Function at 0x140012ed0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x14
mov byte [rsp + 0x28], 0x3b
mov byte [rsp + 0x29], 0x55
mov byte [rsp + 0x2a], 0x42
mov byte [rsp + 0x2b], 0x51
mov byte [rsp + 0x2c], 0x54
mov byte [rsp + 0x2d], 0x4d
mov byte [rsp + 0x2e], 0x53
mov byte [rsp + 0x2f], 0x48
mov byte [rsp + 0x30], 0x4c
mov byte [rsp + 0x31], 0x44
mov byte [rsp + 0x32], 0x10
mov byte [rsp + 0x33], 0x13
mov byte [rsp + 0x34], 0xf
mov byte [rsp + 0x35], 0x3e
mov byte [rsp + 0x36], 0x10
mov byte [rsp + 0x37], 0xd
mov byte [rsp + 0x38], 0x43
mov byte [rsp + 0x39], 0x4b
mov byte [rsp + 0x3a], 0x4b
mov byte [rsp + 0x3b], 0xdf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026180], eax
jle 0x140012fb2
lea rcx, [0x140026180]
call fcn.1400182b8
cmp dword [0x140026180], 0xffffffff
jne 0x140012fb2
lea rdx, [rsp + 0x28]
lea rcx, [0x140025ec8]
call fcn.140008dc0
lea rcx, [0x14001bdc0]
call fcn.140018674
nop
lea rcx, [0x140026180]
call fcn.14001824c
lea rax, [0x140025ec8]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x58
ret
Function at 0x1400136b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xd
mov byte [rsp + 0x28], 0x5a
mov byte [rsp + 0x29], 0x74
mov byte [rsp + 0x2a], 0x81
mov byte [rsp + 0x2b], 0x7d
mov byte [rsp + 0x2c], 0x74
mov byte [rsp + 0x2d], 0x7b
mov byte [rsp + 0x2e], 0x42
mov byte [rsp + 0x2f], 0x41
mov byte [rsp + 0x30], 0x3d
mov byte [rsp + 0x31], 0x73
mov byte [rsp + 0x32], 0x7b
mov byte [rsp + 0x33], 0x7b
mov byte [rsp + 0x34], 0xf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026208], eax
jle 0x14001376f
lea rcx, [0x140026208]
call fcn.1400182b8
cmp dword [0x140026208], 0xffffffff
jne 0x14001376f
lea rdx, [rsp + 0x28]
lea rcx, [0x140026158]
call fcn.140009180
lea rcx, [0x14001bd00]
call fcn.140018674
nop
lea rcx, [0x140026208]
call fcn.14001824c
lea rax, [0x140026158]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x48
ret

Function at 0x140013790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xc
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x81
mov byte [rsp + 0x2a], 0x74
mov byte [rsp + 0x2b], 0x70
mov byte [rsp + 0x2c], 0x83
mov byte [rsp + 0x2d], 0x74
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0x78
mov byte [rsp + 0x30], 0x7b
mov byte [rsp + 0x31], 0x74
mov byte [rsp + 0x32], 0x50
mov byte [rsp + 0x33], 0xf
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140025ee8], eax
jle 0x14001384a
lea rcx, [0x140025ee8]
call fcn.1400182b8
cmp dword [0x140025ee8], 0xffffffff
jne 0x14001384a
lea rdx, [rsp + 0x28]
lea rcx, [0x140026188]
call fcn.14000a6b0
lea rcx, [0x14001bce0]
call fcn.140018674
nop
lea rcx, [0x140025ee8]
call fcn.14001824c
lea rax, [0x140026188]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x48
ret

Function at 0x140014170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0xb
mov byte [rsp + 0x28], 0x54
mov byte [rsp + 0x29], 0x61
mov byte [rsp + 0x2a], 0x55
mov byte [rsp + 0x2b], 0x69
mov byte [rsp + 0x2c], 0x51
mov byte [rsp + 0x2d], 0x50
mov byte [rsp + 0x2e], 0x1d
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], 0x5a
mov byte [rsp + 0x31], 0x61
mov byte [rsp + 0x32], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026168], eax
jle 0x140014225
lea rcx, [0x140026168]
call fcn.1400182b8
cmp dword [0x140026168], 0xffffffff
jne 0x140014225
lea rdx, [rsp + 0x28]
lea rcx, [0x140026170]
call fcn.1400099e0
lea rcx, [0x14001bb80]
call fcn.140018674
nop
lea rcx, [0x140026168]
call fcn.14001824c
lea rax, [0x140026170]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x48
ret
Function at 0x140014240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x13
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x54
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x5f
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0xf
mov byte [rsp + 0x30], 0x64
mov byte [rsp + 0x31], 0x5d
mov byte [rsp + 0x32], 0x5f
mov byte [rsp + 0x33], 0x67
mov byte [rsp + 0x34], 0x61
mov byte [rsp + 0x35], 0x54
mov byte [rsp + 0x36], 0x1d
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0x5a
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140025ec4], eax
jle 0x14001431d
lea rcx, [0x140025ec4]
call fcn.1400182b8
cmp dword [0x140025ec4], 0xffffffff
jne 0x14001431d
lea rdx, [rsp + 0x28]
lea rcx, [0x140026108]
call fcn.14000a450
lea rcx, [0x14001bb60]
call fcn.140018674
nop
lea rcx, [0x140025ec4]
call fcn.14001824c
lea rax, [0x140026108]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x58
ret

Function at 0x140014340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x11
mov byte [rsp + 0x28], 0x64
mov byte [rsp + 0x29], 0x56
mov byte [rsp + 0x2a], 0x56
mov byte [rsp + 0x2b], 0x52
mov byte [rsp + 0x2c], 0x60
mov byte [rsp + 0x2d], 0x61
mov byte [rsp + 0x2e], 0x5e
mov byte [rsp + 0x2f], 0x57
mov byte [rsp + 0x30], 0x63
mov byte [rsp + 0x31], 0x63
mov byte [rsp + 0x32], 0x61
mov byte [rsp + 0x33], 0x54
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x61
mov byte [rsp + 0x36], 0x5a
mov byte [rsp + 0x37], 0x61
mov byte [rsp + 0x38], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026128], eax
jle 0x140014413
lea rcx, [0x140026128]
call fcn.1400182b8
cmp dword [0x140026128], 0xffffffff
jne 0x140014413
lea rdx, [rsp + 0x28]
lea rcx, [0x140026058]
call fcn.14000a9c0
lea rcx, [0x14001bb40]
call fcn.140018674
nop
lea rcx, [0x140026128]
call fcn.14001824c
lea rax, [0x140026058]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x58
ret
Function at 0x140014430
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0x12
mov byte [rsp + 0x28], 0x52
mov byte [rsp + 0x29], 0x54
mov byte [rsp + 0x2a], 0x51
mov byte [rsp + 0x2b], 0x5f
mov byte [rsp + 0x2c], 0x61
mov byte [rsp + 0x2d], 0x55
mov byte [rsp + 0x2e], 0x55
mov byte [rsp + 0x2f], 0x64
mov byte [rsp + 0x30], 0x5d
mov byte [rsp + 0x31], 0x5f
mov byte [rsp + 0x32], 0x67
mov byte [rsp + 0x33], 0x61
mov byte [rsp + 0x34], 0x54
mov byte [rsp + 0x35], 0x1d
mov byte [rsp + 0x36], 0x61
mov byte [rsp + 0x37], 0x5a
mov byte [rsp + 0x38], 0x61
mov byte [rsp + 0x39], 0xef
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026050], eax
jle 0x140014508
lea rcx, [0x140026050]
call fcn.1400182b8
cmp dword [0x140026050], 0xffffffff
jne 0x140014508
lea rdx, [rsp + 0x28]
lea rcx, [0x1400260e0]
call fcn.14000a090
lea rcx, [0x14001bb20]
call fcn.140018674
nop
lea rcx, [0x140026050]
call fcn.14001824c
lea rax, [0x1400260e0]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x58
ret

Function at 0x1400152f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x140021010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0x19
mov byte [rsp + 0x28], 0xf4
mov byte [rsp + 0x29], 0x23
mov byte [rsp + 0x2a], 0x16
mov byte [rsp + 0x2b], 0x12
mov byte [rsp + 0x2c], 0x25
mov byte [rsp + 0x2d], 0x16
mov byte [rsp + 0x2e], 5
mov byte [rsp + 0x2f], 0x20
mov byte [rsp + 0x30], 0x20
mov byte [rsp + 0x31], 0x1d
mov byte [rsp + 0x32], 0x19
mov byte [rsp + 0x33], 0x16
mov byte [rsp + 0x34], 0x1d
mov byte [rsp + 0x35], 0x21
mov byte [rsp + 0x36], 0xe4
mov byte [rsp + 0x37], 0xe3
mov byte [rsp + 0x38], 4
mov byte [rsp + 0x39], 0x1f
mov byte [rsp + 0x3a], 0x12
mov byte [rsp + 0x3b], 0x21
mov byte [rsp + 0x3c], 0x24
mov byte [rsp + 0x3d], 0x19
mov byte [rsp + 0x3e], 0x20
mov byte [rsp + 0x3f], 0x25
mov byte [rsp + 0x40], 0xb1
mov eax, 4
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140026214], eax
jle 0x1400153eb
lea rcx, [0x140026214]
call fcn.1400182b8
cmp dword [0x140026214], 0xffffffff
jne 0x1400153eb
lea rdx, [rsp + 0x28]
lea rcx, [0x1400260a8]
call fcn.140016740
lea rcx, [0x14001b8e0]
call fcn.140018674
nop
lea rcx, [0x140026214]
call fcn.14001824c
lea rax, [0x1400260a8]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400181f0
add rsp, 0x58
ret

Function at 0x140018f5c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018fa6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018fa6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018fa6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018fa6
cmp dword [rcx + 0x84], 0xe
jbe 0x140018fa6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140018fa8
xor al, al
add rsp, 0x28
ret
Function at 0x14004a47c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x14009b408], rbx
je 0x14004a4e3
cmp rax, rbx
jne 0x14004a4d6
mov ebx, 1
mov esi, ebx
jmp 0x14004a4e8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14004a4bb
mov ebx, 1
mov eax, dword [0x14009b410]
cmp eax, ebx
jne 0x14004a500
mov edi, AtlInternalQueryInterface
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14004a56c
mov eax, dword [0x14009b410]
test eax, eax
jne 0x14004a561
mov dword [0x14009b410], ebx
lea r15, [0x140051d58]
lea rdi, [0x140051d40]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14004a553
test eax, eax
jne 0x14004a557
cmp qword [rdi], r14
je 0x14004a548
mov rax, qword [rdi]
mov rcx, qword [0x140051cb8]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14004a52a
test eax, eax
je 0x14004a567
mov eax, 0xff
jmp 0x14004a6c2
mov dword [0x14009a724], ebx
mov edi, AtlInternalQueryInterface
mov eax, dword [0x14009b410]
cmp eax, ebx
jne 0x14004a593
lea rdx, [0x140051d38]
lea rcx, [0x140051cc0]
call sub.msvcrt.dll__initterm
mov dword [0x14009b410], 2
test esi, esi
jne 0x14004a5a1
mov rax, r14
xchg qword [0x14009b408], rax
cmp qword [0x14009b428], r14
je 0x14004a5d4
lea rcx, [0x14009b428]
call fcn.14004ac30
test eax, eax
je 0x14004a5d4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009b428]
mov r9, qword [0x140051cb8]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14004a5ed
mov eax, 0xff
jmp 0x14004a6c2
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14004a673
test ax, ax
je 0x14004a608
test edx, edx
jne 0x14004a673
sub ax, bx
cmp ax, di
ja 0x14004a61e
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14004a608
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140006308
mov dword [0x14009a720], eax
cmp dword [0x14009a740], r14d
jne 0x14004a65c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14009a724], r14d
jne 0x14004a671
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14009a720]
jmp 0x14004a6c2
cmp ax, 0x22
jne 0x14004a687
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14004a5f6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call 0x14012e000
add rsp, 0x28
jmp 0x14004a47c
Function at 0x141d54058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141d541df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141d54089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d5406f
add dl, dl
jne 0x141d54096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d540f6
xor eax, eax
add dl, dl
jne 0x141d540a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141d541ad
add dl, dl
jne 0x141d540b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d540c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d540d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d540dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141d540ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141d5407e
mov eax, 1
add dl, dl
jne 0x141d54106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141d54113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d540fb
sub eax, ebx
mov ebx, 1
jne 0x141d5414c
mov ecx, 1
add dl, dl
jne 0x141d5412e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d5413b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d54123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5407e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141d54168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141d54175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141d5415d
cmp eax, 0x7d00
jae 0x141d5419b
cmp eax, 0x500
jb 0x141d54196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5407e
cmp eax, 0x7f
ja 0x141d5419e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141d5407e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141d541d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141d5407e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1407b6058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407b61df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1407b6089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b606f
add dl, dl
jne 0x1407b6096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b60f6
xor eax, eax
add dl, dl
jne 0x1407b60a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407b61ad
add dl, dl
jne 0x1407b60b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b60c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b60d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b60dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407b60ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407b607e
mov eax, 1
add dl, dl
jne 0x1407b6106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407b6113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b60fb
sub eax, ebx
mov ebx, 1
jne 0x1407b614c
mov ecx, 1
add dl, dl
jne 0x1407b612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b6123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407b6168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407b6175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407b615d
cmp eax, 0x7d00
jae 0x1407b619b
cmp eax, 0x500
jb 0x1407b6196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b607e
cmp eax, 0x7f
ja 0x1407b619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407b607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407b61d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1407b607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20