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

Disassembly:
push 0xffffffffffffffff
push 0x4a6f58
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x14], 0
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x14], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi], vtable.google::protobuf::internal::GeneratedMessageReflection.0
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], ecx
test eax, eax
jne 0x3c7923
mov dl, byte [0x52dc7c]
test dl, dl
jne 0x3c791e
push 0x3b5540
mov edi, 0x52dc7c
call fcn.003daaa0
mov eax, dword [0x52d934]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x24], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0x20

Function at 0x3caee0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a6e30
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], esi
cmp dword [ebx + 0x24], eax
je 0x3caf50
push eax
mov edi, str.Field_does_not_match_message_type.
mov esi, str.SetDouble
mov ecx, ebx
call fcn.003c7450
mov esi, dword [esp + 0x3c]
add esp, 4
cmp dword [ebx + 0x1c], 3
jne 0x3caf72
mov ecx, dword [esi + 4]
push ecx
mov edi, str.Field_is_repeated__the_method_requires_a_singular_field.
mov esi, str.SetDouble
mov ecx, ebx
call fcn.003c7450
mov esi, dword [esp + 0x3c]
add esp, 4
mov edx, dword [ebx + 0x18]
mov edi, 5
cmp dword [edx*4 + 0x4c40c8], edi
je 0x3caf94
mov ecx, dword [esi + 4]
push ebx
mov edx, str.SetDouble
call fcn.003c75a0
add esp, 4
cmp byte [ebx + 0x20], 0
je 0x3cafba
fld qword [ebp + 0x10]
movzx eax, byte [ebx + 0x18]
mov edx, dword [esi + 0x18]
add edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x14]
sub esp, 8
fstp qword [esp]
push ebx
push eax
call fcn.003cf920
jmp 0x3cb007
mov eax, ebx
call fcn.003c73f0
fld qword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx + eax*4]
mov edi, dword [esp + 0x34]
mov eax, ebx
fstp qword [edi + edx]
call fcn.003c73f0
mov ecx, dword [esi + 0x10]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
lea esi, [ecx + eax*4]
mov eax, ebx
call fcn.003c73f0
mov ecx, eax
and ecx, 0x8000001f
jns 0x3caffd
dec ecx
or ecx, 0xffffffe0
inc ecx
mov eax, 1
shl eax, cl
or dword [esi + edi], eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3cb260
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4a6e30
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x38], esi
cmp dword [ebx + 0x24], eax
je 0x3cb2d0
push eax
mov edi, str.Field_does_not_match_message_type.
mov esi, str.AddDouble
mov ecx, ebx
call fcn.003c7450
mov esi, dword [esp + 0x3c]
add esp, 4
cmp dword [ebx + 0x1c], 3
je 0x3cb2f2
mov ecx, dword [esi + 4]
push ecx
mov edi, str.Field_is_singular__the_method_requires_a_repeated_field.
mov esi, str.AddDouble
mov ecx, ebx
call fcn.003c7450
mov esi, dword [esp + 0x3c]
add esp, 4
mov edx, dword [ebx + 0x18]
mov edi, 5
cmp dword [edx*4 + 0x4c40c8], edi
je 0x3cb314
mov ecx, dword [esi + 4]
push ebx
mov edx, str.AddDouble
call fcn.003c75a0
add esp, 4
cmp byte [ebx + 0x20], 0
je 0x3cb342
mov eax, dword [ebx + 0x38]
fld qword [ebp + 0x10]
movzx ecx, byte [eax + 0x1c]
movzx edx, byte [ebx + 0x18]
sub esp, 8
fstp qword [esp]
push ebx
push ecx
mov ecx, dword [ebx + 0x14]
push edx
mov edx, dword [esi + 0x18]
add edx, dword [esp + 0x48]
call fcn.003cfc00
jmp 0x3cb372
mov eax, ebx
call fcn.003c73f0
mov ecx, dword [esi + 0xc]
mov esi, dword [ecx + eax*4]
add esi, dword [esp + 0x34]
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x3cb364
inc eax
push eax
mov eax, esi
call fcn.003cd5e0
mov edx, dword [esi + 4]
fld qword [ebp + 0x10]
mov eax, dword [esi]
fstp qword [eax + edx*8]
inc dword [esi + 4]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 0x10
Function at 0x3d0c40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a6a59
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
lea ebx, [esp + 0x54]
lea eax, [esp + 0xc]
mov ecx, ebp
mov dword [esp + 0x10], 0
call fcn.003d3240
mov ebp, dword [ebp + 4]
mov ebx, dword [esp + 0xc]
cmp ebx, ebp
jne 0x3d0cf5
xor eax, eax
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set.cc
mov dword [esp + 0x1c], 0x221
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
push 0x29
mov dword [esp + 0x4c], eax
push str.CHECK_failed:_iter___extensions_.end__:
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 1
call fcn.002f78a0
push 0x25
push str.Index_out_of_bounds__field_is_empty_.
lea ecx, [esp + 0x28]
call fcn.002f78a0
lea ecx, [esp + 0x14]
call fcn.003b1620
mov dword [esp + 0x48], 0xffffffff
test byte [esp + 0x10], 1
je 0x3d0d18
cmp dword [esp + 0x34], 0x10
jb 0x3d0d18
mov eax, dword [esp + 0x20]
push eax
call fcn.00438a36
add esp, 4
movzx ecx, byte [ebx + 0x20]
mov eax, dword [ecx*4 + 0x4c4008]
dec eax
cmp eax, 9
ja case.default.0x3d0d29
jmp dword [eax*4 + 0x3d0dc4]
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov ebx, dword [eax + esi*8]
mov ecx, dword [eax + edi*8]
mov edx, dword [eax + edi*8 + 4]
mov dword [eax + edi*8], ebx
mov ebx, dword [eax + esi*8 + 4]
mov dword [eax + edi*8 + 4], ebx
mov dword [eax + esi*8], ecx
mov dword [eax + esi*8 + 4], edx
jmp case.default.0x3d0d29
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld dword [eax + edi*4]
fstp dword [esp + 0xc]
fld dword [eax + esi*4]
fstp dword [eax + edi*4]
fld dword [esp + 0xc]
fstp dword [eax + esi*4]
jmp case.default.0x3d0d29
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
fld qword [eax + edi*8]
fld qword [eax + esi*8]
fstp qword [eax + edi*8]
fstp qword [eax + esi*8]
jmp case.default.0x3d0d29
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov dl, byte [eax + esi]
mov cl, byte [eax + edi]
mov byte [eax + edi], dl
mov byte [eax + esi], cl
jmp case.default.0x3d0d29
mov ebx, dword [ebx + 0x18]
mov eax, dword [ebx]
mov edx, dword [eax + esi*4]
mov ecx, dword [eax + edi*4]
mov dword [eax + edi*4], edx
mov dword [eax + esi*4], ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
add esp, 0x40
ret 8
Function at 0x3d43c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7d19
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0xc]
push eax
call fcn.003b5870
mov esi, eax
test esi, esi
jne 0x3d4421
xor al, al
jmp 0x3d450f
mov eax, dword [esi + 0x18]
mov byte [edi], al
cmp dword [esi + 0x1c], 3
sete cl
mov byte [edi + 1], cl
mov eax, dword [esi + 0x38]
mov al, byte [eax + 0x1c]
mov byte [edi + 2], al
mov dword [edi + 0xc], esi
mov edx, dword [esi + 0x18]
mov eax, dword [edx*4 + 0x4c40c8]
cmp eax, 0xa
jne 0x3d44fb
mov ebx, dword [ebx + 8]
mov eax, dword [esi + 0x2c]
mov edx, dword [ebx]
push eax
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov dword [edi + 4], eax
xor edi, edi
cmp eax, edi
jne 0x3d44d6
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufextension_set_heavy.cc
mov dword [esp + 0x20], 0xc1
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], edi
mov byte [esp + 0x24], 0
push 0x31
mov dword [esp + 0x54], edi
mov esi, dword [esi + 4]
push str.CHECK_failed:_output__message_prototype___NULL:
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], 1
call fcn.002f78a0
push 0x40
push str.Extension_factorys_GetPrototype___returned_NULL_for_extension:
lea ecx, [esp + 0x2c]
call fcn.002f78a0
push 0xffffffffffffffff
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.002f77b0
lea ecx, [esp + 0x18]
call fcn.003b1620
mov dword [esp + 0x50], 0xffffffff
test byte [esp + 0x14], 1
je 0x3d450d
cmp dword [esp + 0x38], 0x10
jb 0x3d450d
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00438a36
add esp, 4
jmp 0x3d450d
cmp eax, 8
jne 0x3d450d
mov dword [edi + 4], 0x3d4360
mov edx, dword [esi + 0x30]
mov dword [edi + 8], edx
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
mov esp, ebp
pop ebp
ret 8
Function at 0x3d9860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e159
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 8], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov dword [esp + 0xc], esi
mov byte [esi], bl
push 6
mov dword [esp + 0x3c], ebx
push str.Cant
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.002f78a0
push 5
push str.parse
mov ecx, esi
call fcn.002f78a0
push 0x12
push str._message_of_type__
mov ecx, esi
call fcn.002f78a0
mov eax, dword [edi]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call edx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.002f77b0
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
jb 0x3d9914
mov eax, dword [esp + 0x10]
push eax
call fcn.00438a36
add esp, 4
push 0x29
push str.__because_it_is_missing_required_fields:
mov ecx, esi
call fcn.002f78a0
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call edx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], 2
call fcn.002f77b0
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
jb 0x3d995b
mov eax, dword [esp + 0x10]
push eax
call fcn.00438a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00438a41
add esp, 0x34
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4a6958
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
xor ebx, ebx
mov dword [esp + 0xc], ecx
add ecx, eax
mov dword [esp + 8], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x20], bx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x4000000
mov dword [esp + 0x30], 0x2000000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.003d9980
add esp, 4
test al, al
je 0x3d9b43
cmp byte [esp + 0x20], bl
je 0x3d9b43
mov al, 1
mov byte [esp + 0x54], al
jmp 0x3d9b49
mov byte [esp + 0x54], bl
mov al, bl
mov dword [esp + 0x4c], 0xffffffff
mov ecx, dword [esp + 8]
cmp ecx, ebx
je 0x3d9b79
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0xc]
add edx, dword [esp + 0x18]
add edx, dword [esp + 0x10]
cmp edx, ebx
jle 0x3d9b79
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 8]
call edx
mov al, byte [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x48
ret
Function at 0x3f6060
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aaa49
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
mov esi, ecx
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
cmp esi, ebp
jne 0x3f60f2
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclient_third_partyprotobuf_files_srcgoogleprotobufdescriptor.pb.cc
mov dword [esp + 0x24], 0x1d23
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], bl
push 0x21
mov dword [esp + 0x58], edi
mov ebx, 1
push str.CHECK_failed:__from_____this_:
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], ebx
call fcn.002f78a0
lea ecx, [esp + 0x1c]
call fcn.003b1620
mov dword [esp + 0x54], 0xffffffff
test bl, 1
je 0x3f6124
cmp dword [esp + 0x3c], 0x10
jb 0x3f6113
mov eax, dword [esp + 0x28]
push eax
call fcn.00438a36
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
mov ecx, dword [esi + 0xc]
add ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
call fcn.003cd650
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
add edx, edx
add edx, edx
push edx
mov edx, dword [ebp + 8]
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043c600
mov ecx, dword [esi + 0xc]
add dword [ebp + 0xc], ecx
mov edx, dword [esi + 0x2c]
add edx, dword [ebp + 0x2c]
add esp, 0xc
push edx
lea eax, [ebp + 0x28]
call fcn.003cd650
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp + 0x2c]
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp + 0x28]
push ecx
lea ecx, [eax + edx*4]
push ecx
call fcn.0043c600
mov edx, dword [esi + 0x2c]
add dword [ebp + 0x2c], edx
add esp, 0xc
add esi, 4
push esi
add ebp, 4
push ebp
call fcn.003d9fa0
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00438a41
add esp, 0x44
ret 4
Function at 0x3f8dd0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x49e071
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0xc], ebx
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.002f9870
mov dword [esp + 0x38], 1
lea eax, [esp + 0x10]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.002f7740
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov dword [esi + 0x1c], edx
mov byte [esp + 0x38], bl
cmp dword [esp + 0x24], 0x10
mov dword [esp + 8], 1
jb 0x3f8e73
mov eax, dword [esp + 0x10]
push eax
call fcn.00438a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00438a41
add esp, 0x34
ret

