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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x542a18
sub esp, 0x68
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
call sym.math_big._Int_.QuoRem
mov eax, dword [esp + 0x14]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
movzx ebp, byte [ecx]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x60], esi
mov edi, dword [eax + 4]
mov dword [esp + 0x5c], edi
mov esi, dword [ecx + 4]
mov edi, dword [esp + 0x6c]
mov ecx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [edi + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
movzx eax, byte [eax]
movzx ecx, byte [edi]
xchg ebp, eax
mov byte [edi], al
xchg ebp, eax
mov dword [edi + 8], edx
mov dword [edi + 0xc], ebx
mov edx, dword [0x911a40]
test edx, edx
je 0x542727
mov edx, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edi, edx
mov dword [edi + 4], esi
mov edx, dword [esp + 0x70]
mov byte [edx], al
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0xc], eax
mov eax, dword [0x911a40]
test eax, eax
jne 0x54274e
mov eax, dword [esp + 0x5c]
jmp 0x54275f
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov dword [edx + 4], eax
mov eax, dword [esp + 0x64]
mov byte [eax], cl
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x542786
mov ecx, dword [esp + 0x58]
jmp 0x542797
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
movzx eax, byte [esp + 0x8c]
test al, al
je 0x542a14
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
je 0x5428c2
mov edx, dword [eax + 0xc]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
cmp edx, ebx
jl 0x5427d5
mov esi, dword [eax + 4]
mov edi, ebx
jmp 0x54285d
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], ebp
cmp ebx, 1
jne 0x542823
lea eax, [0x6a6ec0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.runtime.makeslice
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov ebx, 1
mov edx, 1
jmp 0x54285d
lea eax, [0x6a6ec0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea ecx, [ebx + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 8], ecx
call sym.runtime.makeslice
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov ebp, dword [esp + 0x54]
mov edi, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x1c]
cmp ebx, edi
jg 0x542863
mov edi, ebx
cmp esi, ebp
je 0x54289d
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x4c], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call sym.runtime.memmove
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x4c]
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov edx, dword [0x911a40]
test edx, edx
je 0x5428ba
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [eax + 4], esi
movzx edx, byte [ecx]
mov byte [eax], dl
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
call sym.math_big._Int_.Mul
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 8], ecx
call sym.math_big._Int_.Sub
nop
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
je 0x542a14
mov edx, dword [ecx + 0xc]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 4]
cmp edx, ebx
jl 0x542927
mov esi, dword [ecx + 4]
mov edi, ebx
jmp 0x5429af
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], ebp
cmp ebx, 1
jne 0x542975
lea eax, [0x6a6ec0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.runtime.makeslice
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov ebx, 1
mov edx, 1
jmp 0x5429af
lea eax, [0x6a6ec0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
call sym.runtime.makeslice
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov ebx, edi
mov edx, dword [esp + 0x18]
cmp ebx, edi
jg 0x5429b5
mov edi, ebx
cmp esi, ebp
je 0x5429ef
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x48], esi
mov dword [esp], esi
mov dword [esp + 4], ebp
shl edi, 2
mov dword [esp + 8], edi
call sym.runtime.memmove
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x48]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [0x911a40]
test edx, edx
je 0x542a0c
call sym.runtime.gcWriteBarrier2
mov dword [edi], esi
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], esi
movzx eax, byte [eax]
mov byte [ecx], al
add esp, 0x68
ret
call sym.runtime.morestack_noctxt
jmp sym.math_big.euclidUpdate