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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
call 0x100d4034
pop eax
mov edi, edx
mov dword [esp + 0x68], ecx
mov dword [esp], edx
mov dword [esp + 0x6c], eax
movzx eax, byte [edx + 0x14d]
test eax, eax
je 0x100d406c
cmp eax, 3
jne 0x100d40b7
movzx eax, byte [edi + 0xc4]
lea edx, [edi + 0x88]
mov eax, dword [eax*4 + 0x100d4d90]
add eax, dword [esp + 0x6c]
jmp eax
mov ecx, dword [edi + 0x108]
mov eax, dword [edi + 0x10c]
mov bl, 3
mov dword [edi + 0x114], ecx
mov dword [edi + 0x118], eax
add ecx, 0x18
mov eax, dword [edi + 0x110]
mov dword [edi + 0x11c], eax
mov al, byte [edi + 0x14c]
mov byte [edi + 0x14e], al
lea eax, [esp + 0x180]
mov byte [edi + 0x120], 3
mov dword [edi + 0x128], ecx
jmp 0x100d40cb
mov ecx, str._async_fn__resumed_after_completion
mov edx, 0x23
push 0x1041f9e8
jmp 0x100d4d26
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 0xc]
je 0x100d4b32
lea esi, [edx + 0x20]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0x1c]
mov ecx, dword [edx]
mov dword [esp + 0xd0], esi
cmp ecx, 2
movsd xmm0, qword [edx + 0x14]
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [edx + 0xc]
movsd qword [esp + 0xc0], xmm0
movsd xmm0, qword [edx + 4]
movsd qword [esp + 0xb8], xmm0
je 0x100d4b2c
movsd xmm0, qword [esp + 0xc8]
mov edx, dword [esp + 0xd0]
movsd xmm1, qword [esp + 0xc0]
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [esp + 0xb8]
mov dword [eax + 0x18], edx
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov dword [edi + 0x12c], ecx
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x148], ecx
movsd xmm0, qword [eax + 0x10]
movsd qword [edi + 0x140], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + 0x138], xmm1
movsd qword [edi + 0x130], xmm0
mov eax, dword [0x104debf8]
cmp eax, 4
jb 0x100d4193
mov eax, dword [0x104debfc]
mov eax, dword [0x104d53e8]
lea edx, [edi + 0x12c]
add eax, 0xfffffffe
cmp eax, 4
jb 0x100d42a1
mov ecx, dword [0x104d4d20]
test ecx, ecx
je 0x100d42a1
mov al, 1
cmp ecx, 1
mov esi, edx
je 0x100d41cc
cmp ecx, 2
jne 0x100d4bfa
mov al, 2
movzx edx, al
mov ecx, 0x104d4d20
call fcn.10109d10
mov edx, esi
test al, al
je 0x100d42a1
mov ecx, dword [0x104d4d24]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x100d4d52
mov edx, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0xb8], 0x1041f94c
mov dword [esp + 0xbc], 1
mov dword [esp + 0xc0], 0
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], 0x100fba30
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x90]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x38]
mov dword [esp + 0xc8], edx
lea edx, [esp + 0xb8]
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0x18]
mov dword [esp + 0xcc], 1
mov dword [esp + 0x1c], edx
lea edx, [ecx + 0x2c]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 1
mov dword [esp + 0x20], 0x10419960
mov dword [esp + 0x78], edx
lea edx, [esp + 0x70]
call fcn.1010a570
mov edi, dword [esp]
mov edx, esi
mov ecx, dword [edi + 0x114]
mov eax, dword [edi + 0x118]
mov ebx, dword [edi + 0x11c]
movzx esi, byte [edi + 0x14e]
lea edi, [esp + 0x38]
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0x48], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esp + 0xb8]
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
push edi
push esi
push ebx
push eax
call fcn.1003d980
add esp, 0x10
push 0x88
lea eax, [esp + 0xbc]
push eax
mov edi, dword [esp + 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [edi], 1
je 0x100d4bac
lea edx, [edi + 0x88]
lea esi, [edi + 8]
mov ecx, 0x20
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp]
movzx eax, byte [edi + 0xc4]
mov eax, dword [eax*4 + 0x100d4d90]
add eax, dword [esp + 0x6c]
jmp eax
mov bl, byte [edi + 0x120]
cmp bl, 3
jne 0x100d4b96
mov ecx, str.Network_unreachable
mov edx, 0x13
call fcn.1004c640
mov edi, eax
call sub.KERNEL32.dll_GetProcessHeap
push 0xc
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x100d4d41
mov dword [eax], edi
mov dword [eax + 4], 0x1041909c
mov byte [eax + 8], 5
mov ebx, eax
mov edi, dword [esp]
mov ecx, 2
mov esi, 1
movzx eax, word [esp + 0xb8]
mov word [ebx + 9], ax
mov al, byte [esp + 0xba]
mov byte [ebx + 0xb], al
jmp 0x100d4c65
mov ecx, dword [edi + 0x120]
mov ebx, dword [edi + 0x124]
mov esi, 1
jmp 0x100d4c65
mov ecx, dword [edi + 4]
mov ebx, dword [edi + 8]
mov esi, 1
mov al, byte [edi + 0x120]
cmp al, 3
ja 0x100d4bc9
cmp al, 2
jne 0x100d4c65
mov edi, dword [edi + 0x124]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax]
add esp, 4
mov eax, dword [edi + 4]
cmp dword [eax + 4], 0
je 0x100d4c44
mov edi, dword [edi]
cmp dword [eax + 8], 9
jae 0x100d4c34
call sub.KERNEL32.dll_GetProcessHeap
push edi
jmp 0x100d4c3c
mov ecx, 0x104d4d20
call fcn.10109c60
mov edx, esi
test al, al
jne 0x100d41cc
jmp 0x100d42a1
call sub.KERNEL32.dll_GetProcessHeap
push dword [edi - 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [esp]
mov edi, dword [ebx + 0x124]
call sub.KERNEL32.dll_GetProcessHeap
push edi
mov edi, ebx
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0x178]
movsd xmm1, qword [esp + 0x168]
mov eax, dword [esp + 0x68]
movsd qword [esp + 0xd0], xmm0
movsd xmm0, qword [esp + 0x170]
movsd qword [esp + 0xc0], xmm1
movsd qword [esp + 0xc8], xmm0
movsd xmm0, qword [esp + 0x160]
movsd qword [esp + 0xb8], xmm0
mov byte [edi + 0x14d], 1
mov dword [eax], esi
mov dword [eax + 8], ebx
mov dword [eax + 4], ecx
movsd xmm1, qword [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xc8]
movsd qword [eax + 0x14], xmm1
movsd xmm1, qword [esp + 0xd0]
movsd qword [eax + 0xc], xmm0
movsd qword [eax + 0x1c], xmm2
movsd qword [eax + 0x24], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100082b0
add esp, 4
ud2
mov ecx, 0xc
mov edx, 4
call fcn.10006540
ud2
mov ecx, 0x1041992d
mov edx, 0x22
push 0x1041f954
jmp 0x100d4d72
call fcn.1000a730
add esp, 4
ud2