Function at 0x3f8ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49e021
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov edi, dword [ecx]
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.002f9870
mov dword [esp + 0x3c], 1
lea edx, [esp + 0x14]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push edx
mov ecx, esi
mov byte [esi], bl
call fcn.002f7740
mov dword [esi + 0x1c], edi
mov byte [esp + 0x3c], bl
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 1
jb 0x3f8f40
mov eax, dword [esp + 0x14]
push eax
call fcn.00438a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00438a41
add esp, 0x34
ret
Function at 0x3f9600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49dfd8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.002f9870
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x10]
mov ecx, esi
call fcn.003f9af0
push eax
lea edx, [esp + 0xc]
push edx
push esi
call fcn.0034c890
mov dword [esp + 0x44], 0xffffffff
cmp dword [esp + 0x24], 0x10
jb 0x3f9696
mov eax, dword [esp + 0x10]
push eax
call fcn.00438a36
add esp, 4
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00438a41
add esp, 0x40
ret

Function at 0x3fb300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4799
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x54]
push esi
mov dword [esp + 0x30], 1
call fcn.003fb3a0
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x3fddf0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push str.A946A6A9_917E_4949_B9BC_6BADA8C7FD63
push 0
push 0
mov byte [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push eax
mov dword [esi + 4], eax
call fcn.003fdd60
add esp, 4
test al, al
je 0x3fde30
mov eax, dword [esi + 4]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete cl
mov byte [esi], cl
mov eax, esi
pop ecx
ret

Function at 0x3fe5a0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b21e0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push esi
push edi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov al, byte [esp + 0x6c]
xor ebx, ebx
mov byte [esp + 0x14], al
mov byte [esp + 0x18], dl
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
mov dword [esp + 0x60], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
mov eax, ecx
mov byte [esp + 0x60], 1
lea esi, [eax + 2]
lea ecx, [ecx]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x3fe610
sub eax, esi
sar eax, 1
push eax
lea edi, [esp + 0x3c]
call fcn.003648c0
add esp, 4
push ebx
lea edi, [esp + 0x20]
mov ecx, 0x4c8868
call fcn.003648c0
mov ecx, dword [esp + 0x20]
mov edi, 0x10
add esp, 4
cmp dword [esp + 0x30], edi
jae 0x3fe651
lea ecx, [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x4c], edi
jae 0x3fe65f
lea eax, [esp + 0x38]
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x7c]
push eax
call fcn.003fe4e0
mov byte [esp + 0x60], bl
mov esi, eax
cmp dword [esp + 0x30], edi
jb 0x3fe68f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00438a36
add esp, 4
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
cmp dword [esp + 0x4c], edi
jb 0x3fe6ba
mov edx, dword [esp + 0x38]
push edx
call fcn.00438a36
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00438a41
add esp, 0x54
ret 8
Function at 0x402ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad61a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5116ec]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5116ec]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, ecx
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add ecx, edx
mov dword [esp + 0x10], esi
call eax
mov dword [esp + 0x1c], 1
mov byte [esp + 0x14], al
mov dword [esp + 0x30], 1
xor eax, eax
mov dword [esi + 8], 0
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov ecx, esi
call fcn.003747a0
mov byte [esp + 0x30], 2
cmp dword [esi + 8], 7
jne 0x402f3e
push esi
lea ecx, [esp + 0xf]
call fcn.00375ae0
test eax, eax
je 0x402f3e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x30], 0
call fcn.003746c0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00438a41
add esp, 0x2c
ret 0x10
Function at 0x403ca0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x51f70c]
push esi
cmp eax, 0xffffffff
je 0x403cbe
mov ecx, dword [0x51f70c]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x403cc2
xor al, al
pop esi
ret
cmp dword [esi + 0x10], 0
jne 0x403d01
push 8
call fcn.00438a50
add esp, 4
test eax, eax
je 0x403cf3
push eax
mov dword [eax], method.ggadget::Slot.virtual_0
mov dword [eax + 4], 0x403c70
call fcn.00382080
add esp, 4
mov dword [esi + 0x10], eax
mov al, 1
pop esi
ret
xor eax, eax
push eax
call fcn.00382080
add esp, 4
mov dword [esi + 0x10], eax
mov al, 1
pop esi
ret