joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e92
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x40e044]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40e080]
je 0x407ebc
inc eax
cmp eax, 0x12
jb 0x407ead
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40e080]
mov dword [ebp - 0x110], esi
jne 0x408067
mov eax, dword [0x40ed10]
cmp eax, 1
je 0x408035
test eax, eax
jne 0x407ef2
cmp dword [0x40ed14], 1
je 0x408035
cmp ecx, 0xfc
je 0x408067
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x407f2d
push 5
pop ecx
mov esi, 0x403b74
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ebx, [ebp - 0x10c]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f38
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x407f70
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f50
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x403b70
push ebx
call fcn.0040aac0
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407f75
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 0x40e084]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407f8f
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.00407e50
mov edx, esp
push 6
pop ecx
mov esi, 0x403b54
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407fbb
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407fc7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407fe0
mov eax, dword [ebp - 0x110]
mov esi, 0x403b50
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x40e084]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407ffe
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40800a
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push 0x403b28
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.0040a9b2
add esp, 0xc
jmp 0x408067
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x408067
mov esi, dword [esi + 0x40e084]
mov ecx, esi
lea edx, [ecx + 1]
mov bl, byte [ecx]
inc ecx
test bl, bl
jne 0x40804c
push 0
sub ecx, edx
lea edx, [ebp - 0x114]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x120]
mov ecx, dword [ebp - 4]
call fcn.00406819
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a9b2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40efe8], ebx
push esi
push edi
jne 0x40aa34
push 0x403e88
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40aa6f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e7c
push edi
call esi
test eax, eax
mov dword [0x40efe8], eax
je 0x40aa6f
push 0x403e6c
push edi
call esi
push 0x403e58
push edi
mov dword [0x40efec], eax
call esi
cmp dword [0x40ed1c], 2
mov dword [0x40eff0], eax
jne 0x40aa34
push 0x403e3c
push edi
call esi
test eax, eax
mov dword [0x40eff8], eax
je 0x40aa34
push 0x403e24
push edi
call esi
mov dword [0x40eff4], eax
mov eax, dword [0x40eff4]
test eax, eax
je 0x40aa79
call eax
test eax, eax
je 0x40aa60
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40eff8]
test eax, eax
je 0x40aa60
test byte [ebp - 8], 1
jne 0x40aa79
cmp dword [0x40ed28], 4
jb 0x40aa73
or byte [ebp + 0x12], 0x20
jmp 0x40aa98
xor eax, eax
jmp 0x40aaa8
or byte [ebp + 0x12], 4
jmp 0x40aa98
mov eax, dword [0x40efec]
test eax, eax
je 0x40aa98
call eax
mov ebx, eax
test ebx, ebx
je 0x40aa98
mov eax, dword [0x40eff0]
test eax, eax
je 0x40aa98
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40efe8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b026
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40b057
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x40b05e
cmp ebx, dword [ebp + 8]
jae 0x40b05e
xor eax, eax
jmp 0x40b24e
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40b06f
xor eax, eax
inc eax
jmp 0x40b24d
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40b085
cmp ecx, edx
jae 0x40b1ca
cmp dword [eax + 4], 0
je 0x40b08e
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40b076
cmp dword [ebp + 8], 0
je 0x40b0b0
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40b1ca
cmp eax, esi
jae 0x40b1ca
mov eax, dword [0x40f000]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40b0d5
cmp dword [esi*4 + 0x40f008], edi
je 0x40b1ce
inc esi
cmp esi, eax
jl 0x40b0c3
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x40b24a
cmp dword [ebp - 8], 0x1000000
jne 0x40b24a
test byte [ebp - 0xc], 0xcc
je 0x40b153
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40b24a
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b24a
cmp word [eax + 0x18], 0x10b
jne 0x40b24a
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40b24a
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40b153
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40b153
test byte [ecx + 0x27], 0x80
jne 0x40b1ca
push 1
push 0x40f048
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x40b067
mov ecx, dword [0x40f000]
test ecx, ecx
mov edx, ecx
jle 0x40b187
lea eax, [ecx*4 + 0x40f004]
cmp dword [eax], edi
je 0x40b187
dec edx
sub eax, 4
test edx, edx
jg 0x40b17b
test edx, edx
jne 0x40b1b8
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40b194
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40b1ac
lea eax, [edx*4 + 0x40f008]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40b19a
cmp ecx, 0x10
jge 0x40b1b8
inc ecx
mov dword [0x40f000], ecx
push 0
push 0x40f048
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x40b067
xor eax, eax
jmp 0x40b24d
test esi, esi
jle 0x40b067
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x40f048
call ebx
test eax, eax
jne 0x40b067
cmp dword [esi*4 + 0x40f008], edi
je 0x40b224
mov eax, dword [0x40f000]
lea esi, [eax - 1]
test esi, esi
jl 0x40b212
cmp dword [esi*4 + 0x40f008], edi
je 0x40b20e
dec esi
jns 0x40b202
test esi, esi
jge 0x40b222
cmp eax, 0x10
jge 0x40b21d
inc eax
mov dword [0x40f000], eax
lea esi, [eax - 1]
jmp 0x40b224
je 0x40b23c
xor ecx, ecx
test esi, esi
jl 0x40b23c
lea eax, [ecx*4 + 0x40f008]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40b22a
push 0
push 0x40f048
call ebx
jmp 0x40b067
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427ea0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d000]
push edi
jmp 0x427eba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427ec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427eb0
mov eax, 1
add ebx, ebx
jne 0x427ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427ec8
jne 0x427ee4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427ec8
xor ecx, ecx
sub eax, 3
jb 0x427ef8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427f6a
mov ebp, eax
add ebx, ebx
jne 0x427f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427f10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427f34
inc ecx
add ebx, ebx
jne 0x427f20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427f15
jne 0x427f31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427f15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427f54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427f45
jmp 0x427eb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427f54
add edi, ecx
jmp 0x427eb6
pop esi
mov edi, esi
mov ecx, 0x1433
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427f72
cmp byte [edi], 5
jne 0x427f72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427f77
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427fef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x293f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29434]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x427fa4
mov ecx, edi
jns 0x427fd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2943c]
or eax, eax
je 0x427fe9
mov dword [ebx], eax
add ebx, 4
jmp 0x427fc1
call dword [esi + 0x29438]
mov ebp, dword [esi + 0x29440]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x428023
sub esp, 0xffffff80
jmp 0x4032c4
Function at 0x1000100c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0x100151a4
call fcn.10002494
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.10002494
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret
Function at 0x10001ac4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov esi, edx
mov edi, ecx
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.10004480
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, 0x80000002
sub ecx, esi
push eax
push 0x20219
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x10001bb9
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0
test esi, esi
jne 0x10001bb9
mov esi, dword [ebp + 0xc]
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.100023c2
push 0x5c
push dword [esi + 8]
call fcn.100045da
add esp, 8
test eax, eax
je 0x10001bb7
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.100019fe
test al, al
je 0x10001bb7
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10001ba8
push edi
call fcn.100023c2
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.10001bd1
mov ebx, eax
jmp 0x10001bb9
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.100028bc
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10001bd1
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x100153e0]
cmp dword [ecx + eax], edx
ja 0x10001bef
jb 0x10001bf9
add eax, 4
cmp eax, 0x10
jne 0x10001bda
mov ecx, esi
pop esi
pop edi
pop ebp
jmp fcn.1000100c
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
push dword [esi + 8]
call edi
push 0x10015442
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x10002193
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x10002206
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10002220
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.10002247
add esp, 8
test al, al
je 0x10002231
push 0xa
push 0
push dword [esi]
call fcn.10005c63
add esp, 0xc
jmp 0x10002223
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100028bc
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.10002247
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [ebx], ecx
mov bl, 1
jmp 0x10002233
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100028bc
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10002247
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov esi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x10017008]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea edi, [ebp - 0x218]
push 0x208
push ebx
push edi
call fcn.10004480
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push edi
push ebx
push 2
push esi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x100022ba
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.100023c2
mov eax, dword [edi + 8]
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100028bc
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007898
Capabilities:
Parse pe header

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
movzx esi, word [edx]
mov ecx, dword [edx + 0x3c]
xor ebx, ebx
test ecx, ecx
setne bl
xor edi, edi
cmp esi, 0x5a4d
lea ebx, [ebx + ebx*4 + 1]
cmovne ebx, edi
cmp bl, 6
jne 0x10007916
cmp ecx, 0x40
jb 0x10007964
mov esi, dword [esp + 0x18]
cmp ecx, esi
ja 0x10007971
lea esi, [edx + ecx]
movzx edi, word [edx + ecx + 0x18]
cmp edi, 0x10b
je 0x1000791a
cmp edi, 0x20b
jne 0x10007940
mov bl, 2
cmp dword [esi], 0x4550
jne 0x1000793c
movzx edi, word [esi + 4]
mov bl, 3
cmp edi, 0x8664
jne 0x1000793c
mov bl, 4
test byte [esi + 0x16], 2
je 0x1000793c
xor edi, edi
inc edi
jmp 0x1000794e
mov byte [eax], bl
jmp 0x10007943
mov bl, 2
cmp dword [esi], 0x4550
jne 0x1000793c
movzx edi, word [esi + 4]
mov bl, 3
cmp edi, 0x14c
jne 0x1000793c
xor edi, edi
mov bl, 4
test byte [esi + 0x16], 2
jne 0x1000794e
mov byte [eax], bl
jmp 0x10007943
mov byte [eax], 5
mov dword [eax + 0xc], 2
pop esi
pop edi
pop ebx
ret
add ecx, 0xffffffc0
mov dword [eax], edx
add edx, 0x40
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
jmp 0x1000794a
push 0x101031e0
push ecx
push 0x40
call fcn.10101640
push 0x101031e0
push esi
push ecx
call fcn.10101620
Function at 0x10009580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov eax, dword [esp + 0x94]
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
lea ebp, [eax + 8]
lea ecx, [eax + 0x3d]
mov dword [esp + 8], ecx
mov eax, dword [eax]
lea ecx, [eax - 3]
add eax, 0xfffffffe
cmp ecx, 2
mov ecx, 0
cmovae eax, ecx
test eax, eax
jne 0x10009645
push dword [esp + 0x98]
push dword [esp + 0x98]
lea eax, [esp + 0x14]
push eax
call fcn.100087be
add esp, 0xc
mov bl, byte [esp + 0x44]
cmp bl, 6
je 0x1000966f
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x94]
mov ecx, esi
cmp bl, 5
je 0x1000967f
call fcn.10016e18
mov dword [esi], 3
mov dword [esi + 4], edi
lea ecx, [esp + 0x10]
mov eax, dword [ecx + 0x30]
mov dword [ebp + 0x30], eax
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp + 0x20], xmm0
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [ebp + 0x10], xmm1
movups xmmword [ebp], xmm0
mov byte [esi + 0x3c], bl
mov al, byte [ecx + 0x37]
mov edx, dword [esp + 8]
mov byte [edx + 2], al
movzx eax, word [ecx + 0x35]
mov word [edx], ax
mov eax, 3
jmp 0x100095a1
cmp eax, 1
jne 0x10009722
push dword [esp + 0x98]
push dword [esp + 8]
lea eax, [esp + 0x14]
push eax
call fcn.100539a2
add esp, 0xc
mov bl, byte [esp + 0x44]
cmp bl, 3
jne 0x1000968e
mov eax, dword [esp + 0x90]
mov byte [eax + 0x38], 3
jmp 0x1000971a
call fcn.10016e18
mov dword [esi], 4
mov bl, 2
jmp 0x100096dd
mov edi, dword [esp + 0xc]
movups xmm0, xmmword [esp + 0x10]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [esp + 0x20]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x68], xmm0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x78], eax
movzx eax, word [esp + 0x45]
mov word [esp], ax
mov al, byte [esp + 0x47]
mov byte [esp + 2], al
mov esi, dword [esp + 0x94]
mov ecx, esi
call fcn.10016e18
mov dword [esi], 4
mov eax, dword [esp + 0x90]
mov dword [eax], edi
movups xmm0, xmmword [esp + 0x48]
movups xmm1, xmmword [esp + 0x58]
movups xmmword [eax + 4], xmm0
movups xmmword [eax + 0x14], xmm1
movups xmm0, xmmword [esp + 0x68]
movups xmmword [eax + 0x24], xmm0
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x34], ecx
mov byte [eax + 0x38], bl
movzx ecx, word [esp]
mov word [eax + 0x39], cx
mov cl, byte [esp + 2]
mov byte [eax + 0x3b], cl
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101035a0
push 0x22
push str.TryFlatten_polled_after_completionmain.rs_src_future_try_future_try_flatten.rs
call fcn.100ffdd9
Function at 0x1001657a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x10016558
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100164eb
mov esi, eax
xor ecx, ecx
cmp eax, 1
je 0x10016552
jmp 0x1001651b
mov al, byte [0x1017f1d9]
push 8
push 0x18
call fcn.10007540
add esp, 8
test eax, eax
je 0x10016571
mov esi, eax
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
mov eax, dword [edi]
test eax, eax
je 0x10016566
dec eax
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10016537
mov edx, dword [ecx + 0xc]
mov edi, dword [ecx]
mov eax, dword [ecx + 8]
xor ebx, ebx
mov dword [ecx], ebx
or edi, dword [ecx + 4]
mov dword [ecx + 4], ebx
jne 0x1001653c
call fcn.100421a7
lea ecx, [esi + 8]
mov dword [esi + 4], 0
mov dword [esi], 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, ecx
pop esi
pop edi
pop ebx
ret
push edi
call fcn.10100b60
add esp, 4
jmp 0x100164d5
push edi
call fcn.10100b60
add esp, 4
jmp 0x10016513
push 0x18
push 8
call fcn.10101000
mov ecx, dword [esp + 4]
mov eax, dword [ecx]
test eax, eax
je 0x100165a4
dec eax
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp eax, 2
jb 0x100164c3
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x100164c3
add eax, 8
ret
push ecx
call fcn.10100b60
add esp, 4
jmp 0x10016585

