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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x288
mov eax, dword [0x103b1004]
xor eax, esp
mov dword [esp + 0x284], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
push esi
push edi
test eax, eax
jne 0x100df637
mov eax, dword [0x103fb118]
push 0x270
push str.D:_a1_sObjects_bytesobject.c
push str._s:_d:_bad_argument_to_internal_function
push dword [sym.python310.dll_PyExc_SystemError]
push eax
call sym.python310.dll__PyErr_Format
add esp, 0x14
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.1024a596
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov edi, dword [ebp + 0x14]
lea eax, [esp + 0x7c]
push eax
xorps xmm0, xmm0
lea eax, [esp + 0x68]
movaps xmmword [esp + 0x68], xmm0
mov esi, ecx
movq qword [esp + 0x78], xmm0
push eax
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], 1
mov dword [esp + 0x70], 0x200
call sym.python310.dll__PyBytesWriter_Prepare
add esp, 0xc
mov dword [esp + 8], eax
test eax, eax
je 0x100df621
mov eax, dword [esp + 0x70]
test edi, edi
mov edi, dword [esp + 0x38]
mov ecx, 1
cmove eax, ecx
mov dword [esp + 0x70], eax
mov edx, dword [edi + 4]
mov ecx, dword [edx + 0x54]
mov eax, ecx
and eax, 0x4000000
je 0x100df6ac
mov edi, dword [edi + 8]
mov dword [esp + 0x40], edi
jmp 0x100df6b4
mov dword [esp + 0x40], 0xffffffff
xor edi, edi
mov dword [esp + 0x4c], 0xfffffffe
test eax, eax
mov eax, dword [edx + 0x38]
cmove edi, dword [esp + 0x4c]
test eax, eax
je 0x100df6f0
cmp dword [eax + 4], 0
je 0x100df6f0
test ecx, 0x1c000000
jne 0x100df6f0
mov ecx, dword [esp + 0x38]
call fcn.100dd780
xor ecx, ecx
test eax, eax
cmove ecx, dword [esp + 0x38]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [esp + 0xc], ecx
js 0x100e031f
mov edx, edi
mov dword [esp + 0x5c], 0x64
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], 0x30
cmp byte [esi], 0x25
lea eax, [esi + 1]
je 0x100df75f
push ecx
push 0x25
push eax
call sub.VCRUNTIME140.dll_memchr
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100df734
sub edi, esi
jmp 0x100df739
mov edi, dword [esp + 0xc]
inc edi
push edi
push esi
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
mov eax, 1
add dword [esp + 0x14], edi
sub eax, edi
add esp, 0xc
add esi, edi
add ecx, eax
jmp 0x100e030e
xor esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x34], esi
xor edi, edi
mov dword [esp + 0x30], esi
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x2c], 0xffffffff
mov al, byte [esi]
cmp al, 0x25
jne 0x100df79e
mov eax, dword [esp + 8]
inc esi
mov byte [eax], 0x25
inc eax
mov dword [esp + 8], eax
dec ecx
jmp 0x100e030e
cmp al, 0x28
jne 0x100df87d
mov eax, 1
cmp dword [esp + 0x50], edi
je 0x100e040c
inc esi
dec ecx
mov dword [esp + 0x40], esi
nop dword [eax + eax]
sub ecx, 1
js 0x100df7da
mov dl, byte [esi]
cmp dl, 0x29
jne 0x100df7cf
dec eax
jmp 0x100df7d5
cmp dl, 0x28
jne 0x100df7d5
inc eax
inc esi
test eax, eax
jg 0x100df7c0
mov edx, esi
mov dword [esp + 0xc], ecx
sub edx, dword [esp + 0x40]
dec edx
test ecx, ecx
js 0x100e03d3
test eax, eax
jg 0x100e03d3
push edx
push dword [esp + 0x44]
call sym.python310.dll_PyBytes_FromStringAndSize
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x100e0380
cmp dword [esp + 0x54], edi
je 0x100df831
mov ecx, dword [esp + 0x38]
add dword [ecx], 0xffffffff
jne 0x100df82d
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x54], edi
push eax
push dword [esp + 0x54]
call sym.python310.dll_PyObject_GetItem
mov dword [esp + 0x40], eax
add esp, 8
mov eax, dword [esp + 0x40]
add dword [eax], 0xffffffff
jne 0x100df857
mov ecx, dword [eax + 4]
push eax
mov ecx, dword [ecx + 0x18]
call ecx
add esp, 4
cmp dword [esp + 0x38], edi
je 0x100e0380
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], 1
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x28], 0xfffffffe
sub ecx, 1
mov dword [esp + 0xc], ecx
js 0x100df975
mov edx, dword [esp + 0x20]
nop
movsx edi, byte [esi]
inc esi
lea eax, [edi - 0x20]
cmp eax, 0x10
ja case.0x100df8a3.33
movzx eax, byte [eax + 0x100e0630]
jmp dword [eax*4 + 0x100e0618]
or edx, 1
jmp 0x100df8c1
or edx, 2
jmp 0x100df8c1
or edx, 4
jmp 0x100df8c1
or edx, 8
jmp 0x100df8c1
or edx, 0x10
sub ecx, 1
jns 0x100df890
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
cmp edi, 0x2a
jne 0x100df971
mov ecx, dword [esp + 0x40]
mov eax, edx
cmp edx, ecx
jge 0x100e0430
inc edx
mov dword [esp + 0x28], edx
test ecx, ecx
jns 0x100df8f8
mov eax, dword [esp + 0x38]
jmp 0x100df905
push eax
push dword [esp + 0x3c]
call sym.python310.dll_PyTuple_GetItem
add esp, 8
test eax, eax
je 0x100e0380
mov ecx, dword [eax + 4]
test dword [ecx + 0x54], 0x1000000
je 0x100e041e
push eax
call sym.python310.dll_PyLong_AsSsize_t
mov edx, eax
mov dword [esp + 0x1c], eax
add esp, 4
cmp edx, 0xffffffff
jne 0x100df94b
mov ecx, dword [0x103fb118]
cmp dword [ecx + 0x34], 0
jne 0x100e0380
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jmp 0x100df94f
test edx, edx
jns 0x100df95a
or dword [esp + 0x20], 1
neg edx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0xc]
sub ecx, 1
mov dword [esp + 0xc], ecx
js 0x100dfb7a
movsx edi, byte [esi]
inc esi
jmp 0x100df9ed
test edi, edi
js 0x100df9ed
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
mov ecx, dword [esp + 0x10]
add esp, 4
test eax, eax
je 0x100df9ed
lea eax, [edi - 0x30]
sub ecx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
js 0x100df9ed
movzx edi, byte [esi]
inc esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x100df9e9
mov ecx, 0x8000002f
mov eax, 0x66666667
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x18]
cmp edx, eax
jg 0x100e0442
mov ecx, dword [esp + 0xc]
lea edx, [edx + edx*4]
lea edx, [edx - 0x18]
sub ecx, 1
lea edx, [edi + edx*2]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edx
jns 0x100df997
jmp 0x100df9ed
mov ecx, dword [esp + 0xc]
cmp edi, 0x2e
jne 0x100dfb8f
xor edx, edx
sub ecx, 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0xc], ecx
js 0x100dfb13
movsx edi, byte [esi]
inc esi
mov dword [esp + 0x3c], esi
cmp edi, 0x2a
jne 0x100dfb0b
mov ecx, dword [esp + 0x28]
mov eax, ecx
mov edx, dword [esp + 0x40]
cmp ecx, edx
jge 0x100e0430
inc ecx
mov dword [esp + 0x28], ecx
test edx, edx
jns 0x100dfa3b
mov eax, dword [esp + 0x38]
jmp 0x100dfa48
push eax
push dword [esp + 0x3c]
call sym.python310.dll_PyTuple_GetItem
add esp, 8
test eax, eax
je 0x100e0380
mov ecx, dword [eax + 4]
test dword [ecx + 0x54], 0x1000000
je 0x100e041e
lea ecx, [esp + 0x58]
push ecx
push eax
call sym.python310.dll_PyLong_AsLongAndOverflow
add esp, 8
mov edx, eax
cmp dword [esp + 0x58], 0
mov dword [esp + 0x2c], edx
jne 0x100dfa86
cmp edx, 0xffffffff
je 0x100dfad6
test edx, edx
jns 0x100dfaf5
jmp 0x100dfaed
mov esi, dword [sym.python310.dll_PyExc_OverflowError]
mov edx, 0x28
mov edi, dword [0x103fb118]
mov ecx, str.Python_int_too_large_to_convert_to_C_int
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x24], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ecx, ecx
je 0x100dfad2
add dword [ecx], 0xffffffff
jne 0x100dfad2
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov esi, dword [esp + 0x3c]
mov eax, dword [0x103fb118]
cmp dword [eax + 0x34], 0
jne 0x100e0380
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0xc]
sub eax, 1
mov dword [esp + 0xc], eax
js 0x100dfb7a
movsx edi, byte [esi]
inc esi
jmp 0x100dfb93
test edi, edi
js 0x100dfb8f
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x100dfb8f
sub dword [esp + 0xc], 1
lea eax, [edi - 0x30]
mov dword [esp + 0x2c], eax
js 0x100dfb7a
nop
movzx edi, byte [esi]
inc esi
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
je 0x100dfb8f
mov ecx, 0x8000002f
mov eax, 0x66666667
sub ecx, edi
imul ecx
mov ecx, dword [esp + 0x2c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jg 0x100e044e
sub dword [esp + 0xc], 1
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 0x18]
lea ecx, [edi + ecx*2]
mov dword [esp + 0x2c], ecx
jns 0x100dfb30
mov esi, dword [sym.python310.dll_PyExc_ValueError]
mov edx, 0x11
mov ecx, str.incomplete_format
jmp 0x100e0344
mov eax, dword [esp + 0xc]
test eax, eax
js 0x100dfb7a
cmp edi, 0x68
je 0x100dfba6
cmp edi, 0x6c
je 0x100dfba6
cmp edi, 0x4c
jne 0x100dfbb3
sub eax, 1
mov dword [esp + 0xc], eax
js 0x100dfb7a
movsx edi, byte [esi]
inc esi
mov edx, dword [esp + 0x28]
mov ecx, edx
cmp edx, dword [esp + 0x40]
jge 0x100e05bd
inc edx
cmp dword [esp + 0x40], 0
mov dword [esp + 0x28], edx
jge 0x100dfbd5
mov edx, dword [esp + 0x38]
jmp 0x100dfbe8
push ecx
push dword [esp + 0x3c]
call sym.python310.dll_PyTuple_GetItem
mov edx, eax
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test edx, edx
je 0x100e0380
mov ecx, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x3c], 0
lea eax, [edi - 0x45]
cmove ecx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0x20
cmp eax, 0x33
ja case.0x100dfc2e.72
movzx eax, byte [eax + 0x100e065c]
jmp dword [eax*4 + 0x100e0644]
push edx
call sym.python310.dll_PyObject_ASCII
mov edx, eax
add esp, 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
test edx, edx
je 0x100e0380
mov ecx, dword [edx + 0x10]
test cl, 0x20
je 0x100dfc67
test cl, 0x40
je 0x100dfc62
lea eax, [edx + 0x18]
jmp 0x100dfc6a
lea eax, [edx + 0x24]
jmp 0x100dfc6a
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
js 0x100e008d
mov edx, dword [esp + 0x24]
cmp ecx, eax
jle 0x100e0091
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x100e0091
mov eax, dword [edx + 4]
test dword [eax + 0x54], 0x8000000
je 0x100dfcba
mov ecx, dword [edx + 8]
lea eax, [edx + 0x10]
inc dword [edx]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
jmp 0x100dfc71
cmp eax, sym.python310.dll_PyByteArray_Type
je 0x100dfda2
push sym.python310.dll_PyByteArray_Type
push eax
call sym.python310.dll_PyType_IsSubtype
add esp, 8
test eax, eax
jne 0x100dfd9e
push 0x103cbe90
push dword [esp + 0x14]
call sym.python310.dll__PyObject_LookupSpecial
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x100dfd5b
mov ecx, dword [0x103fb118]
test ecx, ecx
je 0x100e060d
push ecx
push 0
push 0
mov edx, eax
call fcn.100dd7b0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x34], edx
add dword [ecx], 0xffffffff
jne 0x100dfd30
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [esp + 0x38]
add esp, 4
test edx, edx
je 0x100e0380
mov eax, dword [edx + 4]
test dword [eax + 0x54], 0x8000000
je 0x100e045a
mov ecx, dword [edx + 8]
lea eax, [edx + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
jmp 0x100dfc71
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x50]
test edx, edx
je 0x100e0479
cmp dword [edx], 0
je 0x100e0479
mov ecx, eax
call fcn.100e6630
mov edx, eax
mov dword [esp + 0x34], edx
test edx, edx
je 0x100e0380
mov ecx, dword [edx + 8]
lea eax, [edx + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x30], edx
jmp 0x100dfc71
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 8]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x100dfdbf
mov eax, dword [edx + 0x14]
inc dword [edx]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
jmp 0x100dfc71
inc dword [edx]
mov eax, sym.python310.dll__PyByteArray_empty_string
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edx
jmp 0x100dfc71
mov eax, dword [edx + 4]
cmp eax, sym.python310.dll_PyLong_Type
jne case.default.0x100dfe17
cmp dword [esp + 0x18], 0xffffffff
jne case.default.0x100dfe17
cmp dword [esp + 0x2c], 0xffffffff
jne case.default.0x100dfe17
mov ecx, dword [esp + 0x20]
test cl, 6
jne case.default.0x100dfe17
cmp edi, 0x58
je case.default.0x100dfe17
movzx eax, byte [edi + 0x100e0648]
and ecx, 8
jmp dword [eax*4 + 0x100e0690]
mov eax, dword [esp + 8]
xor edx, edx
mov ecx, dword [esp + 0x10]
sub dword [esp + 0x68], 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x64]
push eax
push 0
call fcn.101136f0
add esp, 0xc
jmp 0x100dfe7b
mov edx, 8
jmp 0x100dfe53
mov edx, 0x10
mov eax, dword [esp + 8]
sub dword [esp + 0x68], 2
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x64]
push eax
push 0
push 0
push ecx
mov ecx, dword [esp + 0x24]
call fcn.10113ec0
add esp, 0x14
test eax, eax
js 0x100e0380
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
test eax, eax
je 0x100e0380
jmp 0x100e030a
cmp edi, 0x69
mov ecx, edi
cmove ecx, dword [esp + 0x5c]
test dword [eax + 0x54], 0x1000000
mov dword [esp + 0x30], ecx
je 0x100dfed0
mov eax, dword [esp + 0x20]
push ecx
push dword [esp + 0x30]
and eax, 8
push eax
push edx
call sym.python310.dll__PyUnicode_FormatLong
mov edx, eax
add esp, 0x10
mov dword [esp + 0x34], edx
jmp 0x100dff7a
mov eax, dword [eax + 0x30]
test eax, eax
je 0x100e04bb
cmp dword [eax + 0x84], 0
jne 0x100dff0e
cmp dword [eax + 0x40], 0
jne 0x100dff0e
cmp dword [eax + 0x48], 0
jne 0x100dff0e
mov ecx, dword [esp + 0x10]
mov edx, sym.python310.dll_PyComplex_Type
call fcn.100ce8a0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
test eax, eax
je 0x100e04bb
cmp ecx, 0x6f
je 0x100dff2b
cmp ecx, 0x78
je 0x100dff2b
cmp ecx, 0x58
je 0x100dff2b
push edx
call sym.python310.dll_PyNumber_Long
mov ecx, eax
mov dword [esp + 0x28], ecx
jmp 0x100dff37
push edx
call sym.python310.dll__PyNumber_Index
mov ecx, eax
mov dword [esp + 0x28], eax
add esp, 4
test ecx, ecx
je 0x100e0494
push dword [esp + 0x30]
mov eax, dword [esp + 0x24]
push dword [esp + 0x30]
and eax, 8
push eax
push ecx
call sym.python310.dll__PyUnicode_FormatLong
mov ecx, dword [esp + 0x34]
add esp, 0x10
mov edx, eax
mov dword [esp + 0x34], edx
add dword [ecx], 0xffffffff
jne 0x100dff7a
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x30], edx
test edx, edx
je 0x100e0380
mov eax, dword [edx + 0x10]
test al, 0x20
je 0x100dff9b
test al, 0x40
je 0x100dff96
lea eax, [edx + 0x18]
jmp 0x100dff9e
lea eax, [edx + 0x24]
jmp 0x100dff9e
mov eax, dword [edx + 0x24]
test byte [esp + 0x20], 0x10
mov ecx, dword [edx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
je 0x100e0059
mov dword [esp + 0x3c], 0x30
jmp 0x100e0059
cmp dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x2c]
jne 0x100e000c
cmp eax, 0xffffffff
jne 0x100e000c
mov ecx, dword [esp + 0x20]
test cl, 6
jne 0x100e000c
push dword [esp + 8]
sub dword [esp + 0x6c], 2
lea eax, [esp + 0x64]
push eax
push 0
push edi
mov edx, ecx
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.100df4a0
add esp, 0x14
mov dword [esp + 8], eax
test eax, eax
je 0x100e0380
jmp 0x100e030a
push dword [esp + 8]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x34]
push 0
push ecx
mov ecx, dword [esp + 0x1c]
push edi
push eax
call fcn.100df4a0
add esp, 0x14
test eax, eax
je 0x100e0380
mov ecx, dword [esp + 0x30]
test byte [esp + 0x20], 0x10
mov edx, dword [esp + 0x3c]
cmovne edx, dword [esp + 0x14]
lea eax, [ecx + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], edx
mov dl, byte [eax]
cmp dl, 0x2d
je 0x100e01f5
cmp dl, 0x2b
je 0x100e01f5
mov eax, dword [esp + 0x20]
test al, 2
je 0x100e0080
mov edx, 0x2b
mov dword [esp + 0x24], edx
jmp 0x100e0091
movzx eax, al
and eax, 4
shl eax, 3
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
cmp eax, ecx
cmovl eax, ecx
mov dword [esp + 0x18], eax
test edx, edx
je 0x100e00ab
mov edx, eax
cmp ecx, edx
jne 0x100e00ab
lea eax, [edx + 1]
cmp eax, 2
jle 0x100e00d5
add eax, 0xfffffffe
push eax
push dword [esp + 0xc]
lea eax, [esp + 0x68]
push eax
call sym.python310.dll__PyBytesWriter_Prepare
add esp, 0xc
mov dword [esp + 8], eax
test eax, eax
je 0x100e0380
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
test eax, eax
je 0x100e0101
cmp edx, 0x20
je 0x100e00f4
mov edx, dword [esp + 8]
inc dword [esp + 8]
mov byte [edx], al
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jle 0x100e0101
dec eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
and eax, 8
mov dword [esp + 0x2c], eax
je 0x100e0167
cmp edi, 0x6f
je 0x100e011d
cmp edi, 0x78
je 0x100e011d
cmp edi, 0x58
jne 0x100e0167
cmp edx, 0x20
je 0x100e014c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 8]
inc dword [esp + 8]
movzx eax, byte [edx]
mov byte [ecx], al
mov ecx, dword [esp + 8]
movzx eax, byte [edx + 1]
inc dword [esp + 8]
add edx, 2
mov dword [esp + 0x1c], edx
mov byte [ecx], al
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
xor edx, edx
sub ecx, 2
add eax, 0xfffffffe
mov dword [esp + 0x10], ecx
cmovns edx, eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jle 0x100e019a
test byte [esp + 0x20], 1
jne 0x100e019a
sub eax, ecx
push eax
push edx
push dword [esp + 0x10]
mov dword [esp + 0x24], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x10]
add dword [esp + 8], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x3c], 0x20
jne 0x100e02a2
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100e01b8
mov edx, dword [esp + 8]
mov byte [edx], al
inc edx
mov dword [esp + 8], edx
cmp dword [esp + 0x2c], 0
je 0x100e02a2
cmp edi, 0x6f
je 0x100e01d6
cmp edi, 0x78
je 0x100e01d6
cmp edi, 0x58
jne 0x100e02a2
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 8]
movzx eax, byte [edx]
mov byte [edi], al
movzx eax, byte [edx + 1]
mov byte [edi + 1], al
add edi, 2
add edx, 2
jmp 0x100e02aa
inc eax
movsx edx, dl
dec ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jmp 0x100e0091
lea eax, [esp + 0x47]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 4]
test dword [eax + 0x54], 0x8000000
je 0x100e022a
cmp dword [edx + 8], 1
jne 0x100e022a
mov al, byte [edx + 0x10]
jmp 0x100e027e
cmp eax, sym.python310.dll_PyByteArray_Type
je 0x100e0247
push sym.python310.dll_PyByteArray_Type
push eax
call sym.python310.dll_PyType_IsSubtype
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x100e0254
cmp dword [edx + 8], 1
jne 0x100e0254
mov eax, dword [edx + 0x14]
mov al, byte [eax]
jmp 0x100e027e
lea eax, [esp + 0x2c]
push eax
push edx
call sym.python310.dll_PyLong_AsLongAndOverflow
add esp, 8
cmp eax, 0xffffffff
je 0x100e0549
test eax, eax
js 0x100e0588
cmp eax, 0xff
jg 0x100e0588
cmp dword [esp + 0x18], 0xffffffff
mov ecx, 1
mov byte [esp + 0x47], al
mov dword [esp + 0x10], ecx
jne 0x100e008d
mov ecx, dword [esp + 8]
inc dword [esp + 8]
mov byte [ecx], al
jmp 0x100e030a
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 8]
push ecx
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x1c]
add esp, 0xc
add edi, eax
mov dword [esp + 8], edi
mov edi, dword [esp + 0x18]
cmp edi, eax
jle 0x100e02dc
sub edi, eax
push edi
push 0x20
push dword [esp + 0x10]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add dword [esp + 8], edi
cmp dword [esp + 0x50], 0
je 0x100e02f1
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x40]
jl 0x100e04f4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100e030a
add dword [ecx], 0xffffffff
jne 0x100e030a
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov ecx, dword [esp + 0xc]
sub ecx, 1
mov dword [esp + 0xc], ecx
jns 0x100df716
mov edi, dword [esp + 0x28]
cmp edi, dword [esp + 0x40]
jge 0x100e05cc
cmp dword [esp + 0x50], 0
jne 0x100e05cc
mov edx, 0x33
mov ecx, str.not_all_arguments_converted_during_bytes_formatting
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edi, dword [0x103fb118]
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x48], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x54]
add esp, 0xc
test ecx, ecx
je 0x100e0380
add dword [ecx], 0xffffffff
jne 0x100e0380
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x100e03a1
mov dword [esp + 0x60], 0
add dword [ecx], 0xffffffff
jne 0x100e03a1
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
cmp dword [esp + 0x54], 0
je 0x100e03bd
mov ecx, dword [esp + 0x38]
add dword [ecx], 0xffffffff
jne 0x100e03bd
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.1024a596
mov esp, ebp
pop ebp
ret
mov edx, 0x15
mov ecx, str.incomplete_format_key
mov esi, dword [sym.python310.dll_PyExc_ValueError]
mov edi, dword [0x103fb118]
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x14], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x20]
jmp 0x100e0368
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edx, 0x19
mov ecx, str.format_requires_a_mapping
jmp 0x100e03e3
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edx, 0xb
mov ecx, str._wants_int
jmp 0x100e03e3
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edx, 0x26
mov ecx, str.not_enough_arguments_for_format_string
jmp 0x100e03e3
mov edx, 0xd
mov ecx, str.width_too_big
jmp 0x100e03dd
mov edx, 0xc
mov ecx, str.prec_too_big
jmp 0x100e03dd
push dword [eax + 0xc]
push str.__bytes___returned_non_bytes__type__.200s_
push dword [sym.python310.dll_PyExc_TypeError]
call sym.python310.dll_PyErr_Format
mov ecx, dword [esp + 0x40]
add esp, 0xc
jmp 0x100e036f
push dword [ecx + 0xc]
push str.__b_requires_a_bytes_like_object__or_an_object_that_implements___bytes____not__.100s
push dword [sym.python310.dll_PyExc_TypeError]
call sym.python310.dll_PyErr_Format
add esp, 0xc
jmp 0x100e0380
mov ecx, dword [0x103fb118]
mov eax, dword [sym.python310.dll_PyExc_TypeError]
push eax
push dword [ecx + 0x34]
call sym.python310.dll_PyErr_GivenExceptionMatches
add esp, 8
test eax, eax
je 0x100e0380
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
cmp ecx, 0x6f
je 0x100e04cf
cmp ecx, 0x78
je 0x100e04cf
mov esi, str.a_real_number
cmp ecx, 0x58
jne 0x100e04d4
mov esi, str.an_integer
mov eax, dword [edx + 4]
push dword [eax + 0xc]
push esi
push ecx
push str.___c_format:__s_is_required__not__.200s
push dword [sym.python310.dll_PyExc_TypeError]
call sym.python310.dll_PyErr_Format
add esp, 0x14
jmp 0x100e0380
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edx, 0x33
mov edi, dword [0x103fb118]
mov ecx, str.not_all_arguments_converted_during_bytes_formatting
push 0
push 0
push 0
call fcn.101599e0
add esp, 0xc
mov dword [esp + 0x14], eax
push eax
push esi
push edi
call sym.python310.dll__PyErr_SetObject
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x100e0540
add dword [ecx], 0xffffffff
jne 0x100e0540
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
mov ecx, dword [esp + 0x30]
jmp 0x100e036b
mov eax, dword [0x103fb118]
cmp dword [eax + 0x34], 0
je 0x100e0588
mov ecx, dword [0x103fb118]
mov eax, dword [sym.python310.dll_PyExc_TypeError]
push eax
push dword [ecx + 0x34]
call sym.python310.dll_PyErr_GivenExceptionMatches
add esp, 8
test eax, eax
je 0x100e0380
mov esi, dword [sym.python310.dll_PyExc_TypeError]
mov edx, 0x35
mov ecx, str._c_requires_an_integer_in_range_256__or_a_single_byte
jmp 0x100e03e3
mov esi, dword [sym.python310.dll_PyExc_OverflowError]
mov edx, 0x18
mov ecx, str._c_arg_not_in_range_256_
jmp 0x100e03e3
sub esi, dword [esp + 0x48]
dec esi
push esi
push edi
push edi
push str.unsupported_format_character__c__0x_x__at_index__zd
push dword [sym.python310.dll_PyExc_ValueError]
call sym.python310.dll_PyErr_Format
add esp, 0x14
jmp 0x100e0380
mov edx, 0x26
mov ecx, str.not_enough_arguments_for_format_string
jmp 0x100e033e
cmp dword [esp + 0x54], 0
je 0x100e05e8
mov ecx, dword [esp + 0x38]
add dword [ecx], 0xffffffff
jne 0x100e05e8
mov eax, dword [ecx + 4]
push ecx
mov eax, dword [eax + 0x18]
call eax
add esp, 4
push dword [esp + 8]
lea eax, [esp + 0x64]
push eax
call sym.python310.dll__PyBytesWriter_Finish
mov ecx, dword [esp + 0x294]
add esp, 8
pop edi
pop esi
xor ecx, esp
call fcn.1024a596
mov esp, ebp
pop ebp
ret
push 0x103902b4
call sym.python310.dll__Py_FatalError_TstateNULL
nop
mov ah, 0xf8
or eax, 234404112
adc byte [edi - 0x55eff208], ch
clc
or eax, 0xdf8be10
adc dh, al
clc
or eax, 0x5050010
add dword [0x5050505], eax
add eax, 50659845
add eax, 521077765
add cl, al
dec dword [0xdfdd310]
adc byte [0x98100dfc], dh
cld
or eax, 0xe020b10
adc byte [ebp + 0x100e05], bl
add byte [eax], al
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215041
add eax, 84215045
add al, byte [ebx]
add al, 1
add byte [eax], al
add byte [84215041], al
add eax, 84214021
add al, byte [ebx]
add eax, 17106177
dec esi
dec byte [234757648]
adc byte [edi - 2], al
or eax, 0x10
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [ebx]
add eax, dword [ebx]
add al, byte [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add dword [ebx], eax
add eax, dword [eax]
int3