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

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, eax
push edi
inc esi
push esi
call dword [sym.imp.MSVCR90.dll_malloc]
mov ebp, eax
add esp, 4
mov dword [esp + 0x10], ebp
test ebp, ebp
jne 0x1008e110
test esi, esi
je 0x1008e110
push esi
push str.unable_to_alloc__u_bytes
call sym.tcl85.dll_Tcl_Panic
add esp, 8
push 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x50]
push ecx
call sym.tcl85.dll_TclBN_mp_init_multi
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
add esp, 0xc
push edx
push eax
lea esi, [esp + 0x20]
call fcn.10090d90
mov edx, dword [esp + 0x70]
mov ecx, esi
push ecx
push edx
mov eax, esi
push eax
call sym.tcl85.dll_TclBN_mp_mul_2d
lea ecx, [esp + 0x3c]
add esp, 0x14
push ecx
call sym.tcl85.dll_TclBN_mp_init
add esp, 4
test eax, eax
jne 0x1008e16a
lea edx, [esp + 0x28]
push 1
push edx
call sym.tcl85.dll_TclBN_mp_set_int
add esp, 8
mov esi, dword [esp + 0x70]
lea edi, [esp + 0x28]
mov ecx, esi
mov eax, edi
call fcn.1008c800
mov ecx, dword [esp + 0x6c]
mov eax, edi
push eax
push ecx
mov edx, edi
push edx
call sym.tcl85.dll_TclBN_mp_mul_2d
add esp, 0xc
mov eax, edi
push eax
lea ecx, [esp + 0x1c]
push ecx
call sym.tcl85.dll_TclBN_mp_cmp_mag
add esp, 8
cmp eax, 0xffffffff
jne 0x1008e1c4
lea edx, [esp + 0x18]
push edx
mov eax, edx
push 0xa
push eax
call sym.tcl85.dll_TclBN_mp_mul_d
mov ecx, dword [esp + 0x88]
add esp, 0xc
dec dword [esp + 0x74]
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
push edx
call sym.tcl85.dll_TclBN_mp_div
add esp, 0x10
cmp dword [esp + 0x38], 1
jg 0x1008e1ec
mov eax, dword [esp + 0x44]
cmp dword [eax], 0xa
jb 0x1008e1f9
push str.wrong_digit_
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx]
mov dl, bl
add dl, 0x30
mov byte [ebp], dl
lea edi, [ebp + 1]
mov ebp, 1
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x14], ebp
jg 0x1008e294
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push ebp
push ecx
call sym.tcl85.dll_TclBN_mp_mul_2d
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call sym.tcl85.dll_TclBN_mp_cmp_mag
add esp, 8
cmp eax, 0xffffffff
je 0x1008e3e7
test eax, eax
je 0x1008e25f
cmp eax, ebp
je 0x1008e269
push str.in_ShouldBankerRoundUp__trichotomy_fails_
call sym.tcl85.dll_Tcl_Panic
add esp, 4
jmp 0x1008e3e7
and ebx, ebp
test ebx, ebx
je 0x1008e3e7
dec edi
cmp byte [edi], 0x39
jne 0x1008e27c
nop
cmp edi, dword [esp + 0x10]
je 0x1008e283
dec edi
cmp byte [edi], 0x39
je 0x1008e270
inc byte [edi]
jmp 0x1008e3e6
inc dword [esp + 0x74]
mov byte [edi], 0x31
jmp 0x1008e3e6
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x78]
sub ebx, ebp
cmp ebx, 8
jle 0x1008e2a4
mov ebx, 8
cmp esi, ebx
jl 0x1008e2ca
mov edx, dword [ebx*4 + 0x100b3bb4]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
mov eax, ecx
push eax
call sym.tcl85.dll_TclBN_mp_div_d
add esp, 0x10
sub esi, ebx
mov dword [esp + 0x70], esi
jmp 0x1008e321
test esi, esi
jle 0x1008e309
mov edx, dword [esi*4 + 0x100b3bb4]
push 0
lea ecx, [esp + 0x2c]
push ecx
push edx
mov eax, ecx
push eax
call sym.tcl85.dll_TclBN_mp_div_d
lea ecx, [esp + 0x28]
mov edx, ebx
sub edx, esi
mov eax, dword [edx*4 + 0x100b3bb4]
push ecx
push eax
push ecx
call sym.tcl85.dll_TclBN_mp_mul_d
add esp, 0x1c
mov dword [esp + 0x70], 0
jmp 0x1008e321
mov eax, dword [ebx*4 + 0x100b3bb4]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, edx
push ecx
call sym.tcl85.dll_TclBN_mp_mul_d
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov eax, edx
push ebx
push eax
call sym.tcl85.dll_TclBN_mp_mul_2d
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x30]
push eax
push ecx
call sym.tcl85.dll_TclBN_mp_div
add esp, 0x10
cmp dword [esp + 0x38], 1
jle 0x1008e35e
push str.wrong_digit_
call sym.tcl85.dll_Tcl_Panic
add esp, 4
mov edx, dword [esp + 0x44]
mov esi, dword [edx]
lea ecx, [ebx - 1]
test ecx, ecx
jl 0x1008e38d
jmp 0x1008e370
mov ebp, dword [ecx*4 + 0x100b3c7c]
mov eax, esi
cdq
idiv ebp
inc edi
add al, 0x30
sub ecx, 1
mov byte [edi - 1], al
mov esi, edx
jns 0x1008e370
mov ebp, dword [esp + 0x14]
add ebp, ebx
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x78]
jne 0x1008e290
lea eax, [esp + 0x18]
push eax
mov ecx, eax
push 1
push ecx
call sym.tcl85.dll_TclBN_mp_mul_2d
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
call sym.tcl85.dll_TclBN_mp_cmp_mag
add esp, 8
cmp eax, 0xffffffff
je 0x1008e3e0
test eax, eax
je 0x1008e431
cmp eax, 1
je 0x1008e438
push str.in_ShouldBankerRoundUp__trichotomy_fails_
call sym.tcl85.dll_Tcl_Panic
add esp, 4
lea esp, [esp]
dec edi
cmp byte [edi], 0x30
je 0x1008e3e0
inc edi
push 0
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
call sym.tcl85.dll_TclBN_mp_clear_multi
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x94]
mov byte [edi], 0
mov dword [edx], eax
mov eax, dword [esp + 0x98]
add esp, 0x14
test eax, eax
je 0x1008e425
mov dword [eax], edi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
and esi, 1
test esi, esi
je 0x1008e3e0
dec edi
cmp byte [edi], 0x39
jne 0x1008e27c
cmp edi, dword [esp + 0x10]
je 0x1008e283
dec edi
cmp byte [edi], 0x39
je 0x1008e442
inc byte [edi]
jmp 0x1008e3e6