Function at 0x1001683c
Capabilities:
Set thread local storage value

Disassembly:
push edi
push esi
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
mov esi, dword [edi + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x10016879
dec eax
push 1
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
push 8
push 0x18
push edi
call fcn.10007550
add esp, 0xc
mov eax, dword [esi]
test eax, eax
je 0x10016884
dec eax
push 0
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
xor eax, eax
pop esi
pop edi
ret
push esi
call fcn.10100b60
add esp, 4
jmp 0x1001684e
push esi
call fcn.10100b60
add esp, 4
jmp 0x1001686b

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

Disassembly:
cmp dword [ecx + 0x20], 9
jne 0x100175e2
ret
push esi
lea esi, [ecx + 0x20]
call fcn.100173f3
mov ecx, esi
pop esi
jmp fcn.100174aa
Function at 0x10026a64
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov esi, dword [esp + 0x64]
mov al, byte [esi]
test al, al
je 0x10026928
cmp al, 2
jne 0x1002692c
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x10026945
xor eax, eax
jmp 0x10026956
xor eax, eax
cmp byte [esi + 1], 0
sete al
mov edx, str.httpmain.rs_srcheadermap.rssize_overflows_MAX_SIZE
mov ecx, str.httpsmain.rs_srcclient.rs
cmove ecx, edx
xor eax, 5
push 5
push str.httpsmain.rs_srcclient.rs
push eax
push ecx
call fcn.1005a98c
add esp, 0x10
mov ebx, dword [esp + 0x60]
test al, al
jne 0x10026986
cmp byte [ebx + 0x20], 0
je 0x10026986
push 0x10109bb8
push 1
call fcn.1003cab0
add esp, 8
mov ebp, eax
mov ecx, esi
call fcn.10017cb9
mov edx, 0x10108c48
jmp 0x10026adf
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 8], 0
test eax, eax
je 0x100269a7
push eax
push dword [esi + 0xc]
call fcn.100ad5d8
add esp, 8
jmp 0x100269a9
xor eax, eax
test eax, eax
mov ecx, 0x101068b0
cmovne ecx, eax
cmove edx, eax
push edx
push ecx
call fcn.100461bc
add esp, 8
mov ebp, eax
mov edi, edx
push 0
push edx
call fcn.1005817c
add esp, 8
mov dword [esp + 0x18], eax
push edi
push ebp
mov dword [esp + 0x1c], edx
push edx
call fcn.100e9d70
add esp, 0xc
lea eax, [ebx + 0x14]
movups xmm0, xmmword [esi + 0x1c]
lea ecx, [esp + 0x20]
movups xmmword [ecx + 0x1c], xmm0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
movups xmmword [ecx + 0x10], xmm1
movups xmmword [ecx], xmm0
push ecx
push eax
call fcn.1002807e
add esp, 8
mov dword [esp + 0x10], eax
cmp dword [ebx], 0
je 0x10026a2b
lea eax, [ebx + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 8], ecx
push eax
call fcn.1005a9d1
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x10026a2b
lea eax, [ebx + 8]
push eax
call fcn.1005aa48
add esp, 4
mov esi, eax
mov al, byte [ebx + 0x10]
mov byte [esp + 7], al
mov al, byte [ebx + 0x11]
mov byte [esp + 6], al
mov al, byte [ebx + 0xc]
mov byte [esp + 5], al
mov al, byte [ebx + 0xd]
mov byte [esp + 4], al
mov al, byte [ebx + 0xe]
mov byte [esp + 3], al
mov bl, byte [ebx + 0xf]
mov al, byte [0x1017f1d9]
push 8
push 0x1e8
call fcn.10007540
add esp, 8
test eax, eax
je 0x10026ae9
mov ebp, eax
mov eax, dword [esp + 8]
mov dword [ebp], eax
mov eax, dword [esp + 0xc]
mov dword [ebp + 4], eax
mov dword [ebp + 8], esi
mov al, byte [esp + 5]
mov byte [ebp + 0xc], al
mov al, byte [esp + 4]
mov byte [ebp + 0xd], al
mov al, byte [esp + 3]
mov byte [ebp + 0xe], al
mov byte [ebp + 0xf], bl
mov al, byte [esp + 7]
mov byte [ebp + 0x10], al
mov al, byte [esp + 6]
mov byte [ebp + 0x11], al
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], edi
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x24], 0x10106a00
mov eax, dword [esp + 0x1c]
mov byte [ebp + 0x28], al
mov byte [ebp + 0x29], 0
mov edx, 0x101068b0
mov eax, ebp
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1e8
push 8
call fcn.10101000
int3
Function at 0x1002d974
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xb4
call fcn.1002d983