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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3a2f980
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push ebx
call fcn.03988de0
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x3988f8e
cmp dword [esi], 1
je 0x3988fa2
push esi
call fcn.03986590
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0
call dword [0x3a5fd78]
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [0x3a60164]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [esi + 0xf0]
mov dword [edi], edx
mov eax, dword [esi + 0xdc]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0xe0]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0xd4]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xd8]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0xcc]
mov dword [edi + 0x14], ecx
mov edx, dword [esi + 0xd0]
mov dword [edi + 0x18], edx
mov eax, dword [esi + 0xfc]
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0xf8]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0xec]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0xe8]
mov dword [edi + 0x24], eax
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.03986590
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x3a2fb19
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
push ecx
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.039f0100
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
lea ecx, [esi + 0x130]
mov dword [esi + 0x118], edx
mov dword [esi + 0x128], eax
call fcn.039d9be0
mov byte [esp + 0x18], 1
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x168], ebx
mov dword [esi + 0x16c], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], ebx
mov byte [esi + 0x12c], bl
mov dword [esi + 0x148], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x160], ebx
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 0x14
Function at 0x399a730
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x3a30dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ecx, 0x3a794a4
mov dword [esp + 0x14], 0x3a794a4
call fcn.039d9190
xor ebx, ebx
mov dword [esp + 0x78], ebx
mov eax, dword [0x3a79488]
cmp eax, ebx
jne 0x399a79e
mov dword [esp + 0x78], 0xffffffff
mov ecx, 0x3a794a4
call fcn.039d91a0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push eax
lea ecx, [esp + 0x54]
call fcn.0399a100
mov byte [esp + 0x78], 1
mov ecx, dword [0x3a79488]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
lea esi, [ecx + 0x18]
push edx
mov edi, ecx
call fcn.03966a10
mov eax, dword [esi]
mov dword [eax + 4], eax
mov eax, dword [esi]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov esi, dword [esi]
mov ecx, 0x3a794a4
mov dword [esi + 8], esi
call fcn.039d91a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.03932e10
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x68]
mov edi, dword [eax]
mov esi, dword [esp + 0x50]
mov bl, 1
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov ebp, dword [esp + 0x68]
test esi, esi
je 0x399a813
cmp esi, dword [esp + 0x50]
je 0x399a818
call fcn.03a01b13
cmp edi, ebp
je 0x399a880
test bl, bl
je 0x399a891
test esi, esi
jne 0x399a87c
call fcn.03a01b13
cmp edi, dword [esi + 0x18]
jne 0x399a833
call fcn.03a01b13
mov esi, dword [edi + 0xc]
lea ecx, [esp + 0x38]
call fcn.039d9be0
mov byte [esp + 0x78], 4
push 1
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call fcn.039e0c70
add esp, 0x10
mov bl, al
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x38]
call fcn.03932d60
lea ecx, [esp + 0x18]
call fcn.03950ed0
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x399a805
mov esi, dword [esi]
jmp 0x399a829
test bl, bl
je 0x399a891
lea eax, [esp + 0x20]
push eax
call fcn.0399a150
add esp, 4
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x20]
call fcn.03999bf0
mov byte [esp + 0x78], 0
lea ecx, [esp + 0x50]
call fcn.0396d1e0
mov dword [esp + 0x78], 0xffffffff
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x39b08f0
Capabilities:
Encode data using xor
Hash data using jshash

Disassembly:
mov edx, dword [esp + 4]
movzx ecx, word [edx]
push esi
push edi
mov eax, 0x4e67c6a7
test cx, cx
je 0x39b0946
cmp cx, 0x41
jb 0x39b0927
cmp cx, 0x5a
ja 0x39b0927
movzx ecx, cx
mov esi, eax
shl esi, 5
or ecx, 0x20
add ecx, esi
mov esi, eax
shr esi, 2
add ecx, esi
xor eax, ecx
jmp 0x39b093a
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 2
movzx ecx, cx
add esi, edi
add esi, ecx
xor eax, esi
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x39b0903
mov edx, dword [esp + 0x10]
mov cl, byte [edx]
test cl, cl
je 0x39b096b
mov esi, eax
mov edi, eax
shl esi, 5
shr edi, 2
movsx ecx, cl
add esi, edi
add esi, ecx
mov cl, byte [edx + 1]
inc edx
xor eax, esi
test cl, cl
jne 0x39b0950
pop edi
pop esi
ret

