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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov ebx, edx
movzx edx, byte [edx + 0x120]
call 0x100eb66d
pop eax
mov dword [esp + 0x34], ecx
test edx, edx
je 0x100eb6b0
cmp edx, 3
jne 0x100eba26
lea edx, [ebx + 0xfc]
lea esi, [ebx + 0xc0]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0xfc]
add eax, dword [edx*4 + 0x100ebcb8]
jmp eax
lea edi, [ebx + 0x60]
mov ecx, 0x18
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0xc0]
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x70], eax
movsd xmm0, qword [ebx + 0xa4]
movsd xmm1, qword [ebx + 0xac]
movsd qword [esp + 0x68], xmm1
movsd qword [esp + 0x60], xmm0
movsd qword [ebx + 0xc0], xmm0
movsd qword [ebx + 0xc8], xmm1
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [ebx + 0xd8], xmm0
movsd qword [ebx + 0xe0], xmm1
movsd xmm0, qword [esp + 0x88]
movsd qword [ebx + 0xe8], xmm0
movsd xmm0, qword [esp + 0x90]
movsd qword [ebx + 0xf0], xmm0
mov eax, dword [esp + 0x98]
mov dword [ebx + 0xf8], eax
lea eax, [ebx + 0xfc]
movsd xmm0, qword [esp + 0x70]
mov dword [esp + 8], eax
movsd qword [ebx + 0xd0], xmm0
mov byte [ebx + 0xfc], 0
mov byte [esi + 0x3d], 0
lea edx, [esi + 0x14]
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebx + 0xe8]
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
movsd qword [esi + 0x1c], xmm1
movsd qword [esi + 0x14], xmm0
mov dword [ebx + 0xe8], edx
mov dword [ebx + 0x100], eax
lea ecx, [esp + 0x10]
push dword [ebp + 8]
call fcn.1004cbb0
add esp, 4
mov ecx, dword [esp + 0x10]
cmp ecx, 3
jne 0x100eb7bf
mov eax, dword [esp + 8]
mov byte [eax], 3
jmp 0x100ebaf5
mov edx, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, str.formatter_errorfailed_to_write_whole_buffer
cmp ecx, 2
mov dword [esp + 4], 0
mov dword [esp + 0x40], edx
mov edx, 0
movsd qword [esp + 0x38], xmm0
je 0x100eb80e
mov edx, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
cmp ecx, 1
mov dword [esp + 0x18], edx
movsd qword [esp + 0x10], xmm0
jne 0x100eb843
mov edx, 1
mov edi, eax
mov dword [esp + 8], edx
mov byte [esi + 0x3d], 0
mov dword [esp + 0x2c], 0x10419114
mov dword [esp + 0xc], 0
jmp 0x100ebbb5
mov byte [esi + 0x3d], 1
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 0xf8], eax
lea eax, [ebx + 0xe8]
movsd xmm0, qword [esp + 0x10]
movsd qword [ebx + 0xf0], xmm0
mov dword [ebx + 0x100], eax
mov edx, dword [eax]
lea edi, [esp + 0x10]
mov ecx, edi
push dword [ebp + 8]
call fcn.1004cbb0
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x100eb896
mov eax, dword [esp + 8]
mov byte [eax], 4
jmp 0x100ebaf5
mov edx, edi
movsd xmm0, qword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
cmp eax, 2
movsd qword [esp + 0x38], xmm0
mov dword [esp + 0x40], ecx
jne 0x100eb900
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x2c], str.formatter_errorfailed_to_write_whole_buffer
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0x10419114
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp + 0x2c], ecx
cmp byte [esi + 0x3d], 0
jne 0x100ebb94
jmp 0x100ebbb1
mov ecx, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
cmp eax, 1
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x10], xmm0
jne 0x100eb926
mov dword [esp + 8], 1
jmp 0x100ebb8e
mov dword [ebx + 0x100], edi
mov eax, dword [esp + 0x18]
mov dword [esi + 0x4c], eax
movsd xmm0, qword [esp + 0x10]
movsd qword [esi + 0x44], xmm0
mov edi, dword [esi + 0x44]
mov eax, dword [ebx + 0xe8]
add edi, dword [ebx + 0xf0]
cmp dword [eax], 1
jne 0x100eb965
mov ecx, dword [eax + 8]
push dword [eax + 4]
push edx
call dword [ecx + 0x18]
add esp, 8
mov eax, dword [esp + 0x10]
jmp 0x100eb990
mov eax, dword [eax + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
add edi, eax
js 0x100eba50
test edi, edi
je 0x100eb9b5
call sub.KERNEL32.dll_GetProcessHeap
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
mov ecx, edi
jne 0x100eb9bc
jmp 0x100ebcac
mov eax, 1
mov ecx, edi
mov dword [ebx + 0x110], eax
mov dword [esi + 0x54], ecx
mov dword [ebx + 0x118], 0
lea eax, [esi + 0x2c]
mov byte [esi + 0x3d], 0
lea ecx, [ebx + 0x110]
lea edx, [esp + 0x10]
lea edi, [ebx + 0x100]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov dword [esp + 4], ecx
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
call fcn.100ebe10
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
jmp 0x100ebadb
mov ecx, str._async_fn__resumed_after_completion
mov edx, 0x23
push 0x10420cc4
jmp 0x100eba46
call fcn.100082b0
add esp, 4
ud2
call fcn.10006550
ud2
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push dword [ebp + 8]
call fcn.1004cbb0
add esp, 4
cmp dword [esp + 0x10], 3
je 0x100ebaee
mov eax, dword [esp + 0x20]
movsd xmm0, qword [esp + 0x10]
movsd xmm1, qword [esp + 0x18]
mov dword [esp + 0x48], eax
movsd qword [esp + 0x40], xmm1
movsd qword [esp + 0x38], xmm0
mov eax, dword [esp + 0x38]
cmp eax, 2
je 0x100ebb0b
mov edx, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x40]
mov edi, dword [esp + 0x3c]
lea ecx, [ebx + 0x110]
cmp eax, 1
mov dword [esp + 0x58], edx
movsd qword [esp + 0x50], xmm0
je 0x100ebb69
movsd xmm0, qword [esp + 0x50]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], edi
lea edx, [esp + 0x10]
movsd qword [esp + 0x14], xmm0
mov dword [esp + 0x1c], eax
call fcn.100ebe10
lea eax, [ebx + 0xe8]
mov dword [esi + 0x5c], eax
jmp 0x100eba57
mov eax, dword [esp + 8]
mov byte [eax], 5
mov eax, dword [esp + 0x34]
mov byte [ebx + 0x120], 3
mov dword [eax], 2
jmp 0x100ebc3f
mov edi, dword [ebx + 0x118]
mov eax, dword [ebx + 0x110]
mov ecx, dword [ebx + 0x114]
test edi, edi
je 0x100ebc47
cmp ecx, edi
mov dword [esp + 0xc], edi
jbe 0x100ebb4b
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetProcessHeap
push edi
push dword [esp + 8]
push 0
push eax
call sub.KERNEL32.dll_HeapReAlloc
test eax, eax
je 0x100ebca8
test al, 1
jne 0x100ebc7f
mov edi, eax
or eax, 1
mov dword [esp + 0x2c], 0x103e6c08
mov dword [esp + 4], eax
jmp 0x100ebc8d
cmp dword [esi + 0x54], 0
mov dword [esp + 8], 1
je 0x100ebb8e
mov eax, dword [ecx]
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
cmp byte [esi + 0x3d], 0
je 0x100ebbb1
mov byte [esi + 0x3d], 0
lea ecx, [esi + 0x34]
mov eax, dword [ebx + 0xf8]
push dword [ebx + 0xf0]
push dword [esi + 0x2c]
push ecx
call dword [eax + 4]
add esp, 0xc
mov byte [esi + 0x3d], 0
add esi, 0x14
mov ecx, esi
call fcn.100544e0
mov ecx, dword [esp + 0x30]
mov byte [ebx + 0xfc], 1
call fcn.100ebd90
lea eax, [ebx + 0x60]
push eax
call fcn.1004fb10
add esp, 4
mov esi, dword [ebx + 0xa0]
cmp dword [esi + 4], 0
je 0x100ebbfd
mov esi, dword [esi]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov esi, dword [ebx + 0xa0]
call sub.KERNEL32.dll_GetProcessHeap
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapFree
lea ecx, [ebx + 0xb8]
call fcn.10056e00
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov byte [ebx + 0x120], 1
mov esi, dword [esp + 4]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, str.formatter_errorfailed_to_write_whole_buffer
test ecx, ecx
mov dword [esp + 0x2c], 0x10419114
je 0x100ebc6d
mov dword [esp + 4], eax
call sub.KERNEL32.dll_GetProcessHeap
push dword [esp + 4]
push 0
push eax
call sub.KERNEL32.dll_HeapFree
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
jmp 0x100ebc8d
mov dword [esp + 0x2c], 0x103e6c18
mov dword [esp + 4], eax
mov edi, eax
mov byte [esi + 0x3d], 0
add esi, 0x14
mov ecx, esi
call fcn.100544e0
mov dword [esp + 8], 0
jmp 0x100ebbbf
mov ecx, dword [esp + 0xc]
mov edx, 1
call fcn.10006540
ud2