Function at 0x39b1d50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a31e90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push 0
push str.sprof_patch_scan_EnumProcessModules__hs_d_d_d_n
lea ecx, [esp + 0x14]
call fcn.039d9200
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.039d9be0
mov byte [esp + 0x30], 1
lea eax, [esp + 0x10]
push eax
call fcn.039b1c60
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov esi, ecx
sub esi, eax
add esp, 4
sar esi, 2
mov edi, eax
cmp eax, ecx
jbe 0x39b1dc2
call fcn.03a01b13
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x39b1e27
call fcn.03a01b13
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x39b1ddb
call fcn.03a01b13
push 0x39b0a80
push 4
push esi
push edi
call fcn.03a03d40
lea ecx, [esp + 0x20]
push ecx
call fcn.039b17a0
add esp, 0x14
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x10]
call fcn.03999990
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.039d9270
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
mov eax, dword [eax]
jmp 0x39b1dd1
Function at 0x39b3630
Capabilities:
Manipulate boot configuration

Disassembly:
push 0xffffffffffffffff
push 0x3a32178
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cmp esi, 0xc0000005
jne 0x39b3681
mov eax, dword [edi]
cmp dword [eax + 0x10], 2
jne 0x39b3681
cmp dword [eax + 0x14], 8
jne 0x39b3681
push str.A_DEP__Data_Execution_Prevention__exception_occured__check_the_boot.ini__noexecute_option_for_more_info__n
call fcn.0393dda0
add esp, 4
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.039b2650
test al, al
je 0x39b369c
mov dword [esp + 0x10], 1
call fcn.0393dee0
test al, al
je 0x39b36bf
cmp esi, 0xc000008d
jb 0x39b36b5
cmp esi, 0xc0000093
jbe 0x39b36bf
mov dword [esp + 0x14], 1
jmp 0x39b36c9
cmp dword [esp + 0x10], ebx
je 0x39b37ea
xor eax, eax
mov ebx, str.unknown_module
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov ecx, dword [edi + 4]
mov edx, dword [ecx + 0xb8]
lea eax, [esp + 0x28]
push eax
push edx
call fcn.03941870
add esp, 8
test al, al
je 0x39b36f9
mov eax, dword [esp + 0x28]
mov ebx, dword [eax]
cmp esi, 0xc0000005
jne 0x39b3754
mov ecx, dword [edi]
cmp dword [ecx + 0x10], 2
jne 0x39b3754
mov eax, dword [ecx + 0x14]
sub eax, 0
je 0x39b3730
sub eax, 1
je 0x39b3729
sub eax, 7
je 0x39b3722
mov eax, str.unknown_type_of_access_to
jmp 0x39b3735
mov eax, str.execute_at
jmp 0x39b3735
mov eax, str.write_to
jmp 0x39b3735
mov eax, str.read_of
mov edx, dword [edi + 4]
mov edx, dword [edx + 0xb8]
mov ecx, dword [ecx + 0x18]
push edx
push ebx
push ecx
push eax
push str.ExceptionFilter_EXCEPTION_ACCESS_VIOLATION_on__ls_0x_x__caller_addr_ls:0x_x__n
call fcn.0393dda0
add esp, 0x14
jmp 0x39b37ad
mov eax, dword [0x3a75898]
xor ecx, ecx
cmp eax, esi
je 0x39b3771
nop
cmp eax, 0xffffffff
je 0x39b3771
mov eax, dword [ecx*4 + 0x3a7589c]
inc ecx
cmp eax, esi
jne 0x39b3760
cmp dword [ecx*4 + 0x3a75898], 0xffffffff
jne 0x39b3782
mov ecx, str.Unkown_exception
jmp 0x39b3789
mov ecx, dword [ecx*4 + 0x3a75850]
mov edx, dword [edi + 4]
mov edx, dword [edx + 0xb8]
mov eax, dword [edi]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 4]
push ebx
push edx
push eax
push esi
push ecx
push str.ExceptionFilter__ls__x__flags_x_num_args_x_caller_addr_ls:0x_x__n
call fcn.0393dda0
add esp, 0x1c
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x39b37ca
call fcn.03945cb0
mov dword [esp + 0x28], 0
cmp dword [esp + 0x10], 0
je 0x39b37da
push edi
call fcn.039b32e0
add esp, 4
cmp dword [esp + 0x14], 0
je 0x39b37ea
push edi
call fcn.039b27a0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x39ba5f0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x40
lea ebx, [esi + 4]
push ebx
push 0
call edx
test eax, eax
je 0x39ba61b
mov eax, dword [ebx]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x39ba620
push 0xb
call dword [0x3a5fde0]
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esi]
mov eax, dword [eax + 0x3c]
mov edx, dword [edx + 4]
push edi
push 0xf8
lea edi, [esi + 8]
push edi
push eax
mov ecx, esi
call edx
test eax, eax
je 0x39ba68b
mov eax, dword [edi]
cmp dword [eax], 0x4550
jne 0x39ba683
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x39ba683
movzx ecx, word [eax + 6]
movzx eax, word [eax + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 4]
lea ecx, [ecx + ecx*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
lea ecx, [esi + 0xc]
push ecx
mov ecx, dword [ebx]
mov ecx, dword [ecx + 0x3c]
lea eax, [eax + ecx + 0x18]
push eax
mov ecx, esi
call edx
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
ret
push 0xb
call dword [0x3a5fde0]
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x39baae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a32730
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebp
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0xc]
push 0
push edi
push ebp
push 1
push eax
call dword [0x3a60450]
mov dword [esi], eax
test eax, eax
je 0x39bab8d
push ebx
lea ecx, [esp + 0x20]
call fcn.039ba800
mov dword [esp + 0x34], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.039baab0
test eax, eax
je 0x39bab7c
push ebx
lea ecx, [esp + 0x10]
call fcn.039ba800
mov byte [esp + 0x34], 1
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.039ba9c0
test eax, eax
jne 0x39baba1
mov byte [esp + 0x34], al
lea ecx, [esp + 0xc]
call fcn.039ba950
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.039ba950
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x2c
ret
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
push edx
push edi
push ebp
push 0x30000
push 1
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [0x3a6044c]
mov esi, eax
mov byte [esp + 0x34], 0
lea ecx, [esp + 0xc]
call fcn.039ba950
mov dword [esp + 0x34], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.039ba950
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x2c
ret
Function at 0x39bdec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x3a32ac3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
xor edi, edi
push edi
push eax
call fcn.039bbb00
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x18]
mov dword [esi], vtable.IniFile.0
call fcn.039d9be0
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x4c]
push ecx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
call dword [0x3a5ff08]
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x39c3260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a332bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x30]
call fcn.039efdc0
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x39d1480
Capabilities:
Parse pe header

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x39d151a
cmp esi, 0xffffffff
je 0x39d151a
push edi
mov edi, dword [esp + 0x14]
push 2
lea eax, [esp + 0x1c]
push eax
push esi
push edi
call fcn.039d0390
add esp, 0x10
test eax, eax
jl 0x39d1506
mov ecx, 0x5a4d
cmp word [esp + 0x18], cx
jne 0x39d1501
push 4
lea edx, [esp + 0xc]
push edx
lea eax, [esi + 0x3c]
push eax
push edi
call fcn.039d0390
add esp, 0x10
test eax, eax
jl 0x39d1506
mov eax, dword [esp + 8]
cmp eax, 0x10000000
jae 0x39d1501
lea ecx, [esp + 0xc]
push ecx
add esi, eax
push esi
push edi
call fcn.039d0550
add esp, 0xc
test eax, eax
jl 0x39d1506
cmp dword [esp + 0xc], 0x4550
je 0x39d150c
mov eax, 0xc000007b
pop edi
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
xor eax, eax
pop esi
add esp, 8
ret
mov eax, 0xc000000d
pop esi
add esp, 8
ret
Function at 0x39f1150
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [ecx + 0xc]
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
xor edi, edi
cmp eax, edi
je 0x39f11d6
mov edx, dword [esp + 0x14]
lea ebp, [ebx + edx]
cmp ebp, eax
jbe 0x39f11d6
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
push edi
call eax
mov edx, dword [eax + 0x3c]
movzx ecx, word [edx + eax + 0x14]
add edx, eax
mov eax, dword [esp + 0x18]
lea ecx, [ecx + edx + 0x18]
mov dword [eax], edi
mov dword [eax + 4], edi
cmp edi, edi
jne 0x39f11df
add ecx, 0xc
push esi
movzx esi, word [edx + 6]
cmp edi, esi
jae 0x39f11c8
mov esi, dword [ecx]
cmp esi, ebx
ja 0x39f11bf
mov ebx, dword [ecx - 4]
add ebx, esi
cmp ebp, ebx
ja 0x39f11bb
mov ebx, dword [ecx + 8]
sub ebx, esi
mov esi, ebx
mov ebx, dword [esp + 0x14]
add esi, ebx
mov dword [eax], esi
jmp 0x39f11bf
mov ebx, dword [esp + 0x14]
inc edi
add ecx, 0x28
cmp dword [eax], 0
je 0x39f1193
cmp dword [eax], 0
pop esi
jne 0x39f11df
pop edi
pop ebp
xor al, al
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], edi
pop edi
pop ebp
mov al, 1
pop ebx
ret 0xc

Function at 0x39f1360
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x1004
call fcn.03a02390
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x1000], eax
push esi
push edi
mov edi, dword [esp + 0x1010]
mov esi, ecx
mov dword [esi + 4], edi
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
test al, al
jne 0x39f139e
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
jmp 0x39f141b
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
push 0x1000
lea edx, [esp + 0xc]
push edx
push 0
call eax
test al, al
jne 0x39f13c3
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
jmp 0x39f141b
mov ecx, 0x5a4d
cmp word [esp + 8], cx
je 0x39f13da
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
jmp 0x39f1410
mov eax, dword [esp + 0x44]
lea ecx, [esp + eax + 8]
add eax, 0xf8
cmp eax, 0x1000
ja 0x39f1407
cmp dword [ecx], 0x4550
jne 0x39f1407
mov eax, dword [ecx + 0x54]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
mov ecx, edi
call edx
mov al, 1
jmp 0x39f141d
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
push 0xc1
call dword [0x3a5fde0]
xor al, al
mov ecx, dword [esp + 0x1008]
pop edi
pop esi
xor ecx, esp
call fcn.03a00f6a
add esp, 0x1004
ret 4
Function at 0x39f9760
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x3a36873
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x28]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x2c], edi
jge 0x39f97fc
jmp 0x39f97b0
lea eax, [esi*8]
sub eax, esi
mov ecx, dword [ebp + eax*4]
cmp ecx, dword [ebp + eax*4 - 0x1c]
lea eax, [ebp + eax*4]
jae 0x39f97c8
dec esi
lea edx, [esi*8]
sub edx, esi
lea eax, [ebp + edx*4]
mov edx, dword [eax]
lea ecx, [edi*8]
sub ecx, edi
lea ecx, [ebp + ecx*4]
add eax, 4
mov dword [ecx], edx
push eax
add ecx, 4
call fcn.03982300
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebx
jl 0x39f97b0
jne 0x39f982d
lea eax, [ebx*8]
sub eax, ebx
mov edx, dword [ebp + eax*4 - 0x1c]
lea eax, [ebp + eax*4 - 0x1c]
lea ecx, [edi*8]
sub ecx, edi
lea ecx, [ebp + ecx*4]
add eax, 4
mov dword [ecx], edx
push eax
add ecx, 4
call fcn.03982300
lea edi, [ebx - 1]
mov ecx, dword [esp + 0x34]
sub esp, 0x1c
mov eax, esp
lea edx, [esp + 0x54]
mov dword [esp + 0x4c], esp
mov dword [eax], ecx
push edx
lea ecx, [eax + 4]
mov dword [esp + 0x34], eax
call fcn.03981dc0
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x48]
push eax
push edi
push ebp
mov byte [esp + 0x48], 0
call fcn.039f9680
add esp, 0x28
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x38]
call fcn.03981f10
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x39fb310
Capabilities:
Create thread

Disassembly:
sub esp, 0x10
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x14], esi
call dword [0x3a600b8]
push 0
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push 0x39fb260
push 0
push 0
call fcn.03a01906
add esp, 0x18
mov dword [esi + 0x118], eax
test eax, eax
jne 0x39fb360
mov ecx, dword [esp + 8]
push ecx
call dword [0x3a5fd90]
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 8]
push ebx
push edi
push 0x9c4
mov dword [esp + 0x1c], eax
push 0
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x24], edx
call dword [0x3a602f0]
mov ecx, dword [esp + 0x10]
mov ebx, dword [0x3a5fd90]
push ecx
mov edi, eax
call ebx
test edi, edi
je 0x39fb3a8
mov edx, dword [esi + 0x118]
push edx
call ebx
mov dword [esi + 0x118], 0
pop edi
pop ebx
pop esi
add esp, 0x10
ret
Function at 0x39fb8d0
Capabilities:
Check http status code

Disassembly:
sub esp, 0x114
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
mov edx, dword [esp + 0x120]
push ebx
push ebp
mov ebp, dword [esp + 0x124]
push esi
push edi
mov edi, dword [esp + 0x134]
mov esi, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
dec edx
xor ebx, ebx
add edx, ecx
adc ebx, eax
push ebx
push edx
push eax
push ecx
push str.Range:_bytes_I64u__I64u
lea eax, [esp + 0x34]
push 0xffffffffffffffff
push eax
call fcn.039fb800
lea eax, [esp + 0x3c]
add esp, 0x1c
lea edx, [eax + 2]
xor ebx, ebx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x39fb933
push ebx
sub eax, edx
mov edx, dword [esi + 0xd0]
push ebx
sar eax, 1
push eax
mov eax, dword [esi + 0xb8]
lea ecx, [esp + 0x2c]
push ecx
push edx
call eax
test eax, eax
jne 0x39fb964
xor eax, eax
jmp 0x39fba8d
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0xbc]
lea eax, [esp + 0x24]
push eax
push 0x20000013
push ecx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x24], ebx
call edx
test eax, eax
je 0x39fb95d
mov eax, dword [esp + 0x1c]
cmp eax, 0x12e
jne 0x39fba3e
mov eax, dword [esi + 0x10]
add eax, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
lea edi, [esi + 8]
push eax
mov eax, dword [esi + 0xd0]
push 0x21
push eax
mov dword [esp + 0x24], ebx
call ecx
test eax, eax
jne 0x39fba29
call dword [0x3a5fd78]
cmp eax, 0x7a
jne 0x39fb95d
mov edx, dword [esp + 0x14]
shr edx, 1
push edx
mov ecx, edi
call fcn.039efb00
mov eax, dword [esi + 0x10]
add eax, eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esi + 0xd0]
push 0x21
push eax
mov dword [esp + 0x24], ebx
call ecx
test eax, eax
je 0x39fb95d
mov edx, dword [esp + 0x14]
shr edx, 1
push edx
mov ecx, edi
call fcn.039efbb0
mov eax, 2
jmp 0x39fba8d
cmp eax, 0x1a0
jne 0x39fba4e
mov dword [edi], ebx
mov eax, 1
jmp 0x39fba8d
cmp eax, 0x194
jne 0x39fba5c
mov dword [edi], ebx
or eax, 0xffffffff
jmp 0x39fba8d
cmp eax, 0xce
je 0x39fba6e
cmp eax, 0xc8
jne 0x39fb95d
mov eax, dword [esp + 0x130]
mov ecx, dword [esi + 0xd0]
mov edx, dword [esi + 0xc0]
push edi
push eax
push ebp
push ecx
call edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.03a00f6a
add esp, 0x114
ret 0x10
Function at 0x39fee90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x39feec1
cmp bl, 0xd7
je 0x39feec1
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x39feee9
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x39feeb3
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.03a0049e
cmp bl, 0xd8
jne 0x39feee9
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x39feee9
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x39feee0
pop esi
pop ebx
ret

Function at 0x3a119b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x3a376c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
push eax
call fcn.039f2e80
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esi], vtable.PEFileAccessorMSIAppended.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8